What is the primary purpose of a flowchart in the design phase?
A.
To write the actual program code
B.
To visually represent the logic of a process or algorithm
C.
To manage computer hardware resources
D.
To create a database schema
In a flowchart, what operation does a parallelogram symbol represent?
A.
A decision point
B.
The start or end of a program
C.
Input or output operations
D.
A standard processing step
Which of these is a key characteristic of a "correct" algorithm?
A.
It must be written in a specific language like Java.
B.
It is ambiguous and can have multiple meanings.
C.
It is unambiguous and terminates after a finite number of steps.
D.
It uses as many lines of code as possible.
What is the primary benefit of using pseudocode instead of a specific programming language during the planning stage?
A.
It can be executed directly by any computer.
B.
It allows designers to focus on logic without worrying about strict syntax rules.
C.
It automatically finds all errors in the program.
D.
It eliminates the need for any further testing.
Which flowchart symbol is used to represent a decision point (e.g., an IF statement)?
A.
Rectangle
B.
Oval
C.
Diamond
D.
Arrow
What is "coding" in the context of the software development lifecycle?
A.
Drawing a flowchart with boxes and arrows.
B.
Translating an algorithm into a computer-executable programming language.
C.
Gathering requirements from a client.
D.
Maintenance of software after it has been released
Which of the following best defines an "algorithm"?
A.
A programming language used to create apps.
B.
A step-by-step procedure or formula for solving a problem.
C.
A piece of hardware that speeds up processing.
D.
A digital error that occurs during compilation.
Before writing an algorithm, a developer must first clearly understand:
A.
The price of the software.
B.
The input data and the desired output.
C.
The colour scheme of the user interface.
D.
The keyboard shortcuts of the IDE.
Which of the following is true about pseudocode?
A.
It must be compiled before it can run.
B.
It follows the strict syntax rules of a specific language like Python or Java.
C.
It is a high-level description of an algorithm intended for humans to read.
D.
It is a graphical representation of logic using shapes and arrows.
Which structure would you use in pseudocode to execute a block of code only if a certain condition is met?
A.
FOR...ENDFOR
B.
IF...THEN...ELSE
C.
WHILE...ENDWHILE
D.
REPEAT...UNTIL