Education Technology

# Factor Darts

Math: Explorations with Coding: Coding with Python
STEM & Coding: Computer Science: Computer Science
6-8
9-12
50 Minutes
TI-Nspire™ CX
5.2
Lessons
Python Programming
TNS

# Factor Darts

Activity Overview

In this coding activity, students will create a dart game that generates four random quadratic expressions. For each question the player answers correctly, the player will get another shot at the dart board.

Objectives

• Use the randint() function to generate random integers.
• Use for loops to repeat code.
• Use selection statements to make decisions.
• Use the draw functions from the TI-Draw library to create circles and text.
• Use the sleep function from the Time library to create animation.
• Use the distance formula to find the distance between two points
• Use the modulus operator, %, to find a remainder

In this lesson, students will create a dart game that uses factoring to earn darts.  The game will generate 4 random factor problems.  If students answer correctly, they will earn a dart.  Answer two questions in a row, earn an additional dart.  After factoring 4 questions, toss all the darts to earn a score.  How high can you score?  Answer all 4 questions correctly, earn 6 darts.  Can you score a perfect 30?

Note: This lesson requires the use of TI-Nspire™ CX II technology with OS 5.2 and above.

Math: Explorations with Coding: Coding with Python
STEM & Coding: Computer Science: Computer Science
6-8
9-12
50 Minutes
TI-Nspire™ CX
5.2
Lessons
Python Programming
TNS
iPad is a trademark of Apple Inc., registered in the U.S. and other countries.
Vernier EasyData,Vernier EasyLink and Vernier EasyTemp are registered trademarks of Vernier Science Education.