Algorithms MCQ Questions and Answers – Fundamentals – Part 1
Computer architecture MCQ questions and answers for the preparation of tests, exams, and certifications. So you will find questions about loops and conditionals, data structure, complexity, flowchart, pseudocode, and much more. This systematic learning method will easily prepare anyone to pass their exam.
1. What is an algorithm?
A A flowchart
B A flowchart or pseudocode
C A decision
D Step by step instructions used to solve a problem
2. What are the three algorithm constructions?
A Input, Output, Process
B Sequence, Selection, Repeat
C Input/Output, Decision, Repeat
D Loop, Input/Output, Process
3. What is the difference between a flowchart and a pseudocode?
A A flowchart is a diagram while the pseudocode is written in a programming language (e.g. Pascal or Java)
B A flowchart is textual but the pseudocode is a diagram
C A flowchart is a schematic description of an algorithm, while pseudocode is a textual description of an algorithm.
D A flowchart and a pseudocode are the same
4. In a flowchart, an input or output instruction is represented by _____?
A A diamond
B Rectangle
C Parallelogram
D A circle
5. In a flowchart, a calculation (process) is represented by _____?
A A diamond
B Rectangle
C Parallelogram
D A circle
6. To repeat a task, we use a ____?
A Input
B Condition
C Loop
D Output
7. If ....... then ....... else ....... End If
check ____?
A Only one condition
B Two conditions
C Three conditions
D Multiple conditions
8. REPEAT <processing> UNTIL <condition>
is a ______?
A Positive loop
B Negative loop
9. A flowchart should represent the situation in which, for each grade, a student receives a “Good” or ” Average” the system will consider the grade and if it is equal to or greater than 12, assigns a “Good” grade, otherwise it assigns a “Passable” grade. Which of the following options will be used?
A Input
B Condition
C Loop
D Output
10. What is a Flowchart?
A A way to design a text-based algorithm
B A specific programming language
C A diagram that represents a set of instructions
D A scheme of instructions