Search Header Logo

CT18 Revision

Authored by Dominica-Clemente Cascarino

Computers

9th Grade

18 Questions

Used 1+ times

CT18 Revision
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a subprogram?

A type of Python module

A loop that executes a set of statements

A block of code that runs when it is called

A type of variable used to store data

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter?

A type of error within the code

A variable defined within the subprogram

A type of subprogram

A piece of data passed to a subprogram

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array?

A collection of elements that are all numbers

A collection of elements that are all the same data type

A decimal value, such as 25.0

A list that contains another list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you add new items to the end of a list?

list.append()

list.add()

list.get()

list.modify()

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

This piece of code works by searching for the first element in a list that has a specific value and then taking it away.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for i in range(3):

print(i)

What would this code output?

1, 2, 3

0, 1, 2, 3

0, 1, 2

i

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable defined within a subprogram, that cannot be used outside of it:

Local

Global

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?

Discover more resources for Computers