Тест по iterable(iterable 8)
Quiz
•
Computers
•
9th Grade
•
Medium
Igor Dedik
Used 6+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Как создать пустой список в Python?(2 способа)
empty = []
empty = list()
empty = ()
empty = set()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выведет код: print([1, 2, 3][-1])?
1
2
3
Ошибка
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как добавить элемент "new" в конец списка my_list?
my_list.insert("new")
my_list.append("new")
my_list.add("new")
my_list += "new"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как удалить последний элемент списка и сохранить его в переменную?
x = my_list.remove()
x = my_list.pop()
x = del my_list[-1]
x = my_list.clear()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает метод list.sort(key=len)?
Сортирует по алфавиту
Сортирует по длине элементов
Переворачивает список
Удаляет дубликаты
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как создать кортеж из одного элемента (5)?
x = (5)
x = (5,)
x = [5]
x = tuple(5)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выведет код: print((1, 2, [3, 4])[2][0])?
1
2
3
[3, 4]
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
20 questions
Безопастный Интернет
Quiz
•
9th - 12th Grade
20 questions
Вирусы и антивирусные программы
Quiz
•
8th - 11th Grade
20 questions
Computing Rules
Quiz
•
7th - 11th Grade
25 questions
IP-адрес
Quiz
•
8th - 11th Grade
20 questions
05 - The Internet Quiz
Quiz
•
9th - 12th Grade
25 questions
JavaScript
Quiz
•
1st - 10th Grade
30 questions
Гуру-Викторина(версия 1)
Quiz
•
9th Grade
20 questions
ULANGAN 1 BASIS DATA KELAS XII RPL
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade
15 questions
MLA Formatting
Quiz
•
9th Grade
20 questions
Typing Practice
Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz
Quiz
•
9th Grade