0
Alien head

Visual Basic (VB) .Net Quiz - 2

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

In the statement, Dim Days(7) as String, what part of the array does the number 7 refer to?

  1. Array name

  2. Datatype

  3. Lowerbound

  4. Upperbound

  5. Size


Correct Option: D

What is required to reference an element in an array?

  1. Array name

  2. Index value of the element

  3. Element value

  4. Both a and b.

  5. All of the above.


Correct Option: D

Which method will arrange the elements of an array in alphabetical order?

  1. Arrange

  2. Assemble

  3. Order

  4. Rank

  5. Sort


Correct Option: E

The number of variables allowed in a structured is:

  1. 1

  2. 2

  3. 3

  4. Any number of variables can be declared in an array.


Correct Option: D

The variable inside a structure is called a(n):

  1. associate.

  2. constituent.

  3. element.

  4. member.

  5. part.


Correct Option: D

Which datatype can an array not hold?

  1. TextBoxes

  2. Labels

  3. Structures

  4. Controls

  5. An array can hold all of the above.


Correct Option: E

An array of controls can be populated by:

  1. assigning existing controls to the array.

  2. creating controls and assigning them to the array.

  3. borrowing controls that will automatically assign them to the array.

  4. Both a and b.

  5. All of the above.


Correct Option: D

The Tag property can:

  1. only hold string values.

  2. only hold integer values.

  3. only hold Boolean values.

  4. only hold controls.

  5. hold any data defined by the programmer.


Correct Option: E

The KeyPress event will capture pressing the key:

  1. A.

  2. shift.

  3. control.

  4. Both a and b.

  5. All of the above.


Correct Option: A

Which argument in the KeyPress parameter list contains the Handled property?

  1. Sender

  2. e

  3. Object

  4. KeyPressEventArgs

  5. None of the above.


Correct Option: B

Which menu item is not typically found in the File Menu?

  1. Close

  2. Copy

  3. Exit

  4. Print

  5. Save


Correct Option: B

What is the name of the control for putting menus on a form?

  1. FormMenu

  2. MenuForm

  3. MenuControl

  4. MainMenu

  5. Menu


Correct Option: D

The standard prefix for a menu item is:

  1. men.

  2. meu.

  3. mit.

  4. mni.

  5. mnu.


Correct Option: E

Which menu object property places a check mark in the display of the menu text?

  1. Check

  2. Checked

  3. CheckMark

  4. CheckOn

  5. RadioCheck


Correct Option: B

Which symbol creates an access key in the text of a menu item?

  1. @

  2. #

  3. $

  4. %

  5. &


Correct Option: E
+ View questions