Question
______________ inserts a WM_QUIT message in the program’s message queue.
Select correct option:
PostQuitMessage (0)
WM_TIMER
KillTimer ()
DispatchMessage ()
Question
DOS boxes are also called ___________
Select correct option:
Main Window
Console Window
Dialogue Box
Arrays
Question
Result of _________________ of two bits is TRUE (1) if only if both are TRUE (1)
Select correct option:
OR (I)
XOR
AND (&)
NOR
Question
Ptr -> age is equivalent to _______________
Select correct option:
*ptr.age
ptr.age
(ptr).age
(*ptr).age
Question
Long chain of keywords in declaration can be shortened. Above line is the advantage of ______.
Select correct option:
Typedef
Struct
Union
None of given
Question
______________ tell the operating system about the characteristics and physical layout of its windows.
Select correct option:
Register Class
Object Class
Window Class
Common Class
Question
Static variables are made on ___________ memory location
Select correct option:
Fixed
Stack
Pointer
Variable
Question
___________ 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
Question
We can create a window using ______________
Select correct option:
RegisterClass ( )
WNDClass
CreateWindow ( )
DestroyWinndow( )
Question
Name of the three dimensional array is the address of __________________
Select correct option:
First Row
First Element
First page
Last Page
Question
Specific memory areas where parameters are copied are ______________
Select correct option:
Stacks
Arrays
Queues
Lists
Question
___________ 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
Question
There cannot be multiple _________________ messages in message queue.
Select correct option:
WP_PAINT
WM_TIMER
WM_QUIT
WParam
Question
Preprocessor directive starts with _________ symbol.
Select correct option:
#
&
*
%
Question
GDI is implemented through ____________________
Select correct option:
GDI.dll
Win32.dll
GDI32.dll
Kernel
Question
Name of Two dimensional array is the address of _________
Select correct option:
First Column
First Row
Last Row
Last Column
Question
Union Person { char name[30]; //30 bytes int age; float height; }; Union Person abc, *ptr; Ptr = &abc; ptr = ptr +1; How many bytes will skip after executing ptr = ptr +1.
Select correct option:
38 bytes will skip after executing ptr = ptr +1.
Question
31 bytes will skip after executing ptr = ptr +1.
32 bytes will skip after executing ptr = ptr +1.