0
Alien head

Visual Basic (VB) .Net Quiz - 3

Description: Visual Basic (VB) .Net Quiz - 3
Number of Questions: 15
Created by:
Tags: .net vb
Attempted 0/15 Correct 0 Score 0

Which is not a standard dialog box?

  1. ColorDialog

  2. FontDialog

  3. OpenDialog

  4. PrintDialog

  5. ZoomDialog


Correct Option: E

Why are standard dialog boxes used?

  1. They are easy to create.

  2. They provide functionality familiar to users.

  3. Developers can create their own versions of Dialog boxes.

  4. Both a and b.

  5. All of the above.


Correct Option: D

How are dialog boxes implemented in a program?

  1. A dialog box is generated programmatically.

  2. A dialog control is placed in the component tray.

  3. A dialog control is placed on the form.

  4. Both a and b.

  5. All of the above.


Correct Option: D

The standard prefix for a dialog control is:

  1. dal.

  2. dia.

  3. dil.

  4. dlc.

  5. dlg.


Correct Option: E

What is the method used to activate the color dialog box?

  1. ActivateDialog

  2. DisplayDialog

  3. ExhibitDialog

  4. ShowDialog

  5. StartDialog


Correct Option: D

The name of the class used to programmatically create a color dialog box is:

  1. Color

  2. ColorBox

  3. ColorDialog

  4. ColorDisplay

  5. ColorDisplayBox


Correct Option: C

The name of the class used to programmatically create a font dialog box is:

  1. Font.

  2. FontBox.

  3. FontDialog.

  4. FontDisplay.

  5. FontDialogBox.


Correct Option: C

Which OpenFileDialog control property specifies the choices in the "Files of type" dropdown box?

  1. FileName

  2. FileNames

  3. FileType

  4. Filter

  5. FilterIndex


Correct Option: D

Which property is the same in the OpenFileDialog and the SaveFileDialog control?

  1. FileName

  2. Filter

  3. InitialDirectory

  4. Both a and b.

  5. All of the above.


Correct Option: E

Which method is found in both the StreamReader and StreamWriter class?

  1. Close

  2. Peak

  3. Flush

  4. Both a and b.

  5. All of the above.


Correct Option: A

The StreamReader and StreamWriter class are both subclasses of which class?

  1. IO

  2. Stream

  3. StreamIO

  4. Both a and b.

  5. All of the above.


Correct Option: B

Which dialog control allows the user to zoom in on a document?

  1. PrintDialog

  2. PrintPreview

  3. PageSetupDialog

  4. Both a and b.

  5. All of the above.


Correct Option: B

Which dialog control has a Document property?

  1. PrintDialog

  2. PrintPreview

  3. PageSetupDialog

  4. Both a and b.

  5. All of the above.


Correct Option: E

Which object must be assigned to the Document property?

  1. Document

  2. DocumentPage

  3. DocumentPrint

  4. PageDocument

  5. PrintDocument


Correct Option: E

When is the PrintPage event activated?

  1. When the PrintDialog control is displayed.

  2. When an assignment is made to the Document property.

  3. The first time the Print method is called.

  4. Every time a page is printed after the Print method is called.

  5. None of the above.


Correct Option: D
+ View questions