Search Header Logo

SIK Lessons 3-9

Computers

9th - 12th Grade

10 Questions

Used 9+ times

SIK Lessons 3-9
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Purpose is to simulate an analog output

Voltage Divider

Pulse Width Modulation

Pull-Up Resistor

Servo

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A code command that is used to make choices in your program

While loop

For loop

If/Else Statement

Constrain

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this segment of code do?


int ledPins[ ] = [2,3,4,5,6,7,8,9];

digitalWrite(ledPins[1], LOW);

Turns digital pin 3 on

Turns digital pin 2 off

Turns digital pin 2 on

Turns digital pin 3 off

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this segment of code do?


if ((mode == heat) && ((temperature < threshold) || (override == true)))

{

digitalWrite(HEATER, HIGH);

}

Will turn on heater if you're in heating mode OR the temperature is low AND if you turn on a manual override

Will turn on heater if you're in heating mode AND the temperature is low OR if you turn on a manual override

Will turn on heater if you're in heating mode AND the temperature is high OR if you turn on a manual override

Will turn on heater if you're in heating mode OR the temperature is high AND if you turn on a manual override

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not like the others?

Photo Resistor

Flex Sensor

Potentiometer

Servo

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which word represents speed in bits per second?

bandwidth

baud rate

latency

bit rate

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this segment of code do?


lightLevel = map(lightLevel, 0, 1023, 0, 255);

It will take lightLevel's current range from 0 to 255 and expand it into the large range from 0 to 1023

It will assign lightLevel a series of values that include 0, 1023, 0 and 255

It will take lightLevel's current range from 0 to 1023 and squeeze it into the smaller range from 0 to 255

It will assign lightLevel a high value of 1023

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?