Windows Programming

111. Where the fundamental classes of MFC are declared:

  1. afxwin.h
  2. include.h
  3. graphics.h
  4. conio.h

Correct answer: (A)
afxwin.h

112. Which application we will use to make program more portable:

  1. WindowsAPI
  2. WindowApp
  3. MFC
  4. None of these

Correct answer: (A)
WindowsAPI

113. Which applications are used to load, view, edit and save documents which prepared in VC++:

  1. API
  2. DLL
  3. MFC
  4. None of these

Correct answer: (C)
MFC

114. Which are the member functions of application framework’s device context class CDC:

  1. TextOut()
  2. SelectStockObject()
  3. Ellipse()
  4. All of these

Correct answer: (D)
All of these

115. Which argument keeps a combination flag that checks whether key is being pressed at the same time with the other keys:

  1. nChar
  2. nRepCnt
  3. nFlags
  4. None of these

Correct answer: (C)
nFlags

116. Which attribute combines the meaning of two icons:

  1. AND
  2. WITH
  3. MERGED_WITH
  4. All of these

Correct answer: (D)
All of these

117. Which class is provided by MFC library:

  1. CScrollView
  2. CView
  3. CFrame
  4. None of these

Correct answer: (A)
CScrollView

118. Which class is used by MFC to create the frame:

  1. CMainFrame
  2. CFrameWnd
  3. CMainWnd
  4. None of these

Correct answer: (C)
CMainWnd

119. Which class is used to create a Window frame:

  1. CFrameWnd
  2. CMainFrame
  3. CMainWnd
  4. None of these

Correct answer: (A)
CFrameWnd

120. Which class is used to display something on screen:

  1. CWinApp
  2. MFC
  3. CWinAPI
  4. None of these

Correct answer: (A)
CWinApp

Page 12 of 50