Grade 6 Coding Worksheet: Word Problems on the American Revolution
American Revolution Word Problems
Worksheet preview
Classroom Worksheet
Grade 6 Coding Worksheet: Word Problems on the American Revolution
American Revolution Word Problems
Name____________________________
Date________________
Score______ / 20
Instructions:
Read each word problem carefully. Solve the coding or logic problem based on the American Revolution topic. Show your thinking on paper if needed. Answer each question in complete sentences or with the requested code result.
Read each word problem carefully. Solve the coding or logic problem based on the American Revolution topic. Show your thinking on paper if needed. Answer each question in complete sentences or with the requested code result.
Skills Practiced:
- American Revolution
- Coding
- Critical Thinking
- Problem Solving
1Question
A program stores the year the American Revolution began. If the code uses the number 1775, what event does this year represent?
2Question
A robot follows this simple command list: move forward 2 steps, turn left, move forward 3 steps. How many total steps does the robot move?
3Question
A line of code prints the message 'Patriots gathered.' How many words are in that message?
4Question
A game gives 5 points for each successful message delivery during the Revolution. If a player delivers 4 messages, how many points does the player earn?
5Question
A coder creates a list of 3 important places: Boston, Philadelphia, and Yorktown. How many items are in the list?
6Question
A program counts soldiers in two groups: 12 Patriots and 8 more Patriots join them. How many Patriots are there altogether?
7Question
A loop repeats 6 times. Each time it prints the word 'Liberty.' How many times will the word be printed?
8Question
A class writes code to display one fact about the Boston Tea Party each day for 7 days. If each day shows 1 fact, how many facts are shown in all?
9Question
A code block subtracts 4 from 15 to show how many supplies are left after some are used. What number does the program output?
10Question
A map program marks 3 important battles. If each battle icon takes up 2 squares on a grid, how many squares are used in all?
11Question
A programmer stores the names of 4 leaders and wants to print them one by one. If the loop prints 1 name each time, how many loop runs are needed?
12Question
A code game awards 10 points for the first quiz, 15 points for the second quiz, and 20 points for the third quiz. What is the total score?
13Question
A coded timeline starts in 1775 and ends in 1783. How many years are between these two years?
14Question
A library program stores 9 books about the Revolution. If 3 books are checked out, how many books remain on the shelf?
15Question
A robot has 24 coins to trade for supplies. It spends 6 coins on paper, 8 coins on ink, and 4 coins on stamps. How many coins are left?
16Question
A programmer writes an if-statement: if a message is marked 'urgent,' send it to 2 generals. If there are 5 urgent messages, how many total sends happen?
17Question
A code project has 3 groups of colonists. Each group has 7 people. How many colonists are there in all?
18Question
A simulation shows that each battle takes 4 minutes to play. If the program runs 5 battles, how many minutes will the whole simulation take?
19Question
A student codes a sequence that prints 2 facts about the Declaration of Independence each time it runs. If it runs 8 times, how many facts are printed?
20Question
A final program uses this pattern: start with 10, add 5 for each of 4 events, then subtract 6 for supplies used. What is the final number shown by the code?
Answer Key
| # | Answer |
|---|---|
| 1 | The year 1775 represents the beginning of the American Revolution. |
| 2 | The robot moves 5 total steps. |
| 3 | There are 3 words. |
| 4 | The player earns 20 points. |
| 5 | There are 3 items in the list. |
| 6 | There are 20 Patriots altogether. |
| 7 | The word will be printed 6 times. |
| 8 | 7 facts are shown in all. |
| 9 | The program outputs 11. |
| 10 | 6 squares are used in all. |
| 11 | 4 loop runs are needed. |
| 12 | The total score is 45 points. |
| 13 | There are 8 years between 1775 and 1783. |
| 14 | 6 books remain on the shelf. |
| 15 | 6 coins are left. |
| 16 | 10 total sends happen. |
| 17 | There are 21 colonists in all. |
| 18 | The whole simulation will take 20 minutes. |
| 19 | 16 facts are printed. |
| 20 | The final number shown by the code is 24. |
Tip: Choose Print / Save as PDF to keep a copy for later.