Name that Code
Random Details
Loops
CPX Trivia
Tinkercad
100

white = (255, 255, 255) is what in circuit python?

What is a variable for the RGB color white?

100

This functions as a container that holds values for the code to reference, add to or subtract from.  Always has an equals sign.

What is a variable?

100
The number of times a loop will process with this code:

for i <5:

What is 5 times

100

The name of the file you save to the Circuit Playground.

What is code.py

100

The website used to login to the program.

200

cpx.pixels.fill(255, 0, 0)

What is light up all neopixels with a bright red light?

200

The code that makes a circuit playground code loop forever.

What is while True?

200
The number of times a loop will process if written this way:


for i<=10

What is 11

200

A way to troubleshoot your cpx if you don't see anything in your serial connection.

What is press reset?

What is eject and reattach?

200

The method used to hold up overhangs in your 3d design.

What are supports?

300

button_1 = DigitalInOut(board.A4) tells the circuit playground what information?

What is the button will be connected on A4?

300

This single keystroke tells the python code that something is inside of a loop or a function.  

What is a tab?

300

The number of times a loop will process this code:

for i in range (0, 7)

What is 7

300

A ceramic disk that vibrates at different pitches when varying frequencies are run through it.

What is a piezzo buzzer?

300

The shortcut to group a collection of objects

What is Command G?

400

i = i+1

What is adds 1 to the variable i?

400

cpx.play_file("buzz.wav") tells the computer to do what action?

What is play the buzz.wav file through the circuit playground express.

400

for i in range(len(TONE_FREQ)):

What is how ever many elements are in the Tone_Freq list?

400

A digital signal that quickly turns on and off the current, reducing or increasing the power given to an object.

What is pulse width modulation?

400

A file type that Tinkercad can open

What is .stl file

What is .obj file

What is .svg file

500

print (fruit[-1].title())

What is print the last added item in the fruit list with the first letter capitalized?

500

if not button_1.value:

tells the circuit playground express to look out for what action?

What is a button press?

500

for i in range (0, 3):

    print ("hello world")

    

print ("hello world three")

would print what output?

What is

hello world

hello world

hello world

hello world three

500

What bit rate does a sound file need to be exported as to work on the CPX?

What is 16 bit.

500

A way to cut an object in half.

What is a hollow rectangle?

M
e
n
u