Python Definitions

Python Definitions

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Delphi Arguments/Returns

Delphi Arguments/Returns

8th - 10th Grade

10 Qs

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

Python Functions

Python Functions

12th Grade

15 Qs

AP Computer Science Principles - Unit 4: Variables, Conditionals

AP Computer Science Principles - Unit 4: Variables, Conditionals

9th - 12th Grade

10 Qs

Python Review - Functions

Python Review - Functions

9th - 12th Grade

10 Qs

12.14.23 FoP & CSP Asynch Assignment Ecape Room Quizziz

12.14.23 FoP & CSP Asynch Assignment Ecape Room Quizziz

9th - 12th Grade

15 Qs

Working with function Part 2

Working with function Part 2

12th Grade

10 Qs

Variables and Functions

Variables and Functions

KG - University

10 Qs

Python Definitions

Python Definitions

Assessment

Quiz

Computers, Education

10th - 12th Grade

Medium

Created by

Carol Luce

Used 20+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What term is used to describe data passed into a definition?

Variable

Loop

Constant

Parameter

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How do you correctly call this function definition?

def(1)

x=square( )

defSquare(4)

x=square(5)

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following keywords marks the begining of the function block?

Func

define

def

function

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a variable defined outside (i.e. in the main code) all the definitions referred to as?

A static variable

A global variable

A local variable

An automatic variable

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a variable defined inside a definition referred to as?

A static variable

A global variable

A local variable

An automatic variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be PRINTED?

nothing

5

6

an error message

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When writing a definition, it must occur before it is called.

true

false

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?