0% found this document useful (0 votes)
9 views

Programming Concept Quiz

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Programming Concept Quiz

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Chapter 5: Programming Concepts - Introduction to Problem Solving &

Algorithm

Lesson 1: Problem Solving Concept

1. What is the definition of data in the context of computer programming? a. Abstract ideas
and concepts b. Instructions for a computer c. Information in a form the computer can use
d. A set of operations
2. Which phase involves breaking down a problem into manageable pieces and developing a
general solution for each piece? a. Analysis and Specification b. Implementation c.
Maintenance d. Problem-Solving Phase
3. In problem-solving, what is considered algorithmic? a. Solutions based on personal
biases b. Solutions expressed using a finite series of steps c. Solutions involving abstract
ideas d. Solutions derived from past experiences
4. What is the primary purpose of a flowchart in programming? a. To execute program
instructions b. To represent graphically program logic sequence c. To define data types d.
To provide alternative ways to solve a problem

Lesson 2: Fundamentals of Algorithm

5. Which of the following statements about algorithms is correct? a. They are based on
personal biases. b. They are written or verbal descriptions of illogical sequences. c. They
are step-by-step procedures allowing a computer to solve a problem. d. They are finite
and ambiguous.
6. What is the purpose of pseudocode? a. To represent machine language instructions b. To
create a concrete solution c. To specify data types d. To write code for a program before
implementation
7. What does definiteness mean in the context of algorithms? a. Ambiguity in instructions b.
Clear and unambiguous instructions c. Infeasibility of operations d. Infinite series of steps

Lesson 3: Flowchart & Pseudocode

8. What is the primary function of a system flowchart? a. Show logical relationships in


computer programs b. Represent graphically program logic sequence c. Display the
program structure d. Show various processes, sub-systems, and operations on data in a
system
9. Which symbol in a flowchart represents a decision-making step? a. Terminal Symbol b.
Process Symbol c. Decision Symbol d. Input/Output Symbol
10. What does an off-page connector symbol indicate in a flowchart? a. On-page connection
b. Beginning of a flow c. Decision-making step d. Target on another page
11. What is pseudocode? a. A machine language version of source code b. A simplified form
of English with math symbols c. A low-level programming language d. A graphical
representation of program logic
12. What is the purpose of the on-page connector symbol in a flowchart? a. Indicate data
storage b. Replace long lines on a flowchart page c. Show the direction and order of the
flow d. Connect off-page components
13. In developing flowcharts, what is the first step? a. Determine input and output parameters
b. Define the problem c. Identify various computations and decisions d. Get expected
input data values
14. Which of the following operations is commonly used in pseudocode? a. Print b. Terminal
c. Flow Line d. Preparation
15. What is the primary role of a compiler in programming? a. Translate assembly language
to machine code b. Translate high-level language to machine code c. Execute program
instructions d. Represent graphically program logic sequence
16. What is the purpose of an assembler in programming? a. Translate assembly language to
machine code b. Translate high-level language to machine code c. Execute program
instructions d. Represent graphically program logic sequence
17. What is the function of a flow line in a flowchart? a. Represent a step in a process b.
Show the direction and order of the flow c. Connect off-page components d. Indicate data
storage
18. Which programming phase involves modifying a program to meet changing requirements
or correct errors? a. Analysis and Specification b. Implementation c. Maintenance d.
Verify
19. What is the purpose of a process symbol in a flowchart? a. Represent a decision-making
step b. Show the direction and order of the flow c. Designate a specific action or work
within the flow d. Connect off-page components
20. What does the term "code" refer to in programming? a. A machine language version of
source code b. Data type specifications and instructions c. A low-level programming
language d. Instructions for solving a problem
21. Which language is made up of binary-coded instructions and used directly by the
computer? a. Assembly language b. High-level language c. Machine language d. Source
code
22. What is the primary purpose of the preparation symbol in a flowchart? a. Represent a step
in a process b. Show the direction and order of the flow c. Set up for another step in the
process d. Connect off-page components
23. In the programming process, what phase involves translating the algorithm into a
programming language? a. Analysis and Specification b. Implementation c. Maintenance
d. Verify
24. What is the main role of an off-page connector symbol in a flowchart? a. Show logical
relationships in computer programs b. Indicate data storage c. Connect off-page
components d. Display the program structure
25. What does the term "machine language" refer to in programming? a. Data type
specifications and instructions b. A machine language version of source code c. A low-
level programming language d. Binary-coded instructions used directly by the computer
26. In problem-solving, what is considered heuristic? a. Solutions based on personal biases b.
Solutions expressed using a finite series of steps c. Solutions involving abstract ideas d.
Solutions derived from past experiences
27. What is the purpose of the input/output symbol in a flowchart? a. Connect off-page
components b. Show logical relationships in computer programs c. Represent a step in a
process d. Indicate the process of inputting or outputting external data
28. What does the term "object code" refer to in programming? a. Data type specifications
and instructions b. A machine language version of source code c. A low-level
programming language d. A high-level programming language
29. In problem-solving, what are the steps involved in the analysis and specification phase?
a. Identify the problem, understand the problem, identify alternative ways, select the best
way, list instructions, evaluate the solution b. Concrete solution, test, use, maintain c.
Define the problem, identify various steps, determine input and output parameters, get
expected input data values d. Specify required data types, verify, use
30. What is the role of a decision symbol in a flowchart? a. Represent a step in a process b.
Show logical relationships in computer programs c. Connect off-page components d.
Decide the next step in a process

