Windows Programming

311. Which function is used to store plain text in the control:

  1. SetWindowText()
  2. SetWindowPos()
  3. SetTextPos()
  4. SetText()

Correct answer: (A)
SetWindowText()

312. Which function is used to gets a flag that indicates whether the user has selected text:

  1. GetModify()
  2. GetSel()
  3. GetText()
  4. None of these

Correct answer: (B)
GetSel()

313. Which function is used to sets the control’s default format characteristics:

  1. SetSelectionCharFormat()
  2. SetModifyCharFormat()
  3. SetDefaultCharFormat()
  4. None of these

Correct answer: (C)
SetModifyCharFormat()

314. Which function is used to set the format characteristic of the selected text:

  1. SetSelectionCharFormat()
  2. SetModifyCharFormat()
  3. SetDefaultCharFormat()
  4. None of these

Correct answer: (A)
SetSelectionCharFormat()

315. A ___________ is an array of bits that specify the color of each pixel in an array of pixels:

  1. Bitmap
  2. Window
  3. Image
  4. All of these

Correct answer: (A)
Bitmap

316. Which windows are used in user interface to display information to the user or to get a response:

  1. Images
  2. Dialogs
  3. Both a and b
  4. None of these

Correct answer: (B)
Dialogs

317. The ___________ supports the Windows animation technology:

  1. Windows Ctrl
  2. Windows
  3. Windows Supervisor
  4. Windows animation manager

Correct answer: (D)
Windows animation manager

318. Windows animation is also known as:

  1. Programmatic interface
  2. User interface
  3. Graphics interface
  4. Network interface

Correct answer: (A)
Programmatic interface

319. AVI stands for:

  1. Audio-Video Interleaved
  2. Audio-Video Interface
  3. Audio-Video Integration
  4. None of these

Correct answer: (A)
Audio-Video Interleaved

320. To compile all types of Visual graphics programs, which vector and graphics programming interface we need:

  1. Direct2D
  2. Direct3D
  3. GDI+
  4. All of these

Correct answer: (D)
All of these

Page 32 of 50