SIK Lessons 3-9

SIK Lessons 3-9

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

LocoRobo LEDs

LocoRobo LEDs

5th - 12th Grade

14 Qs

Inheritance in python

Inheritance in python

9th - 12th Grade

15 Qs

Small Basic Basics

Small Basic Basics

8th - 9th Grade

10 Qs

Monday Morning Memory Review

Monday Morning Memory Review

9th - 12th Grade

15 Qs

Karel Quizzes 1-5 (Command - Start)

Karel Quizzes 1-5 (Command - Start)

9th - 12th Grade

10 Qs

Ch 3_A Colorful Magazine Cover Design

Ch 3_A Colorful Magazine Cover Design

9th - 12th Grade

13 Qs

Inheritance

Inheritance

12th Grade

7 Qs

Programming with Karel

Programming with Karel

9th - 12th Grade

9 Qs

SIK Lessons 3-9

SIK Lessons 3-9

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Used 9+ times

FREE Resource

10 questions

Show all answers

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

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?