Lesson 3: Flowchart & Pseudocode - Additional Questions

31. What is the purpose of a terminal symbol in a flowchart? a. Represent a decision-making


step b. Indicate the process of inputting or outputting external data c. Show the beginning
or end of a flow d. Connect off-page components
32. What does the term "assembly language" refer to in programming? a. A machine
language version of source code b. A low-level programming language c. A high-level
programming language d. Binary-coded instructions used directly by the computer
33. What is the function of an on-page connector symbol in a flowchart? a. Replace long
lines on a flowchart page b. Show logical relationships in computer programs c.
Represent a step in a process d. Connect off-page components
34. What is the primary purpose of the system flowchart? a. Represent a step in a process b.
Show the direction and order of the flow c. Show various processes, sub-systems,
outputs, and operations on data in a system d. Indicate data storage
35. What is the purpose of the data storage or stored data symbol in a flowchart? a. Represent
a decision-making step b. Connect off-page components c. Indicate a step where data gets
stored d. Show logical relationships in computer programs
36. What is the significance of the flow line in a flowchart? a. Show the beginning or end of
a flow b. Show logical relationships in computer programs c. Indicate a step where data
gets stored d. Connect off-page components
37. What is the role of the off-page connector symbol in a flowchart? a. Connect off-page
components b. Show logical relationships in computer programs c. Represent a step in a
process d. Indicate data storage
38. Which programming phase involves translating an assembly language program into
machine code? a. Analysis and Specification b. Implementation c. Maintenance d. Verify
39. What does the term "source code" refer to in programming? a. Data type specifications
and instructions b. A machine language version of source code c. A low-level
programming language d. Instructions for solving a problem
40. In problem-solving, what is the purpose of the evaluation step? a. Identify the problem b.
Understand the problem c. Evaluate the solution d. Specify required data types
41. What is the purpose of the on-page connector symbol in a flowchart? a. Show the
beginning or end of a flow b. Show logical relationships in computer programs c.
Connect off-page components d. Represent a step in a process
42. In developing flowcharts, what is the second step? a. Get expected input data values b.
Identify various steps required to form a solution c. Define the problem d. Determine the
required input and output parameters
43. What is the primary purpose of the input/output symbol in a flowchart? a. Indicate data
storage b. Show logical relationships in computer programs c. Connect off-page
components d. Represent a step in a process
44. What is the primary purpose of the preparation symbol in a flowchart? a. Set up for
another step in the process b. Show the direction and order of the flow c. Connect off-
page components d. Represent a step in a process
45. In problem-solving, what is the purpose of the algorithm? a. Identify the problem b.
Understand the problem c. Specify required data types d. Provide a finite set of
instructions to solve a problem
46. What is the role of the decision symbol in a flowchart? a. Connect off-page components
b. Show logical relationships in computer programs c. Decide the next step in a process d.
Indicate data storage
47. What is the function of an assembler in programming? a. Translate assembly language to
machine code b. Translate high-level language to machine code c. Execute program
instructions d. Represent graphically program logic sequence
48. What does the term "code" refer to in programming? a. Data type specifications and
instructions b. A machine language version of source code c. A low-level programming
language d. Instructions for solving a problem
49. In problem-solving, what are the steps involved in the implementation phase? a. Identify
the problem, understand the problem, identify alternative ways, select the best way, list
instructions, evaluate the solution b. Concrete solution, test, use, maintain c. Define the
problem, identify various steps, determine the required input and output parameters d.
Specify required data types, verify, use
50. What is the purpose of the system flowchart in programming? a. Show logical
relationships in computer programs b. Represent a step in a process c. Show various
processes, sub-systems, outputs, and operations on data in a system d. Indicate data
storage

Answer Key:

1. c, 2. a, 3. b, 4. b, 5. c, 6. b, 7. b, 8. c, 9. c, 10. d, 11. b, 12. b, 13. b, 14. a, 15. b, 16. a, 17.


b, 18. c, 19. c, 20. b, 21. c, 22. c, 23. b, 24. d, 25. c, 26. a, 27. d, 28. b, 29. a, 30. d, 31. c,
32. a, 33. b, 34. c, 35. c, 36. b, 37. a, 38. a, 39. a, 40. c, 41. c, 42. b, 43. d, 44. a, 45. d, 46.
c, 47. a, 48. b, 49. b, 50. c

You might also like