Windows Programming

391. Which class control application level interaction with Windows:

  1. View Class
  2. Application Class
  3. Document Class
  4. Frame Classes

Correct answer: (B)
Application Class

392. What is handled by CDocument class in MFC application:

  1. Information
  2. Data
  3. Methods
  4. All of these

Correct answer: (B)
Data

393. The interaction between user and the document is handled by:

  1. Document Class
  2. Application Class
  3. View Class
  4. None of these

Correct answer: (C)
View Class

394. What type of application is built by AppWizard in MFC:

  1. SDI
  2. MDI
  3. Dialog
  4. All of these

Correct answer: (D)
All of these

395. SDI stands for:

  1. Simple Document Interface
  2. Single Data Interface
  3. Single Document Interface
  4. Simple Data Interface

Correct answer: (C)
Single Document Interface

396. MDI stands for:

  1. Many Document Interface
  2. Multiple Data Interface
  3. Many Data Interface
  4. Multiple Document Interface

Correct answer: (D)
Multiple Document Interface

397. Which class is created by MFC while creating a project named “Hello” using MFC AppWizard:

  1. CHelloApp
  2. CHelloDoc
  3. CHelloView
  4. All of these

Correct answer: (D)
All of these

398. In a MFC which file contains all standard ‘include files:’

  1. stdafx.cpp
  2. mainframe.cpp
  3. application.cpp
  4. frame.cpp

Correct answer: (A)
stdafx.cpp

399. Events are occurred in any windows application when user

  1. Move mouse pointer
  2. Click mouse
  3. Pressing a key
  4. All of these

Correct answer: (D)
All of these

400. Event messages are sent to

  1. CPU
  2. Window
  3. Operating System
  4. Monitor

Correct answer: (B)
Window

Page 40 of 50