Search Header Logo

Quiz z list w Pythonie

Authored by KP KP

Computers

9th Grade

Used 6+ times

Quiz z list w Pythonie
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jak można utworzyć pustą listę w Pythonie?

lista = []

lista = [1, 2, 3, 4]

lista = [1, 2, 3]

lista = [0]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jak dodać element na koniec listy w Pythonie?

x.extend(y)

x.append(3)

x.insert(2, 'a')

x.pop()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jak dodać element na koniec listy w Pythonie?

x.extend(y)

lista.append("owoc")

x.insert(2, 'a')

x.pop()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jak odwołać się do czwartego elementu listy w Pythonie?

print(x[0])

print(x[3])

print(x[-1])

print(x[4])

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jak połączyć dwie listy w Pythonie?

x = x + y

x = x * 5

x = x.clear()

x = x.copy()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jak sprawdzić liczbę wystąpień danego elementu w liście w Pythonie?

x.extend(y)

x.index(4)

x.sort()

x.count(4)

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Jakim poleceniem dodasz element do listy?

(a)  

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?