Free printable worksheets · grades 4 to 8

Coding math worksheets for 6th grade

Ten free 6th grade word problems about coding, with an answer key. Type your kid's first name and every problem is about them; press "New problems" for a fresh sheet as often as you like.

This sheet mixes unit rates, ratio tables, percent of a number, mean (average), median, and subtracting decimals. Each problem is built from a checked math template, so the numbers change every time but the answers are always right; only the story is about coding.

Print it, or let your kid work it on screen and check each answer as they go. No sign-up, and the name you type stays on your device.

✦ Mathbloom · free worksheet

Coding Math

6th Grade · Unit rates · Ratio tables · Percent of a number · Mean (average) · Median · Subtracting decimals

Name Date

  1. Sam's program took 16 seconds to run 4 tests. That is the same amount for each test. How many seconds per test?

    Answer:

  2. Sam uses red pixels and blue pixels in a ratio of 4:9 in a pixel-art logo. Today Sam uses 24 red pixels. How many blue pixels does Sam need to keep the same ratio?

    Answer:

  3. Sam wrote 115 functions this year. 40% of them used loops. How many functions used loops?

    • A. 4600
    • B. 2.88
    • C. 75
    • D. 46
  4. Here is how many tests Sam ran on each of five days: 14, 3, 11, 12, 10. What is the mean number of tests per day?

    Answer:

  5. Here is how many functions Sam wrote in each of five projects: 13, 19, 16, 6, 4. What is the median number of functions per project?

    Answer:

  6. Sam had $8 and spent $1 on a coding app at the electronics store. How much money does Sam have left?

    Answer:

  7. Sam's program took 60 seconds to run 8 tests. That is the same amount for each test. How many seconds per test?

    Answer:

  8. Sam places enemy sprites and coin sprites in a ratio of 1:7 in a game level. Today Sam places 3 enemy sprites. How many coin sprites does Sam need to keep the same ratio?

    Answer:

  9. Sam fixed 25 bugs this month. 40% of them were typos. How many bugs were typos?

    • A. 1000
    • B. 10
    • C. 0.63
    • D. -15
  10. Here is how many functions Sam wrote in each of five projects: 6, 12, 7, 14, 6. What is the mean number of functions per project?

    Answer:

Want a whole course built around your kid's coding? Try a free lesson at mathbloom.net
The key always prints on its own page.

Answer key

Coding Math · 6th Grade

  1. 4
  2. 54
  3. D. 46
  4. 10
  5. 13 Sorted, the values are 4, 6, 13, 16, 19. The middle value is 13.
  6. 7
  7. 7.5
  8. 21
  9. B. 10
  10. 9

Want a whole course built around your kid's coding?

Mathbloom writes interactive lessons around what a kid loves, on their grade's real standards. Try the first coding lesson for 6th grade free, no sign-up.

Questions parents ask

Are these worksheets really free?

Yes. Make, print, and play as many sheets as you like, no account and no card.

Is there an answer key?

Yes. It prints on its own page after the problems, and each answer comes with a short explanation.

Can I put my kid's name in the problems?

Yes. Type a first name and every problem uses it. The name is only used on this page in your browser; it is not sent anywhere or saved.

What does the 6th grade sheet cover?

Unit rates, Ratio tables, Percent of a number, Mean (average), Median, and Subtracting decimals. You can also pick a single topic for a focused sheet.

Can my kid do it on screen instead of paper?

Yes. "Play on screen" lets them answer each problem and see right away whether it is right, with a hint when it is not.

Is there more than worksheets?

Mathbloom builds whole interactive courses around what a kid loves. You can try a free coding lesson for 6th grade with no sign-up.