Python Basics (Easy)

Python Basics (Easy)

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

B.TIK KLS 9

B.TIK KLS 9

9th Grade

25 Qs

ôn tập tin học 12 hk1. phần 2

ôn tập tin học 12 hk1. phần 2

12th Grade

25 Qs

4Inf_Java_base

4Inf_Java_base

11th Grade

25 Qs

PENILAIAN AKHIR TAHUN Kelas 9

PENILAIAN AKHIR TAHUN Kelas 9

9th Grade - University

25 Qs

ASK T3-UJIAN AKHIR TAHUN

ASK T3-UJIAN AKHIR TAHUN

9th Grade

25 Qs

Ulangan harian Mata pelajaran Komputer dan Jaringan Dasar

Ulangan harian Mata pelajaran Komputer dan Jaringan Dasar

10th Grade

25 Qs

UH PEMROGRAMAN DASAR

UH PEMROGRAMAN DASAR

9th - 12th Grade

25 Qs

kuis TKJ

kuis TKJ

10th 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?