Python Basics (Easy)

Python Basics (Easy)

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

Y7 Introduction to Computing Assessment

Y7 Introduction to Computing Assessment

8th - 9th Grade

25 Qs

Test Network

Test Network

10th - 12th Grade

25 Qs

UTS PBO XI RPL Merdeka

UTS PBO XI RPL Merdeka

11th Grade

25 Qs

Excel Knowledge

Excel Knowledge

1st - 9th Grade

25 Qs

ULANGAN SEMESTER GENAP MAPEL SKD

ULANGAN SEMESTER GENAP MAPEL SKD

12th Grade - University

25 Qs

8-2 PTS INFORMATIKA

8-2 PTS INFORMATIKA

8th Grade - University

25 Qs

Sumatif Google Site

Sumatif Google Site

9th Grade

25 Qs

Python Basics (Easy)

Python Basics (Easy)

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Braulio Almonte

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?