stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Basics of Arduino Programming and Knowledge Flashcards | StudBud
Explore
/
Basics of Arduino Programming and Knowledge
Basics of Arduino Programming and Knowledge
25 terms
·
StudBud Administration
·
139 plays
Imported from external platform
Flashcards
25 cards
F
Practice quiz
P
Host live
L
Questions
25
Answers
1
When is the setup() function occur in a program?
Idk
Somewhere in between
At the end
At the start
2
What does // and /*...*/ represent
line and block comments
variable declarations
setup and loop functions
variable scopes
3
Block and line comments get ignored by the program.
False
True
4
What does the below image represent?
Variable scope
Setup/loop function
Datatypes
Variable declaration
5
You should use the "randomSeed" function after the "random(max)" function?
True
False
6
What are the two types of pins which are displayed on an Arduino?
Distinguishable and Annual
Digital and Analog
Distinguishable and Analog
Digital and Annual
7
pinMode configures a specified pin to behave as an input or an output.
False
True
8
What measurement of time does the delay function pause the program with?
Nanoseconds
Attoseconds
Centiseconds
Milliseconds
9
TRIVIA: Where did the Arduino originate?
Lisbon, Portugal
Málaga, Spain
Ivrea, Italy
Malé, Maldives
10
Why are variables needed?
To Do MaTh..
to set a numerical value for the program
to give the timing of the program
to tell what the function is
11
The program from Arduino is based on C++.
False
True
12
What is the ratio of digital pins to analog inputs
15:20
14:6
12:4
1:2
13
What are compound assignments consisted of?
Arithmetic operations and functions
Setup and loop functions
Arithmetic operations and variable assignments
Datatypes and functions
14
Is this an example of correct code?
Yes
No
15
What are some examples of conditional statements?
do... while
pinMode
if... else/for
if/while
16
Is the connection to an Arduino with an USB?
Maybe...
Yes
No
Only on occasions
17
What is an Arduino?
a conductor
a microchip
a power supply
the brain of the circuit and program
18
What do curly braces do?
Tell what the function is
Tell the beginning and end of a function
Tell why the function is there
Tell where the function is
19
Where does a semicolon in the code go?
Before the statement
After the statement
Inside the loop to separate
In the middle of a setup function
20
Is this the basic structure of Arduino programming?
Yes
No
21
CHALLENGE: What does the image below represent?
analog output
pwm output
high current output
digital input
22
What are highlighted in the below image?
Block comments
Functions
Line comments
Variable declarations
23
What are the five types of datatypes?
short, straight, type, power, kick
long, float, int, byte, and array
var, zip, inr, type, sound
IDK(So that Ms. Iyengar can teach you)
24
The loop() function commands the circuit to do an action...
and change every once in a while
and then stop
maybe in a fortnite... LOL
repeatedly (in a loop)
25
What are some examples of constatnts
Input/output
True/false
High/low
Setup/loop