Python Collections Quiz

Python Collections Quiz

Professional Development

12 Qs

quiz-placeholder

Similar activities

SCRATCH

SCRATCH

Professional Development

15 Qs

Perform Word Processing

Perform Word Processing

Professional Development

10 Qs

AI Project Cycle

AI Project Cycle

KG - Professional Development

10 Qs

Scrum 101

Scrum 101

Professional Development

10 Qs

Soal Latihan Ms.Word

Soal Latihan Ms.Word

Professional Development

10 Qs

Daily General Knowledge Quiz- Part 4, Mathematics

Daily General Knowledge Quiz- Part 4, Mathematics

3rd Grade - Professional Development

10 Qs

Corto I - Reparación - Bloque I

Corto I - Reparación - Bloque I

University - Professional Development

10 Qs

Linux Basics

Linux Basics

Professional Development

16 Qs

Python Collections Quiz

Python Collections Quiz

Assessment

Quiz

Computers

Professional Development

Hard

Created by

katarzyna mrawczynska

Used 14+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Która kolekcja w Pythonie jest uporządkowaną, niemodyfikowalną sekwencją elementów?

set

dict

tuple

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Jakiego typu kolekcję należy użyć, gdy potrzebujemy szybkiego dostępu do unikalnych elementów bez zachowania kolejności?

list

set

tuple

dict

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Która kolekcja jest najlepsza, gdy potrzebujemy mapowania klucz-wartość?

list

set

tuple

dict

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która metoda dodaje element do końca listy?

.append()

.add()

.insert()

.extend()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jak usunąć pierwsze wystąpienie wartości 9 z listy?

lista.remove(9)

lista.pop(9)

lista.delete(9)

lista.discard(9)

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Która metoda słownika zwraca wszystkie pary w formie listy tupli?

.sets()

.pairs()

.items()

.get()

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Która metoda jest właściwa do połączenia dwóch list w jedną?

.append()

.add()

.insert()

.extend()

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?