Arduino Quiz #10: Arrays and Loops
Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
Joshua.Teacher Mclean
Used 5+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of using an array in the Arduino example?
To reduce the memory usage
To make the code more complex
To increase the speed of the program
To store multiple values in a single variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the Arduino example, what does the array 'ledPins' represent?
The pin numbers to which LEDs are attached
The sequence of LED colors
The delay times for each LED
The brightness levels of the LEDs
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many LEDs are used in the Arduino example?
4
5
7
6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the 'pinMode' function in the setup?
To set the pin as an input
To set the pin as an output
To read the value from the pin
To write a value to the pin
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'delay' function in the loop?
To pause the program for a specified time
To turn off the LEDs
To change the LED color
To reset the Arduino board
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the 'timer' variable in the code?
200
150
100
50
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is the correct way to write an array?
int numbers [] = {12,32,32,55,32};
int numbers() = [0,1,4,5,3,4];
int {} numbers = [ 9, 4, 5, 6, 2];
int [] numbers = (32;24;42;54;);
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
TIK KELAS 9
Quiz
•
9th Grade - University
20 questions
Web 1.5-1.6 Bacaan
Quiz
•
11th Grade
20 questions
TJAT--SK,Elektronika & Mikroprosesor
Quiz
•
11th Grade
20 questions
Computer Basics Quiz
Quiz
•
7th Grade - University
20 questions
Ulangan Harian Jaringan Komputer dan Internet XI
Quiz
•
11th Grade
13 questions
Exploring Computer Network Models
Quiz
•
10th Grade - University
15 questions
Introduction to the Drone Industry
Quiz
•
10th Grade - University
20 questions
Informatique et nouvelles technologies, le saviez-vous ?
Quiz
•
1st Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
13 questions
Halloween Movie Trivia
Quiz
•
9th - 12th Grade
7 questions
Halloween - Myths & Legends
Interactive video
•
10th - 12th Grade
