Search Header Logo

MYP3

Authored by Fatema Dhorajiwala

Computers

8th Grade

Used 2+ times

MYP3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

An if statement can be followed by an optional else statement, which executes when the boolean expression is ____.

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

An LED has two legs, a positive, and a negative, the positive leg can go to the positive ____of the Arduino, and the negative leg can go to the negative _____ of the Arduino.

GND, VCC

VCC, GND

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the digitalWrite() function, ___means On, and ___means Off.

High, Low

LOW, HIGH

Low, High

HIGH, LOW

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The delay() function helps us ________.

Skip few lines of instructions

Makes computer faster

Allows you to pause the execution of your program for a specified period

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The___________ function tells your Arduino to change the state of the device connected at a pin no.

digitalRead()

digitalWrit()

digitalWrite()

digitalRW()

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A buzzer is a basic audio device that _______ a sound from an incoming electrical signal. 

generates

reflects

sends

recevies

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Variable declarations usually follow the syntax _______

  1. variable_name datatype;

  1. datatype variable_name;

  1. variable_name datatype

datatype variable_name

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?