list 6th

list 6th

7th Grade

20 Qs

quiz-placeholder

Similar activities

S2 Business Letters Assessment

S2 Business Letters Assessment

7th Grade

15 Qs

cmd and terminal

cmd and terminal

7th Grade - University

15 Qs

Word Processing Lessons 3 and 4 Review

Word Processing Lessons 3 and 4 Review

KG - University

20 Qs

Yr 8 Introduction to  Networks & Internet

Yr 8 Introduction to Networks & Internet

7th - 8th Grade

20 Qs

C++_Data types and variables

C++_Data types and variables

7th Grade

18 Qs

sumatif 2

sumatif 2

7th Grade

20 Qs

Algorithms

Algorithms

7th - 10th Grade

15 Qs

list 6th

list 6th

Assessment

Quiz

Computers

7th Grade

Practice Problem

Medium

Created by

Ержан Ауезов

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

print(numbers[-2])

2

4

3

5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

10

5 5 5 5 5 5 5 5 5 5

10 10 10 10 10

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

numbers[2]=99

print(numbers)

[1, 99, 3, 4, 5]

[1, 2, 3, 99, 5]

[99, 2, 3, 4, 5]

[1, 2, 99, 4, 5]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

thislist = ["apple", "banana", "cherry"]


thislist.append("orange")


print(thislist)

['apple', 'banana', 'cherry', 'orange']

['apple', 'banana', 'cherry', ]

[ 'orange', 'apple', 'banana', 'cherry']

[ 'apple', 'banana', 'orange']

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct code for creating a list of names?

nameList = John, Harry, Jesse, John, Harry, Harry

nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList = [John, Harry, Jesse, John, Harry, Harry]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these pieces of code would return the name "Harry" from the following list?

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList()

nameList[1]

NameList(4)

nameList["4"]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The list needs one more name added to the end - "Felipe". Which piece of code below would do this?

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList.append(Felipe)

append(nameList,"Felipe")

nameList.append["Felipe",7]

nameList.append("Felipe")

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?