Który zapis sprawi, że pętla będzie powtarzana w nieskończoność?

Python - klasa 8 SP

Quiz
•
Computers
•
8th Grade
•
Hard
Adam Łukasiuk
Used 16+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
repeat until True:
while a>0:
while True:
while False:
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Który zapis zwiększy wartość zmiennej i o 1 (jeden)?
i=i+1
i=++1
i==+1
i=1+
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Który zapis da jako wynik resztę z dzielenia?
10$5
10%5
10//5
10 mod 5
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Aby powtórzyć wykonanie zadania 5 razy, wybierzemy zapis:
for i in range(6):
for i in range(len('text_here'):
for i in range (1,5):
for i in range(5):
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
aby uzyskać długość zapisanego w zmiennej a ciągu znaków (np. a='napis') użyjemy funkcji:
len(a)
a.len
len[a]
length(of(a))
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Chcąc zdefiniować procedurę NWD z dwoma parametrami, użyjemy zapisu:
def NWD():
def NWD(a:b):
def NWD(a,b):
def NWD[a,b]:
Similar Resources on Quizizz
10 questions
Klasa 8 - Lekcje z Pythonem

Quiz
•
8th Grade
10 questions
Основы Python

Quiz
•
8th Grade
10 questions
Podstawy C++

Quiz
•
1st - 8th Grade
10 questions
Python L29 Snake Game

Quiz
•
6th - 8th Grade
10 questions
Python L31

Quiz
•
6th - 8th Grade
9 questions
Funkcije i metode za rad sa znakovnim nizovima

Quiz
•
6th - 8th Grade
8 questions
Baze podataka

Quiz
•
8th Grade
10 questions
Functions

Quiz
•
8th 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
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

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

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade