For loop (looper projects) (Fibonacci series)

For loop (looper projects) (Fibonacci series)

5th Grade

10 Qs

quiz-placeholder

Similar activities

8.3 Micropython unit tests

8.3 Micropython unit tests

5th Grade

10 Qs

Blockly loops 2

Blockly loops 2

5th Grade

15 Qs

Loops and Conditionals

Loops and Conditionals

5th - 6th Grade

10 Qs

CodeMonkey 0-35 Review

CodeMonkey 0-35 Review

5th - 8th Grade

14 Qs

Hour of Code

Hour of Code

4th Grade - Professional Development

13 Qs

Back to Basics: Python Lesson 6 - 7 Review

Back to Basics: Python Lesson 6 - 7 Review

5th Grade

10 Qs

Code.org (1-8)

Code.org (1-8)

5th - 8th Grade

10 Qs

Python Loops

Python Loops

1st - 6th Grade

9 Qs

For loop (looper projects) (Fibonacci series)

For loop (looper projects) (Fibonacci series)

Assessment

Quiz

Computers

5th Grade

Hard

Created by

Tarannum Jetlearn

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are for loops?

Loops that repeat code when a certain condition is true


loops that repeat code for a given number of times using an index.


Loops that run all the time.

none of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best explains the 'index'?

It represents the number of the currently executing iteration.

It represents the count of how many times the loop runs

It represents the number of code blocks that run inside the loop

It represents the number of a random iteration

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following shows correct fibonacci series?

0,2,2,4,6,10...

1,2,3,4,6,....

0,1,1,2,3,5,8...

1,3,4,7,11,18....

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill the missing number in the given fibonacci series 5, 8, 13, 21, 34, ...., 89, 144

52

53

54

55

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the main function of the code?

To create a blinking effect for each LED individually

To strobe the LEDs on and off sequentially

To display a moving pattern on the grid

To blink only the corner LEDs

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times does the outer loop run in each part of the code?

4 times

5 times

10 times

25 times

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the purpose of the led.plot(column, row) line in the first loop?

To turn off all LEDs

To change the LED color

To light up the specified LED

To move the LED position

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?