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

Which is not a standard dialog box?

  1. ColorDialog

  2. FontDialog

  3. OpenDialog

  4. PrintDialog

  5. ZoomDialog

Answer: 5

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.

Answer: 4

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.

Answer: 4

The standard prefix for a dialog control is:

  1. dal.

  2. dia.

  3. dil.

  4. dlc.

  5. dlg.

Answer: 5

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

  1. ActivateDialog

  2. DisplayDialog

  3. ExhibitDialog

  4. ShowDialog

  5. StartDialog

Answer: 4

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

  1. Color

  2. ColorBox

  3. ColorDialog

  4. ColorDisplay

  5. ColorDisplayBox

Answer: 3

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

  1. Font.

  2. FontBox.

  3. FontDialog.

  4. FontDisplay.

  5. FontDialogBox.

Answer: 3

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

  1. FileName

  2. FileNames

  3. FileType

  4. Filter

  5. FilterIndex

Answer: 4

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.

Answer: 5

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.

Answer: 1

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.

Answer: 2

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.

Answer: 2

Which dialog control has a Document property?

  1. PrintDialog

  2. PrintPreview

  3. PageSetupDialog

  4. Both a and b.

  5. All of the above.

Answer: 5

Which object must be assigned to the Document property?

  1. Document

  2. DocumentPage

  3. DocumentPrint

  4. PageDocument

  5. PrintDocument

Answer: 5

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.

Answer: 4
+ View questions