wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Visual Basic Programming

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

is a third-generation event-driven programming language from Microsoft known for its Component Object Model (COM) programming model first released in 1991 and declared legacy during 2008.

a)

Java Programming

b)

Visual Studio

c)

Visual Basic

d)

JavaScript

2.

What does "GUI" mean?

a)

Graphical User Interface

b)

Gradient Uninterrupted Interface

c)

Gradual Unified Interface

d)

Graphical Unified Interface

3.

It is the standard control for accepting input from the user as well as to display the output.

a)

Label

b)

Button

c)

Textbox

d)

Picture Box

4.

A control that lets you place descriptive text , where the text does not need to be changed by the user.

a)

Textbox

b)

Date Time Picker

c)

List Box

d)

Label

5.

is one of the most important controls as it is used to execute commands.

a)

Command Button

b)

CheckBox

c)

Label

d)

Textbox

6.

It is one of the controls that is used to handle graphics.

a)

Image Source

b)

Link Label

c)

Picture Box

d)

GUI

7.

Presents a list of items where the user can click and select the items from the list.

a)

CheckBox

b)

ListBox

c)

TextBox

d)

LinkBox

8.

It is used to display a drop-down list of various items.

a)

ListBox

b)

CheckBox

c)

TextBox

d)

ComboBox

9.

Lets the user selects or unselects an option.

a)

CheckBox

b)

RadioButton

c)

ListBox

d)

ComboBox

10.

When an option box is selected, its value is set to “______” and when it is unselected; its value is set to “_______”.

a)

True and False

b)

Yes and No

c)

I / O

d)

Check and X

11.

It is a type of graphical user interface element that allows the user to choose only one of a predefined set of options.

a)

Command Button

b)

Radio Button

c)

CheckBox

d)

ComboBox

12.

It refers to an extensive system used for declaring variables or functions of different types.

a)

Controls

b)

Object

c)

Data Types

d)

Variables

13.

It is useful to declare and allocate the storage space for one or more variables.

a)

Dim

b)

Var

c)

Int

d)

String

14.

A binary variable, having two possible values called “true” and “false.”.

a)

String

b)

Integer

c)

Float

d)

Boolean

15.

It is a primitive data type with the size of exactly one byte.

a)

String

b)

Char

c)

Double

d)

Short

16.

It is a datum of integral data type, a data type that represents some range of mathematical integers.

a)

Double

b)

Float

c)

Short

d)

Integer

17.

It is a data type in computer science whose range is greater (sometimes even double) than that of the standard data type integer.

a)

Long

b)

Short

c)

Integer

d)

Double

18.

It is traditionally a sequence of characters, either as a literal constant or as some kind of variable.

a)

Integer

b)

Float

c)

Dim

d)

String

19.

What is the proper syntax used in VB?

a)

Dim Integer x = 5

b)

Dim String as Name

c)

Dim age as Integer

d)

Dim String = name

20.

Check which syntax is correct in declaring a variable.

a)

Dim age = 5 as Integer

b)

Dim fname as String

c)

Dim platenum as Integer

d)

Dim lastname as Reyes

21.

Check which syntax is correct in declaring a variable.

a)

Dim grade as Integer = 85

b)

Dim math = 76

c)

Dim String = MiddleInitial

d)

Dim lastname as String = "REYES"

22.

It allows you to define the data type in the declaration statement.

a)

While

b)

Else

c)

As

d)

If

23.

These are the predefined set of reserved words that have special meaning for the compiler.

a)

Keyword

b)

Keyphrase

c)

Keycode

d)

Keypass

24.

These are the self-explanatory notes to provide detailed information about the code which we wrote in our applications.

a)

Comment

b)

Dictation

c)

Input

d)

Output

25.

It is a programming element that specifies what kind of operation needs to perform on operands or variables.

a)

Variables

b)

Declarations

c)

Operator

d)

Decision