Question:
_________ is the smallest rectangle enclosing the portion of a window or client area affected by recent drawing operations
Select correct option:
- Invalid Rectangle
 - Accumulated Bounding Rectangle C
 - Accumulated Client Rect
 - All of the given options
 
Question:
DOS boxes are also called ___________
Select correct option:
- Main Window
 - Console Window C
 - Dialogue Box
 - Arrays
 
Question:
________ determines that, which threads should run and when they should run?
Select correct option:
- Scheduler C
 - Thread itself
 - Messages
 - None of the given options
 
Question:
There cannot be multiple _________________ messages in message queue.
Select correct option:
- WM_ PAINT
 - WM_TIMER
 - WM_QUIT C
 - WParam
 
Question:
The first step in creating a window is registering a window class by _________
Select correct option:
- Using DispatchMessage API
 - Filling a WNDCLASS structure and calling RegisterClass C
 - Getting Window Handle
 - None of given options
 
Question:
DNS is an industry-standard protocol used to locate computers on an IP-based networks
Select correct option:
- TRUE C
 - FALSE
 
Question:
___________ defines a class that adds new functionality to a predefined Window class
Select correct option:
- Sub-Classing
 - Coupling
 - Super-Classing C
 - None of given options
 
Question:
On which machines the scheduler can move individual threads to different processors to “balance” the CPU load.
Select correct option:
- Miniprocessor
 - Multiprocessor C
 - Doubleprocessor
 - None of given options
 
Question:
“Bind” functions is used to bind to both connection-oriented (stream) and connectionless (datagram) sockets
Select correct option:
- TRUE C
 - FALSE
 
 
Question:
Identifier is not replaced if it appears
Select correct option:
- In a comment
 - With in a string
 - As a part of a long identifier
 - All of given C
 
Question:
When an application receives a keystroke message, ______ code is there in wParam parameter.
Select correct option:
- ASCII key
 - Normal key
 - Extended key C n s
 - Virtual key
 
Question:
Static variables are made on ___________ memory location
Select correct option:
- Fixed
 - Stack C
 - Pointer
 - Variable
 
Question:
Which one of the following statements is not true?
Select correct option:
- GDI is responsible for displaying text on the display devices
 - Kernel is responsible for thread synchronization 2
 - GDI is device dependent
 - Kernel is responsible for virtual memory management
 
Question:
______ is/are common MIME type(s)
Select correct option:
- image/gif
 - image/jpeg
 - text/html
 - All of given options C
 
Question:
To retrieve the identifier of the menu item at a specified position, we can use the
Select correct option:
- GetMenuItemID or GetMenuItemInfo function. C
 - Only GetMenuItemID function
 - We have to use both GetMenuItemID and GetMenuItemInfo
 - None of the given functins
 
Question:
HTTP is a ________
Select correct option:
- Text Translation Protocol
 - Text Transport Protocol
 - Text Transformation Protocol
 - None of given options C
 
Question:
In Windows every running application is a _______________
Select correct option:
- Pointer
 - Process C
 - Array
 - List
 
Question:
To retrieve the identifier of the menu item at a specified position, we can use the
Select correct option:
- GetMenuItemID or GetMenuItemInfo function. C
 - Only GetMenuItemID function
 - We have to use both GetMenuItemID and GetMenuItemInfo
 - None of the given functins
 
Question:
HTTP status code “400” (Bad Request) means:
Select correct option:
- Request message not understood by server C
 - Requested document not found on this server
 - Requested document has been moved to some other location
 - All of given options
 
Question:
DNS is an industry-standard protocol used to locate computers on an IP-based networks
Select correct option:
- TRUE C
 - FALSE
 
Question:
______ is/are common MIME type(s)
Select correct option:
- image/gif
 - image/jpeg
 - text/html
 - All of given options C
 
Question:
With Winsock, programmers are provided access to advanced Microsoft® Windows® networking capabilities such as _______________.
Select correct option:
- Independent object access and opaque data transfer
 - Stateless service call and error free data transfer
 - Multicast and Quality of Service (QOS) C
 - All of the given options
 
Question:
______________ tell the operating system about the characteristics and physical layout of its windows.
Select correct option:
- Register Class
 - Object Class
 - Window Class C
 - Common Class
 
Question:
If we pass NULL value to “GetDC” function, it retrieves the DC for the:
Select correct option:
- Entire Screen C
 - Parent Window
 - Client Window
 - It does not retrieves DC
 
 
Question:
The _________ function draws a rectangle
Select correct option:
- SetRectCoords(…)
 - ShowRectangle(…)
 - DrawRectangle(…)
 - Rectangle(…) C
 
Question:
The __________ function permits an incoming connection attempt on a socket.
Select correct option:
- accept C
 - receive
 - acknowledge
 - none of given options
 
Question:
Struct Person { char name[30]; //30 bytes int age; //4 bytes float height; //4 bytes }; struct Person abc, *ptr; ptr = &abc; ptr = ptr + 1; How many bytes will skip this statement?
Select correct option:
- 38
 - 40
 - 39 N S
 - Nothing will skip.
 
Question:
DC stands for _________
Select correct option:
- Direct Context
 - Driver Context
 - Device Context
 - Display Context C
 
Question:
The _______ function retrieves a handle to one of the stock pens, brushes, fonts, or palettes
Select correct option:
- GetStockGDI
 - GetStockDC
 - GetStockObject c
 - None of the given options
 
Question:
A Window that has a parent is called a ____ Window
Select correct option:
- Parent
 - Main
 - Child c
 - Owner Window