Python Programming Quiz

Python Programming Quiz

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

Code.org lesson 3 and 4 quiz

Code.org lesson 3 and 4 quiz

7th Grade - University

25 Qs

SOAL INFORMATIKA KELAS 9

SOAL INFORMATIKA KELAS 9

9th Grade

25 Qs

2-semestr 1-ON 2025

2-semestr 1-ON 2025

10th Grade

25 Qs

Assesment Awal Informatika XII Fase F

Assesment Awal Informatika XII Fase F

12th Grade

25 Qs

Ulangan Harian Bab 1 TIK kls 9

Ulangan Harian Bab 1 TIK kls 9

9th Grade

25 Qs

packet switching s.d. transmisi digital analog

packet switching s.d. transmisi digital analog

11th Grade - University

25 Qs

Internet dan Google Workspace

Internet dan Google Workspace

4th Grade - University

25 Qs

Quiz Graf dan Struktur Data 9th

Quiz Graf dan Struktur Data 9th

9th Grade

25 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Practice Problem

Easy

Created by

Amna Yakeen

Used 1+ 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

What is a variable in Python?

A fixed value

A container to store data

A Python module

A keyword

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code output? x = 7 x = x + 3 print(x)

7

3

10

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does ‘sequence’ mean in programming?

Skipping steps

Steps in random order

Steps in logical order

Mixing loops

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of structure is used in this code? if score >= 50: print("Pass") else: print("Fail")

Loop

Selection

String

Syntax

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times will this loop run? for i in range(4): print(i)

3

4

5

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this list contain? fruits = ["apple", "banana", "cherry"] print(fruits[1])

apple

banana

cherry

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will name[2] return if name = "Amna"?

m

n

a

A

Create a free account and access millions of resources

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?