Algorithms and flowcharts

Algorithms and flowcharts Quiz

IB MYP Maths Extended: Quiz

Studying this course? Keep your progress in one place.

Pick an answer for each. Quizzes never use energy.

5 questions, one answer each

Each answer is checked as you go, with why.

See all 5 questions
  1. 1. Set n=1n=1. While n≤20n\le20, replace nn by 2n2n. Output nn. What is the output?

    • A. 1616
    • B. 2020
    • C. 3232
    • D. 4040
  2. 2. Which flowchart shape is used for a yes/no decision?

    • A. A diamond
    • B. A rectangle
    • C. An oval
    • D. A parallelogram
  3. 3. An algorithm multiplies the input nn by 44, then subtracts 66. The output is 1010. What was the input?

    • A. 11
    • B. 1616
    • C. 2.52.5
    • D. 44
  4. 4. A sequence starts at 55 and adds 33 each time. What is the 1010th term?

    • A. 3535
    • B. 3232
    • C. 3030
    • D. 3838
  5. 5. Set x=2x=2. Add 33 to xx and repeat while x≤10x\le10. Output xx. What is the output?

    • A. 1111
    • B. 88
    • C. 1010
    • D. 1414

Quiz