DT 8th Computer Science

DT 8th Computer Science

8th Grade

10 Qs

quiz-placeholder

Similar activities

PLTW_Robotics_Final

PLTW_Robotics_Final

6th - 8th Grade

12 Qs

Finch Movement Review

Finch Movement Review

6th - 8th Grade

12 Qs

Python programming -recap

Python programming -recap

7th - 10th Grade

12 Qs

Computer Hardware - RAM & ROM Differences

Computer Hardware - RAM & ROM Differences

4th - 12th Grade

10 Qs

Edison Robot Program

Edison Robot Program

8th Grade

15 Qs

Block Coding

Block Coding

3rd - 9th Grade

9 Qs

BrainPOP Loops

BrainPOP Loops

8th Grade

10 Qs

Using Indexes in Python Lists

Using Indexes in Python Lists

8th Grade

10 Qs

DT 8th Computer Science

DT 8th Computer Science

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Miss T

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a block-based program, an "if-then" block is used to control an LED. The block is as follows:

If the light is greater than 500, then turn on the LED.  

What will happen if the light is less than 500? 

The LED will turn on

The LED will turn off

Nothing will happen

The program will stop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an Arduino program, a PIR motion sensor is used to detect movement. The program code is as follows:

if (movement == HIGH) { activateAlarm(); }  


What does the condition "movement == HIGH" mean? 

There is no movement

Movement has been detected

The alarm is deactivated

The sensor is broken

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an Arduino project, a light sensor (LDR) is used to detect light intensity. The program code is as follows:

if (light < 300) { turnOnLED(); }  

What will happen if the light intensity is greater than 300? 

The LED will turn on

The LED will turn off

The LED will blink

Nothing will happen

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a block-based program, a "repeat" block is used to execute a set of instructions multiple times.

The block is as follows: Repeat 5 times {turn on the LED}  

What will happen after the instructions are executed 5 times? 

The LED will turn off

The LED will turn on permanently 

The program will stop

The instructions will be executed again

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an Arduino project, a light sensor is used to control an LED. The program code is as follows:

if (light > 500) { digitalWrite(LED, HIGH); }  

What will happen if the value of "light" is 300? 

The LED will turn on

The LED will turn off

Nothing will happen

The program will stop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a block-based program, an "if-then" block is used to control a motor. The block is as follows:

If the temperature is greater than 30, then turn on the motor.  

What will happen if the temperature is 25? 

The motor will turn on

The motor will turn off

Nothing will happen

The program will stop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a block-based program, a "wait" block is used to pause the program for a certain amount of time.
The block is as follows: Wait 2 seconds.  
What will happen after 2 seconds have passed? 

The program will stop

The program will continue running

The instructions will be executed again

The LED will turn on permanently

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?