
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
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
9 questions
Microbit Features Activity
Quiz
•
6th - 8th Grade
10 questions
DBMS- CLASS8 CBSE
Quiz
•
7th - 10th Grade
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
Anime
Quiz
•
KG - University
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
9 questions
Napewno tego nie wiesz! - VIKI GABOR
Quiz
•
1st - 10th Grade
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
