Python Quiz 2

Python Quiz 2

2nd - 4th Grade

16 Qs

quiz-placeholder

Similar activities

Plan de Cuentas

Plan de Cuentas

3rd Grade

19 Qs

CLASES DE SUSTANTIVO

CLASES DE SUSTANTIVO

1st - 3rd Grade

15 Qs

Vocabulary Unit 1 Passages

Vocabulary Unit 1 Passages

1st - 6th Grade

17 Qs

Mateo 3

Mateo 3

4th - 6th Grade

15 Qs

Thésée et le Minotaure

Thésée et le Minotaure

1st - 8th Grade

20 Qs

Videojuegos

Videojuegos

2nd Grade - Professional Development

11 Qs

Actividades después de leer el cuento.

Actividades después de leer el cuento.

2nd Grade

12 Qs

Castellano Cuarto

Castellano Cuarto

4th Grade

15 Qs

Python Quiz 2

Python Quiz 2

Assessment

Quiz

Other

2nd - 4th Grade

Practice Problem

Medium

Created by

Mahesh Regmi

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of given code?
(indentation doesnt matter)
if False:
print("false")
else:
print("true")

false

true

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The else statement is compulsory after if statement

yes

no

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to insert new value at the end of list?

append

strip

push

push_back

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following syntax is valid to get first item of a list?

a[0]

a(0)

a(-1)

a[-1]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to sort a list?

a.sort()

a.reverse()

a.sort_list()

a.ascending()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following operator checks if the two variables are equal

==

===

=

!=

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to find the length of a list?

len(listName)

length(listName)

listName.length

listName.len

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?