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_4

Quiz
•
9th - 12th Grade
15 questions
Pętla for i while

Quiz
•
9th - 12th Grade
11 questions
Języki programowania

Quiz
•
9th Grade
12 questions
Python

Quiz
•
9th - 12th Grade
14 questions
Typy danych i zmienne w Pythonie

Quiz
•
9th Grade
9 questions
Python tablice pozycje

Quiz
•
9th Grade
10 questions
Podstawy Pythona

Quiz
•
9th - 12th Grade
16 questions
data bases tech klasa 1

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade