3i Infotech Papers: Sample Questions 825 - 826 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 825

» Database » Oracle

MCQ▾

Question

When is a. FMB file extension is created in Forms 4.5?

Choices

Choice (4) Response

a.

Executing form

b.

Generating form

c.

Save form

d.

Run form

Answer

c.

Explanation

Define text files and documentation

Define Text Files and Documentation

Define text files and documentation

  • FMB file contains binary source code used by oracle forms.

  • Oracle form is a software product for creating screens that interact with an oracle database

  • Saving a form creates a. FMB file extension- associated with oracle forms.

  • FMB is a module, specifically, a forms module binary file, created by forms builder.

  • Forms use oracle as backend database.

How to open a FMB files.

  • To open an FMB file simply double-click it- associated application will open the file.

  • If correct application is not associated with the extension FMB file then this will not open FMB file.

  • FMB file can be opened using Notepad text-editor.

Question number: 826

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

What is name mangling?

Explanation

  • Name mangling in c++ compilers gives each function a unique name.

  • This is required in C++, all programs have a few functions with the same name. Name mangling allows linker to link to function names which are unique.

  • Example: In general, member names are made unique by concatenating the name of the member with that of the class e. g. given the declaration: class Bar {public: int ival; …}; ival becomes something like:// a possible member name manglingival________3BarConsider this derivation: class Foo: public Bar {public: int ival; …}

  • The internal representation of a Foo object is the concatenation of its base and derived class members. // Pseudo C++ code // Internal representation of Foo class Foo {public: int ival________3Bar; int ival________3Foo; …};

  • Thus, unambiguous access of either ival members is achieved through name mangling.

  • Member functions, because of overloading, require extensive mangling for unique names based on argument.