WorksheetsIT 10 Mid-Semester SY: 2019-2020
Total questions: 30
Worksheet time: 30mins
Which process refers to the setting the initial value as well as the data type of a variable?
Initialization
Assigning
Declaration
Predefined Output
Variable __________ must be self-determining and self-explanatory to the data that will be stored in the memory location.
Data Type
Function
Size
Name
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?
Iteration
Conditional
Range
Looping
The term referred as the minimum and maximum limit of the facilities that the solution will provide is referred to as ___________.
Upper and Lower Bound
Range
Lowest and Highest
Limits
The sequence of steps to solve a given problem or execute a given task is referred __________in programming.
Program
Instruction
Code
Algorithm
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?
Predefined-function
Library file
Module
Syntax
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 ________.
Top-Down
Flow Chart
Pseudo code
Diagram
Pseudo __________ are written to state what a particular line or section of code i for it normally start with # symbol.
Code
Remark
Algorithm
Comment
Which term is referred to as a named location in memory that holds a data value?
Data Type
Size
Array
Variable
An _________ is a data structure that holds a collection of value of the same data type.
Array
Database
Record
Field name
Which operator allows the user to display if a number has a remainder after dividing it with a specific divisor?
Mod
Division
Exponent
Integer Division
Which operator allows the user to display the whole number part of the answer after dividing the number with a specific divisor?
Mod
Division
Round
Integer Division
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 _______.
Condition
Range
Limit
Scenario
A statement that represents a choice in an algorithm to display a possible output or result is called ____________.
Option
Selection
List
Possibilities
Which term is referred to as a section of the code that is run repeatedly based on the condition given?
Loop
Condition
Iteration
Range
An object in the Visual Basic Toolbox that allows the programmer to insert on the screen output a graphic file.
Picture
Shape
Image
Clock
An object on the toolbox that is use by the programmer to allow the user to enter or input data.
Label box
Text box
Command button
Option button
Which object in Visual Basic allows the user to execute a procedure in the program code by clicking this object?
Radio button
Check box
Command button
Option button
Which object in the toolbox commonly use to appropriately guide the user and display a remark on a certain input box?
Textbox
Label box
Remark button
Command button
An object in the Visual Basic toolbox that allows the user to insert icons, graphics and other signage is called __________.
Picture box
Image box
Shape
OLE Folder
How many times the loop in the statement within the FOR-NEXT condition be repeatedly executed?
19
20
21
10
What is the output of the code if executed?
1, 2, 3.......20
1, 3, 5......19
20, 19, 18.....1
2, 4, 6.........20
What is the increment value of variable i in the code above
2
1
3
0
How many times will the statement within the FOR-NEXT condition be repeatedly executed?
1
21
20
10
What is the output of the code when run?
1, 2, 3......20
1, 3, 5......19
20, 19, 18....1
2, 4, 6......20
What is the sequence of the output of the program code?
Ascending
Descending
Ascending order of all odd numbers
Descending order of all even numbers
Which appropriate conditional statement is the correct syntax to use?
IF (GRADE >=67 AND GRADE <= 99) = “PASSED”
OR (GRADE >=50 AND GRADE <= 66) = “FAILED”
IF GRADE >= 67 OR GRADE <= 99
IF (GRADE >=67 OR GRADE <= 99) AND (Graded >=50 OR Grade <= 66)
IF (GRADE >=67 AND GRADE <= 99) THEN
PRINT “PASSED”
ELSE PRINT “FAILED”
END IF
How many variables should the programmer need to create the program code?
2
1
3
4
IF the grade entered by the teacher for a certain student is 100 what is the remark output of the program?
PASSED
FAILED
NO OUTPUT
OUT OF RANGE
How to improve the conditional statement of the program code?
IF GRADE >=67 PRINT “PASSED” ELSE PRINT “FAILED”
IF GRADE <=67 PRINT “PASSED” ELSE PRINT “FAILED”
IF GRADE >= 99 PRINT “PASSED” ELSE PRINT “FAILED”
IF GRADE <= 99 PRINT “PASSED” ELSE PRINT “FAILED”
