
Тест по одномерным массивам в Python
Authored by No7 школа
Computers
9th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что такое одномерный массив в Python?
Одномерный массив в 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)
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
12 questions
Calidad y Atributos del Servicio
Quiz
•
9th - 12th Grade
10 questions
ciencia vs ingenieria
Quiz
•
1st - 10th Grade
10 questions
Sistema Binario
Quiz
•
1st Grade - University
11 questions
Цикли з лічильником. Цикли з передумовою
Quiz
•
1st - 12th Grade
11 questions
Excel
Quiz
•
1st - 10th Grade
12 questions
Tabele HTML
Quiz
•
9th Grade
13 questions
EXAMEN-2°AÑO-INFORMATICA P3-2021
Quiz
•
1st - 9th Grade
10 questions
Grade9-Sensors
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade