wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

THE GOVERNORATE Second Term EXAMS MODELS

Total questions: 16

Worksheet time: 8mins

Name
Class
Date
1.

Variables of type Double, Single and Decimal allow storing fractional values, but with different degrees of precision.                                                                                         

a)

True

b)

False

2.

The error that appears while writing a code in VB.NET language is called Runtime error.

a)

True

b)

False

3.

In (If…Then…) statement, when the outcome of the condition is evaluated to be False, the statements following (Then) are executed.                                                               

a)

True

b)

False

4.

The property that determines the selected item in a (Listbox) is (SelectedIndex).

a)

True

b)

False

5.

When the result of the conditional (Do while…Loop) statement is True, then the statements inside the loop will be executed.                                                                  

a)

True

b)

False

6.

Anonymity is defined as sending aggressive messages directed against one or more persons.                                                                                                                       

a)

True

b)

False

7.

In For … Next statement, the number of repetitions: For X=1 to 8 step 3 is …………

a)

1

b)

2

c)

3

d)

4

8.

The reserved word………… is used to create a new line.

a)

Dim

b)

Me

c)

Vbcrlf

d)

REM

9.

………… is a set of commands under a particular name that should express its task and returns a value.

a)

Procedures

b)

Variable

c)

Function

d)

Assignment Statement

10.

The Numeric Variable which takes integer numbers from 0 to 255 is …………

a)

Integer

b)

Byte

c)

String

d)

Double

11.

One of the rules of naming the Variables or Constants in the program is:
     the variable name should start with …………

a)

Number

b)

Any symbol

c)

Space

d)

Letter or underscore

12.

..................is used to open the code window.

a)

D2

b)

F2

c)

F5

d)

F7

13.

Symbol < > is called ................

a)

not equal

b)

equal

c)

Greater than

d)

Smaller than

14.

It is used to declare of a variable

a)

Dim                                            

b)

Const

c)

vbcrlf

d)

Rem

15.

It is used to declare of constants.

a)

Dim                                            

b)

Const

c)

vbcrlf

d)

Rem

16.

........... is used to repeat a code for specific number of time. .

a)

For...Next

b)

Do while ...Loop

c)

Rem

d)

Dim