
Functions Overview: Arduino Course 3.5
Interactive Video
•
Engineering, Information Technology (IT), Architecture, Other
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary role of functions in a programming language?
To store data
To perform actions
To compile code
To define variables
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the general values that a function expects to operate called?
Parameters
Constants
Variables
Arguments
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can you find information about the parameters a function requires?
In the reference manual
In the compiler settings
In the function's name
In the code comments
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is it called when you provide specific values to a function?
Assigning
Passing
Referencing
Calling
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of function returns a value after execution?
Returning function
Void function
Static function
Recursive function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'digitalRead' function do?
Writes a value to a pin
Reads the state of a pin
Converts Celsius to Fahrenheit
Calculates the time elapsed
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function does not require any parameters to operate?
digitalWrite
analogRead
Serial.begin
Millis
Access all questions and much more by creating a free account
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?