Python pętle while/for
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
KP KP
Used 23+ times
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Co zostanie wypisane po wykonaniu poniższego kodu? for i in range(5): print(i)
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
J808 LO6.2 Tools to present information
Quiz
•
10th - 11th Grade
10 questions
Grafika - test
Quiz
•
10th Grade
15 questions
# REVIEW 1 DATA TYPES
Quiz
•
10th Grade
13 questions
Arrays in Swift
Quiz
•
10th - 12th Grade
10 questions
T02: Python - The Basics
Quiz
•
University
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
10 questions
MEDIA AND INFORMATION LITERACY
Quiz
•
12th Grade
10 questions
Bài 8- CĐ F-TH10
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
