MathematicsFreePrintable

Divisibility Rules and Coding

A free, printable mathematics worksheet ready for your classroom. Download instantly, print, and hand out to your students — no account needed.

Divisibility Rules and Coding worksheet preview

Divisibility Rules and Coding

🎯 Learning Goals - "I Can" Statements

Check off each goal as you complete it:

I can use divisibility rules for 2, 3, 5, 9, and 10 to solve problems

I can read and understand flow charts for divisibility decisions

I can write simple logic statements using if/then thinking

I can explain how divisibility rules work in coding games

📊 Part 1: Divisibility Rules Practice

1. Circle the numbers that are divisible by 2:

14 27 38 45 52 63 76 89

2. Which number is divisible by both 3 and 5?

12

15

18

25

3. Look at this flow chart step. Fill in the missing parts:

START → Is the number even? → YES: Divisible by _____ → END

→ NO: Check if sum of digits divisible by _____ → END

4. Check all the divisibility rules that apply to the number 180:

Divisible by 2

Divisible by 3

Divisible by 5

Divisible by 9

Divisible by 10

💻 Part 2: Coding Logic

5. Complete this coding logic statement:

IF number is divisible by 10, THEN _________________________

ELSE _________________________________________________

6. Design a simple game rule using divisibility. Write your rule below:
7. Look at this code block. What will happen if the player enters the number 24?

Code:

IF number divisible by 3

THEN player gets 5 points

IF number divisible by 2

THEN player gets 3 points

ELSE player gets 0 points

Answer: The player will get _____ points because _____________________

8. Extension Challenge: Create a flow chart for a game where players win if their number follows these rules: divisible by 2 OR divisible by 5, but NOT divisible by 10.

✅ Success Criteria Check

Rate yourself on each skill (1 = need help, 2 = getting there, 3 = got it!):

I can identify numbers using divisibility rules: ___/3

I can read flow charts with divisibility logic: ___/3

I can write IF/THEN statements for coding: ___/3

I can explain my thinking clearly: ___/3

9. What was the most challenging part of this worksheet for you?
10. How could you use divisibility rules in a real video game?

About This Worksheet

Free Download

No sign-up, no email, no paywall. Just download and print.

Print-Ready

Formatted for standard paper. Clean layout, easy to read.

AI-Generated

Created with Kuraplan's AI, designed for real classroom use.

For Teachers & Parents

Use in classrooms, for homework, tutoring, or homeschool.

Need a custom version of this worksheet?

Kuraplan's AI generates custom worksheets in seconds — differentiated for every learner, aligned to your curriculum.

Generate Custom Worksheets — Free
No credit card Curriculum-aligned Under 60 seconds

More Mathematics Worksheets