Alien head

Basic .net Quiz 1

Description: Basic .net Quiz 1
Number of Questions: 10
Created by:
Tags: .net
Attempted 0/10 Correct 0 Score 0

Which is not an integer data type?

  1. Single

  2. Byte

  3. Short

  4. Integer

  5. Long


Correct Option: A

Which is a numeric data type?

  1. Floating point

  2. Integer

  3. Boolean

  4. Both a and b.

  5. All of the above.


Correct Option: D

Which sequence of char data types is listed from lowest to highest?

  1. a, A, z, Z

  2. a, z, A, Z

  3. A, a, Z, z

  4. A, Z, a, z

  5. z, a, Z, A


Correct Option: D

The Date data type does not hold which type of information.

  1. Seconds

  2. Hours

  3. Days

  4. Months

  5. Quarters


Correct Option: E

The Boolean data type:

  1. is unsigned.

  2. has two states.

  3. is displayed by the program as yes or no.

  4. Both a and b.

  5. All of the above.


Correct Option: E

Which is a valid statement for declaring a variable?

  1. Const Form As Integer

  2. Const myForm As Integer

  3. Dim Form As Integer

  4. Dim myForm As Integer

  5. All of the above.


Correct Option: E

VB.Net identifiers:

  1. are case sensitive.

  2. can begin with an underscore.

  3. can begin with a number.

  4. Both a and b.

  5. All of the above.


Correct Option: B

The name of a constant:

  1. must both begin with a letter and be all upper case.

  2. does not have to begin with a letter but must be all upper case.

  3. must begin with a letter but can be upper or lower case.

  4. does not have to begin with a letter and be either upper or lower case.

  5. None of the above.


Correct Option: D

The proper operator precedence, from first to last, is:

  1. logical, comparison, and arithmetic.

  2. arithmetic, comparison, and logical.

  3. arithmetic, logical, and comparison.

  4. comparison, arithmetic, and logical.

  5. logical, arithmetic, comparison.


Correct Option: B

With A = False and B = True, which statement evaluates as True?

  1. A AND A

  2. A AND B

  3. B AND A

  4. B AND B

  5. None are true.


Correct Option: D
+ View questions