Search Header Logo

RETURN VALUE

Authored by Avocado Go

Computers

6th - 8th Grade

RETURN VALUE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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=_____+_

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?