Quzi python- Szymon A

Quzi python- Szymon A

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Section 3D: Collect and process data using dictionaries

Section 3D: Collect and process data using dictionaries

12th Grade

15 Qs

Exploring Python Data Structures Quiz

Exploring Python Data Structures Quiz

10th Grade

15 Qs

Mastering Python Loops and Functions

Mastering Python Loops and Functions

10th Grade - University

20 Qs

Python Programming Random Quiz

Python Programming Random Quiz

11th Grade

15 Qs

Kryteria filtrowania

Kryteria filtrowania

12th Grade

20 Qs

Computer Science (Python)

Computer Science (Python)

9th Grade

18 Qs

Problem Solving using Python and R - UNIT II - Dictionary

Problem Solving using Python and R - UNIT II - Dictionary

12th Grade

15 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?