9 клас. Дії над списками у мові програмування Python

Quiz
•
Information Technology (IT)
•
9th Grade
•
Hard
Елена Середа
Used 3+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що таке список у мові програмування Python?
Послідовність символів
Впорядкована послідовність об'єктів
Числова змінна
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Які з наступних типів даних можуть бути елементами списку в Python?
Числа
Рядки
Інші списки
Всі відповіді вірні
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який синтаксис використовується для створення порожнього списку в Python?
empty_list = ()
empty_list = []
empty_list = {}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що станеться, якщо один і той самий список присвоїти двом різним змінним і змінити один з них?
Зміни відбудуться тільки в одній змінній
Зміни відбудуться в обох змінних
Жодних змін не буде
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який результат буде після виконання наступного коду?
a = [1, 2, 3]
b = a
a[0] = 'new'
print(b)
[1, 2, 3]
['new', 2, 3]
[0, 2, 3]
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Код, який об'єднає два списки [1, 2, 3] і [4, 5, 6] та виведе результат?
a = [1, 2, 3]
b = [4, 5, 6]
print(a+b)
a = [1, 2, 3]
b = [4, 5, 6]
print(b+a)
a = [1, 2, 3]
b = [4, 5, 6]
print(a*b)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Код, який додасть новий елемент у список на вказану позицію?
a = [1, 2, 3, 4, 5, 6]
a[2] = 6
print(a)
a = [1, 2, 3, 4, 5, 6]
a.append(2, 6)
print(a)
a = [1, 2, 3, 4, 5, 6]
a.insert(2, 6)
print(a)
Similar Resources on Wayground
11 questions
Пиза тест

Quiz
•
9th Grade
10 questions
Test on readLine() Function and Variables

Quiz
•
9th Grade
11 questions
Algoritma

Quiz
•
9th Grade
10 questions
Quiz PHP

Quiz
•
9th - 12th Grade
10 questions
Continue операторы

Quiz
•
9th - 12th Grade
12 questions
Цикли в Python

Quiz
•
9th Grade
11 questions
Python_Recap_GGITSummerCamp25

Quiz
•
9th Grade
10 questions
Пайтон бастапқы 1

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
20 questions
Oceans and Continents Quiz

Quiz
•
9th Grade