What way does electricity flow?
Positive to negative.
What does LED stand for?
Light emitting diode.
How many volts does Arduino provide?
5 V
What is a variable?
An empty bucket to store a data piece/value/item
What is debugging?
Finding and solving issues in your code
Give me an example of a real world circuit.
Varying answers
How many volts to power an LED?
3.3 (3) Volts
Italy!
What is a list?
A way to store a collection of values/data
codeLab, MIT app inventor
Describe the major components of a circuit.
Wire, load/something to power, battery
Which leg of an LED, buzzer, or other pieces, is positive?
The longer leg!
What does digital write code allow us to do? (What are the two options, what real world thing does it mimic?)
It allows us to provide a pin with 5V or 0V using HIGH or LOW, like a light switch
What are some extensions for image files?
.png, .jpg, .jpeg, .gif
Give an example of a coding language
python, C, C++, R, scratch, scratch JR, arduino, java...
What is a short circuit?
When electricity isn't being used enough or at all causing it to flow through your power source potentially damaging it.
What does a resistor do and why do we need to use one for LEDs, buttons, and other components?
In order to avoid creating a short circuit and having leftover electricity.
What does analog write allow us to do?
Provide a value somewhere between 0V and 5V.
I want to create a button that increases my score with every click, how would I go about doing that?
Design:
Create a button of whatever size. Drag a label below. Rename both appropriately.
Coding:
when button1.click:
set scoreLabel.text to scoreLabel.text+1
what is a diode?
something that only allows electricity to flow one way
When was the first electric circuit invented (within 20 years)?
1800
What is Pulse Width Modulation?
The method in which arduino provides analog signals. It switches the voltage between 5V and 0V very quicky to simulate a value in between.
What do the tildes, ~, indicate/mean on the Arduino?
That these pins can provide an analog output/PWM.
What does this code do?
when bullet.collidedwith:
set bullet.visibile to false
set ScoreValue.text to ScoreValue.text + 1
set SaucerSprite.X to random int from 0 to Canvas.width
When the bullet collides, set its visible value to false, increase score by 1, then alien moves a random X location