PIF-Week 5

PIF-Week 5

9th - 12th Grade

31 Qs

quiz-placeholder

Similar activities

MAPIL ROBOTIKA XI

MAPIL ROBOTIKA XI

11th Grade

35 Qs

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

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

9th - 12th Grade

28 Qs

SOAL UJIAN MID SEMESTER GANJIL 24/25 KONSENTRASI TEI KELAS XI

SOAL UJIAN MID SEMESTER GANJIL 24/25 KONSENTRASI TEI KELAS XI

11th Grade

30 Qs

Fire Safety

Fire Safety

9th - 12th Grade

34 Qs

Mechatronics Systems Quiz

Mechatronics Systems Quiz

12th Grade

30 Qs

KOMPETENSI KEAHLIAN XI

KOMPETENSI KEAHLIAN XI

11th Grade

35 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?