3i Infotech Papers: Sample Questions 829 - 830 of 1245

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

Question number: 829

» Languages » C & C Plus Plus

Short Answer Question▾

Write in Short

What is the output of the following program?

  1. main ()
  2. {
  3.     int i = 5;
  4.     printf ( “%d” ,+ + i + + );
  5. }

Explanation

Compiler error: L value required in function main

In the program

Table shows the program

Table shows the program

int i = 5;

  • Given the integer variable i = 5

printf (“%d”, ++ i ++);

  • Here ++I yields an rvalue.

  • For postfix ++ to operate an lvalue (left hand side value or an memory location) is required.

Question number: 830

» Database » Oracle

MCQ▾

Question

How many columns can a RECORD GROUP have?

Choices

Choice (4) Response

a.

20

b.

50

c.

10

d.

None of the above

Answer

d.

Explanation

  • Record group is an internal oracle forms data structure that similar to column or row in database table.

  • A record group can have unlimited number of column of type CHAR, LONG, NUMBER or DATE

  • The total size of returned data in one row should not exceed 64k.

  • Record groups are separate objects belonging to the form module.

    Three types of record group:

  • Query record group

    • A record group with associated SELECT statement.

    • Created and modified at design time or run time.

  • Non-query record group

    • Does not have associated query.

    • Non-query record groups created and modified only at runtime

  • Static record group

    • Not associated with a query.

    • Created and modified only at design time.

Three types of record group

Three Types of Record Group

Three types of record group