A Basic Quiz On Algorithm! Trivia Test

8 Questions | Total Attempts: 11947

SettingsSettingsSettings
Please wait...
A Basic Quiz On Algorithm! Trivia Test

This is a basic quiz on the algorithms. A system is a set of instructions given to a computer for it to accomplish a task. There are different ways of designing the system creation to implementation steps, and the setting algorithm is the most common. Do you know what questions are represented by an algorithm and different questions to ask about a system? This quiz is the refresher you need; check it out!


Questions and Answers
  • 1. 
    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

  • 2. 
    What are the three algorithm constructs?
    • A. 

      Sequence, selection, repetition

    • B. 

      Input, output, process

    • C. 

      Input/output, decision, terminator

    • D. 

      Loop, input/output, process

  • 3. 
    What is the difference between a flowchart and pseudocode?
    • A. 

      A flowchart is diagramatic whilst pseudocode is written in a programming language (eg. Pascal or Java)

    • B. 

      A flowchart is textual but pseudocode is diagrammatic

    • C. 

      A flwochart is a diagrammatic description of an algorithm whilst pseudocode is a textual description of an algorithm

    • D. 

      A flwochart and pseudocode are the same thing

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

      A rectangle

    • B. 

      A rhombus

    • C. 

      A parallelogram

    • D. 

      A circle

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

      A rectangle

    • B. 

      A rhombus

    • C. 

      A parallelogram

    • D. 

      A circle

  • 6. 
    A flowchart needs to represent a situation where for each mark a student is award '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

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

  • 8. 
    A flowchart needs to represent the 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

Back to Top Back to top