BARU
Ukuran huruf
Lembar kerja🤖 Physical Computing - Final Assessment
Total soal: 60
Worksheet time: 30mins
What is a microcontroller unit (MCU)?
A large computer used for data analysis
A type of computer used for word processing
A type of computer used for gaming
A small computer designed to perform a specific task in an embedded system
Where might you find a microcontroller in your house, and what tasks would it perform?
In a refrigerator to control the temperature and defrost cycle.
In a microwave to control the cooking time and temperature.
In a washing machine to control the wash cycle and water temperature.
All of the above.
What is the Raspberry Pi Pico?
A low-cost, high-performance microcontroller board
A type of wireless router
A type of fruit
A type of computer monitor
What are the features of the Raspberry Pi Pico?
CPU, GPU, RAM
LED, Button, Temperature Sensor
Keyboard, Mouse, Monitor
Printer, Scanner, Copier
What do General-Purpose Input/Output (GPIO) pins allow you to do?
Connect input and output devices to Raspberry Pi Pico and obtain or send signals between them
Play video games
Connect to the internet
Write documents
What does the onboard LED do on the Raspberry Pi Pico?
Prints documents
Flashes to produce output in the form of a flashing light
Plays music
Displays text on a screen
What does the onboard temperature sensor do in a Raspberry Pi Pico?
Makes phone calls
Sends emails
Delivers a voltage to the built-in temperature sensor that is proportional to the temperature
Plays videos
What is the purpose of the sleep function in the code provided for the onboard LED?
To display text on a screen
To speed up or slow down the flashing onboard LED
To turn the LED on and off
To play music
What is the purpose of the conversion_factor in the code provided for the onboard temperature sensor?
To convert the reading from the sensor to a temperature value
To play videos
To convert the temperature to a reading for the sensor
To send emails
What is the purpose of the utime.sleep(2) function in the code provided for the onboard temperature sensor?
To introduce a delay of 2 seconds before the next temperature reading
To turn off the temperature sensor
To play music
To display text on a screen
What is this feature of the Raspberry Pi Pico called?
USB Connector
Ethernet Port
Wi-Fi Adapter
HDMI Port
What is this feature of the Raspberry Pi Pico called?
Onboard LED
Onboard RAM
USB Port
Programmable Buttons
What is this feature of the Raspberry Pi Pico called?
GPIO
USB Port
Ethernet Connection
Wi-Fi Capability
What is this feature of the Raspberry Pi Pico called?
CPU
USB Port
GPIO Pin
Wi-Fi Adapter
What is this feature of the Raspberry Pi Pico called?
Debug
Sound
Bluetooth Connectivity
Video Output
What type of connection is this?
GND
3.3v
VCC
5v
What is the function of a breadboard in physical computing?
To make solderless connections between electronic components
To control the flow of current in the circuit
To store data for the microcontroller
To provide power to the circuit
Which leg of an LED is the positive leg?
The left leg
The long leg
The middle leg
The short leg
What is the purpose of a resistor in a circuit with an LED?
To increase the brightness of the LED
To control the voltage of the LED
To limit the current flowing through the LED
To change the color of the LED
In MicroPython code, what does the 'led.value(1)' line do?
Flashes the LED
Changes the color of the LED
Turns off the LED
Turns on the LED
What happens when you decrease the SLEEP value in the MicroPython code?
The LED changes color.
The LED flashes faster.
The LED flashes slower.
The LED becomes dimmer.
What is the purpose of the 'led1.toggle()' line in MicroPython code?
Changes the color of the first LED
Turns off the first LED
Turns on the first LED
Toggles the state of the first LED
What happens when you change each SLEEP value to different values in the provided code?
The LEDs flash at different speeds
The LEDs change color
The LEDs flash at the same speed
The LEDs turn off
What is the main function of an LED?
To emit light when current flows through it.
To store data for the microcontroller.
To control the flow of current in the circuit.
To provide power to the circuit.
What is the name of this component?
Bulb
Light Emitting Diode
Resistor
Sensor
What is the most suitable use of this component?
To increase electrical flow
To keep a stable current
To reduce electrical flow
To make a circuit pretty
Identify this component.
Arduino Uno board
Raspberry Pi
Breadboard / Protoboard
White Plastic Board
Where should the pin of the LED be connected to the microcontroller for the LED to light up?
A: 5V
B: 3.3V
A: Gnd
B: 5V
A: Pin 5
B: 5V
A: 3.3V
B: Gnd
What does GPIO stand for?
General Purpose Inner Outer Propeller
General Purpose Input Output Pins
General Purpose Interested Old People
General Purpose Input Output Processor
Which type of buttons require continuous compression to remain 'on' or 'off'?
Rotary switch
Latching push button switch
Momentary push buttons
Toggle switch
What do the values 1 and 0 mean on the LEDs?
1 means high voltage and 0 means low voltage
1 means on and 0 means off
1 means low voltage and 0 means high voltage
1 means off and 0 means on
What does the sleep value represent in the code?
Time for the circuit to reset
Time for the program to wait before executing the next line
Time for the LED to light up
Time for the button to remain pressed
What are some uses for buttons and LEDs?
Controlling traffic lights
Creating a game controller
Building a home automation system
All of the above
What type of switch is a light switch?
Rotary switch
Latching push button switch
Toggle switch
Momentary Push Buttons
What is the purpose of using resistors in a circuit?
To amplify the signal
To decrease the resistance
To increase the voltage
To control the flow of current
What is the function of the onboard LED in the circuit?
To indicate button press
To indicate power supply
To indicate circuit overload
To indicate LED malfunction
What is the function of the sleep function in the code?
To reset the circuit
To put the program to sleep
To turn off the LEDs
To delay the execution of the next line
What is the purpose of using a breadboard in the circuit?
To provide power to the components
To increase the resistance in the circuit
To amplify the signal
To connect the components without soldering
What type of device is a button?
Input Device
Button Device
Output Device
Network Device
A momentary push button must be held down to function. TRUE or FALSE?
True
False
What is this feature of the Raspberry Pi Pico called?
BOOTSEL
GPIO Expansion
USB-C Connector
UART Interface
What is the correct syntax for adding an action to a button in MicroPython?
btn = Pin(25, Pin.IN)
btn = Pin(4, Pin.IN, Pin.PULL_UP)
btn = Pin(4, Pin.IN, Pin.DOWN)
btn = 4, Pin.IN
Which Python module provides access to the pins on the Pico board?
utime
machine
time
sleep
What is a traffic light controller?
A system that controls the speed of vehicles
A system that plays music at traffic lights
A system that monitors pedestrian movements
A system that changes the lights on a timer
What is the purpose of a current-limiting resistor when connecting an LED to a Pico?
To change the color of the LED
To increase the brightness of the LED
To make the LED blink at a faster rate
To prevent the LED from burning out
What does the buzzer do in the traffic light code?
It indicates a malfunction in the system.
It signals the end of the traffic light sequence.
It plays music.
It alerts pedestrians about the traffic light change.
What is the purpose of the 'while' loop in the traffic light code?
To check the value of the button.
To control the traffic light sequence.
To activate the buzzer.
To initialize the LED pins.
What is the purpose of the utime.sleep() function in the code?
To reset the button value
To activate the buzzer
To pause the program for a specified duration
To turn off the LED
What does a flashing amber light on a UK traffic light mean?
Stop and wait for the light to turn green
Proceed with caution
Stop and give way to oncoming traffic
No action is required
Which of the following is the correct order of sequence for the UK Pelecan crossing?
Red, Green, Amber
Green, Amber, Red
Amber, Green, Red
Green, Red, Amber
Which GPIO Pin number is used to light the onboard LED?
25
15
4
23
How many lights are used in a standard pelican crossing ?
8
6
10
12
Is a LED Light an Input or Output device?
Input
Output
What is a traffic light controller?
A system that controls the speed of vehicles
A system that plays music at traffic lights
A system that monitors pedestrian movements
A system that changes the lights on a timer
What is the purpose of a current-limiting resistor when connecting an LED to a Pico?
To change the color of the LED
To increase the brightness of the LED
To make the LED blink at a faster rate
To prevent the LED from burning out
What does MIDI stand for?
Musical Instrument Data Interface
Music Instrument Data Interface
Music Instrument Digital Interface
Musical Instrument Digital Interface
How do computers use MIDI?
To connect devices that make and control sound
To connect devices that display images
To connect devices that calculate numbers
To connect devices that process text
Where can you get MIDI songs from?
Vinyl records
Music CDs
Online music stores
Synthesizers, samplers, and computers
What is represented as HEXADECIMAL Numbers in MIDI?
Data
Sound waves
Images
Videos
What type of component is this?
Pizza Button
Piezo Buzzer
Speaker
Diode Amplifier
