Basic Window-Programming Questions and Answers

Practice Mode
Showing 10 of 42 questions
Q11
Groupbox in window programming
  • A does nothing except draw a rectangle,l it is used to visually group controls together
  • B displays text
  • C for input of multipe lines of text
  • D none of these
Answer: Option A
Q12
Label in window programming
  • A does nothing except draw a rectangle, it is used t visually group controls together
  • B displays text
  • C for input of multiple lines of text
  • D none of these
Answer: Option B
Q13
Memo in window programming
  • A does nothing except draw a rectangle, it is used to visually group controls together
  • B displays text
  • C for input of multiple lines of text
  • D none of these
Answer: Option C
Q14
All the classes necessary for Windows programming are in the module
  • A win.txt
  • B win.std
  • C win.main
  • D none of these
Answer: Option A
Q15
Window class, onCreate/1. defines
  • A is executed when a visible window is being created
  • B is executed when a window is being clised, it is possible to prevent the window from closing
  • C when the background of a window must be erased this event is executed
  • D when a window must be re-painted this event is executed
Answer: Option A
Q16
Window class, on Close/2
  • A is executed when a visible window is being created
  • B is executed when a window is being closed, it is possible to prevent the window from closing
  • C when the background of a window must be erased this event is executed
  • D when a window must be re-painted this event is exexuted
Answer: Option B
Q17
Window class, onErase Background/1, defines
  • A is executed when a visible window is being created
  • B is executed when a window is being closed, it is possible to prev ent the3 window from closing
  • C when the background of a window must be erased this event is executed
  • D when a window must be re-painted this event is executed
Answer: Option C
Q18
Window class, onPaint/2, defines
  • A is executed when a visible window is being created
  • B is executed when a window is being closed, it is possible to prevent the window from closing
  • C when the background of a window must be erased this event is executed.
  • D when a window must be re-painted this event is executed
Answer: Option D
Q19
Window class, onShow/2, defines
  • A is executed when a window is becoming visible or is being hidden
  • B when a when is being disabled or enabled this event is executed
  • C this event is executed when the user switches to another window of the same application
  • D when a window receives the keyboard focus this event is executed
Answer: Option A
Q20
Windows class, onActivate/2, defines
  • A is executed when a window is becoming visible or is being hidden
  • B when a window is being disabled or enabled this event is executed
  • C this event is executed when the user switches to another window of the same application
  • D when a window receives the keyboard focus this event is executed
Answer: Option C
Questions and Answers for Competitive Exams Various Entrance Test