3i Infotech Placement: Sample Questions 600 - 601 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 600

Edit

Describe in Detail

Essay▾

What are register variables? What are the advantages of using register variables?

Explanation

  • The variables of ‘register’ type hint the compiler to store the variable in a register of the CPU.
  • Can be used for frequently used variables.

Advantages of Register variable:

  • Optimize the speed of program execution.
  • Faster by orders of magnitude.
  • Refer for variables accessed frequently.
  • Allocates fast memory in the form of a register.

Question 601

Question

MCQ▾

What is difference between a DIALOG WINDOW and a DOCUMENT WINDOW regarding moving the window with respect to the application window?

Choices

Choice (4)

a.

A document window can be moved outside the application window while a dialog window cannot be moved

b.

A dialog window can be moved outside the application window while a document window cannot be moved

c.

Dialog and document windows behave the same way as far as moving the window is concerned.

d.

Question does not provide sufficient data or is vague

Answer

b.

Explanation

Table of the Dialog and Document Windows
Dialog windowDocument window
Can be moved outside the application windowCannot be moved
Used for modal dialogs.Displays the main canvases

Developed by: