wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

S3 Programming with Visual Basic

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

Which data type stores text/characters?

a)

String

b)

Integer

c)

Single

2.

Which data type stores whole numbers?

a)

String

b)

Integer

c)

Single

3.

Which data type stores real numbers?

a)

String

b)

Integer

c)

Single

4.

Which operation uses the "&" symbol?

a)

Sum

b)

Concatenation

c)

Include

d)

Insert

5.

What programming construct runs code when a condition has been met?

a)

If Statement

b)

Fixed Loop

c)

Conditional Loop

6.

What standard algorithm stores a value and adds onto it within a loop?

a)

Input Validation

b)

Running Total

7.

What programming construct repeats code for a set amount of times?

a)

If Statement

b)

Fixed Loop

c)

Conditional Loop

8.

What is the following code doing: TotalMarks = 8

a)

Declaring a variable

b)

Assigning a value to a variable

c)

Performing a calculation

d)

Finding the running total

9.

Which data type stores either true or false?

a)

String

b)

Single

c)

Integer

d)

Boolean

10.

Which programming construct repeats code until a condition is met?

a)

If statement

b)

Fixed loop

c)

Conditional loop

11.

Which standard algorithm ensures values entered by the user are valid?

a)

Running Total

b)

Input Validation

12.

Which way can you write a conditional loop?

a)

Loop Until

b)

Do While

c)

Both