python functions

python functions

Assessment

Flashcard

Computers

12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

36 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the default return value of a function that does not return any value explicitly?

Back

None

2.

FLASHCARD QUESTION

Front

What does the function header contain?

Back

The function name and parameter list

3.

FLASHCARD QUESTION

Front

Which keyword is used for functions? Options: func, def, define, function

Back

def

4.

FLASHCARD QUESTION

Front

What is a variable?

Back

A box(memory location) where you store values.

5.

FLASHCARD QUESTION

Front

What symbol is used in python to assign values to a variable?

Back

equals =

6.

FLASHCARD QUESTION

Front

What will be the output?
name = "Dave"
print (name)

Back

Dave

7.

FLASHCARD QUESTION

Front

When you have an error in your code what is the term to summarise finding and fixing that error?

Back

Debugging

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?