
listy python-test
Quiz
•
Computers
•
1st Grade
•
Practice Problem
•
Medium
Wacłąw Świdrak
Used 6+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mamy daną listę zdefiniowną kodem w Pythonie:
t = [2, 4, 8, 16, 32]; Jaką wartość ma t[-1]?
0
zachowanie takiej operacji jest niezdefiniowane
2
32
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mamy daną listę zdefiniowaną kodem w Pythonie:
t = [ 'o', 'j', 'a', 'i', 'k' ]. Jakie słowo będzie
utworzone po złączeniu w jedno słowo wartości z listy
t[-1], t[3], t[1]?
m a i
k i j
o i j
i k a
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lista tab rozmiaru 3000 jest wypełniona kolejnymi
liczbami parzystymi, przy czym tab[0] = 2, tab[1] = 4,
itd. Jaka wartość znajduje się pod indeksem 2019?
2019
4036
4040
4121
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chcemy posortować wszystkie elementy listy tab rosnąco. W języku Python zrobimy to:
tab.sort()
sort(tab)
sort(tab, tab+len(tab))
tab = sorted(tab)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co zwróci L1[-3:-1] gdy L1 = [2, 'Jan Kowalski', 5, 3.14, 'Alina Kowalska']
['Jan Kowlaski', 5, 3.14]
Element startowy i końcowy nie mogą być liczbami ujemnymi
[5,3.14]
[]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pod jakim indeksem znajduje się ostatni element listy zadeklarowanej kodem w języku Python tablica = [1, 2, 3, 4, 5, 6]
4
5
6
7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chcemy posortować wszystkie elementy listy tab malejąco. W języku Python zrobimy to
lista.sort(reverse)
lista.sort(reverse=True)
lista.sort(reverse=False)
lista.sort(True)
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
10 questions
Microsoft Teams
Quiz
•
KG - 12th Grade
10 questions
MS POWER POINT
Quiz
•
1st - 12th Grade
15 questions
Review Code.org Course C Lessons 1-5
Quiz
•
1st - 2nd Grade
10 questions
Shortcut keys
Quiz
•
1st - 2nd Grade
10 questions
Latihan Soal Ms Word
Quiz
•
1st - 12th Grade
10 questions
Ôn lại Paint 5
Quiz
•
1st - 5th Grade
20 questions
Phishing quiz
Quiz
•
1st - 12th Grade
20 questions
Bài ôn tập IC3 Spark
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
1st - 3rd Grade
10 questions
Christmas Characters
Quiz
•
KG - 3rd Grade
10 questions
Exploring Christmas Math Word Problems
Interactive video
•
1st - 5th Grade
16 questions
Christmas 1st grade
Quiz
•
1st Grade
