1.Whenever a window is resized, system sends "WM_SIZING" message to the application that owns the window
Select correct option:
TRUE
FALSE
2.Regarding Win32, an application cannot subclass a Window or Class that belongs to another process
Select correct option:
TRUE
FALSE
3.Ptr -> age is equivalent to _______________
Select correct option:
*ptr.age
ptr.age
(ptr).age
(*ptr).age
4.If a window owns child Windows, and we destroy owner Window then _____________.
Select correct option:
Only owner window will be destroyed
Only its owned window will be destroyed
Both owner and owned Windows will be destroyed
The application will be crashed
5.__________ handles user inputs and responds to user events independently.
Select correct option:
User-Interface Thread
Worker Thread
Kernel Thread
None of given options
6.___________ provides the functionality to create and manage screen windows and most basic controls
Select correct option:
GDI
Common Dialog Box
Common Control Library
User Interface
7._______ acts as a buffer between applications and output devices.
Select correct option:
GDI
Kernel32
OS
CPU
8.The _____ function writes a character string at the specified location, using the currently selected font, background color, and text color
Select correct option:
printf(...)
PrintText(...)
TextOut(...)
cout
9.A _________ is commonly used to handle background tasks
Select correct option:
Worker thread
User Interface thread
Parent thread
Process thread
10.The system paints the background for a window or gives the window, the opportunity to do so by sending it a _______ message
Select correct option:
WM_FILLBKGND
WM_ERASEBKGND
WM_SYSCOMMAND
WM_OVERLAPPED
Comments
Post a Comment
Please give us your feedback & help us to improve this site.