Quzi python- Szymon A

Quzi python- Szymon A

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Exploring Python Data Structures Quiz

Exploring Python Data Structures Quiz

10th Grade

15 Qs

data bases tech klasa 1

data bases tech klasa 1

9th Grade

16 Qs

Strings, sets, dicts, files, exceptions

Strings, sets, dicts, files, exceptions

9th - 12th Grade

15 Qs

Lists and Dictionaries

Lists and Dictionaries

11th Grade

25 Qs

GCSE Computer Science: Programming (Data Structures)

GCSE Computer Science: Programming (Data Structures)

9th - 10th Grade

20 Qs

CSP Unit 6: Algorithms

CSP Unit 6: Algorithms

9th - 12th Grade

20 Qs

class12_python_revision

class12_python_revision

11th - 12th Grade

19 Qs

6.1 Guided Notes - Dictionary and Data Structures Quiz

6.1 Guided Notes - Dictionary and Data Structures Quiz

9th Grade

15 Qs

Quzi python- Szymon A

Quzi python- Szymon A

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Szymon Augustynek

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Co zwraca funkcja sum_list([1, 2, 3])?

3

6

[1, 2, 3]

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jaki będzie wynik wywołania is_in_list(5, [1, 2, 3, 4, 5])?

True

False

5

None

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która linia kodu inicjuje pusty słownik?


dictionary = {}

dictionary = []

dictionary = set()

dictionary = ()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Co zwraca count_occurrences(['apple', 'banana', 'apple'])['apple']

1

2

3

apple

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która linia kodu dodaje nową parę klucz-wartość do słownika?

dictionary.append('key', 'value')

dictionary['key'] = 'value

dictionary.add('key', 'value')

dictionary.insert('key', 'value')

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Co zwróci create_dictionary(['a'], [1])['a']?

['a']

[1]

1

'a'

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja sprawdza, czy element jest w liście?

sum_list()

is_in_list()

count_occurrences()

create_dictionary()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?