DT 8th Computer Science

DT 8th Computer Science

8th Grade

10 Qs

quiz-placeholder

Similar activities

Python

Python

8th - 9th Grade

15 Qs

HEALTH AND SAFETY 9

HEALTH AND SAFETY 9

7th - 9th Grade

11 Qs

LEDs on micro:bit

LEDs on micro:bit

8th Grade

15 Qs

Encryption and Public Keys

Encryption and Public Keys

6th - 8th Grade

8 Qs

ICT Grade 8

ICT Grade 8

8th Grade

10 Qs

Review for Midterm Test ICT 3

Review for Midterm Test ICT 3

1st - 11th Grade

15 Qs

ROBOTICS DIWALI CAMP

ROBOTICS DIWALI CAMP

4th - 12th Grade

15 Qs

Python List

Python List

4th Grade - University

15 Qs

DT 8th Computer Science

DT 8th Computer Science

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

Miss T

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?