Quzi python- Szymon A

Quzi python- Szymon A

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Dictionary in Python

Dictionary in Python

10th - 12th Grade

20 Qs

Section 3D: Collect and process data using dictionaries

Section 3D: Collect and process data using dictionaries

12th Grade

15 Qs

Python Basics

Python Basics

12th Grade

20 Qs

A level 4.2 Student revision questions

A level 4.2 Student revision questions

11th Grade

23 Qs

JavaScript Data Structures

JavaScript Data Structures

9th - 12th Grade

19 Qs

15 Days of Code

15 Days of Code

11th Grade - University

22 Qs

Java Data Structures

Java Data Structures

6th - 10th Grade

15 Qs

Java Basic Data Structures

Java Basic Data Structures

6th - 10th 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?