100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

ARDUINO PROGRAMMING EXAM QUESTIONS AND VERIFIED ANSWERS

Rating
-
Sold
-
Pages
6
Uploaded on
01-11-2024
Written in
2024/2025

ARDUINO PROGRAMMING EXAM QUESTIONS AND VERIFIED ANSWERS...

Institution
ARDUINO PROGRAMMING
Course
ARDUINO PROGRAMMING









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
ARDUINO PROGRAMMING
Course
ARDUINO PROGRAMMING

Document information

Uploaded on
November 1, 2024
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown

Subjects

Content preview

What is the Arduino IDE's native language? - ANSWER C++

What is an object in object-oriented programming? - ANSWER A
construct that combines functional code with a state

Functional Code - ANSWER Code that does things such as
calculations

States - ANSWER Parts of an object that stores something in memory

What are the three main parts of the Arduino programming language? -
ANSWER functions, values, structure

What are values? - ANSWER variables & constants

digitalRead(pin) - ANSWER Reads the value from a specified digital
pin, either HIGH or LOW

digitalWrite(pin, value) - ANSWER Writes HIGH/LOW value to a digital
pine

Value = HIGH/LOW

pinMode(pin, mode) - ANSWER Configures the pin to behave as either
an input/output

pinMode(pin, mode); what are the three modes? - ANSWER INPUT,
OUTPUT, INPUT_PULLUP

analogRead(pin) - ANSWER Reads the value from an analog pin

Which pins are the analog on the arduino UNO? - ANSWER Those that
range from A0 - A5

, analogReference(type) - ANSWER Configures the reference voltage
used for analog input

Type - which type of reference to use

analogWrite(pin, value) - ANSWER Writes an analog value (PWM
wave) to a pin

random(min, max) - ANSWER generates pseudo-random numbers

delay(ms) - ANSWER pauses the program for the amount of time
specified as parameter

Serial - ANSWER Class used for communication btwn arduino board &
computer/other devices

What are the two main parts of a basic arduino sketch? - ANSWER
void setup() {}

void loop() {}

How does void setup() {} behave? - ANSWER Executes once the
program starts

How does void loop() {} behave? - ANSWER Executes continuously

What is the Serial communication library used for? - ANSWER
Communication btwn arduino board & computer/other devices

Serial.begin(9600); - ANSWER opens the serial port and sets data rate
to 9600 bps

With Serial.begin(), what is the baud rate? - ANSWER bits/second of
communication

Classes - ANSWER Collections of functions

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Humat Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
34
Member since
1 year
Number of followers
4
Documents
1226
Last sold
3 months ago

4.0

4 reviews

5
2
4
0
3
2
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions