T-Level DPDD: Functions & Procedures Quiz

T-Level DPDD: Functions & Procedures Quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

Object Orientation 2

Object Orientation 2

11th Grade

15 Qs

J277 - 2.2 - Functions in Python

J277 - 2.2 - Functions in Python

10th Grade - University

10 Qs

Data Handling in Python

Data Handling in Python

11th Grade

10 Qs

TechPromise JavaScript Quiz

TechPromise JavaScript Quiz

6th - 12th Grade

10 Qs

Kuizi 15 - Web

Kuizi 15 - Web

10th Grade - University

15 Qs

Python Final Assessment

Python Final Assessment

4th - 12th Grade

10 Qs

Python variables and Data types

Python variables and Data types

10th - 12th Grade

10 Qs

Data Visualization

Data Visualization

10th Grade - University

12 Qs

T-Level DPDD: Functions & Procedures Quiz

T-Level DPDD: Functions & Procedures Quiz

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Sara Burton

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of function in Python?

Built-in functions

User-defined functions

Anonymous functions

Static functions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to define a function in Python?

func

def

function

create

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the example Python function call?

This is my simple function

This is a simple function

This is my function

This is a function

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an argument in the context of Python functions?

The name of the function

The value sent to the function when it is called

The keyword used to define the function

The output of the function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is true about methods and functions in Python?

All functions are methods, but not all methods are functions.

All methods are functions, but not all functions are methods.

Methods and functions are the same.

Methods cannot be called using an instance of a class.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following Python function call? my_simple_function("Saundra")

Saundra best friend

Saundra good friend

Saundra friend

Saundra best buddy

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, how do you separate multiple arguments in a function call?

With a semicolon

With a colon

With a comma

With a period

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?