
DT 8th Computer Science
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Miss T
Used 4+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
10 questions
Informatika
Quiz
•
6th - 8th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
10 questions
Tables in HTML
Quiz
•
7th - 8th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
11 questions
Youtube
Quiz
•
4th Grade - University
12 questions
Microsoft Office Word
Quiz
•
4th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
