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
Jaki będzie wynik wyżej napisanego kodu?
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 Wayground
10 questions
Java: repetition control structure for & while

Quiz
•
10th - 12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
11 questions
Python Function

Quiz
•
11th - 12th Grade
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
10 questions
Bài tập thực hành 1 (tiết 2)

Quiz
•
12th Grade
10 questions
Python Math

Quiz
•
1st - 12th Grade
15 questions
PCEP Section 2a: Make decisions with if instruction

Quiz
•
12th Grade
15 questions
list in python

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade