# Algorithm And Flowchart Quiz

Reviewed by Godwin Iheuwa
Godwin Iheuwa, MS (Computer Science) |
Review Board Member
Godwin Iheuwa, a Database Administrator at MTN Nigeria, holds an MS in Computer Science, specializing in Agile Methodologies and Database Administration from the University of Bedfordshire and a Bachelor's in Computer Science from the University of Port Harcourt. His proficiency in SQL Server Integration Services (SSIS) and SQL Server Management Studio contributes to his expertise in database management.
, MS (Computer Science)
Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
| By Marlenegalea
M
Marlenegalea
Community Contributor
Quizzes Created: 16 | Total Attempts: 100,268
Questions: 10 | Attempts: 33,313

Settings

This is a basic quiz on algorithms and flowcharts. There are different ways of designing the system creation to implementation steps, and the setting algorithm is the most common. You can check your knowledge of algorithms and flowcharts with this quiz. Play and get a perfect score.

• 1.

### A flowchart needs to represent a situation where the user is asked to enter 20 marks in succession. This is an example of which of the algorithm constructs?

• A.

Decision

• B.

Loop

• C.

Sequence

• D.

All of the above

B. Loop
Explanation
The correct answer is Loop. This is because a loop is used to repeat a set of instructions multiple times until a certain condition is met. In this situation, the user is asked to enter 20 marks in succession, indicating that the process of entering marks needs to be repeated 20 times. Therefore, a loop construct would be appropriate to represent this scenario in a flowchart.

Rate this question:

• 2.

### What is an algorithm?

• A.

A flowchart.

• B.

Step-by-step instructions that are used to solve a problem.

• C.

A flowchart or pseudocode.

• D.

A decision.

B. Step-by-step instructions that are used to solve a problem.
Explanation
The correct answer is "Step-by-step instructions that are used to solve a problem." This answer accurately describes an algorithm as a set of instructions that are followed in a specific order to solve a problem. Algorithms provide a systematic approach to problem-solving by breaking down complex tasks into smaller, manageable steps. By following these step-by-step instructions, individuals can solve problems efficiently and effectively.

Rate this question:

• 3.

### What are the three algorithm constructs?

• A.

Sequence, selection, repetition.

• B.

Input, output, process.

• C.

Input/output, decision, terminator.

• D.

Loop, input/output, process.

A. Sequence, selection, repetition.
Explanation
The three algorithm constructs are sequence, selection, and repetition. Sequence refers to the order in which instructions are executed. Selection allows the program to make decisions based on certain conditions. Repetition allows a certain set of instructions to be repeated multiple times. These three constructs are fundamental in designing and implementing algorithms to solve problems in computer science and programming.

Rate this question:

• 4.

### What is the difference between a flowchart and a pseudocode?

• A.

A flowchart is diagrammatic whilst pseudocode is written in a programming language (e.g. Pascal or Java).

• B.

A flowchart is textual, but pseudocode is diagrammatic.

• C.

A flowchart is a diagrammatic description of an algorithm, while a pseudocode is an algorithm's textual description.

• D.

A flowchart and pseudocode are the same thing.

C. A flowchart is a diagrammatic description of an algorithm, while a pseudocode is an algorithm's textual description.
Explanation
A flowchart is a visual representation of an algorithm using different shapes and symbols, while pseudocode is a way of describing an algorithm using a combination of natural language and programming language-like syntax. In other words, a flowchart uses diagrams to represent the steps of an algorithm, while pseudocode uses written text to describe the steps of an algorithm.

Rate this question:

• 5.

### In a flowchart, an input or output instruction is represented by

• A.

A rectangle

• B.

A rhombus

• C.

A parallelogram

• D.

A circle

C. A parallelogram
Explanation
In a flowchart, an input or output instruction is represented by a parallelogram. This shape is commonly used to indicate the flow of data into or out of a program. The parallelogram symbolizes the interaction between the program and the user or external devices, such as receiving input from the user or displaying output to the user. It serves as a visual representation of the input/output process in the flowchart, making it clear and easily understandable.

Rate this question:

• 6.

### In a flowchart, a calculation (process) is represented by

• A.

A rectangle

• B.

A rhombus

• C.

A parallelogram

• D.

A circle

A. A rectangle
Explanation
A calculation or process is represented by a rectangle in a flowchart. This is because a rectangle is commonly used to symbolize a specific action or operation that needs to be performed within the flowchart. It indicates that some form of calculation or manipulation of data is taking place at that point in the flowchart.

Rate this question:

• 7.

### A flowchart needs to represent a situation where for each mark a student is awarded 'Pass' or 'Fail'...the system will consider the mark, and if it's 50 or over, award 'Pass,' else it awards 'Fail.' This is an example of which of the algorithm constructs?

• A.

Decision

• B.

Loop

• C.

Sequence

• D.

All of the above

A. Decision
Explanation
This is an example of the decision algorithm construct. The flowchart represents a decision-making process where the system checks if the mark is 50 or over. If it is, the system awards 'Pass,' and if it's not, it awards 'Fail.' The decision construct is used to make choices or decisions based on certain conditions or criteria.

Rate this question:

• 8.

### A flowchart needs to represent a situation where the user is asked to enter his age, the age is read into the system, and the system outputs a 'Thank You' message. This is an example of which of the algorithm constructs?

• A.

Decision

• B.

Loop

• C.

Sequence

• D.

All of the above

C. Sequence
Explanation
The given scenario of asking the user to enter their age, reading it into the system, and outputting a 'Thank You' message follows a sequence of steps. It involves a series of actions that are performed in a specific order, without any branching or repetition. Therefore, the correct answer is "Sequence."

Rate this question:

• 9.

### Why is a flowchart required?

• A.

To plan a program before making it.

• B.

To execute a program.

• C.

It is easy to use.

• D.

To analyze the program.

A. To plan a program before making it.
Explanation
A flowchart is required to plan a program before making it because it provides a visual representation of the logical steps and flow of the program. It helps in organizing and structuring the program's logic, making it easier to understand and identify any potential errors or improvements. By creating a flowchart, programmers can effectively plan the program's structure, sequence, and decision-making processes, ensuring a more efficient and error-free implementation.

Rate this question:

• 10.

### Are algorithms only used in computers?

• A.

True

• B.

False

B. False
Explanation
Algorithms are not only used in computers. They are step-by-step procedures or instructions used to solve problems or perform tasks. While they are commonly associated with computer programming, algorithms can be used in various fields such as mathematics, engineering, and even in everyday life. For example, cooking recipes, traffic signal systems, and sorting methods are all examples of algorithms that are not exclusive to computers. Therefore, the statement that algorithms are only used in computers is false.

Rate this question:

Godwin Iheuwa |MS (Computer Science) |
Godwin Iheuwa, a Database Administrator at MTN Nigeria, holds an MS in Computer Science, specializing in Agile Methodologies and Database Administration from the University of Bedfordshire and a Bachelor's in Computer Science from the University of Port Harcourt. His proficiency in SQL Server Integration Services (SSIS) and SQL Server Management Studio contributes to his expertise in database management.

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

• Current Version
• Jan 16, 2024
Quiz Edited by
ProProfs Editorial Team

Expert Reviewed by
Godwin Iheuwa
• Jan 29, 2010
Quiz Created by
Marlenegalea

Related Topics