Что такое одномерный массив в Python?

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

Quiz
•
Computers
•
9th Grade
•
Medium
No7 школа
Used 7+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Одномерный массив в Python - это словарь с ключами и значениями.
Одномерный массив в Python - это структура данных с фиксированным размером.
Одномерный массив в Python - это набор функций.
Одномерный массив в Python - это список элементов, доступных по индексам.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой индекс имеет первый элемент массива в Python?
0
1
5
-1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как создать пустой массив в Python?
a = new Array()
a = {}
a = ()
a = []
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как добавить элемент в конец массива?
unshift()
splice()
Используйте оператор = для присвоения значения элементу массива.
append()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как получить длину массива в Python?
size(a)
array.length()
len(a)
get_length(a)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как индекс максимального элемента в массиве?
a.index(max)
index(max(a))
a.index(max(a))
index(max)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как добавить случайное число в массив?
a.append(rnd.randint(-10,10))
a.append(random(-10,10))
import random as rnd
a.append(random)
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Тест по информатике для 7 класса

Quiz
•
7th Grade - University
6 questions
перестановка элементов массива

Quiz
•
9th Grade
6 questions
Создание массивов в Пайтон

Quiz
•
KG - Professional Dev...
15 questions
Викторина по одномерным массивам

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

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

Quiz
•
9th - 10th Grade
10 questions
X_Пон_мас_ариф

Quiz
•
9th - 12th Grade
7 questions
Массивы в Python (часть первая)

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University