Chapter 3 - Think Python - Voc

Chapter 3 - Think Python - Voc

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Python Variable Scope and Stack Frames

Python Variable Scope and Stack Frames

11th Grade

9 Qs

Web 201 Mid-Semester Assessment

Web 201 Mid-Semester Assessment

9th - 12th Grade

14 Qs

MTA Review #2

MTA Review #2

9th - 12th Grade

10 Qs

L.5. PHP FUNCTION AND ARRAY - 1

L.5. PHP FUNCTION AND ARRAY - 1

12th Grade

10 Qs

Python

Python

9th Grade

15 Qs

Python Libraries

Python Libraries

12th Grade

10 Qs

2.2 EOU Quiz

2.2 EOU Quiz

1st Grade - Professional Development

10 Qs

H466 - Global and Local Variables

H466 - Global and Local Variables

12th Grade - University

10 Qs

Chapter 3 - Think Python - Voc

Chapter 3 - Think Python - Voc

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Michael Hayes

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function?

A function is a random set of operations without a name.
A function is an unorganized collection of statements.
A function is a type of variable that stores data.
A function is a named sequence of statements that performs some useful operation.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter?

A name used inside a function to refer to the value passed as an argument.
A type of loop used in programming.
A keyword used to define a function.
A variable that stores the function's return value.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a return value: The result of a function. If a function call is used as an expression, the return

value is the value of the expression.

The result of a function.
The definition of a function.
The process of executing a function.
The input of a function.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a void function?

A function that always raises an exception.
A function that always returns None.
A function that takes no parameters.
A function that returns a boolean value.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a module object?

A function that returns a module's values.
A variable that stores the name of a module.
An object that contains only the functions of a module.
A value created by an import statement that provides access to the values defined in a module.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the flow of execution: The order statements run in.

Random execution based on user input.
Execution follows a circular pattern.
Top-down sequence of statements unless altered by control structures.
Statements run in reverse order.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is stack diagram?

A diagram showing the memory allocation of variables.
A visual representation of a queue and its elements.
A method for sorting data in a stack.
A graphical representation of a stack of functions, their variables, and the values they refer to.

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?