
Quiz o Pętli for i Funkcji range w Pythonie
Authored by Jakub C
Computers
8th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co służy do iterowania po danych w Pythonie?
Funkcja input
Funkcja print
Pętla for
Pętla while
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jak nazywa się zmienna używana w pętli for?
Zmienna globalna
Zmienna lokalna
Zmienna iteracyjna
Zmienna pomocnicza
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakie typy danych można iterować za pomocą pętli for?
Tylko listy
Ciągi znaków, listy i krotki
Tylko krotki
Tylko słowniki
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co zwraca funkcja range(5)?
5, 4, 3, 2, 1
0, 1, 2, 3, 4, 5
1, 2, 3, 4, 5
0, 1, 2, 3, 4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Które liczby generuje range(2, 8)?
2, 3, 4, 5, 6, 7, 8, 9
1, 2, 3, 4, 5, 6, 7
2, 3, 4, 5, 6, 7
2, 3, 4, 5, 6, 7, 8
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Które liczby generuje range(1, 10, 2)?
1, 3, 5, 7, 9
1, 2, 3, 4, 5, 6, 7, 8, 9
1, 2, 3, 4, 5
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
W jaki sposób zapisać, żeby funkcja print() nie dodawała Enter po każdej iteracji?
print(liczba, sep=' ')
print(liczba, end=' ')
print(liczba, flush=True)
print(liczba)
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
20 questions
Digital Graphics and Pictures
Quiz
•
7th - 8th Grade
15 questions
IT PRE TEST / POST TEST
Quiz
•
3rd - 8th Grade
15 questions
Python
Quiz
•
6th Grade - University
19 questions
Grade 8
Quiz
•
8th Grade
20 questions
Teknologi Informasi dan Komunikasi
Quiz
•
8th Grade
12 questions
Code.org Unit 6 Review conditionals and Variables
Quiz
•
8th Grade
12 questions
Python
Quiz
•
7th - 8th Grade
18 questions
Arkusz kalkulacyjny
Quiz
•
1st - 8th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade