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

POOJA GUPTA
0

 

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

Window Programming Important Questions and Answers Set - 3


1. Window class , onKBFocus/3, 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
Ans-(D) When a window receives the keyboard focus this event is executed

2. Window class, onSetCursor/3, defines
A. The window wants to know what cursor it must display for the mouse pointer
B. The mouse is moved over a window
C. When a mouse button is pressed this event is executed
D. A mouse button is released
Ans-(A) The window wants to know what cursor it must display for the mouse pointer

3. Window class, onMouseMove/5, defines
A.The window wants to know what cursor it must display for the mouse pointer
B.The mouse is moved over a window
C.When a mouse button is pressed this event is executed
D.A mouse button is released
Ans-(B) The mouse is moved over a window

4. window class, onMouseDown/5, defines
A.The window wants to know what cursor it must display for the mouse pointer
B.The mouse is moved over a window
C.When a mouse button is pressed this event is executed
D.A mouse button is released
Ans-(C ) When a mouse button is pressed this event is executed

5. Window class, on MoveUp/5, defines
A.The window wants to know what cursor it must display for the mouse pointer
B.The mouse is moved over a window
C.When a mouse button is pressed this event is executed
D.A mouse button is released
Ans-(D) A mouse button is released

6. Window class, onMouseDoubleClick/5 , defines
A. a mouse button was double clicked
B. The user clicks on a window
C. A key on the keyboard is pressed
D. A key on keyboard is released
Ans-(A) a mouse button was double clicked

7. Window class, onClick/1, defines
A.a mouse button was double clicked
B.The user clicks on a window
C.A key on the keyboard is pressed
D.A key on keyboard is released
Ans-(B) The user clicks on a window

8. Window class , onKeyDown/3 , defines
A.a mouse button was double clicked
B.The user clicks on a window
C.A key on the keyboard is pressed
D.A key on keyboard is released
Ans-(C ) A key on the keyboard is pressed

9. Window class, onKeyUp/3, defines
A.a mouse button was double clicked
B.The user clicks on a window
C.A key on the keyboard is pressed
D.A key on keyboard is released
Ans-( B) The user clicks on a window

10. Window class, onChar/3, 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-(A) During processing of a key this event is executed with the ASCII value of the key pressed


Post a Comment

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