Quiz z Pythona

Quiz z Pythona

1st Grade

11 Qs

quiz-placeholder

Similar activities

e14 styczeń 2017

e14 styczeń 2017

1st - 5th Grade

13 Qs

Tablice_łańcuchy

Tablice_łańcuchy

1st - 6th Grade

11 Qs

Python semestr 2 - quiz 3

Python semestr 2 - quiz 3

1st - 3rd Grade

11 Qs

ekipa friza

ekipa friza

1st Grade

13 Qs

minecraft pytania

minecraft pytania

1st Grade - Professional Development

14 Qs

C++ podstawy

C++ podstawy

1st Grade

15 Qs

Co wiem o programowaniu?

Co wiem o programowaniu?

1st - 10th Grade

10 Qs

Python - тест

Python - тест

1st - 12th Grade

15 Qs

Quiz z Pythona

Quiz z Pythona

Assessment

Quiz

Computers

1st Grade

Hard

Created by

Elżbieta Podwyszyńska

Used 3+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jaki będzie wynik działania poniższego kodu? x = 0 for i in range(4): x += i print(x)

4

6

10

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ile razy wykona się pętla w poniższym kodzie? for i in range(2, 10, 3): print(i)

3

4

5

2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Co zostanie wyświetlone po uruchomieniu poniższego kodu? n = 5 while n > 0: n -= 1 print(n)

5

0

-1

1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jaki będzie wynik działania poniższego kodu? for i in range(3): for j in range(2): print(i * j, end=" ")

0 1 0 1 0 1

0 0 0 1 0 2

0 0 0 0 0 0

0 0 1 0 2 0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jaki będzie wynik poniższego kodu? n = 0 for i in range(3): n += 1 print(n)

3

2

1

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jaki jest zakres indeksów generowanych przez poniższą funkcję range()? range(4)

Od 1 do 4.

Od 0 do 4.

Od 0 do 3.

Od 1 do 3.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Co zostanie wyświetlone w poniższym kodzie? x = 0 for i in range(2, 6): x = x + i print(x)

14

20

18

15

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?