wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IT 10 Mid-Semester SY: 2019-2020

Total questions: 30

Worksheet time: 30mins

Name
Class
Date
1.

Which process refers to the setting the initial value as well as the data type of a variable?

a)

Initialization

b)

Assigning

c)

Declaration

d)

Predefined Output

2.

Variable __________ must be self-determining and self-explanatory to the data that will be stored in the memory location.

a)

Data Type

b)

Function

c)

Size

d)

Name

3.

Which term is referred to as the repetition of a certain task for as long the condition is true or false before an output or result is displayed?

a)

Iteration

b)

Conditional

c)

Range

d)

Looping

4.

The term referred as the minimum and maximum limit of the facilities that the solution will provide is referred to as ___________.

a)

Upper and Lower Bound

b)

Range

c)

Lowest and Highest

d)

Limits

5.

The sequence of steps to solve a given problem or execute a given task is referred __________in programming.

a)

Program

b)

Instruction

c)

Code

d)

Algorithm

6.

Which type of code written to provide a sub-solution and is often saved as a routine in a collection of routines known as library file?

a)

Predefined-function

b)

Library file

c)

Module

d)

Syntax

7.

The process of creating a solution in a diagram usually each process and procedure are represented in geometrical symbol with arrows to indicate the direction of the program or algorithm is referred as ________.

a)

Top-Down

b)

Flow Chart

c)

Pseudo code

d)

Diagram

8.

Pseudo __________ are written to state what a particular line or section of code i for it normally start with # symbol.

a)

Code

b)

Remark

c)

Algorithm

d)

Comment

9.

Which term is referred to as a named location in memory that holds a data value?

a)

Data Type

b)

Size

c)

Array

d)

Variable

10.

An _________ is a data structure that holds a collection of value of the same data type.

a)

Array

b)

Database

c)

Record

d)

Field name

11.

Which operator allows the user to display if a number has a remainder after dividing it with a specific divisor?

a)

Mod

b)

Division

c)

Exponent

d)

Integer Division

12.

Which operator allows the user to display the whole number part of the answer after dividing the number with a specific divisor?

a)

Mod

b)

Division

c)

Round

d)

Integer Division

13.

A state in a program that will be met or not met which will yield an output of TRUE or FALSE is referred to as _______.

a)

Condition

b)

Range

c)

Limit

d)

Scenario

14.

A statement that represents a choice in an algorithm to display a possible output or result is called ____________.

a)

Option

b)

Selection

c)

List

d)

Possibilities

15.

Which term is referred to as a section of the code that is run repeatedly based on the condition given?

a)

Loop

b)

Condition

c)

Iteration

d)

Range

16.

An object in the Visual Basic Toolbox that allows the programmer to insert on the screen output a graphic file.

a)

Picture

b)

Shape

c)

Image

d)

Clock

17.

An object on the toolbox that is use by the programmer to allow the user to enter or input data.

a)

Label box

b)

Text box

c)

Command button

d)

Option button

18.

Which object in Visual Basic allows the user to execute a procedure in the program code by clicking this object?

a)

Radio button

b)

Check box

c)

Command button

d)

Option button

19.

Which object in the toolbox commonly use to appropriately guide the user and display a remark on a certain input box?

a)

Textbox

b)

Label box

c)

Remark button

d)

Command button

20.

An object in the Visual Basic toolbox that allows the user to insert icons, graphics and other signage is called __________.

a)

Picture box

b)

Image box

c)

Shape

d)

OLE Folder

21.

How many times the loop in the statement within the FOR-NEXT condition be repeatedly executed?

a)

19

b)

20

c)

21

d)

10

22.

What is the output of the code if executed?

a)

1, 2, 3.......20

b)

1, 3, 5......19

c)

20, 19, 18.....1

d)

2, 4, 6.........20

23.

What is the increment value of variable i in the code above

a)

2

b)

1

c)

3

d)

0

24.

How many times will the statement within the FOR-NEXT condition be repeatedly executed?

a)

1

b)

21

c)

20

d)

10

25.

What is the output of the code when run?

a)

1, 2, 3......20

b)

1, 3, 5......19

c)

20, 19, 18....1

d)

2, 4, 6......20

26.

What is the sequence of the output of the program code?

a)

Ascending

b)

Descending

c)

Ascending order of all odd numbers

d)

Descending order of all even numbers

27.

Which appropriate conditional statement is the correct syntax to use?

a)

IF (GRADE >=67 AND GRADE <= 99) = “PASSED”

OR (GRADE >=50 AND GRADE <= 66) = “FAILED”

b)

IF GRADE >= 67 OR GRADE <= 99

c)

IF (GRADE >=67 OR GRADE <= 99) AND (Graded >=50 OR Grade <= 66)

d)

IF (GRADE >=67 AND GRADE <= 99) THEN

PRINT “PASSED”

ELSE PRINT “FAILED”

END IF

28.

How many variables should the programmer need to create the program code?

a)

2

b)

1

c)

3

d)

4

29.

IF the grade entered by the teacher for a certain student is 100 what is the remark output of the program?

a)

PASSED

b)

FAILED

c)

NO OUTPUT

d)

OUT OF RANGE

30.

How to improve the conditional statement of the program code?

a)

IF GRADE >=67 PRINT “PASSED” ELSE PRINT “FAILED”

b)

IF GRADE <=67 PRINT “PASSED” ELSE PRINT “FAILED”

c)

IF GRADE >= 99 PRINT “PASSED” ELSE PRINT “FAILED”

d)

IF GRADE <= 99 PRINT “PASSED” ELSE PRINT “FAILED”