1. Home
  2. Explore
  3. Engineering
  4. Arduino Basics

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Arduino Basics

  • 53Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Arduino Architecture

Which set of components describes the basic structure of an Arduino-based electronic system?

53 questions

  1. 1

    Which set of components describes the basic structure of an Arduino-based electronic system?

    1. A

      A power source, inputs, a computing unit, outputs, and connecting wires

    2. B

      A battery, a switch, a circuit board, and a programming language

    3. C

      A power source, a display, a storage drive, and a wireless connection

    4. D

      A sensor, a motor, a mechanical frame, and a user interface

    Correct answer
    A

    A power source, inputs, a computing unit, outputs, and connecting wires

    Explanation

    The lesson identifies four basic parts: inputs, a computing brain, outputs, and the wires connecting them. The system also needs power, such as a battery pack.

  2. 2

    In the human-body analogy, what role does an Arduino microcontroller play?

    1. A

      It acts like the brain, processing input information and deciding what to do

    2. B

      It acts like the eyes, detecting light and other information from the world

    3. C

      It acts like the nervous system, carrying signals between the sensors and motors

    4. D

      It acts like the muscles, changing the physical world in response to commands

    Correct answer
    A

    It acts like the brain, processing input information and deciding what to do

    Explanation

    The microcontroller is compared to the brain: it receives information from inputs, processes it, and sends instructions to outputs.

  3. 3

    What is the main role of the wires in the lesson’s human-body analogy?

    1. A

      They act like muscles, moving objects in response to a decision

    2. B

      They act like the eyes and ears, sensing changes in the environment

    3. C

      They act like food, supplying energy to the brain and muscles

    4. D

      They act like the nervous system, carrying signals between the brain, sensors, and muscles

    Correct answer
    D

    They act like the nervous system, carrying signals between the brain, sensors, and muscles

    Explanation

    Wires connect the inputs, microcontroller, and outputs, much as the nervous system carries information between sensory organs, the brain, and muscles.

  4. 4

    Why does an Arduino build need a power source such as a battery pack?

    1. A

      It stores the program so the microcontroller can interpret the code

    2. B

      It connects the wires so signals can travel between components

    3. C

      It senses changes in the environment and reports them to the board

    4. D

      It supplies the energy needed for the electronic system to operate

    Correct answer
    D

    It supplies the energy needed for the electronic system to operate

    Explanation

    The battery pack powers the system. The lesson compares this to food supplying a human body with energy.

  5. 5

    Why can adding mechanical parts make an electronic system more engaging or useful?

    1. A

      Mechanical parts perform the program’s computation instead of the microcontroller

    2. B

      The Arduino can only process information when attached to moving parts

    3. C

      The electronics can control physical movement, turning a signal-processing system into a moving device

    4. D

      Mechanical parts replace the need for a power source and electronic circuit

    Correct answer
    C

    The electronics can control physical movement, turning a signal-processing system into a moving device

    Explanation

    Combining electronics with mechanical pieces lets the system act physically—for example, servo motors can move a turret in response to signals.

  6. 6

    Which statement correctly distinguishes an Arduino from a microcontroller in general?

    1. A

      Arduino is a sensor, while a microcontroller is a motor controller

    2. B

      Arduino is a programming language, while a microcontroller is a type of battery

    3. C

      Arduino is a breadboard, while a microcontroller is the wires plugged into it

    4. D

      Arduino is a specific brand of microcontroller, while other microcontrollers can be made by different organizations

    Correct answer
    D

    Arduino is a specific brand of microcontroller, while other microcontrollers can be made by different organizations

    Explanation

    The lesson compares Arduino to a specific car brand: Arduino is one brand of microcontroller, not the name for every microcontroller.

  7. 7

    What practical feature of the Arduino Uno board is highlighted in the lesson?

    1. A

      Its built-in microphone detects secret knocks without extra parts

    2. B

      Its display shows the full program while the board is running

    3. C

      Its header pins let wires plug directly into the board

    4. D

      Its soldered battery holder makes it a finished mass-produced product

    Correct answer
    C

    Its header pins let wires plug directly into the board

    Explanation

    The Arduino Uno’s header pins make it convenient to connect wires directly to the board.

  8. 8

    What is electricity described as in the lesson?

    1. A

      The transfer of mechanical motion through wires

    2. B

      The movement of electrons

    3. C

      The presence of electrons that are completely stationary

    4. D

      The production of light by a battery

    Correct answer
    B

    The movement of electrons

    Explanation

    The lesson introduces electricity as moving electrons; stationary electrons by themselves are not described as producing an electric current.

  9. 9

    Why does a bulb light when it is connected into a complete circuit?

    1. A

      The complete path allows electric current to flow through the bulb

    2. B

      The open path lets electrons collect inside the bulb without moving

    3. C

      The battery sends light directly through the air to the bulb

    4. D

      The switch heats the bulb even though no current can pass

    Correct answer
    A

    The complete path allows electric current to flow through the bulb

    Explanation

    A complete circuit provides a continuous path for current through the bulb, allowing it to light.

  10. 10

    What happens when a switch is off and leaves a gap in the circuit?

    1. A

      The electrons stop existing in the wires and bulb

    2. B

      The path is complete, so current flows faster through the bulb

    3. C

      The battery changes the circuit into a sensor

    4. D

      The path is open, so current cannot flow through the circuit

    Correct answer
    D

    The path is open, so current cannot flow through the circuit

    Explanation

    An off switch acts like a gate that interrupts the path. Without a complete circuit, current does not flow.

  11. 11

    How does turning a switch on affect a simple circuit?

    1. A

      It prevents electrons from moving through the switch

    2. B

      It converts the bulb into an input sensor

    3. C

      It removes the battery’s stored energy and breaks the path

    4. D

      It closes the path so current can flow through the circuit

    Correct answer
    D

    It closes the path so current can flow through the circuit

    Explanation

    Turning the switch on completes the path, allowing current to flow and the bulb to turn on.

  12. 12

    What role does resistance play in the lesson’s explanation of a light bulb?

    1. A

      Resistance makes electrons flow without a complete circuit

    2. B

      Resistance detects whether the surrounding room is dark

    3. C

      A resistive part of the bulb gives off light as current passes through it

    4. D

      Resistance disconnects the battery from the circuit and stores the program

    Correct answer
    C

    A resistive part of the bulb gives off light as current passes through it

    Explanation

    The lesson explains that a spot of resistance in the bulb gives off light as current passes through it.

  13. 13

    What does the Hot Wheels track analogy represent in the discussion of circuits?

    1. A

      A path that provides a route for electrons to travel around a circuit

    2. B

      A battery that stores electrons until a switch is turned off

    3. C

      A program that tells the microcontroller which sensor to read

    4. D

      A mechanical rail that guides a servo motor’s movement

    Correct answer
    A

    A path that provides a route for electrons to travel around a circuit

    Explanation

    The track analogy represents the circuit path on which electrons can travel when the circuit is complete.

  14. 14

    In the simple circuit example, what does the battery provide?

    1. A

      Electrical energy that drives current through the circuit

    2. B

      A physical path that replaces the need for wires

    3. C

      A decision about whether the bulb should be bright or dim

    4. D

      A program that switches the bulb on and off

    Correct answer
    A

    Electrical energy that drives current through the circuit

    Explanation

    The battery is the power source that supplies energy for current to flow through the circuit.

  15. 15

    What is the function of an input in an Arduino system?

    1. A

      It performs a physical action after receiving a command from the microcontroller

    2. B

      It supplies electrical power to every component in place of a battery

    3. C

      It detects or receives information from the environment for the microcontroller

    4. D

      It connects separate components by physically carrying the device

    Correct answer
    C

    It detects or receives information from the environment for the microcontroller

    Explanation

    Inputs, such as sensors and buttons, provide information that the microcontroller can process.

  16. 16

    What is the function of an output in an Arduino system?

    1. A

      It provides the program’s instructions before the board is powered

    2. B

      It measures environmental information and sends it to the microcontroller

    3. C

      It acts on the world or communicates a response after receiving instructions

    4. D

      It connects the input sensor directly to the battery without a controller

    Correct answer
    C

    It acts on the world or communicates a response after receiving instructions

    Explanation

    Outputs, also called effectors in the lesson, carry out actions such as moving a motor, lighting an LED, or sounding a buzzer.

  17. 17

    In the infrared example, what role does the IR sensor play?

    1. A

      It is an input that detects an infrared signal and sends information to the microcontroller

    2. B

      It is an output that moves a servo motor when the board receives power

    3. C

      It is a wire that connects the microcontroller to the motor

    4. D

      It is the power source that supplies energy to the entire system

    Correct answer
    A

    It is an input that detects an infrared signal and sends information to the microcontroller

    Explanation

    The IR sensor detects signals and serves as an input, analogous to a human sensory organ.

  18. 18

    Which pairing correctly identifies an input and an output from the lesson’s nightlight example?

    1. A

      A light sensor detects ambient light, and an LED provides the light output

    2. B

      A buzzer detects ambient light, and a battery provides the light output

    3. C

      A servo detects ambient light, and a microphone provides the light output

    4. D

      An LED detects ambient light, and a light sensor provides the light output

    Correct answer
    A

    A light sensor detects ambient light, and an LED provides the light output

    Explanation

    The light sensor measures the surrounding light level, while the LED is the output that can be made brighter or dimmer.

  19. 19

    Which component would be most suitable as an input for detecting whether something is nearby?

    1. A

      A proximity sensor

    2. B

      A DC motor

    3. C

      A buzzer

    4. D

      A servo motor

    Correct answer
    A

    A proximity sensor

    Explanation

    A proximity sensor detects whether an object is close or far away, so it functions as an input.

  20. 20

    Which list contains only inputs shown or discussed in the lesson?

    1. A

      A button, a microphone, a joystick, and a soil moisture sensor

    2. B

      A light sensor, a servo motor, a fan, and a buzzer

    3. C

      A battery pack, a servo motor, a buzzer, and an LED

    4. D

      A servo motor, a DC motor, an LED, and a buzzer

    Correct answer
    A

    A button, a microphone, a joystick, and a soil moisture sensor

    Explanation

    Buttons, microphones, joysticks, and soil moisture sensors are all examples of inputs. Motors, LEDs, and buzzers are outputs.

  21. 21

    Which list contains only outputs shown or discussed in the lesson?

    1. A

      A microphone, a button, a joystick, and a proximity sensor

    2. B

      A servo motor, a DC motor, an LED, and a buzzer

    3. C

      A soil moisture sensor, a light sensor, a knob, and a buzzer

    4. D

      A proximity sensor, a servo motor, a button, and a light sensor

    Correct answer
    B

    A servo motor, a DC motor, an LED, and a buzzer

    Explanation

    Servo motors, DC motors, LEDs, and buzzers are examples of outputs that act on the world or provide a signal.

  22. 22

    In a cookie-jar alarm, what sequence correctly explains how the system could work?

    1. A

      The alarm senses the lid, the button processes the signal, and the battery opens the jar

    2. B

      The motor detects the lid, the buzzer decides what happened, and the button supplies power

    3. C

      The lid releases a button input, the microcontroller detects the change, and an alarm output sounds

    4. D

      The button produces a sound input, the microcontroller senses the alarm, and the lid acts as the output

    Correct answer
    C

    The lid releases a button input, the microcontroller detects the change, and an alarm output sounds

    Explanation

    Lifting the lid can change the state of a button input. The microcontroller responds by activating an alarm output such as a buzzer.

  23. 23

    What is an Arduino sketch?

    1. A

      A diagram showing only how wires are physically arranged

    2. B

      A type of sensor that detects changes in light

    3. C

      A circuit board that combines a battery and a motor

    4. D

      A program containing instructions that determine how the board responds

    Correct answer
    D

    A program containing instructions that determine how the board responds

    Explanation

    The lesson calls each version of the program installed on the board an Arduino sketch.

  24. 24

    What is the Arduino IDE used for?

    1. A

      Writing or opening sketches and uploading them to an Arduino board

    2. B

      Manufacturing a custom printed circuit board

    3. C

      Measuring soil moisture and converting it directly into water

    4. D

      Physically connecting breadboard rows without wires

    Correct answer
    A

    Writing or opening sketches and uploading them to an Arduino board

    Explanation

    The Arduino IDE is software used to work with Arduino programs and upload them to a board.

  25. 25

    After opening the Arduino IDE, what does the lesson say to do to connect to the board?

    1. A

      Select a sensor and wait for the board to choose its own port

    2. B

      Solder the board to a breadboard and then select a motor

    3. C

      Upload a sketch before connecting the board to the computer

    4. D

      Plug in the Arduino and select the correct port

    Correct answer
    D

    Plug in the Arduino and select the correct port

    Explanation

    The lesson’s basic connection steps are to plug in the Arduino and select the correct port in the IDE.

  26. 26

    Which programming language is the sketch code described as resembling?

    1. A

      A version of machine code that cannot be edited

    2. B

      A slightly modified version of C++

    3. C

      A visual language made entirely of circuit diagrams

    4. D

      A slightly modified version of HTML

    Correct answer
    B

    A slightly modified version of C++

    Explanation

    The lesson describes Arduino sketch code as a slightly modified version of C++, a commonly used language for hardware projects.

  27. 27

    What is the difference between the setup and loop sections of a typical sketch?

    1. A

      Setup runs repeatedly while loop runs only once when the board starts

    2. B

      Setup runs once when the board starts, while loop runs repeatedly afterward

    3. C

      Setup controls outputs only while loop controls inputs only

    4. D

      Setup stores sensor readings while loop stores the wiring schematic

    Correct answer
    B

    Setup runs once when the board starts, while loop runs repeatedly afterward

    Explanation

    Setup establishes initial rules or configuration once. The loop then repeatedly checks conditions and performs actions.

  28. 28

    In a nightlight program, why might the loop repeatedly check the light sensor?

    1. A

      So the program can respond if the surrounding light changes after startup

    2. B

      So the sensor can supply power to the LED without the battery

    3. C

      So the board can run setup again every time the sensor is read

    4. D

      So the program can re-upload itself whenever the room becomes dark

    Correct answer
    A

    So the program can respond if the surrounding light changes after startup

    Explanation

    The loop repeatedly checks the light level so the program can turn the LED on or off as conditions change.

  29. 29

    What is the purpose of a comment in a sketch?

    1. A

      To connect two wires in the circuit without a breadboard

    2. B

      To help people understand the code; the comment itself is not executed by the board

    3. C

      To send a command to a motor while hiding it from the programmer

    4. D

      To make the microcontroller repeat setup instead of running loop

    Correct answer
    B

    To help people understand the code; the comment itself is not executed by the board

    Explanation

    Comments are notes for human readers. They do not form part of the instructions the board executes.

  30. 30

    What happens when a new sketch is uploaded to an Arduino?

    1. A

      The board’s sensors are physically replaced by the code

    2. B

      The sketch becomes a battery that powers the board

    3. C

      The computer automatically changes the board’s wiring schematic

    4. D

      The board receives the new instructions that determine its behavior

    Correct answer
    D

    The board receives the new instructions that determine its behavior

    Explanation

    Uploading a sketch changes the instructions on the microcontroller—described in the lesson as swapping out its brain.

  31. 31

    In the Blink example, what determines how long the LED stays on or off?

    1. A

      The port selected in the IDE, which is specified in seconds

    2. B

      The number of wires connected to the breadboard, which is specified in volts

    3. C

      The delay values in the sketch, which are specified in milliseconds

    4. D

      The board’s comments, which are specified by the LED’s color

    Correct answer
    C

    The delay values in the sketch, which are specified in milliseconds

    Explanation

    The Blink sketch uses delay values to control the pauses between turning the LED on and off; the values are in milliseconds.

  32. 32

    If a Blink sketch sets the off delay to 3,000 milliseconds and the on delay to 4,000 milliseconds, what timing should result?

    1. A

      The LED stays off for 3 milliseconds and on for 4 milliseconds

    2. B

      The LED stays off for 3 seconds and on for 4 seconds

    3. C

      The LED blinks exactly 3 times while off and 4 times while on

    4. D

      The LED stays on for 3 seconds and off for 4 seconds

    Correct answer
    B

    The LED stays off for 3 seconds and on for 4 seconds

    Explanation

    There are 1,000 milliseconds in a second, so 3,000 milliseconds is 3 seconds and 4,000 milliseconds is 4 seconds.

  33. 33

    What information does a schematic provide in an Arduino project guide?

    1. A

      How to manufacture the microcontroller’s processor

    2. B

      How quickly the program’s loop executes

    3. C

      How components and wires should be connected

    4. D

      Which comments should be removed from the sketch

    Correct answer
    C

    How components and wires should be connected

    Explanation

    A schematic shows how to wire and connect the inputs, outputs, and other components in a project.

  34. 34

    How can online code examples help someone building an Arduino project?

    1. A

      They can provide existing code and wiring instructions that can be adapted for a project

    2. B

      They guarantee that every copied program works without any changes

    3. C

      They replace the need to select a port or upload a sketch

    4. D

      They automatically assemble the hardware without requiring any connections

    Correct answer
    A

    They can provide existing code and wiring instructions that can be adapted for a project

    Explanation

    The lesson notes that online projects often provide both code and schematics, which builders can copy and modify as needed.

  35. 35

    How might an AI chatbot assist someone working on an Arduino sketch?

    1. A

      It can turn a breadboard into a printed circuit board without hardware changes

    2. B

      It can guarantee that every program will work without testing

    3. C

      It can help explain, debug, simplify, or develop code through questions and conversation

    4. D

      It can replace the physical sensors and outputs by simulating the whole device

    Correct answer
    C

    It can help explain, debug, simplify, or develop code through questions and conversation

    Explanation

    The lesson describes AI chatbots as tools for discussing code, improving or debugging it, and getting help developing a project.

  36. 36

    What is a solderless breadboard especially useful for?

    1. A

      Replacing the program stored on a microcontroller

    2. B

      Detecting electrical signals without any connected components

    3. C

      Mass-producing a finished circuit with all components permanently packaged

    4. D

      Prototyping and testing circuits without soldering components together

    Correct answer
    D

    Prototyping and testing circuits without soldering components together

    Explanation

    A solderless breadboard lets builders quickly connect components for prototyping and testing without soldering.

  37. 37

    Why can two wires plugged into connected breadboard holes be electrically connected without touching each other directly?

    1. A

      The breadboard’s plastic surface conducts electricity between all holes

    2. B

      The Arduino IDE links the holes when a sketch is uploaded

    3. C

      Metal strips inside the breadboard connect groups of holes

    4. D

      The battery sends a wireless signal between the wires

    Correct answer
    C

    Metal strips inside the breadboard connect groups of holes

    Explanation

    Metal connections inside the breadboard link certain groups of holes, making components in those holes electrically connected.

  38. 38

    What is the purpose of a schematic when assembling a breadboard circuit?

    1. A

      It shows which part of the sketch is a comment

    2. B

      It converts the Arduino program into a battery-powered signal

    3. C

      It replaces the breadboard’s internal metal connections

    4. D

      It indicates which components and wires should connect to which points

    Correct answer
    D

    It indicates which components and wires should connect to which points

    Explanation

    A schematic is a guide to the circuit’s connections and helps show where components and wires should be placed.

  39. 39

    What is a custom printed circuit board, or PCB, in the lesson’s description?

    1. A

      A breadboard with no electrical connections inside it

    2. B

      A temporary software sketch that tests a sensor before it is connected

    3. C

      A purpose-designed board that packages circuit connections and components into a cleaner, integrated form

    4. D

      A program that converts C++ into a mechanical movement

    Correct answer
    C

    A purpose-designed board that packages circuit connections and components into a cleaner, integrated form

    Explanation

    A custom PCB packages the circuit into a dedicated board rather than leaving it as a breadboard-and-wires prototype.

  40. 40

    Why might a designer move from a breadboard prototype to a custom PCB?

    1. A

      A PCB can make a tested design more compact and suitable for mass production

    2. B

      A PCB allows the designer to avoid deciding what the circuit should do

    3. C

      A PCB makes sensors unnecessary by storing their readings permanently

    4. D

      A PCB lets a device work without power or program instructions

    Correct answer
    A

    A PCB can make a tested design more compact and suitable for mass production

    Explanation

    The lesson presents breadboards as useful for prototyping and custom PCBs as a clean, integrated form suitable for making many copies.

  41. 41

    Where does the lesson say custom PCBs are commonly found?

    1. A

      In electronic devices such as calculators, microwaves, washing machines, and cars

    2. B

      Only inside Arduino IDE software and online code libraries

    3. C

      Only in devices that use servo motors and infrared sensors

    4. D

      Only in temporary classroom prototypes that have no power source

    Correct answer
    A

    In electronic devices such as calculators, microwaves, washing machines, and cars

    Explanation

    The lesson explains that many everyday electronic products use custom PCBs designed for their specific hardware.

  42. 42

    What does using a solderless breadboard allow a builder to do before committing to a finished design?

    1. A

      Mass-produce identical boards without any additional manufacturing

    2. B

      Try and adjust component connections relatively conveniently

    3. C

      Convert sensor inputs directly into mechanical parts

    4. D

      Upload sketches without connecting the microcontroller to a computer

    Correct answer
    B

    Try and adjust component connections relatively conveniently

    Explanation

    Breadboards make it convenient to test and adjust connections during prototyping before the design is finalized.

  43. 43

    How could a soil moisture sensor be used to help care for a plant?

    1. A

      It could detect whether the plant is receiving sound from a microphone

    2. B

      It could replace the microcontroller and decide how every output behaves

    3. C

      It could act as a motor that waters the plant without any other components

    4. D

      It could detect dry soil and trigger an LED or another notification output

    Correct answer
    D

    It could detect dry soil and trigger an LED or another notification output

    Explanation

    The sensor can provide information about soil moisture. The microcontroller can then trigger an output, such as an LED or a message, when the soil is dry.

  44. 44

    How could a microphone and servo motor work together in a secret-knock box?

    1. A

      The servo detects a specific knock pattern, and the microphone turns the box’s lock

    2. B

      The microphone supplies power to the servo, which then records the knock pattern

    3. C

      The microphone detects a specific knock pattern, and the microcontroller commands the servo to unlock the box

    4. D

      The servo measures the knock spacing, while the microphone physically opens the box

    Correct answer
    C

    The microphone detects a specific knock pattern, and the microcontroller commands the servo to unlock the box

    Explanation

    The microphone is the input that detects the required knock pattern. The microcontroller interprets it and signals the servo output to open the lock.

  45. 45

    How could a knob control the speed of a fan in an Arduino project?

    1. A

      The microcontroller uses the knob as a wire and the fan as a sensor

    2. B

      The knob provides an input value that the microcontroller uses to adjust the fan’s output

    3. C

      The knob replaces the battery while the fan measures the circuit’s voltage

    4. D

      The fan provides an input value that the knob uses to program the microcontroller

    Correct answer
    B

    The knob provides an input value that the microcontroller uses to adjust the fan’s output

    Explanation

    The knob acts as an input. The microcontroller can use its value to control an output such as a fan’s speed.

  46. 46

    How could a thermometer automate a fan?

    1. A

      The thermometer could replace the program and directly power the fan

    2. B

      The temperature input could cause the microcontroller to turn the fan on at a chosen temperature

    3. C

      The fan could measure the temperature and send it to the thermometer for processing

    4. D

      The microcontroller could use the thermometer only after the fan has been manually turned on

    Correct answer
    B

    The temperature input could cause the microcontroller to turn the fan on at a chosen temperature

    Explanation

    A thermometer can provide temperature information, allowing the microcontroller to turn on a fan when the temperature reaches a selected level.

  47. 47

    In the described cookie-jar alarm, what change could serve as the triggering input?

    1. A

      An LED becomes darker and physically lifts the lid

    2. B

      The battery changes from an input into a microphone

    3. C

      Lifting the lid releases a button that had been held down

    4. D

      A buzzer sounds and presses the button inside the jar

    Correct answer
    C

    Lifting the lid releases a button that had been held down

    Explanation

    The lid can hold down a button. When the lid is lifted, the button is released, providing a change the system can detect.

  48. 48

    What does the servo motor do in the locked-box example?

    1. A

      It processes the microphone signal and decides whether the knock is correct

    2. B

      It acts as an output that moves the mechanism to open the box after the correct knock is detected

    3. C

      It acts as an input that listens for the correct knock spacing

    4. D

      It supplies the electrical energy needed by the entire project

    Correct answer
    B

    It acts as an output that moves the mechanism to open the box after the correct knock is detected

    Explanation

    The servo is an output: after the microcontroller recognizes the correct knock, the servo moves the mechanism to open the box.

  49. 49

    In the nightlight example, what should happen when the light sensor detects that the surroundings have become darker?

    1. A

      The Arduino should stop checking the sensor because setup runs again

    2. B

      The microcontroller should make the light sensor produce the program

    3. C

      The microcontroller can command the LED to become brighter

    4. D

      The LED should send the sensor a command to disconnect the battery

    Correct answer
    C

    The microcontroller can command the LED to become brighter

    Explanation

    The light sensor reports the darker conditions as an input, and the program can respond by increasing the LED’s brightness.

  50. 50

    What general principle do the lesson’s project examples illustrate?

    1. A

      A useful or entertaining device can be created by choosing inputs and outputs and defining how the system responds

    2. B

      A compelling device depends mainly on complicated hardware rather than its purpose

    3. C

      An Arduino project must use the same code regardless of its inputs and intended behavior

    4. D

      A project becomes creative only when it uses a large number of sensors and motors

    Correct answer
    A

    A useful or entertaining device can be created by choosing inputs and outputs and defining how the system responds

    Explanation

    The examples show that many projects combine suitable inputs and outputs with a program that connects them to a useful or entertaining purpose.

  51. 51

    In the Hackpack coding console described in the lesson, what can a user do at level one?

    1. A

      Replace the full program with verified new hacks, while the code remains otherwise locked down

    2. B

      Edit only the wiring schematic while leaving the program fully accessible

    3. C

      Change selected variables such as movement speed, but not use verified hacks

    4. D

      Change every part of the program and all of its underlying functions

    Correct answer
    A

    Replace the full program with verified new hacks, while the code remains otherwise locked down

    Explanation

    At level one, the code is locked down, and users can swap in complete, verified hacks rather than editing the code directly.

  52. 52

    What additional capability does level two of the Hackpack coding console provide?

    1. A

      It lets users change selected variables, such as barrel speed or passcode length

    2. B

      It replaces the browser-based console with the Arduino IDE

    3. C

      It allows users only to install complete verified hacks without changing variables

    4. D

      It gives users unrestricted access to change every part of the program

    Correct answer
    A

    It lets users change selected variables, such as barrel speed or passcode length

    Explanation

    At level two, users can change key variables, including examples such as how quickly the barrel turns or how many numbers appear in a passcode.

  53. 53

    What does level three of the Hackpack coding console allow?

    1. A

      Full access to change everything in the code

    2. B

      Access only to a few selected variables

    3. C

      Access only to the wiring diagram, with no code changes

    4. D

      Access only to a fixed set of verified hacks

    Correct answer
    A

    Full access to change everything in the code

    Explanation

    The lesson describes level three as providing full access to change everything in the code.

Question 1 of 53
Question 1 of 53

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent