You are on page 1of 2

Republic of the Philippines

Department of Education
Region IV- A CALABARZON
Division of Rizal
TANAY SENIOR HIGH SCHOOL
Tanay, Rizal

PRELIMINARY EXAMINATION IN COMPUTER PROGRAMMING

Name: __________________________________ Score: ________________


Section: _____________________________________ Date: ________________

I.Choose the correct answer


_____1. Is a set of instructions that perform a specific task.
a) Programming c) Computer Program
b) Program d) Programmers

_____2. Is a process of doing a program that the computer can execute in sequential manner.
a) Programming c) Computer Program
b) Program d) Programmers

_____3. These are the people who assigned in doing any computer programs.
a) Programming c) Computer Program
b) Program d) Programmers

_____4. Is an executable program that can be installed in the computer to be used by the end users
a) Programming c) Computer Program
b) Program d) Programmers

_____5. Is a program that translates high-level language instructions into machine code, line by line, during program execution.
a) Interpreter c) Codes
b) Programming d) Compiler

_____6. It translates high-level instructions into machine code before program execution.
a) Interpreter c) Codes
b) Programming d) Compiler

_____7. It translates high-level instructions into machine code before program execution.
a) Interpreter c) Codes
b) Programming d) Compiler

_____8. Objects and user interfaces are displayed to the software user
a) Security Enhancement c) Simplified Development
b) Software Development d) Easier Application Deployment

_____9. Can run in different variety of machines.


a) Security Enhancement c) Simplified Development
b) Software Development d) Easier Application Deployment

_____10. Converting the program into an executable one.


a) Security Enhancement c) Simplified Development
b) Software Development d) Easier Application Deployment

_____11. Converting the program into an executable one.


a) c++ c) Visual Studio
b) Python d) Java

_____12. Converting the program into an executable one.


a) c++ c) Visual Studio
b) Python d) Java

_____13. are used to temporarily store data when an application is running.


These should have a name and a data type.
a) String c) Variables
b) Data type d) Dim

_____14. Means that no other part of the code can see the code within Private Sub and End Sub block other than the button.
a) Sub c) Private
b) _Click() d) End Sub

_____15. Is a shortcut for subroutine, which tells Visual Basic that there are lines of code following it that need to be executed.
a) Sub c) Private
b) _Click() d) End Sub

II.Write the missing code


ex. Dim x As String = “hi”

Dim X as 16______="ABC"
Dim Y as 17________=100
Label1.18_________ = “hello”
Timer1.19_______ = True
Messagebox.20______(“hello world”)
Republic of the Philippines
Department of Education
Region IV- A CALABARZON
Division of Rizal
TANAY SENIOR HIGH SCHOOL
Tanay, Rizal

III.Writing your code.


No Error 5
With Coplete Code 3
With Proper Coding 2
Total 10

Yellow Paper. Create a code that will print the output in textbox(21~ 30)

Create a program that will show the output of the user using combobox and button(31~ 40)

Create a program that will get the length of the text.(41~ 50)

IV.Laboratory Test. Create a 3 programs that will run without error on VB.NET(51~ 60)

Prepared by: Checked By: Noted:

DON RABBI MENDEZ TERESITA A. CRUZ, PhD


TEACHER II Subject Group Head Principal II

You might also like