Worksheet Ready
Click Print / Save as PDF. In print settings, turn off Headers and footers.
Grade 12 Coding Worksheet: Subtraction Challenge Practice
Classroom Worksheet
Grade 12 Coding Worksheet: Subtraction Challenge Practice
Subtraction Challenge Practice
Name____________________________
Date________________
Score______ / 25
Grade: Grade 12
Subject: Coding
Topic: Subtraction
Time: 20 Minutes
Difficulty: Easy
Questions: 25
Instructions: Solve each subtraction problem carefully. Show your work on paper or in a code editor if your teacher asks. The questions increase in difficulty from basic number subtraction to subtraction in coding-related contexts.
Skills Practiced:
Subtraction
Coding
Critical Thinking
Problem Solving
1Question
What is 9 - 4?
2Question
What is 15 - 7?
3Question
What is 28 - 12?
4Question
What is 40 - 19?
5Question
What is 63 - 25?
6Question
What is 100 - 47?
7Question
What is 145 - 68?
8Question
What is 230 - 115?
9Question
What is 384 - 159?
10Question
What is 500 - 278?
11Question
A program starts with 90 points and loses 34 points. What is the new score?
12Question
A game timer shows 120 seconds and 45 seconds pass. How many seconds are left?
13Question
A file has 256 MB of space used. If 98 MB is deleted, how much space remains used?
14Question
A loop is set for 300 iterations. If 127 iterations are completed, how many remain?
15Question
A developer has 75 test cases and removes 29 duplicates. How many test cases are left?
16Question
What is 1,000 - 456?
17Question
What is 2,500 - 1,375?
18Question
A data set contains 8,420 records. After deleting 2,965 bad records, how many records remain?
19Question
A server had 12,000 requests and 4,786 were canceled. How many requests were completed?
20Question
A code repository has 9,350 lines in one branch and 3,408 are removed in a cleanup. How many lines remain?
21Question
What is 15,000 - 8,759?
22Question
A program allocates 50,000 bytes and uses 18,764 bytes. How many bytes are still available?
23Question
A leaderboard shows 24,600 total points. After subtracting a 7,895-point penalty, what is the new total?
24Question
A database backup contains 100,000 records. If 43,217 records are removed during filtering, how many remain?
25Question
A software project budget is 250,000 dollars. After spending 97,468 dollars on development, what amount is left?