RETURN VALUE

RETURN VALUE

6th - 8th Grade

8 Qs

quiz-placeholder

Similar activities

Spreadsheet Homework 2

Spreadsheet Homework 2

7th Grade

10 Qs

Homework 1 Edublocks

Homework 1 Edublocks

7th - 9th Grade

12 Qs

Scratch

Scratch

7th Grade

11 Qs

ASCII Table and Binary Conversion

ASCII Table and Binary Conversion

7th Grade

10 Qs

Python Fundamentals

Python Fundamentals

8th Grade

12 Qs

Micro:bit Code Review

Micro:bit Code Review

6th Grade

11 Qs

Starting to learn Swift coding

Starting to learn Swift coding

7th Grade

10 Qs

Swift Playground

Swift Playground

5th - 6th Grade

12 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=______________