Joa It Post Code - 965 Window Programming Important Questions and Answers Set - 4

POOJA GUPTA
0

 

Joa It Post Code - 965 Window Programming Important Questions and Answers Set - 4

Window Programming Important Questions and Answers Set - 4


11. Window class, onCommand/2, defines
A.During processing of a key this event is executed with the ASCII value of the key pressed
B.A menu command was selected
C.A menu item is selected
D.A window was resized
Ans-(B) A menu command was selected

12. Window class, onMenuSelect/2, defines
A.During processing of a key this event is executed with the ASCII value of the key pressed
B.A menu command was selected
C.A menu item is selected
D.A window was resized
Ans-(C ) A menu item is selected

13. Window class, onSize/2, defines
A.During processing of a key this event is executed with the ASCII value of the key pressed
B.A menu command was selected
C.A menu item is selected
D.A window was resized
Ans-(D) A window was resized

14. Window class, onMove/2, defines
A. a window is moved to a new position
B. The user wants to view a floating popup menu for the window
C. An event from the vertical scrollbar of the window
D. An event from the horizontal scrollbar of the window
Ans-(A) a window is moved to a new position

15. Window class, onInitPopupMenu/2 , defines
A. a window is moved to a new position
B.The user wants to view a floating popup menu for the window
C.An event from the vertical scrollbar of the window
D.An event from the horizontal scrollbar of the window
Ans-(B) The user wants to view a floating popup menu for the window

16. Window class ,onVScroll/3, defines
A.a window is moved to a new position
B.The user wants to view a floating popup menu for the window
C.An event from the vertical scrollbar of the window
D.An event from the horizontal scrollbar of the window
Ans-(C ) An event from the vertical scrollbar of the window

17. Window class, onHScroll/3, defines
A.a window is moved to a new position
B.The user wants to view a floating popup menu for the window
C.An event from the vertical scrollbar of the window
D.An event from the vertical scrollbar of the window
Ans-(D) .An event from the vertical scrollbar of the window

18. SizerClient in window programming ?
A. This type of sizer ensures that a panel window fills the complete client rectangle of a frame window
B. This sizer class makes a panel ‘stick’ to one side of a frame window and the size of a frame window and the size of the panel window is a fixed number of pixels
C. This sizer ensures that a panel window is percentage of the size of a frame window
D. None of these
Ans-(A) This type of sizer ensures that a panel window fills the complete client rectangle of a frame window

19. SizerFixed in window programming
A. This type of sizer ensures that a panel window fills the complete client rectangle of a
frame window
B.This sizer class makes a panel ‘stick’ to one side of a frame window and the size of a frame
window and the size of the panel window is a fixed number of pixels
C.This sizer ensures that a panel window is percentage of the size of a frame window
D.None of these
Ans-( B) This sizer class makes a panel ‘stick’ to one side of a frame window and the size of a frame window and the size of the panel window is a fixed number of pixels

20. SizerPercent in window programming
A.This type of sizer ensures that a panel window fills the complete client rectangle of a frame window
B.This sizer class makes a panel ‘stick’ to one side of a frame window and the size of a frame
window and the size of the panel window is a fixed number of pixels
C.This sizer ensures that a panel window is percentage of the size of a frame window
D.None of these
Ans-(C ) This sizer ensures that a panel window is percentage of the size of a frame window


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment (0)
To Top