Quzi python- Szymon A

Quzi python- Szymon A

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Kuis Google colaboratory

Kuis Google colaboratory

10th Grade

20 Qs

U2 Database Design Quizs - Part A

U2 Database Design Quizs - Part A

11th Grade - University

20 Qs

7. Python (словари)

7. Python (словари)

5th - 9th Grade

15 Qs

Python Intermediate Quiz (Including pygame)

Python Intermediate Quiz (Including pygame)

3rd - 12th Grade

20 Qs

PCEP Section 4C: Python Built-In Exceptions Hierarchy

PCEP Section 4C: Python Built-In Exceptions Hierarchy

12th Grade

15 Qs

Java Basic Data Structures

Java Basic Data Structures

6th - 10th Grade

15 Qs

Creative Media Component 1

Creative Media Component 1

8th - 10th Grade

23 Qs

Level 3 Python Quiz 4

Level 3 Python Quiz 4

9th - 12th Grade

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