List In python - test

List In python - test

11th Grade

50 Qs

quiz-placeholder

Similar activities

IC3 Domain 1 Lesson 3 Review

IC3 Domain 1 Lesson 3 Review

9th - 12th Grade

51 Qs

LATIHAN PAT INFORMATIKA KELAS X

LATIHAN PAT INFORMATIKA KELAS X

9th - 12th Grade

50 Qs

Final - Adobe Illustrator

Final - Adobe Illustrator

9th - 12th Grade

45 Qs

PART 1: Multimedia & Web Design Practice Final (Unit 1.00 - 2.00)

PART 1: Multimedia & Web Design Practice Final (Unit 1.00 - 2.00)

9th - 12th Grade

50 Qs

quiz tik

quiz tik

10th - 12th Grade

50 Qs

gamemaker

gamemaker

9th - 12th Grade

46 Qs

ÔN TẬP CHỦ ĐỀ F TIN 10

ÔN TẬP CHỦ ĐỀ F TIN 10

9th - 12th Grade

49 Qs

iGCSE ICT Past Paper - Section A Questions (Years 2011, 2012 and 2013)

iGCSE ICT Past Paper - Section A Questions (Years 2011, 2012 and 2013)

10th - 12th Grade

46 Qs

List In python - test

List In python - test

Assessment

Quiz

Computers

11th Grade

Practice Problem

Hard

Created by

Sangeetha John

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

cho biến

x='Python test 3'

print(x[7:])

Test 3

test 3

Python test 3

on test 3

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cho biến

x='Python test 3'

print(x[2:10])

Python

thon test 3

thon tes

thon test

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cho biến

x='Python test 3'

print(len(x))

8

11

14

13

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the following list assignment

aList = [4, 8, 12, 16]

aList[1:4] = [20, 24, 28]

print(aList)

[4, 20, 24, 28, 8, 12, 16]

[4, 20, 24, 28]

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the following list operation

aList = [10, 20, 30, 40, 50, 60, 70, 80]

print(aList[2:5])

print(aList[:4])

print(aList[3:])

[20, 30, 40, 50]

[10, 20, 30, 40]

[30, 40, 50, 60, 70, 80]

[30, 40, 50]

[10, 20, 30, 40]

[40, 50, 60, 70, 80]

None of these

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select all the correct options to join two lists in Python

listOne = ['a', 'b', 'c', 'd']

listTwo = ['e', 'f', 'g']

newList = listOne + listTwo

newList = extend(listOne, listTwo)

newList = listOne.extend(listTwo)

newList.extend(listOne, listTwo)

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the following

aList = [5, 10, 15, 25]

print(aList[::-2])

[15, 10, 5]

[10, 5]

[25, 10]

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?