Search Header Logo

Python 1

Authored by Jurek Zabójca

Information Technology (IT)

University

Used 2+ times

Python 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Co wypisze poniższy kod? ```python print(2 + 3 * 4) ```

20
14
11
10

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Co wypisze poniższy kod? ```python x = [1, 2, 3] print(x[1]) ```

1
2
3
0

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Jaki będzie typ zwracany przez: ```python x = (1,) ```

list
tuple
int
dict

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Co wypisze: ```python print('Ala'.upper()) ```

ala
ALA
Ala
błąd

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Co wypisze: ```python print(len([1,2,3,4])) ```

3
4
5
0

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Co wypisze: ```python print('ab' * 2) ```

abab
ab2
4
błąd

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Jaki wynik zwróci: ```python print(10 % 3) ```

1
3
0
błąd

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?