Search Header Logo

Intro to Python Project Stem Unit 7 Quizs

Authored by Wayground Content

Instructional Technology

9th - 12th Grade

Used 6+ times

Intro to Python Project Stem Unit 7 Quizs
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

return

A keyword that tells a function or subprogram what value to return.

A command that stops the execution of a program.

A method for defining a variable in a function.

A way to create a loop in programming.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Main

The central part of the program.

A minor component of the program.

An optional feature of the program.

The introductory section of the program.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Local Variable

A variable that exists only inside a function.

A variable that can be accessed from anywhere in the program.

A variable that retains its value between function calls.

A variable that is declared outside of any function.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tracing code

Reading through code to find errors and predict results.

Writing new code to improve performance.

Debugging code by removing comments.

Compiling code to check for syntax errors.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def

A command that defines a function or subprogram.

A keyword used to declare a variable.

A statement that executes a loop.

A function that returns a value.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Parameter

A variable used to send information to a subprogram.

A type of data structure that holds multiple values.

A function that returns a value based on input.

A method for organizing code into classes.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Subprogram

A collection of commands that are given a name.

A single command that performs a specific task.

A type of variable used in programming.

A method for organizing data in a database.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?