This is the smallest unit of digital information.
What is a bit?
This is the type of compression likely used when saving medical records, where no information can be lost.
What is lossless compression?
The Arduino IDE is used for this purpose.
What is writing Arduino code?
This is the part of the Arduino sketch that gets executed over and over when the code is uploaded to the board.
What is the void loop() function?
This word describes a system that can continue to function well, even if something goes horribly wrong.
What is fault-tolerant?
This is the largest number of unique items that can be represented using 7 bits.
What is 128?
This is the decimal (base-10) equivalent of the binary number 0010 1101.
What is 45? (1 + 4 + 8 + 32)
This is the name for the shorter, negative leg of a diode.
What is cathode?
Write a line of Arduino code that declares an integer variable called greenPin and initializes its value to 8.
What is int greenPin = 8;
Along with Vint Cerf, this man is celebrated as one of the co-creators of the Internet.
Who is Bob Kahn?
This is the number of bits in 20 kilobytes.
What is 160,000 bits?
Meet at 5?
What is 80?
Arduino pins marked with a tilde (~) can be used for pulse width modulation, which allows the pin to do what?
What is simulate analog output using a digital pin?
Write a line of code that establishes Arduino pin 5 as an OUTPUT pin.
What is pinMode(5, OUTPUT);
This word means "data about a file" (such as the name of the file), rather than the contents of the file itself.
What is metadata?
A company has 300 employees and wants to represent each of them with a unique ID in its computer system. How many bits of memory are required to do this?
What is 9 bits?
This type of license is more flexible than a traditional copyright, allowing artists and creators to decide exactly how they want their work to be used and shared.
What is Creative Commons?
This resistance would produce a current of 120 amps from a 6V battery. Hint: Use Ohm's Law!
What is 1/20 ohm?
(V = IR --> 6 = 120xR --> Solve for R by dividing by 120)
What is the final value of aNum after the code below finishes executing?
int aNum = 12;
aNum = aNum * 2;
aNum = aNum -1;
What is 23?
This term describes a creative work that is not subject to copyright and is freely available for anyone to use.
This is the # of RGB colors that can be made using 2 bits per color channel, minus the number of bytes needed to represent the string "computers!" using the ASCII system.
What is 54? (64 - 10)
What is 80%?
(500 - 100) / 500 = 400 / 500 = 0.8 = 80%
int nums[] = {2, 4, 25, 9, 15};
This is the value of nums[4] - nums[1]
What is 11? (15 - 4)
Suppose the variable lightVal stores the value read by a light sensor, which is connected to input pin A0. Write a conditional statement that prints "Hello" to the serial monitor if lightVal is between 100 and 500 (inclusive).
What is:
if (lightVal >= 100 and lightVal <= 500) {
Serial.println("Hello");
}
Suppose an LED is connected to output pin 10 on the Arduino. Write a line of code that turns on the LED to approximately 25% brightness.
What is analogWrite(10, 64);