L 11-Tug of Leds

L 11-Tug of Leds

5th Grade

10 Qs

quiz-placeholder

Similar activities

2do Primaria Verde - Partes de la computadora

2do Primaria Verde - Partes de la computadora

1st - 5th Grade

14 Qs

Arduino_2

Arduino_2

3rd Grade - University

10 Qs

Day#6

Day#6

1st Grade - University

10 Qs

tinkercad_week3

tinkercad_week3

4th - 5th Grade

10 Qs

For loop (looper projects) (Fibonacci series)

For loop (looper projects) (Fibonacci series)

5th Grade

10 Qs

LED SCREEEEEENS!

LED SCREEEEEENS!

KG - Professional Development

6 Qs

Types of Networks

Types of Networks

5th - 8th Grade

10 Qs

Information Transfer

Information Transfer

4th - 6th Grade

12 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?