Списки в Python
Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Yuliya Brovko
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який модуль необхідно імпортувати для роботи з випадковими числами в Python?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який з наступних рядків коду правильно додає випадкове число від -10 до 10 до списку spysok?
spysok.add(random.integer(-10,10))
spysok.append(random.randint(-10,10))
spysok.insert(random.range(-10,10))
spysok.put(random.number(-10,10))
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Для чого використовується конструкція spysok=[] у Python?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що означає range(10) у циклі for i in range(10):?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яку початкову умову зазвичай встановлюють для змінної s перед обчисленням суми елементів списку?
s=-1
s=0
s=10
s=1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка умова використовується для перевірки, чи є елемент списку spysok[nomer] додатнім?
if spysok[nomer] == 0:
if spysok[nomer] > 0:
f spysok[nomer] < 0:
if spysok[nomer] >= 0:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Уявіть, що список spysok містить [2, -3, 0]. Яким буде список після виконання циклу, що змінює знак кожного елемента?
[-2, -3, 0]
[2, 3, 0]
[-2, 3, 0]
[0, -3, 2]
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
14 questions
Кодирование информации
Quiz
•
10th Grade
10 questions
МЦКО
Quiz
•
8th Grade - University
13 questions
Aktivitas Informatika 1
Quiz
•
9th - 12th Grade
10 questions
การสืบค้นเพื่อหาแหล่งข้อมูล
Quiz
•
9th - 12th Grade
13 questions
Εντολή Όσο εισαγωγή
Quiz
•
9th - 12th Grade
11 questions
Структурированный тип данных массив
Quiz
•
10th Grade - University
15 questions
G4-Microprocessors and Their Uses
Quiz
•
4th Grade - University
10 questions
7 класс программирование
Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Information Technology (IT)
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
7 questions
Combining & Revising Sentences- EOC English I Crunchtime
Quiz
•
9th - 10th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
