Search Header Logo

Listy Python

Authored by A R

Computers

1st Grade

Used 14+ times

Listy Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Zapis t=[1,2,3] oznacza:

że zmienna t jest zmienną typu całkowitego(integers)

zmienną typu string

listę składającą się z trzech elementów

nie ma takiego zapisu w Pythonie

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

aby wydrukować listę t należy dokonać zapisu:

print[t]

input(t)

print('t')

print(t)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

zapis t[2] oznacza:

element listy o indeksie 2

element drugi w kolejności występowania

listę składającą się z dwóch elementów

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Wpis print(t) dla t=[2,8] spowoduje wydruk:

2

8

[2,8]

['2','8']

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

dla t=['a','b'] zapis

for i in range(len(t)):

print(t[i])

spowoduje wydruk:

['a','b']

a

b

a,b

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

zapis t[-1] dla t=[2,5,7,9,4]

oznacza:

4

2

9

[4,9,7,5,2]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

t=[2:5] oznacza:

wyrazy z listy od drugiego z kolejności do piątego

wyrazy listy pomiędzy drugim i piątym indeksem liczby

oznacza wydruk dwójki i piątki

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?