Search Header Logo

Quiz on Computational Thinking (Python)

Authored by Fatma Mohamed

Computers

8th Grade

Quiz on Computational Thinking (Python)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in Python?

A type of loop

A container for storing data values

A function that prints output

A method to delete elements

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a list in Python?

Using curly braces

Using parentheses

Using square brackets

Using angle brackets

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the append method do in a list?

Prints the list

Adds an element to the end of the list

Removes an element from the list

Sorts the list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop is controlled by a logical test?

Nested loop

For loop

While loop

Do-while loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index number of the first element in a list?

0

It depends on the list

1

2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you print a specific element from a list?

Using the print function with a loop

Using the print function with the list name only

Using the print function with the index number

Using the print function with the element name

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to delete an element from a list?

remove

delete

del

pop

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?