RETURN VALUE

RETURN VALUE

6th - 8th Grade

8 Qs

quiz-placeholder

Similar activities

Python while loop

Python while loop

8th Grade - University

13 Qs

scratch code review

scratch code review

4th - 8th Grade

10 Qs

Key Concepts 1

Key Concepts 1

5th - 7th Grade

11 Qs

Scratch (1)

Scratch (1)

7th - 8th Grade

10 Qs

PS code.org Assessment

PS code.org Assessment

7th Grade

10 Qs

Y7 Term 2 - Week 1 Subroutines & Decompostion

Y7 Term 2 - Week 1 Subroutines & Decompostion

6th - 7th Grade

10 Qs

Spreadsheet Charts & Advanced Functions

Spreadsheet Charts & Advanced Functions

6th - 8th Grade

11 Qs

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

13 Qs

RETURN VALUE

RETURN VALUE

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Avocado Go

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

According to this level and it's code, what will the panda say at the end?

1

2

3

4

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Fix this line of code with WRONG syntax.

return.count

Evaluate responses using AI:

OFF

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank.

count=collectAndCount()

say(_____)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use of "Return Value" method.

To count the number of capsules in a curtain color in the level.

To make the panda say something.

To make counting more complicated.

To count the number of capsules in the level.

5.

OPEN ENDED QUESTION

3 mins • 1 pt

Write a line of code that has the variable "count" being involved with the Return Value method.

Evaluate responses using AI:

OFF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is this code correct?

def collectAndCount():

forward(3)

count=collectAndCount

say(count)

Yes

No

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank.

*after you collect 1 capsule

count=_____+_

8.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank.

**the name of the function is collectAndCount

count=______________