T-Level DPDD: Functions & Procedures Quiz

T-Level DPDD: Functions & Procedures Quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

Python Fundamentals Quiz

Python Fundamentals Quiz

11th Grade

15 Qs

Intro to a level computer science

Intro to a level computer science

11th Grade

13 Qs

Writing files in python

Writing files in python

9th - 12th Grade

13 Qs

Neural Network Introduction

Neural Network Introduction

7th - 12th Grade

11 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

MTA Review #2

MTA Review #2

9th - 12th Grade

10 Qs

Quiz on Introduction to Programming with Python

Quiz on Introduction to Programming with Python

9th - 12th Grade

9 Qs

T-Level DPDD: Functions & Procedures Quiz

T-Level DPDD: Functions & Procedures Quiz

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Sara Burton

Used 5+ 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?