3i Infotech Placement: Sample Questions 396 - 398 of 1245

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 396

Edit

Write in Short

Short Answer▾

Can a structure contain a pointer to itself?

Explanation

  • Yes, a structure can contain a pointer to itself

sturct name {int … struct name ⚹ ptr;} ;

  • This is called self referential՚s structure.

Question 397

Edit

Describe in Detail

Essay▾

Which methods are used to destroy the objects created by the constructor methods?

Explanation

Finilize Method in Inheritance
  • Finalize () is used to destroy the objects created by the constructor methods.
  • Garbage Collector always calls this just before the deletion of object eligible for Garbage Collection, to perform clean-up activity.
  • Clean-up means closing Database Connection, Network Connection or resource de-allocation.

Declaration

protected void finalize ()

Question 398

Question

MCQ▾

If the maximum records retrieved property of a query is set to 10, then a summary value will be calculated

Choices

Choice (4)

a.

For all the records retrieved

b.

Only for 10 records

c.

For all the records in the referenced table

d.

All of the above

Answer

b.

Explanation

  • If the maximum records retrieved property of a query is set to 10, then a summary value will be calculated only for 10 records.
  • Summary report contains one column with value or values consisting of a summary of other data.
  • Column totalling sales, column that averages commissions, and column that shows maximum amounts are examples of summary columns.
  • Counts for regular or aggregate records beneath a given refinement are retrieved, using these properties:
    • As a property on each dimension value.
    • As a property on each dimension value- for aggregated records.
  • Value summary columns are calculated by summarizing data retrieved from another column.

Developed by: