Search Header Logo

Sensor and Coding Quiz

Authored by Fadi Fadi

Computers

6th - 10th Grade

Sensor and Coding Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want to build a device that waters plants when the soil is dry. Which sensor should you use?

Light Sensor

Temperature Sensor

Humidity Sensor

Motion Sensor

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are creating a security system for a classroom. Which sensor would best detect movement?

Light Sensor

Motion Sensor

Gesture Sensor

Temperature Sensor

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want to display a happy face on the micro when the room temperature exceeds 25°C. Which sensor do you need?

Light Sensor

Gesture Sensor

Temperature Sensor

Touch Sensor

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To automatically turn on a light when it gets dark, which sensor would you use?

Temperature Sensor

Light Sensor

Motion Sensor

Microphone

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python code snippet would display a sad face if the light sensor detects low light?

if light_level < 25: display.show(Image.HAPPY)

if motion_detected: display.show(Image.YES)

if sound_detected: display.show(Image.SURPRISED)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want to create a gesture-controlled device that shows a thumbs-up when you wave your hand. Which sensor would you use?

Temperature Sensor

Gesture Sensor

Light Sensor

Touch Sensor

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code snippet turns on an LED when a sound is detected using the microphone?

if sound_detected: led.on()

if light_level > 50: led.off()

if temperature > 30: display.show(Image.HAPPY)

if light_level < 20: display.show("Hello")

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?