Укажите две правильных записи массива в языке Python из предложенных вариантов:
1) A = [1, 3, 5, 7]
2) mass = [ cars, 'job', 1, 5]
3) cars = ['Ford', 'Austin', 'Opel']
4) cars = ('Ford', 'Austin', 'Opel')

Тест по однородным и двумерным массивам

Quiz
•
Computers
•
9th Grade
•
Medium
flagman undefined
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
mass = {1, 3, 5, 7}
1, 3
A = (1, 3, 5, 7)
cars = ['Ford', 'Austin', 'Opel', 'BMW']
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Выберите неверное утверждение:
В Python нельзя выполнять обмен значениями без дополнительной переменной.
б) В Python для обмена значениями можно использовать множественное присваивание.
в) В Python в одном операторе можно поменять местами значения трёх и более переменных.
г) В Python для обмена значениями можно использовать дополнительную переменную.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что такое однородный массив?
Однородный массив - это массив с элементами разных типов.
Однородный массив - это массив, который не может изменяться.
Однородный массив - это массив, содержащий только числа.
Однородный массив - это массив с элементами одного типа.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как объявить двумерный массив в Python?
array = [[0, 0, 0], [0, 0, 0]]
array = [0, 0, 0, 0, 0, 0]
array = (0, 0, 0), (0, 0, 0)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как получить доступ к элементу массива по индексу?
array.get(index)
array[index+1]
array.at(index)
array[index]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какова длина массива A = [1, 2, 3, 4, 5]?
3
5
6
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как удалить элемент из массива в Python?
array.add(value)
array.remove(value)
array.pop()
array.clear()
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
СОР№2 вариант- 1 3 четверть

Quiz
•
9th Grade
20 questions
Java Script 1.7.

Quiz
•
1st - 12th Grade
15 questions
Жанар214

Quiz
•
9th Grade - University
10 questions
9 Ә үй тапсырмасы тест

Quiz
•
9th Grade
10 questions
Одномерные массивы

Quiz
•
1st - 10th Grade
20 questions
Повторение (Python) 9класс

Quiz
•
9th Grade
10 questions
Описание массива

Quiz
•
9th - 10th Grade
18 questions
Двумерный массив Python

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade