0 of 9 questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 9 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
What is the correct way to write an “If Else” statement
What objects below are considered an input? (Multiple Answers)
Do you have any feedback for us to improve this lesson?
This response will be awarded full points automatically, but it will be reviewed and possibly adjusted after submission.
Which of the following best describes the default Arduino IDE functions setup() and loop()?
If you try to compile (by hitting the checkmark in the Arduino IDE) after removing/renaming either setup() or loop(), you will receive an error and it will not compile and push the code to the board.
Additionally, if you run the following code on your HERO board and open the serial monitor (magnifying glass button), you can get a good idea for the flow of the program:
void setup() {
Serial.begin(9600);
Serial.println(“I’m In Setup!”);
}
void loop() {
Serial.println(“I’m in Loop!”);
delay(500); //delay of half a second
}
Which of the following is an example of a “Character” (char) data type?
Which of the following is an example of an “Integer” (int) data type?
Which of the following is an example of a “Double” (double) data type?
Which of the following is an example of a “String” (string) data type? (select all that apply)
Which of the following is an example of a “Boolean” (bool) data type?
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.