Parameters

Parameters

9th Grade

10 Qs

quiz-placeholder

Similar activities

lets test!!

lets test!!

8th - 10th Grade

12 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

NHTW Programming

NHTW Programming

9th Grade

10 Qs

Scratch!

Scratch!

4th Grade - Professional Development

8 Qs

Bài 29. Nhận biết lỗi chương trình

Bài 29. Nhận biết lỗi chương trình

9th - 12th Grade

14 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

CSS9_Q3M3L1_QUIZ5

CSS9_Q3M3L1_QUIZ5

9th Grade

11 Qs

Computer Science Principles: Stages 9-11 Revision

Computer Science Principles: Stages 9-11 Revision

9th - 10th Grade

10 Qs

Parameters

Parameters

Assessment

Quiz

Computers

9th Grade

Practice Problem

Hard

Created by

Sangay Wangmo

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

They are passed to a function in the order they are listed in the function definition

Positional

Keyword

Default

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The parameters that allow us to specify the name of the parameter we are passing a value to ...............

Positonal

Keyword

Default

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The parameters that are used to specify a default value for a parameter if no value is passed when the function is called .........

Positional

Keyword

Default

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The parameter used in this function is .........

def nameAge(name, age):

    print("Hi, I am", name)

    print("My age is ", age)

 

nameAge(name="Prince", age=20)

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identify arguments in this function.

def greet(name, message):

    print(message, name)

greet("John", "Hello")

name

John

print

greet

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identify parameter in this function.

def greet(name, message):

    print(message, name)

greet("John", "Hello")

hello

message

greet

print

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print(), len(), input() functions are user defined funcitons.

True

False

Create a free account and access millions of resources

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?