
Review: Flowcharts, Pseudocode, Logic Gates, C++ for Arduino
Authored by Jeremy Moore
Engineering
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to declare an integer variable in C++ for Arduino?
`int number;`
`integer number;`
`var number;`
`num number;`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the symbol of a rectangle represent in a flowchart?
Decision
Process
Input/Output
Start/End
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In pseudocode, how would you represent a loop that runs 10 times?
`FOR i = 1 TO 10`
`WHILE i < 10`
`REPEAT 10 TIMES`
`LOOP 10`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which logic gate outputs true only when both inputs are true?
OR
AND
NOT
XOR
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the `setup()` function in an Arduino sketch?
To initialize variables and pin modes
To run the main loop of the program
To handle errors
To upload the code to the Arduino
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a common method for debugging Arduino code?
Using a debugger tool
Printing messages to the Serial Monitor
Running the code in a simulator
Using breakpoints
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the diamond shape represent in a flowchart?
Process
Input/Output
Decision
Connector
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?