Python Quiz

Python Quiz

University

45 Qs

quiz-placeholder

Similar activities

SOAL SEMESTER 1 KELAS 9 BAHASA INDONESIA 2020/2021

SOAL SEMESTER 1 KELAS 9 BAHASA INDONESIA 2020/2021

3rd Grade - University

50 Qs

ULANGAN INFORMATIKA FASE E

ULANGAN INFORMATIKA FASE E

University

40 Qs

Sistema Operativo

Sistema Operativo

8th Grade - University

40 Qs

Bài tập Excel

Bài tập Excel

6th Grade - University

40 Qs

C3. Giao dich dien tu

C3. Giao dich dien tu

University

45 Qs

Componentes Computador Quiz

Componentes Computador Quiz

University

42 Qs

NPTEL-CLOUD COMPUTING-PRACTICE TEST-4 2025

NPTEL-CLOUD COMPUTING-PRACTICE TEST-4 2025

University

40 Qs

Pemrograman Web

Pemrograman Web

University

40 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Servus Snap

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

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

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is incorrect

a=!b

a!=b

a=[1,2,3]

B=(9,6,5)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Output? :

a = "You're Pretty"

Print(a)

You're Pretty

"You're Pretty"

a

NameError: name 'Print' is not defined

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output for the below program:

A="Hyperboloid"

print(len("A")

11

911

12

1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does my_list.append(5) do?

Removes the last element from the list.

Creates a new list with only the number 5.

Appends the number 5 to the end of the list.

Adds 5 to the beginning of the list.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Used to define a function:

Def

def

define

Define

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output for the below program:

for i in range(10<11):

print(i)

10

11

0

Error: logical operators cannot be used inside range()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

[1,2,3,4,5,6,7,8,9,10]

1,2,3,4,5,6,7,8,9,10

[0,1,2,3,4,5,6,7,8,9]

0,1,2,3,4,5,6,7,8,9

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?