Co zostanie wypisane po wykonaniu poniższego kodu? for i in range(5): print(i)
Python pętle while/for

Quiz
•
Computers
•
9th Grade
•
Medium
KP KP
Used 21+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
0 1 2 3 4
1 2 3 4
1 2 3 4 5
0 1 2 3
2.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Jakie wartości będzie przyjmować zmienna i w poniższym kodzie? for i in range(1, 3): print(i)
1 2
1 2 3
2 3
1 3
3.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Co zostanie wypisane po wykonaniu poniższego kodu? for i in range(1, 6, 2): print(i)
1 3 5
1 2 3 4 5
1 2 3 4
1 3
4.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Jakie wartości będą wypisane po wykonaniu poniższego kodu? i = 1 while i <= 100: print(i) i *= 2
1 2 4 8 16 32 64
1 2 4 8 16 32 64 128
1 2 4 8 16 32 64 128 256 512
1 2 4 8 16 32 64 128 256
5.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Co oznacza iteracja w kontekście programowania?
Zakończenie programu
Wywołanie funkcji
Zmiana wartości zmiennej
Powtarzanie tej samej operacji w pętli
6.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Jakie wartości będą wypisane po wykonaniu poniższego kodu? i = 3 while i <= 10: print(i) i += 3
3 6 9 12 15 18
3 6 9 12
3 6 9 12 15
3 6 9
7.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Co zostanie wypisane po wykonaniu poniższego kodu? should_print = True while should_print: print("Będzie wypisane tylko raz") should_print = False
Będzie wypisane tylko raz
Będzie wypisane tylko raz Będzie wypisane tylko raz
Nic się nie wypisze
Będzie wypisane tylko raz Będzie wypisane tylko raz Będzie wypisane tylko raz
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Python

Quiz
•
9th - 12th Grade
18 questions
HTML - podstawy

Quiz
•
9th Grade
13 questions
Python - palindrom, tekst, do zadań losowych

Quiz
•
9th Grade
12 questions
SQL INSERT UPDATE DELETE

Quiz
•
9th Grade
12 questions
Python_P_F

Quiz
•
9th Grade
11 questions
Quiz - pętle w C++

Quiz
•
9th Grade
10 questions
Computer Software

Quiz
•
9th - 12th Grade
16 questions
Podstawy języka Python

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University