Python Basics (Easy)

Python Basics (Easy)

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

While Loops Quizizz

While Loops Quizizz

9th - 12th Grade

25 Qs

IT Specialist Exam Prep 1

IT Specialist Exam Prep 1

9th Grade

25 Qs

GCSE Computer Science: Programming (Python)

GCSE Computer Science: Programming (Python)

9th - 12th Grade

25 Qs

Python Quiz

Python Quiz

12th Grade

30 Qs

Python

Python

11th Grade

25 Qs

Python GCSE Recap

Python GCSE Recap

9th - 12th Grade

28 Qs

Python Programming with sequences a selection

Python Programming with sequences a selection

9th - 12th Grade

25 Qs

EISB Rhapsody'24 Hackathon - Python

EISB Rhapsody'24 Hackathon - Python

9th - 12th Grade

30 Qs

Python Basics (Easy)

Python Basics (Easy)

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Braulio Almonte

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

2value

my-value

my_value

class

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is the result of `type(5.0)`?

int

float

str

double

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is immutable?

list

set

dict

tuple

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which collection allows duplicate elements?

set

list

dict

frozenset

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will `len({1: "a", 2: "b", 3: "c"})` return?

2

3

6

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this conditional return? `if "abc": print("True")`

Nothing

Error

False

True

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of `if 0:`?

True

False

Error

0

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?