
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
12 questions
Basic Keyboarding
Quiz
•
KG - 6th Grade
12 questions
Keyboard and Mouse
Quiz
•
1st - 6th Grade
20 questions
Computer Revision Test 3 - Grade 1
Quiz
•
1st Grade
20 questions
Microsoft Word 2013Review
Quiz
•
KG - University
20 questions
MS. WORD DAN EXCEL
Quiz
•
1st Grade
11 questions
Parts of Microsoft PowerPoint Window
Quiz
•
1st - 4th Grade
20 questions
การใช้งาน MS Power Point
Quiz
•
1st - 6th Grade
10 questions
Basics of Computers -3
Quiz
•
1st - 2nd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade
