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
Already have an account?
Similar Resources on Wayground
15 questions
Table,Image formatting
Quiz
•
5th Grade - University
15 questions
POST-TEST
Quiz
•
University
15 questions
Kelas 7 - Halaman 12 (UH Bab 1)
Quiz
•
7th Grade - University
20 questions
Ulangan Internet Kelas 8.9
Quiz
•
8th Grade - University
20 questions
LONG QUIZ MIS
Quiz
•
University
19 questions
Asesmen Sumatif Informatika
Quiz
•
12th Grade
15 questions
Recap Handout 3 & 4
Quiz
•
6th Grade - University
15 questions
Quiz #2
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University
