L 11-Tug of Leds

L 11-Tug of Leds

5th Grade

10 Qs

quiz-placeholder

Similar activities

Computers - Input Devices

Computers - Input Devices

3rd - 5th Grade

10 Qs

ict exam

ict exam

KG - Professional Development

10 Qs

Coding

Coding

5th Grade

10 Qs

Queen's Cupcake

Queen's Cupcake

5th Grade

10 Qs

Introduction to Scratch

Introduction to Scratch

5th - 6th Grade

10 Qs

LocoRobo LEDs

LocoRobo LEDs

5th - 12th Grade

14 Qs

Input & Output Devices

Input & Output Devices

1st - 6th Grade

15 Qs

Scratch 7

Scratch 7

4th - 11th Grade

10 Qs

L 11-Tug of Leds

L 11-Tug of Leds

Assessment

Quiz

Computers

5th Grade

Hard

Created by

Tarannum Jetlearn

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What is function?

It allows the code written to be used as a single block

Function is nothing but a piece of instruction


A function is a sequence of program instructions that performs a specific task, packaged as a unit



None of the above


2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the use of this block?

To plot a LED at specified (x,y) location

To unplot a LED at specified (x,y) location

To toggle a LED at specified (x,y) location


None of the above


3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the purpose of this function?

To control the brightness of the LEDs

To clear the screen and display an LED at position (Light, 2)

To adjust the speed of the game

To generate random LED positions

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the line basic.clearScreen() in the Draw_light() function?

To reset the game

To make sure the previous LED is cleared before plotting a new one.

To increase the brightness of the LED

To change the game mode

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the purpose of setting Light = 2 after displaying a win message?

To increase the difficulty

To reset the game to its starting position

To end the game

To change the icon being displayed

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What happens if Light becomes greater than or equal to 4?

The screen displays "B wins"

The game continues without any change

The LED moves back to the center

The variable Light is incremented by 1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What happens if Light becomes lesser than or equal to 0?

The screen displays "A wins"

To pause the game for a while

The LED moves back to the center

To prevent the LED from moving out of bounds

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?