Arduino Quiz #11: Functions
Quiz
•
Information Technology (IT)
•
11th Grade
•
Practice Problem
•
Easy
Joshua.Teacher Mclean
Used 3+ times
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of using functions in an Arduino sketch?
They make the code run faster.
They help organize and modularize the code.
They increase the memory usage.
They make the code harder to read.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a required function in an Arduino sketch?
begin()
initialize()
setup()
main()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'myMultiplyFunction' do in the example provided?
Adds two numbers
Subtracts two numbers
Multiplies two numbers
Divides two numbers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where should a custom function be declared in an Arduino sketch?
Inside the setup() function
Inside the main() function
Inside the loop() function
Outside any other function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'ReadSens_and_Condition' function?
To initialize a sensor
To write data to a sensor
To read a sensor, average the readings, scale, and invert the result
To read a sensor and return the raw value
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times does the 'ReadSens_and_Condition' function read the sensor?
Five times
Four times
Six times
Three times
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the 'myMultiplyFunction' when called with parameters 2 and 3?
8
5
6
7
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
12 TKJ Hosting, Domain & Jenis Layanan Hosting
Quiz
•
12th Grade
17 questions
Quiz 4 - Informatika
Quiz
•
12th Grade
16 questions
2.3 Programming Data Review
Quiz
•
9th - 12th Grade
13 questions
Generative AI
Quiz
•
12th Grade
15 questions
Pengenalan Arduino
Quiz
•
12th Grade
20 questions
Understanding Database Technologies, Relational Model, and Data
Quiz
•
University
15 questions
S2 Microsoft Access Database Quiz
Quiz
•
10th Grade - University
20 questions
Digitalization and Development
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Thanksgiving Trivia
Quiz
•
11th Grade
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
