Search Header Logo

Python Quizz 3

Authored by heng mptc

Other

University

Used 1+ times

Python Quizz 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

-> def my_function():

...

...

What is "my_fuction"?

function name

variable

boolean

float

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

-> def _my_function():

...

...

Will this function work?

Work

Not work

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def 2_name():

...

...

Will this function work?

Work

Not work

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

-> def my_function(a):

...

...

what is "a" is the bracket?

Variable

Parameter

Argument

Integer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

-> def my_function(a):

...

...

-> my_function(a)

what is "a" is the bracket of calling function?

function name

Variable

Argument

Parameter

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

print(f"In here: x = {x}")

What is the result?

In here: x = {x}

In here: x = 5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

print("In here: x = {x}")

What is the result?

In here: x = {x}

In here: x = {x}

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?