Sail E0 Webinar

MCQs

Total Questions : 41 | Page 2 of 5 pages
Question 11. Panels is
  1.    the exterior of a window.
  2.    the interior of a frame window
  3.    windows used for input/output that are placed on a panel window
  4.    None of these
 Discuss Question
Answer: Option B. -> the interior of a frame window
Answer: (b)
Question 12. Window class, onEraseBackground/1, defines
  1.    is executed when a visible window is being created
  2.    is executed when a window is being closed, it is possible to prevent the window from closing
  3.    when the background of a window must be erased this event is executed
  4.    when a window must be re-painted this event is executed
 Discuss Question
Answer: Option C. -> when the background of a window must be erased this event is executed
Answer: (c)
Question 13. Window class, onPaint/2, defines
  1.    is executed when a visible window is being created
  2.    is executed when a window is being closed, it is possible to prevent the window from closing
  3.    when the background of a window must be erased this event is executed
  4.    when a window must be re-painted this event is executed
 Discuss Question
Answer: Option D. -> when a window must be re-painted this event is executed
Answer: (d)
Question 14. Controls are
  1.    the exterior of a window.
  2.    the interior of a frame window.
  3.    windows used for input/output that are placed on a panel window
  4.    None of these
 Discuss Question
Answer: Option C. -> windows used for input/output that are placed on a panel window
Answer: (c)
Question 15. Window class, onSize/2, defines
  1.    during the processing of a key this event is executed with the ASCII value of the key pressed
  2.    a menu command was selected
  3.    a menu item is selected
  4.    a window was resized
 Discuss Question
Answer: Option D. -> a window was resized
Answer: (d)
Question 16. Window class, onMove/2, defines
  1.    a window is moved to a new position
  2.    the user wants to view a floating popup menu for the window
  3.    an event from the vertical scrollbar of the window
  4.    an event from the horizontal scrollbar of the window
 Discuss Question
Answer: Option A. -> a window is moved to a new position
Answer: (a)
Question 17. Window class, on Close/2
  1.    is executed when a visible window is being created
  2.    is executed when a window is being closed, it is possible to prevent the window from closing
  3.    when the background of a window must be erased this event is executed
  4.    when a window must be re-painted this event is executed
 Discuss Question
Answer: Option B. -> is executed when a window is being closed, it is possible to prevent the window from closing
Answer: (b)
Question 18. SizerClient in window programming ?
  1.    this type of sizer ensures that a panel window fills the complete client rectangle of a frame window
  2.    this sizer class makes a panel ‘stick’ to one side of a frame window and the size of the panel window is a fixed number of pixels.
  3.    this sizer ensures that a panel window is percentage of the size of a frame window.
  4.    None of these
 Discuss Question
Answer: Option A. -> this type of sizer ensures that a panel window fills the complete client rectangle of a frame window
Answer: (a)
Question 19. SizerPercent in window programming
  1.    this type of sizer ensures that a panel window fills the complete client rectangle of a frame window
  2.    this sizer class makes a panel ‘stick’ to one side of a frame window and the size of the panel window is a fixed number of pixels.
  3.    this sizer ensures that a panel window is percentage of the size of a frame window.
  4.    None of these
 Discuss Question
Answer: Option C. -> this sizer ensures that a panel window is percentage of the size of a frame window.
Answer: (c)
Question 20. Window class, onMouseDown/5, defines
  1.    the window wants to know what cursor it must display for the mouse pointer
  2.    the mouse is moved over a window
  3.    when a mouse button is pressed this event is executed
  4.    a mouse button is released
 Discuss Question
Answer: Option C. -> when a mouse button is pressed this event is executed
Answer: (c)

Latest Videos

Latest Test Papers