PIF-Week 5

PIF-Week 5

9th - 12th Grade

31 Qs

quiz-placeholder

Similar activities

Electrical Fault Finding 4

Electrical Fault Finding 4

12th Grade

30 Qs

Quiz Alat Berat

Quiz Alat Berat

10th Grade

30 Qs

PAS - MAPEL PILIHAN - XI TKJ 2 - GENAP TP. 2024/2025

PAS - MAPEL PILIHAN - XI TKJ 2 - GENAP TP. 2024/2025

11th Grade

33 Qs

Опрос для проекта  "Национальные и интернациональные особенности архитектуры модерна"

Опрос для проекта "Национальные и интернациональные особенности архитектуры модерна"

9th - 12th Grade

28 Qs

Arduino2

Arduino2

9th - 12th Grade

35 Qs

Quiz IoT dan Arduino

Quiz IoT dan Arduino

12th Grade

30 Qs

Using Arduino to Blink an LED

Using Arduino to Blink an LED

12th Grade

28 Qs

SOAL UJIM MID SEMESTER GANJIL KONSENTRASI XI TAV

SOAL UJIM MID SEMESTER GANJIL KONSENTRASI XI TAV

11th Grade

30 Qs

PIF-Week 5

PIF-Week 5

Assessment

Quiz

Engineering

9th - 12th Grade

Medium

Created by

Chun Ng

Used 1+ times

FREE Resource

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the primary function of a microcontroller?
Perform complex calculations in a computer
Store and retrieve large amounts of data
Display information on a screen
Control the behavior of electronic devices
Connect to the internet

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT a key component of a microcontroller?
CPU (Central Processing Unit)
ALU (Arithmetic Logic Unit)
Memory (RAM, ROM)
Keyboard
Input/Output peripherals

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of the Arduino setup() function?
Execute code repeatedly
Read data from sensors
Control the brightness of an LED
Initialize variables and settings once at the beginning
Define a function for later use

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which Arduino function is used to configure a digital pin as an output?
digitalRead()
digitalWrite()
pinMode()
delay()
Serial.print()

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the following code do? <br> digitalWrite(13, HIGH);
Reads the state of digital pin 13
Sets digital pin 13 to high (turns on an LED connected to pin 13)
Sets digital pin 13 to low
Configures digital pin 13 as an input
Prints the value of pin 13 to the serial monitor

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which function is used to read the value of an analog pin in Arduino?
digitalRead()
analogRead()
pinMode()
digitalWrite()
delay()

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of the delay() function in Arduino?
Read data from a sensor
Print output to the serial monitor
Pause the program execution for a specified time
Define a function
Control the brightness of an LED

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?