Republic of the Philippines
Region IX, Zamboanga Peninsula
ZAMBOANGA DEL SUR PROVINCIAL GOVERNMENT COLLEGE
VINCENZO SAGUN CAMPUS
Midterm Examination
Programming 1
S.Y. 2025-2026
Name: _______________________________________Score: ___________________________
Grade & Section: _______________________________Date: ___________________________
Instruction: Read each question carefully and answer in the space provided. Avoid erasures as much
as possible and maintain neatness in your work. Always observe honesty — cheating is strictly
prohibited.
TEST I. TRUE OR FALSE. Write “T” if the statement is True and Write “F” if the statement is False.
Write your answer before the question.
1. Addition uses the + operator.
2. The modulus operator (%) gives the quotient of a division.
3. 7 * 6 = 42.
[Link] operator / follows after addition in PMDAS.
[Link] operators always output either True or False.
6.10 > 5 is True.
7.15 == 20 is True.
[Link] are evaluated first in PMDAS.
9. IF statements are used to check multiple conditions at once.
10. 8 % 2 equals 0.
TEST II. IDENTIFICATION
[Link] operator used for subtraction is ___________.
[Link] process of performing calculations in order is called ___________.
[Link] operator that gives the remainder of a division is ___________.
[Link] comparison operator for "not equal" is ___________.
[Link] symbol used for multiplication is ___________.
[Link] operator used to check equality between two values is ___________.
[Link] process of checking if a condition is true before executing code is called ___________.
[Link] order of operations rule is also known as ___________.
[Link] operator used to divide two numbers is ___________.
[Link] result of a comparison is always ___________ or ___________.
Math Problems (5)
[Link]: 25 + 15 = ________
[Link]: (10 + 6) / 4 = ________
[Link] the remainder: 19 % 4 = ________
[Link] using PMDAS: 5 + 3 * 4 = ________
[Link]: (12 - 4) / 2 = ________
Conditional Statement Questions (5)
[Link] an IF statement that outputs "Pass" if score >= 75.
[Link] an IF-ELSE statement that outputs "Even" if num % 2 == 0, otherwise "Odd".
[Link] an IF statement that outputs "Legal Age" if age >= 18.
[Link] a conditional that outputs "Adult" if age >= 18, else outputs "Teen".
[Link] an IF statement that outputs "Positive" if number > 0.
Write the correct term for each statement:
[Link] do you call a programmable device that can store, retrieve, and process data?
Answer: ________________________________
[Link] do you call the language generation that uses binary code (1 and 0)?
Answer: ________________________________
[Link] programming language is considered as "Programmer-Friendly"?
Answer: ________________________________
[Link] software translates high-level programming language into machine code line by line?
Answer: ________________________________
[Link] type of programming language is closest to the computer?
Answer: ________________________________
Answer briefly in one to two sentences:
[Link] do computers generally compare to humans when it comes to processing speed?
Answer: ___________________________________________________________
[Link] are computers considered “dumb” on their own?
Answer: ___________________________________________________________
[Link] is the difference between a compiler and an interpreter?
Answer: ___________________________________________________________
[Link] is one advantage and one disadvantage of using low-level programming languages?
Answer: ___________________________________________________________
[Link] is the speed of a programming language dependent on how near it is to machine
language?
Answer: ___________________________________________________________
TEST III. MULTIPLE CHOICE. Read analyze each item and Encircle the letter that contains the right
answer.
[Link] do you call the structure used to represent how data is received, processed, and
produced as output?
A) Algorithm B) Input-Process-Output Model C) Compiler D) Variable
[Link] do you call a set of step-by-step instructions to perform a specific task?
A) Datatype B) Variable C) Algorithm D) Syntax
[Link] characteristic of an algorithm means it must have clear and simple steps?
A) Effectiveness B) Finiteness C) Unambiguity D) Output
[Link] do you call the temporary storage of data with a specific datatype, named by the
programmer?
A) Identifier B) Variable C) Boolean D) Compiler
[Link] datatype has only two possible states: True or False?
A) Character B) Boolean C) String D) Integer
[Link] must an algorithm have finiteness as a characteristic?
A) So it can run forever without stopping
B) So it has a clear end after a limited number of steps
C) So it can handle unlimited inputs
D) So it becomes faster
[Link] of the following is a real-life example of an Input-Process-Output model?
A) Typing a word, pressing save, seeing it stored in a file
B) Sleeping at night
C) Forgetting a password
D) Reading a book without answering questions
48Why are variables important in programming?
A) They allow programmers to permanently store data on the internet
B) They are used to temporarily store data that can be reused and modified during program
execution
C) They make a program run faster automatically
D) They are only used for numbers
[Link] of the following shows an example of Integer, String, and Boolean values?
A) 12, "Hello", True B) 12.5, Hello, False C) "12", 'Hello', "True" D) 1, 0, 1
[Link] must algorithms be unambiguous (clear and simple)?
A) To make sure computers interpret them correctly without confusion
B) To make them very long and complicated
C) To make them run faster regardless of logic
D) To make them difficult to understand by programmers