Python Quiz 2

Python Quiz 2

2nd - 4th Grade

16 Qs

quiz-placeholder

Similar activities

Música

Música

1st - 10th Grade

12 Qs

DIVERSITY OF INDONESIA

DIVERSITY OF INDONESIA

4th Grade

16 Qs

General knowledge

General knowledge

3rd Grade - University

20 Qs

Hũ bạc của người cha

Hũ bạc của người cha

3rd Grade

14 Qs

Guía Español

Guía Español

4th Grade

13 Qs

REVISION5(SEE)_MEANS OF TRANSPORT_MCQ/OBJECTIVE_(25.01.21)

REVISION5(SEE)_MEANS OF TRANSPORT_MCQ/OBJECTIVE_(25.01.21)

3rd Grade

20 Qs

जोड़ाक्षर अभ्यास -1, lll rd Language. Hindi

जोड़ाक्षर अभ्यास -1, lll rd Language. Hindi

3rd Grade

20 Qs

Camp K12 Quiz

Camp K12 Quiz

1st - 3rd Grade

20 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?