Review:  Flowcharts, Pseudocode, Logic Gates, C++ for Arduino

Review: Flowcharts, Pseudocode, Logic Gates, C++ for Arduino

11th Grade

25 Qs

quiz-placeholder

Similar activities

Quiz Pemrograman Arduino

Quiz Pemrograman Arduino

11th Grade - University

20 Qs

Опрос для проекта  "Национальные и интернациональные особенности архитектуры модерна"

Опрос для проекта "Национальные и интернациональные особенности архитектуры модерна"

9th - 12th Grade

28 Qs

Ôn thi HKI Khối 11

Ôn thi HKI Khối 11

11th Grade

20 Qs

DE Flash Cards

DE Flash Cards

11th Grade

20 Qs

10.6 Switches and Transistors

10.6 Switches and Transistors

11th Grade

20 Qs

Komdat XI Genap

Komdat XI Genap

11th Grade

25 Qs

CH 15: Sequencer Instructions

CH 15: Sequencer Instructions

11th Grade

20 Qs

CH 13: PLC Logic & Bit Shift Routines

CH 13: PLC Logic & Bit Shift Routines

11th Grade

20 Qs

Review:  Flowcharts, Pseudocode, Logic Gates, C++ for Arduino

Review: Flowcharts, Pseudocode, Logic Gates, C++ for Arduino

Assessment

Quiz

Engineering

11th Grade

Medium

Created by

Jeremy Moore

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?