Algorithm And Flowchart Quiz

10 Questions | Total Attempts: 22266

SettingsSettingsSettings
Algorithm And Flowchart Quiz - Quiz

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.


Questions and Answers
  • 1. 
    What are the three algorithm constructs?
    • A. 

      Sequence, selection, repetition.

    • B. 

      Input, output, process.

    • C. 

      Input/output, decision, terminator.

    • D. 

      Loop, input/output, process.

  • 2. 
    What is the difference between a flowchart and 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, whilst pseudocode is a textual description of an algorithm.

    • D. 

      A flowchart and pseudocode are the same thing.

  • 3. 
    In a flowchart, an input or output instruction is represented by
    • A. 

      A rectangle

    • B. 

      A rhombus

    • C. 

      A parallelogram

    • D. 

      A circle

  • 4. 
    In a flowchart, a calculation (process) is represented by
    • A. 

      A rectangle

    • B. 

      A rhombus

    • C. 

      A parallelogram

    • D. 

      A circle

  • 5. 
    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

  • 6. 
    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

  • 7. 
    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

  • 8. 
    What is an algorithm?
    • A. 

      A flowchart.

    • B. 

      Step by step instructions used to solve a problem.

    • C. 

      A flowchart or pseudocode.

    • D. 

      A decision.

  • 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.

  • 10. 
    Are algorithms only used in computers?
    • A. 

      True

    • B. 

      False

×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.