Python list TIK

Python list TIK

8th Grade

40 Qs

quiz-placeholder

Similar activities

Keyboarding Basics

Keyboarding Basics

3rd - 8th Grade

45 Qs

HTML & CSS

HTML & CSS

7th - 8th Grade

40 Qs

Soal Berpikir Komputasional Kelas 8

Soal Berpikir Komputasional Kelas 8

8th Grade

40 Qs

Digital Art Semester Review

Digital Art Semester Review

7th - 8th Grade

40 Qs

Hardware Specifications

Hardware Specifications

6th - 12th Grade

35 Qs

IGCSE ICT 0417 SDLC / SLC Advanced

IGCSE ICT 0417 SDLC / SLC Advanced

8th - 12th Grade

37 Qs

Baseline Assessment

Baseline Assessment

7th - 9th Grade

39 Qs

REVIEW FINAL TEST (KOMPUTER - CALEB)

REVIEW FINAL TEST (KOMPUTER - CALEB)

8th Grade

40 Qs

Python list TIK

Python list TIK

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

Suela Malaj

Used 45+ times

FREE Resource

AI

Enhance your content in a minute

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

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a definition about lists?

Lists are used to store multiple STRINGS in a single variable.

Lists are used to store multiple ITEMS in a single variable.

Lists are used to store multiple INTIGERS in a single variable.

Lists are used to store multiple ICONS in a single variable.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a property of the lists?

Allow duplicates

Changeable

Ordered

Unchangeable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the code to print the number of items in the list called "names" in Python:

 names=["era""beni""hena","mikael", "ana" ]

print(list)

print(len(list))

cout>>list

cin<<list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use a range of indexes to print the third, fourth, and fifth item in the list.

fruits = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]

print(fruits[2:5])

print(fruits[:5])

print(fruits[0:5])

print(fruits[5])

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use negative indexing to print the last item in the list.

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

print(fruits[1])

print(fruits[0])

print(fruits[-1])

print(fruits[0:5])

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use the remove method to remove "banana" from the fruits list.

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

fruits.remove

("banana")

fruits.remove

("apple")

fruits.remove

("kiwi")

fruits.remove

("mango")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Change the value from "apple" to "kiwi", in the fruits list.

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

friuts[5]="kiwi"

friuts[2]="kiwi"

friuts[0]="kiwi"

friuts[1]="kiwi"

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?