Search Header Logo

Parameters and Return Review

Authored by Sarah Chapa

Computers

9th - 12th Grade

Used 102+ times

Parameters and Return Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the parameter?

hasVowel

str

lower

true

false

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the name of the function?

hasVowel

str

lower

true

false

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the argument for pigify?

updateScreen

statement

text

str

list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

8 % 2 =

0

1

2

3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5 % 2 =

0

1

2

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7 % 3 =

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which code segment results in "true" being returned if a number is odd? Replace "MISSING CONDITION" with the correct code segment.

num % 2 == 0;

num % 0 == 2;

num % 1 == 0;

num % 2 == 1;

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?