Windows Programming

171. Which keyword is used to declare the variable and function to specify the external link:

  1. extern
  2. void
  3. this
  4. new

Correct answer: (A)
extern

172. Which macro can be used to enable MFC diagnostic outputs, including message, OLE, database and Internet information:

  1. COUT
  2. FOUT
  3. TRACER
  4. DISPLAY

Correct answer: (C)
TRACER

173. Which macro is used to handle the command message:

  1. ON_COMMAND
  2. ON_LBUTTONDOWN
  3. ON_RBUTTONDOWN
  4. ON_LBUTTONDBLCLK

Correct answer: (A)
ON_COMMAND

174. Which macros are particularly useful for monitoring the program activity in application framework:

  1. FOUT
  2. COUT
  3. TRACE
  4. DISPLAY

Correct answer: (C)
TRACE

175. Which method is used to calculate the value of CRC:

  1. Polygon addition
  2. Polygon subtraction
  3. Polynomial division
  4. Polynomial addition

Correct answer: (C)
Polynomial division

176. Which network protocol is supported by X:

  1. TCP/IP
  2. DECNET
  3. STREAMS
  4. All of these

Correct answer: (D)
All of these

177. Which parameter of formal specification can represent non empty set of icon

  1. VL
  2. VP
  3. S
  4. XO

Correct answer: (C)
S

178. Which parameter of formal specification can represent the element in S

  1. VL
  2. VP
  3. S
  4. XO

Correct answer: (D)
XO

179. Which parameter of formal specification can represent the set of logical objects

  1. VL
  2. VP
  3. S
  4. XO

Correct answer: (A)
VL

180. Which parameter of formal specification can represent the set of physical objects

  1. VL
  2. VP
  3. S
  4. XO

Correct answer: (B)
VP

Page 18 of 50