Sail E0 Webinar

MCQs

Total Questions : 41 | Page 4 of 5 pages
Question 31. SizerFixed 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 B. -> 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
Answer: (b)
Question 32. Window class, onShow/2, defines
  1.    is executed when a window is becoming visible or is being hidden
  2.    when a window is being disabled or enabled this event is executed
  3.    this event is executed when the user switches to another window of the same application
  4.    when a window receives the keyboard focus this event is executed
 Discuss Question
Answer: Option A. -> is executed when a window is becoming visible or is being hidden
Answer: (a)
Question 33. Window class, onMenuSelect/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 C. -> a menu item is selected
Answer: (c)
Question 34. Window class, onKBFocus/3, defines
  1.    is executed when a window is becoming visible or is being hidden
  2.    when a window is being disabled or enabled this event is executed
  3.    this event is executed when the user switches to another window of the same application
  4.    when a window receives the keyboard focus this event is executed
 Discuss Question
Answer: Option D. -> when a window receives the keyboard focus this event is executed
Answer: (d)
Question 35. These exist ——— panel windows inside the same frame window.
  1.    Several
  2.    Only one
  3.    None
  4.    None of these
 Discuss Question
Answer: Option A. -> Several
Answer: (a)
Question 36. In frame windows
  1.    One can put another frame windows
  2.    One can not put another frame windows
  3.    d)
 Discuss Question
Answer: Option A. -> One can put another frame windows
Answer: (a)
Question 37. Window class, onKeyDown/3 , defines
  1.    a mouse button was double clicked
  2.    the user clicks on a window
  3.    a key on the keyboard is pressed
  4.    a key on the keyboard is released
 Discuss Question
Answer: Option C. -> a key on the keyboard is pressed
Answer: (c)
Question 38. Window class, onClick/1, defines
  1.    a mouse button was double clicked
  2.    the user clicks on a window
  3.    a key on the keyboard is pressed
  4.    a key on the keyboard is released
 Discuss Question
Answer: Option B. -> the user clicks on a window
Answer: (b)
Question 39. Edit in window programming
  1.    displays text and can be clicked with the mouse or spacebar
  2.    a checkmark which the user can select
  3.    a list from which one item can be selected.
  4.    area in which text may be entered
 Discuss Question
Answer: Option D. -> area in which text may be entered
Answer: (d)
Question 40. Window class, onVScroll/3, 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 C. -> an event from the vertical scrollbar of the window
Answer: (c)

Latest Videos

Latest Test Papers