1. In
Microsoft Windows, which are embedded:
a. DLL
b. EXE
c. CPL
d. All of these
2. Which
is not the Windows resource:
a. Dialog
Box
b. Menus
c. Pop-up
menus
d. None of these
3. In
which file the compiler manage the various objects which are use in windows
programming:
a. Text file
b. Resource
file
c. Control
file
d. Objfile
4. Which
component prevents attacks from malicious and foreign program:
a. Firewall
b. Resources
c. Windows
d. None
of these
5. Antivirus
is used to catch:
a. Worms
b. Rootkits
c. Spywares
d. Virus
e. All of these
6. Which
is not the antivirus software:
a. Windows
Vista antivirus
b. Spyware
antivirus
c. Avast
antivirus
d. Norton
antivirus
e. Kaspersky
antivirus
f.
None of these
7. Which
element’s file format is .RC:
a. Menu
b. Dialog
c. String
d. User-defined
resource
e. Version
information
f.
Header file
g. Accelerator
h. All of these
8. Match
the following:
i.
Cursor a:
FNT
ii.
Bitmap b: ICO
iii.
Icon
c: BMP
iv.
Font d: CUR
b. i-a,
ii-c, iii-d, iv-b
c. i-d, ii-c, iii-b, iv-a
d. i-a,
ii-b, iii-c, iv-d
e. i-c,
ii-a, iii-d, iv-b
9. In
resource editor what is the default name of newly created dialog:
a. IDD_DIALOG1
b. DLG_DIALOG1
c. ID_DIALOG1
d. None
of these
10. Which
header file contains string and other mapping macros:
a. string
b. tchar.h
c. cstring.h
d. resources.h
11. The Dialog
controls are referenced using:
a. CWnd
pointer
b. Index
number
c. Both a and b
d. None
of these
12. Class
Wizard can generate statements to call the MFC___________ functions for moving
the information back and forth between the screen and the data members in
dialog box:
a. Data
transfer and dispose
b. Data exchange and data validation
c. Both
a and b
d. None
of these
13. Which
dialog box force to user to do any action:
a. Modal
b. Modeless
c. Both
a and b
d. None
of these
14. Which is
dialog control initialization function:
a. OnDialog
b. OnInitDialog
c. InitDialog
d. StartDialog
15. Which
function is used to create Modal dialog box:
a. CreateModal()
b. DoModal()
c. DrawModal()
d. Modal()
16. Which
function is create for cancel button event of dialog box:
a. OnInitCancel()
b. OnCancel()
c. CancelClick()
d. OnClickCancel()
17. Which
function is used for converting an ID to a CWnd pointer is provided by the MFC
library:
a. CWnd::GetItem
b. CWnd::GetPointer
c. CWnd::GetDlgItem
d. CWnd::GetDlgPointer
18. Match the
following:
i.
Animation
a: CEdit
ii.
Button b: CComboBox
iii.
Combo box
c: CButton
iv.
Edit box d: CAnimateCtrl
b. i-a,
ii-c, iii-d, iv-b
c. i-c,
ii-b, iii-d, iv-a
d. i-d, ii-c, iii-b, iv-a
e. i-c,
ii-a, iii-d, iv-b
19. Match the
following:
i.
Header a: CComboBoxEx
ii.
Hotkey b:
CImageList
iii.
Image list c: CHotKeyCtrl
iv.
Extended combo box d: CHeaderCtrl
b. i-a,
ii-c, iii-d, iv-b
c. i-d, ii-c, iii-b, iv-a
d. i-d,
ii-a, iii-c, iv-b
e. i-c,
ii-a, iii-d, iv-b
20. Which
function is used to convert a CWnd pointer to a control ID, in MFC library:
a. GetDlgCtrlID()
b. GetPointer()
c. GetDlgItem()
d. GetDlgPointer()
21. In
VisualC++, which menu adds ‘Resources’:
a. Insert
b. Project
c. Build
d. Tools
22. Buttons and
other utilities can be accessed through the _______ menu:
a. Insert
b. Layout
c. Tools
d. Window
23. Which is
not the Dialog style:
a. Title
bar
b. System
menu
c. Maximize
box
d. Minimize
box
e. Clip
siblings
f.
Clip children
g. Horizontal
scroll
h. Vertical
scroll
i.
None of these
24. Match the
following:
i.
IDS
a: A dialog box resource
ii.
IDM b: A menu resource
iii.
IDC
c: A string resource
iv.
IDD d: A command identifier
b. i-a,
ii-c, iii-d, iv-b
c. i-c, ii-b, iii-d, iv-a
d. i-a,
ii-b, iii-c, iv-d
e. i-c,
ii-a, iii-d, iv-b
25. Match the
following:
i.
IDA
a: A bitmap resource
ii.
IDI b: A custom resource
iii.
IDB
c: An accelerator table resource
iv.
ID d: A Icon and bitmap resource
b. i-a,
ii-c, iii-d, iv-b
c. i-c,
ii-b, iii-d, iv-a
d. i-c, ii-d, iii-a, iv-b
e. i-c,
ii-a, iii-d, iv-b
26. Which two
kinds of Dialog are:
a. Modal
b. Modeless
c. Both a and b
d. None
of these
27. Which
keyword is used to store Icons in resource files:
a. ICON
b. iconfile.ico
c. Icon
design
d. None
of these
28. A 16*16
size Icon support______ colors:
a. 16
b. 256
c. 512
d. 65536
29. Which
function is provided by win32API for loading icons, bitmaps and cursors:
a. Load
Icon
b. Load
Bitmaps
c. Load Image
d. Load
Cursor
30. In which
toolbar Lines, curves, rectangle, text, ellipse tools are available:
a. Drawing
toolbar
b. Graphics toolbar
c. Formatting
toolbar
d. None
of these
31. What is the
size of Large Icon:
a. 16*16
b. 32*32
c. 64*64
d. 128*128
32. Which
parameters are used by LoadString() function:
a. hInstance
b. uID
c. lpBuffer
d. nBufferMax
e. All of these
33. Which
function returns the number of characters that are actually written into the
string:
a. LoadString
b. UpdateString
c. RemoveString
d. CreateString
34. Keyboard
Accelerators are processed by calling_________function:
a. TranslateAccelerator()
b. PreTranslateAccelerator()
c. Translate()
d. None
of these
35. Windows
message is related to:
a. WM_CONTEXTMENU
b. WM_COMMANDLINE
c. WM_COMMAND
d. None
of these
36. The
ultimate ancestor for all classes in the .Net framework and the equivalent of
the C# object class. Part of the system namespace is called:
a. MarshalByRefObject
b. Component
c. Object
d. Menu
37. An object
with a distributed identifies whose state is only valid in the context where it
was created. Part of the system namespace is called:
a. Component
b. Object
c. Menu
d. MarshalByRefObject
38. A
MarshalByRefObject that can exit within a container part of the System.
Component Model namespace is called:
a. Component
b. Menu
c. MarshalByRefObject
d. Object
39. The
abstract base class for all menu object, the part of System.Windows.Forms
namespace is called:
a. MarshalByRefObject
b. Component
c. Object
d. Menu
40. Which are the public properties for Menu
class in the .Net framework:
a. Handle
b. IsParent
c. MdiListItem
d. MenuItems
e. All of these
41. Which are
the public function for Menu class in the .Net framework:
a. GetContextMenu
b. GetMainMenu
c. MergeMenu
d. All of these
42. Which are
the public events for Menu class in the .Net framework:
a. Disposed
b. Handle
c. IsParent
d. None
of these
43. Which are
the public events for MenuItem class in the .Net framework:
a. Click
b. DrawItem
c. MeasureItem
d. Popup
e. Select
f.
All of these
44. Which are
the public functions for MenuItem class in the .Net framework:
a. CloneMenu
b. MergeMenu
c. PerformClick
d. PerformSelect
e. All of these
45. Which are
the public properties for MenuItem class in the .Net framework:
a. Checked
b. Enabled
c. Index
d. MergeOrder
e. OwnerDraw
f.
All of these
46. Which are
not the public properties for MenuItem class in the .Net framework:
a. Parent
b. RadioCheck
c. Shortcut
d. ShowShortcut
e. Text
f.
Visible
g. None of these
47. Which are
the type of menus in Windows application:
a. System
menu
b. Pop-up
menu
c. Drop-down
menu
d. All of these
48. System
menus contain commands for:
a. Restoring
b. Moving
c. Size
d. Minimizing
e. Maximizing
f.
Closing
g. All of these
49. System menu
is displayed by:
a. Clicking
the right mouse button
b. Pressing
the Alt spacebar
c. Both a and b
d. None
of these
50. Which
function is used to load the menu:
a. LoadMenu()
b. AppendMenu()
c. CreateMenu()
d. InsertMenu()
51. When the
user select an item from the menu which message is generated:
a. WM_COMMAND
b. ON_COMMAND
c. WM_PAINT
d. None
of the
52. Which macro
of MFC creates a message map entry:
a. ON_PAINT
b. ON_LBUTTONCLK
c. ON_COMMAND
d. ON_RBUTTONCLK
53. Which
function appends the new items at the end of existing items:
a. AppendMenu()
b. LoadMenu()
c. CreateMenu()
d. InsertMenu()
54. Which variable has been used to make sure that
the same menu item do not keep getting appended or removed more than once:
a. count
b. flag
c. this
d. None
of these
55. Which menu
is added with a menu for the purpose of setting the appearance of the displayed
image within the window:
a. Submenu
b. System
menu
c. Pop-up
menu
d. None
of these
56. Which tools
are provided by Windows for text editing:
a. Edit
control
b. Windows
rich edit common control
c. Both a and b
d. None
of these
57. In MFC
which classes are used for text editing:
a. CEditView
b. CRichEditView
c. Both a and b
d. None
of these
58. In CEditView class, the limitation of text
size:
a. 64 KB
b. 32
KB
c. 128
KB
d. 16
KB
59. Which
function is used to set the size and position of the edit window:
a. SetTextPos()
b. SetWindowPos()
c. SetWindowText()
d. None
of these
60. Which
function is used to retrieves plain text from the control:
a. GetWindowText()
b. SetWindowText()
c. GetText()
d. GetModify()
61. Which function is used to store plain text in
the control:
a. SetWindowText()
b. SetWindowPos()
c. SetTextPos()
d. SetText()
62. Which
function is used to gets a flag that indicates whether the user has selected
text:
a. GetModify()
b. GetSel()
c. GetText()
d. None
of these
63. Which function is used to sets the control’s
default format characteristics:
a. SetSelectionCharFormat()
b. SetModifyCharFormat()
c. SetDefaultCharFormat()
d. None
of these
64. Which
function is used to set the format characteristic of the selected text:
a. SetSelectionCharFormat()
b. SetModifyCharFormat()
c. SetDefaultCharFormat()
d. None
of these
Very significant Information for us, I have think the representation of this Information is actually superb one. This is my first visit to your site. Antigen test
ReplyDelete