
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
11 questions
Keyboard Shortcuts
Quiz
•
7th - 8th Grade
20 questions
ASK T2 - Kod Arahan (Python)
Quiz
•
7th Grade - University
18 questions
MS PowerPoint-1
Quiz
•
8th Grade
12 questions
Computer Systems - How the web works - Lesson 7
Quiz
•
8th Grade
20 questions
Year 7 Microbit
Quiz
•
7th - 8th Grade
16 questions
5.2 Excel Quizizz
Quiz
•
8th - 12th Grade
20 questions
MS Word Intro
Quiz
•
7th - 12th Grade
20 questions
Python First Steps Homework Quiz
Quiz
•
7th - 9th 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