Search Header Logo

Praktyki Python

Authored by Filip Stodolski

Professional Development

2nd - 6th Grade

Used 2+ times

Praktyki Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Jaki będzie wynik wykonania poniższego kodu?


a = "Praktyki"

print(a[1])

Praktyki

P

k

r

ikytkarP

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jaki mechanizm języka Python prezentuje poniższy kod


with open('some_file', 'w') as opened_file:

pass

Generator

Funkcja anonimowa

Iterator

Context Manager

Pętla with

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Dla jakiego mechanizmu jest używane słówko "yield"

Context Manager

Funkcja Lambda

Generator

Konstruktor

Dekonstruktor

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Zaznacz typy immutable

Tuple - ()

Dict - {}

List - []

str - ""

int - 0

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Podaj wynik poniższego kodu:


x = 43

x = x + 1

print(x)

x

x+1

44

431

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Podaj wynik poniższego kodu:


for i in [2,1,5]:

print(i)

0

1

2

2

1

5

5

2

1

nic nie wypisze

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Jak nazywa się manager paczek do Python'a?

pip

pep

npm

nugget

apt-get

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?