Windows Programming

291. 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:

  1. Component
  2. Object
  3. Menu
  4. MarshalByRefObject

Correct answer: (D)
MarshalByRefObject

292. A MarshalByRefObject that can exit within a container part of the System. Component Model namespace is called:

  1. Component
  2. Menu
  3. MarshalByRefObject
  4. Object

Correct answer: (A)
Component

293. The abstract base class for all menu object, the part of System.Windows.Forms namespace is called:

  1. MarshalByRefObject
  2. Component
  3. Object
  4. Menu

Correct answer: (D)
Menu

294. Which are the public properties for Menu class in the .Net framework:

  1. Handle
  2. IsParent
  3. MdiListItem
  4. MenuItems
  5. All of these

Correct answer: (E)
All of these

295. Which are the public function for Menu class in the .Net framework:

  1. GetContextMenu
  2. GetMainMenu
  3. MergeMenu
  4. All of these

Correct answer: (D)
All of these

296. Which are the public events for Menu class in the .Net framework:

  1. Disposed
  2. Handle
  3. IsParent
  4. None of these

Correct answer: (A)
Disposed

297. Which are the public functions for MenuItem class in the .Net framework:

  1. CloneMenu
  2. MergeMenu
  3. PerformClick
  4. PerformSelect
  5. All of these

Correct answer: (E)
All of these

298. Which are the type of menus in Windows application:

  1. System menu
  2. Pop-up menu
  3. Drop-down menu
  4. All of these

Correct answer: (D)
All of these

299. System menu is displayed by:

  1. Clicking the right mouse button
  2. Pressing the Alt spacebar
  3. Both a and b
  4. None of these

Correct answer: (C)
Both a and b

300. Which function is used to load the menu:

  1. LoadMenu()
  2. AppendMenu()
  3. CreateMenu()
  4. InsertMenu()

Correct answer: (A)
LoadMenu()

Page 30 of 50