MCQ PORTAL

Back to All Topics

Algorithms and Flowcharts

Showing 26 of 26 questions in this topic

Start Practice Mode

Answer Green MarksON

Correct answers are highlighted in green

C080Algorithms and Flowcharts • Algorithm
Most ImportantEasy

Q1.A finite step-by-step procedure to solve a problem is called an:

A
program
B
algorithm
Correct answer
C
flowchart
D
compiler
C081Algorithms and Flowcharts • Flowchart symbol
Most ImportantEasy

Q2.In a flowchart, which symbol represents a DECISION?

A
rectangle
B
diamond (rhombus)
Correct answer
C
parallelogram
D
oval
C168Algorithms and Flowcharts • Algorithm property
Most ImportantMedium

Q3.Which of the following is NOT a characteristic of a good algorithm?

A
finiteness
B
definiteness
C
ambiguity
Correct answer
D
having input and output
C170Algorithms and Flowcharts • Translator
Most ImportantMedium

Q4.Which translator converts the entire program into machine code at once?

A
interpreter
B
compiler
Correct answer
C
assembler
D
loader
C171Algorithms and Flowcharts • Translator
Most ImportantMedium

Q5.Which translator converts and executes a program line by line?

A
compiler
B
interpreter
Correct answer
C
assembler
D
linker
C177Algorithms and Flowcharts • Errors
Most ImportantEasy

Q6.An error caused by breaking the grammar rules of the language is a:

A
logical error
B
runtime error
C
syntax error
Correct answer
D
hardware error
C082Algorithms and Flowcharts • Flowchart symbol
ImportantEasy

Q7.In a flowchart, the OVAL (rounded) symbol represents:

A
a process
B
a decision
C
start or stop (terminal)
Correct answer
D
input/output
C083Algorithms and Flowcharts • Flowchart symbol
ImportantEasy

Q8.In a flowchart, the PARALLELOGRAM represents:

A
a process
B
a decision
C
input or output
Correct answer
D
the start
C084Algorithms and Flowcharts • Flowchart symbol
ImportantEasy

Q9.In a flowchart, the RECTANGLE represents:

A
input/output
B
a process or calculation
Correct answer
C
a decision
D
a terminal
C086Algorithms and Flowcharts • Flowchart trace
ImportantMedium

Q10.Study the flowchart shown. What is the final value of S when N = 5?

Flowchart Diagram:
Study the flowchart shown. What is the final value of S when N = 5?
A
10
B
15
Correct answer
C
25
D
5
C087Algorithms and Flowcharts • Flowchart trace
ImportantHard

Q11.Study the flowchart shown. What does it output for the input number 5?

Flowchart Diagram:
Study the flowchart shown. What does it output for the input number 5?
A
25
B
120
Correct answer
C
15
D
5
C169Algorithms and Flowcharts • Algorithm property
ImportantMedium

Q12.The property that an algorithm must end after a finite number of steps is called:

A
definiteness
B
finiteness
Correct answer
C
input
D
effectiveness
C172Algorithms and Flowcharts • Translator
ImportantMedium

Q13.An assembler converts:

A
high-level code to machine code
B
assembly language to machine language
Correct answer
C
machine code to source code
D
source code to flowchart
C173Algorithms and Flowcharts • Machine language
ImportantEasy

Q14.Machine language is written using:

A
English words
B
0s and 1s (binary)
Correct answer
C
flowcharts
D
decimal numbers
C174Algorithms and Flowcharts • Flowchart symbol
ImportantEasy

Q15.In a flowchart, an arrow (flow line) shows:

A
a decision
B
the direction and order of flow
Correct answer
C
input or output
D
the start of the program
C178Algorithms and Flowcharts • Errors
ImportantMedium

Q16.A program runs successfully but produces the wrong result. This is a:

A
syntax error
B
logical error
Correct answer
C
runtime error
D
linker error
C179Algorithms and Flowcharts • Errors
ImportantMedium

Q17.Division by zero while the program is running causes a:

A
syntax error
B
logical error
C
runtime error
Correct answer
D
compile error
C180Algorithms and Flowcharts • Languages
ImportantMedium

Q18.A high-level language is one that is:

A
written in binary
B
close to human language and machine independent
Correct answer
C
understood directly by the CPU
D
faster than machine code
C181Algorithms and Flowcharts • Languages
ImportantMedium

Q19.Which of the following is a low-level language?

A
C
B
Python
C
assembly language
Correct answer
D
Java
C182Algorithms and Flowcharts • Languages
ImportantMedium

Q20.C is mainly classified as which type of programming language?

A
object-oriented
B
procedural (structured)
Correct answer
C
markup
D
query
C183Algorithms and Flowcharts • Problem solving
ImportantEasy

Q21.The first step in solving a problem on a computer is to:

A
write the code
B
analyse and understand the problem
Correct answer
C
debug the program
D
print the output
C184Algorithms and Flowcharts • OOP
ImportantEasy

Q22.OOP stands for:

A
Order Of Programs
B
Object Oriented Programming
Correct answer
C
Output Of Program
D
Operator Oriented Process
C085Algorithms and Flowcharts • Complexity
OtherMedium

Q23.Big-O notation is used to describe the:

A
exact runtime in seconds
B
efficiency (time/space complexity) of an algorithm
Correct answer
C
number of variables
D
size of the source file
C175Algorithms and Flowcharts • Flowchart symbol
OtherMedium

Q24.In a flowchart, a small circle is used as a:

A
decision box
B
connector
Correct answer
C
process box
D
terminal
C176Algorithms and Flowcharts • Flowchart symbol
OtherMedium

Q25.In a flowchart, the annotation (comment) symbol is used to:

A
take input
B
add explanatory notes or comments
Correct answer
C
make a decision
D
stop the program
C185Algorithms and Flowcharts • Complexity
OtherMedium

Q26.The time complexity of an algorithm describes:

A
the exact seconds it takes
B
how its running time grows as the input size grows
Correct answer
C
the number of lines of code
D
the file size