17.5.14

CS410 Quiz No.3 Shared by Ambreen (Solved)



Question # 1 of 10 ( Start time: 12:27:45 PM ) Total Marks: 1
An accelerator, not always needs to correspond to a menu command.
Select correct option:
TRUE
FALSE

Question # 2 of 10 ( Start time: 12:28:25 PM ) Total Marks: 1
The _______ function retrieves a handle to one of the stock pens, brushes, fonts, or palettes
Select correct option:
GetStockGDI
GetStockDC
GetStockObject
None of the given options

Question # 3 of 10 ( Start time: 12:28:54 PM ) Total Marks: 1
Device-independed value represents
Select correct option:
Virtual key code
Key code
Read only code
Mix code

Question # 4 of 10 ( Start time: 12:29:40 PM ) Total Marks: 1
Who generate a unique handle for each menu?
Select correct option:
System
User
Dialog box
Menu Items

Question # 5 of 10 ( Start time: 12:30:26 PM ) Total Marks: 1
By default all resources are Discardable.
Select correct option:
True
False

Question # 6 of 10 ( Start time: 12:31:41 PM ) Total Marks: 1
A message box is a ________ and the system creates it by using the same internal functions that "DialogBox" uses
Select correct option:
Modeless dialog box
Dialog box template
Modal dialog box
None of the given options


Question # 7 of 10 ( Start time: 12:32:43 PM ) Total Marks: 1
The DialogProc function is used to ________
Select correct option:
Create a Dialog
Destroy a Dialog
Hide a Dialog
process messages sent to a modal or modeless dialog box

Question # 8 of 10 ( Start time: 12:34:05 PM ) Total Marks: 1
If the load menu function fails so what will be the return value.
Select correct option:
0
False
Null
1


Question # 9 of 10 ( Start time: 12:35:25 PM ) Total Marks: 1
The _________ function draws a rectangle
Select correct option:
SetRectCoords(...)
ShowRectangle(...)
DrawRectangle(...)
Rectangle(...)


Question # 10 of 10 ( Start time: 12:36:32 PM ) Total Marks: 1
Which of the following is compulsory about a keyboard accelerator?
Select correct option:
Identifier of Keyboard accelerator must start with "ID_".
Accelerator and corresponding menu item must have identical identifiers.
You must not write DISCARDABLE in the resource script of accelerator.
All of the given options

No comments:

Post a Comment

Please give us your feedback & help us to improve this site.