
Quiz z Pythona

Quiz
•
Computers
•
1st Grade
•
Hard
Elżbieta Podwyszyńska
Used 3+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie wynik działania poniższego kodu? x = 0 for i in range(4): x += i print(x)
4
6
10
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ile razy wykona się pętla w poniższym kodzie? for i in range(2, 10, 3): print(i)
3
4
5
2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co zostanie wyświetlone po uruchomieniu poniższego kodu? n = 5 while n > 0: n -= 1 print(n)
5
0
-1
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie wynik działania poniższego kodu? for i in range(3): for j in range(2): print(i * j, end=" ")
0 1 0 1 0 1
0 0 0 1 0 2
0 0 0 0 0 0
0 0 1 0 2 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie wynik poniższego kodu? n = 0 for i in range(3): n += 1 print(n)
3
2
1
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki jest zakres indeksów generowanych przez poniższą funkcję range()? range(4)
Od 1 do 4.
Od 0 do 4.
Od 0 do 3.
Od 1 do 3.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co zostanie wyświetlone w poniższym kodzie? x = 0 for i in range(2, 6): x = x + i print(x)
14
20
18
15
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Previous set Capgemini

Quiz
•
1st - 3rd Grade
10 questions
8 сынып Python

Quiz
•
1st Grade
13 questions
Logic

Quiz
•
1st Grade
10 questions
Python-Partie5

Quiz
•
1st Grade
10 questions
Python-Partie7

Quiz
•
1st Grade
10 questions
Computer Hardware

Quiz
•
1st - 2nd Grade
10 questions
Wprowadzenie do testowania cz.1

Quiz
•
1st Grade
10 questions
Keyboard Shortcuts and other tips

Quiz
•
1st - 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
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
10 questions
Odd and even numbers

Quiz
•
1st - 2nd Grade
10 questions
Exploring the 5 Regions of the United States

Interactive video
•
1st - 5th Grade
7 questions
Parts of Speech

Lesson
•
1st - 12th Grade