C++ FQ Prelims

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

C++ Prelims

Name: ______________________________________ Score: ______________


Year/Section: _______________________________
I. MULTIPLE CHOICE: Read and analyze the following statements and choose the correct letter of
your answer on the choices provided on each item. Write your answer on the space provided
before each number.
1. Errors that can be determined before even running the program is called ________?
a. Human error c. Runtime error
b. Program error d. Syntax error

2. A machine that performs a variety of tasks according to specific instructions is called ________?
a. Abacus c. Cellular phone
b. Calculator d. Computer
3. What is the first part of the Software Development Life Cycle (SDLC)?
a. Algorithm Design c. Problem Definition
b. Coding and Debugging d. Problem analysis
4. In flowcharting, what symbol do we use to indicate that an operation is to be performed?
a. Connective c. Process symbol
b. Flow lines d. Terminal symbol
5. What are the errors that only pop-up while running the program?
a. Human error c. Runtime error
b. Program error d. Syntax error
6. What part of the computer is called the brain?
a. Central Processing Unit c. Secondary Memory
b. Memory d. System Unit
7. What is the datatype that uses only two possible values?
a. Boolean c. Int
b. Double d. String
8. The programs that a user can use to accomplish his/her work is called__________?
a. Application Programs c. Software Programs
b. Integrated Development Environment d. System programs
9. What part of the Software Development Life Cycle (SDLC) involves breaking down the problem
into manageable sub problems?
a. Algorithm Design c. Problem Analysis
b. Coding and Debugging d. Problem Definition
10. ___________ is the intangible part of a computer.
a. Hardware c. Software
b. Persware d. Systems

11. What is the data type that uses integers or whole numbers as values?
a. Char c. Int
b. Double d. String
12. Example of this type of devices are the mouse, keyboard and microphone.
a. Computer c. Input devices
b. Hardware d. Output Devices
13. The symbol used to indicate where to start and end in our flowchart is called__________?
a. Connective c. Input/output symbol
b. Flow lines d. Terminal symbol
14. A component of the computer which consist of electronic and mechanical parts is
called_________?
a. Computer c. keyboard
b. Hardware d. Tower
15. Programs that are needed to keep all the hardware and software systems running together
smoothly
a. Application Programs c. Software Programs
b. Integrated Development Environment d. System programs

II. Give possible values for the following Datatypes.


16. Boolean
17. String
18. Char
19. Float
20. Double
21. Int
22. Short
23. Long
24. Byte
III. Declare the following variable and choose the appropriate variable name for each.
Name Height Result
Length Symbol Grade
Page Cost Length
25. Short
26. String
27. Char
28. Float
29. Double
30. Int
31. Boolean
32. Long
33. Byte
IV. ENUMERATION: Read and analyze what is being asked.
A. Give four (4) examples of Input devices
34.
35.
36.
37.

B. Give three (3) examples of Output devices

38.
39.
40.

C. Give the three (3) types of software


41.
42.
43.

V. ESSAY. Read and analyze the questions and answer knowledgeable and briefly.

44-50. What is a variable in computer programming?

You might also like