RETURN VALUE

RETURN VALUE

6th - 8th Grade

8 Qs

quiz-placeholder

Similar activities

Spreadsheet Homework 2

Spreadsheet Homework 2

7th Grade

10 Qs

C++ Operators

C++ Operators

6th - 8th Grade

12 Qs

ASCII Table and Binary Conversion

ASCII Table and Binary Conversion

7th Grade

10 Qs

Python Fundamentals

Python Fundamentals

1st - 10th Grade

12 Qs

Programming with Karel the Dog 2

Programming with Karel the Dog 2

6th - 9th Grade

13 Qs

Micro:bit Code Review

Micro:bit Code Review

6th Grade

11 Qs

Collecting Treasure with Laurel: Lesson 3

Collecting Treasure with Laurel: Lesson 3

6th Grade - University

10 Qs

Quiz1_HPB2021_2010t1

Quiz1_HPB2021_2010t1

1st - 12th Grade

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