
Функції та методи опрацювання списків у python
Authored by Яна Скляр
Information Technology (IT)
9th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка функція використовується для визначення кількості елементів у списку sp?
count(sp)
total(sp)
size(sp)
len(sp)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що робить функція sum(sp)?
Обчислює суму елементів списку.
Сортує елементи списку за зростанням.
Повертає максимальний елемент списку.
Обчислює середнє значення елементів списку.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який метод додає новий елемент a в кінець списку sp?
sp.append(a)
sp.insert(a)
sp.sort(a)
sp.remove(a)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка функція поверне відсортовану копію списку sp за зростанням?
sort(sp)
sorted(sp)
sp.sort()
order(sp)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Для чого використовується функція del sp[i]?
Додавання елемента до списку за індексом.
Отримання елемента з списку за індексом.
Видалення елемента з списку за індексом.
Зміна значення елемента в списку.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
За допомогою якого методу можна визначити, на якій позиції у списку sp знаходиться значення змінної a?
Застосувати sp.find(a)
Використати sp.position(a)
Використати sp.get(a)
Використати sp.index(a)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що буде результатом виконання наступного коду?
sp = [4, 2, 9, 1]
print(len(sp))
2
5
4
3
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
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
15 questions
Graphing Inequalities
Quiz
•
7th - 9th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Combine Like Terms and Distributive Property
Quiz
•
8th - 9th Grade
10 questions
Plotting Points on a Coordinate Plane: Quadrant 1 Essentials
Interactive video
•
6th - 10th Grade
20 questions
Perfect Squares and Square Roots
Quiz
•
9th Grade