MAKE IT YOURS

A world for every learner

Choose a grade to discover its colours and creative world.

Grade 7 Flowcharts Worksheet with Answers

Grade 7 (US) · Year 8 (UK) · Class 7 (India) · Computer Science

Unit 2: Algorithms & LoopsFlowcharts with DecisionsCSTA 2-AP-10

Following flowcharts with decisions and loops to find the output for a given input. This free middle school worksheet has 12 questions and a full answer key. Print it or save it as a PDF — every answer is checked by code, not guessed.

  • Answer keys checked by code
  • No ads, ever
  • No student accounts needed
  • Safety & privacy
Practice Sheetaethelsystems.com

Flowcharts

Grade 7 · Computer Science

Score___ / 12

Name

Class

Date

Learning goal: Flowcharts with Decisions · CSTA 2-AP-10

Directions: Read each question carefully and write your answer on the line. Use the diagram to help you.

RememberFlowchart symbols

Start / StopovalProcessrectangleInput / OutputparallelogramDecisiondiamond: yes / no
  1. 1

    Follow the flowchart with x = 15. What is the output?

    StartInput x = 15x > 10?yesnox = x − 7x = x × 3Output xStop
  2. 2

    Follow the flowchart with x = 1. What is the output?

    StartInput x = 1x > 17?yesnox = x − 5x = x × 2Output xStop
  3. 3

    Follow the flowchart with x = 18. What is the output?

    StartInput x = 18x > 20?yesnox = x − 1x = x × 2Output xStop
  4. 4

    Follow the flowchart with x = 5. What is the output?

    StartInput x = 5x > 18?yesnox = x − 2x = x × 4Output xStop
  5. 5

    Follow the flowchart with x = 6. What is the output?

    StartInput x = 6x > 15?yesnox = x − 1x = x × 3Output xStop
  6. 6

    Follow the flowchart with x = 8. What is the output?

    StartInput x = 8x > 6?yesnox = x − 2x = x × 2Output xStop
  7. 7

    Follow the flowchart with x = 9. What is the output?

    StartInput x = 9x > 14?yesnox = x − 6x = x × 3Output xStop
  8. 8

    Follow the flowchart with x = 5. What is the output?

    StartInput x = 5x > 20?yesnox = x − 7x = x × 3Output xStop
  9. 9

    Follow the flowchart with x = 17. What is the output?

    StartInput x = 17x > 20?yesnox = x − 7x = x × 2Output xStop
  10. 10

    Follow the flowchart with x = 19. What is the output?

    StartInput x = 19x > 19?yesnox = x − 9x = x × 3Output xStop
  11. 11

    Follow the flowchart with x = 15. What is the output?

    StartInput x = 15x > 17?yesnox = x − 7x = x × 4Output xStop
  12. 12

    Follow the flowchart with x = 10. What is the output?

    StartInput x = 10x > 12?yesnox = x − 4x = x × 2Output xStop

★ Challenge corner for fast finishers

A robot on a grid can only move forward 1 square, or turn. What is the fewest forward moves to go 3 squares east and 2 squares north?

How did I do?

Teacher's comments

Free printable worksheets with answer keys · aethelsystems.com/worksheets/computer/7/flowcharts

Answer key (click to show)
  1. 1.8
  2. 2.2
  3. 3.36
  4. 4.20
  5. 5.18
  6. 6.6
  7. 7.27
  8. 8.15
  9. 9.34
  10. 10.57
  11. 11.60
  12. 12.20
  13. ★5 (challenge corner)

Need another Flowcharts worksheet?

Generate unlimited fresh versions at easy, medium or hard difficulty, each with its own answer key. Free during our launch — no card needed.

Create a free account

How to use this worksheet

  • Works well as a bell-ringer, exit ticket, homework set or quick quiz.
  • Have students self-check with the answer key, then correct their own mistakes before you review.
  • Generate a new version of the same topic for a re-test, so students can't just memorise the answers.

Can't find what you need? Tell us which worksheet to make next.

Frequently asked questions

Does this Grade 7 Flowcharts worksheet come with answers?

Yes. The full answer key is on this page, and it prints on its own page after the questions. Every answer is calculated or checked by code rather than written by an AI model, so the key is always correct.

How do I print it or save it as a PDF?

Click "Download PDF" to save a ready-to-print PDF with the answer key on the last page, or click "Print" to send the worksheet and answer key straight to your printer.

Can I get a different Flowcharts worksheet?

Yes. Create a free account to generate as many fresh Grade 7 Flowcharts worksheets as you like, at easy, medium or hard difficulty, each with its own answer key.

Is this worksheet free?

Yes. This worksheet is free to print, and Practice Sheet is free to use during our launch with no card needed.