Python Quiz-8

Python Quiz-8

University

10 Qs

quiz-placeholder

Similar activities

WORD ĐỀ 6

WORD ĐỀ 6

University

10 Qs

Web Apps 02 - MeteorJS

Web Apps 02 - MeteorJS

University

12 Qs

Python List

Python List

4th Grade - University

15 Qs

LA5.C5: Branching and Subroutines

LA5.C5: Branching and Subroutines

9th Grade - University

14 Qs

T02: Python - The Basics

T02: Python - The Basics

University

10 Qs

Q5 - ICT2

Q5 - ICT2

University

10 Qs

Q2 - Python

Q2 - Python

University

10 Qs

mit app inventer

mit app inventer

KG - Professional Development

11 Qs

Python Quiz-8

Python Quiz-8

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

shilpa gupta

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

nameList = ['Harsh', 'Pratik', 'Bob', 'Dhruv']

pos = nameList.index("Bob")

print (pos * 3)

pos pos pos

Bob Bob Bob

6

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

nameList = ['Harsh', 'Pratik', 'Bob', 'Dhruv']

print (nameList[1][-1])

P

Pratik

k

Bob

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Codes = [1, 2, 3, 4]

Codes.append([5,6,7,8])

print(Codes)

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

[1,2,3,4]

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

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

list1 = range(100, 110)

print (list1.index(105))

4

5

6

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

list1 = [1, 2, 3, 4, 5]

list2 = list1

list2[0] = 0;

print( list1)

[1, 2, 3, 4, 5, 0]

[0,1, 2, 3, 4, 5]

[0, 2, 3, 4, 5]

[1, 2, 3, 4, 0]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

list1 = [1998, 2002]

list2 = [2014, 2016]

print ((list1 + list2)*2)

[1998, 2002, 2014, 2016, 1998, 2002, 2014, 2016]

[1998, 2002, 2014, 2016]

[1998, 2002, 1998, 2002]

[2014, 2016, 2014, 2016]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

list1 = ['physics', 'chemistry', 1997, 2000]

print (list1[1][-1])

p

y

7

2

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?

Discover more resources for Computers