Arduino Quiz #11: Functions

Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
Joshua.Teacher Mclean
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
ARDU TEST

Quiz
•
9th Grade - University
17 questions
Arduino Quiz #10: Arrays and Loops

Quiz
•
11th Grade
14 questions
Elementos da Programação em Quiz

Quiz
•
12th Grade - University
20 questions
TJAT--SK,Elektronika & Mikroprosesor

Quiz
•
11th Grade
20 questions
QUIZ KELAS XII

Quiz
•
12th Grade
20 questions
IoT and Arduino Quiz

Quiz
•
12th Grade
20 questions
Sensor dan Servo Motor Arduino

Quiz
•
11th Grade
15 questions
12.B3.4. Serial Program Arduino

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Information Technology (IT)
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade