Quiz on Computational Thinking (Python)

Quiz on Computational Thinking (Python)

8th Grade

10 Qs

quiz-placeholder

Similar activities

Python Intro

Python Intro

8th - 9th Grade

10 Qs

10.4 Python Lists

10.4 Python Lists

7th - 10th Grade

14 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

Python Fundamentals

Python Fundamentals

8th Grade

12 Qs

Banana Tales Part I (1-40)

Banana Tales Part I (1-40)

6th - 8th Grade

10 Qs

CodeHS 5.2

CodeHS 5.2

6th - 10th Grade

15 Qs

Java Data Structures

Java Data Structures

6th - 10th Grade

15 Qs

Java Basic Data Structures

Java Basic Data Structures

6th - 10th Grade

15 Qs

Quiz on Computational Thinking (Python)

Quiz on Computational Thinking (Python)

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Fatma Mohamed

FREE Resource

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

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?