Jaki będzie wynik wyżej napisanego kodu?
kartkówka - petle for i while w języku Python

Quiz
•
Computers
•
12th Grade
•
Medium

Dawid Pindel
Used 12+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wypisze 10 razy słowo sprawdzian
Wypisze liczbę 10 i słowo sprawdzian
Wypisze liczbę 10 i słowo sprawdzian
Wypisze jeden raz słowo sprawdzian
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Powtarzanie, aż określony warunek stanie się prawdziwym użyciem
Zastosujesz pętle for
Zastosujesz pętle while
Zastosujesz instrukcje if
Zastosujesz instrukcje elif
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Znak, który musi znajdować się na końcu linii w przypadku if, while, for itp.
:
;
.
,
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie wynik tego programu?
1
2
11
1
2
21
1
2
3
11
1
2
3
21
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ile razy następujący program wypisze słowo „komputer”:
slowo= "komputer"
for i in range(1,6):
print(slowo)
7
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co zostanie wypisane w wyniku działania poniżej pętli?
licznik = 0
while licznik < 5:
print (licznik)
licznik = licznik + 1
0,1,2,3,4
0,1,2,3,4,5
1,2,3,4
1,2,3,4,5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakiego kodu użyjesz aby wypisać ciąg liczb: 6, 12, 18, 24, 30 ?
for x in range(6, 30, 6):
print(x)
while x (6, 35, 6):
print(x)
for x in range(6,35,6):
print(x)
while x (6, 30, 6):
print(x)
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
TIKamy po angielsku

Quiz
•
9th - 12th Grade
11 questions
Co już wiemy ? Python

Quiz
•
12th Grade - Professi...
12 questions
Python

Quiz
•
9th - 12th Grade
20 questions
Test wiedzy ogólnej

Quiz
•
1st - 12th Grade
20 questions
quiz dasar python

Quiz
•
1st Grade - University
10 questions
Python

Quiz
•
1st - 12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th 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