
Тест по однородным и двумерным массивам
Authored by flagman undefined
Computers
9th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Укажите две правильных записи массива в языке Python из предложенных вариантов:
1) A = [1, 3, 5, 7]
2) mass = [ cars, 'job', 1, 5]
3) cars = ['Ford', 'Austin', 'Opel']
4) cars = ('Ford', 'Austin', 'Opel')
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()
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
10 questions
Комп'ютерна графіка
Quiz
•
6th - 9th Grade
12 questions
Середовище програмування Scratch 6 клас
Quiz
•
1st - 12th Grade
10 questions
Đề 1
Quiz
•
9th - 12th Grade
10 questions
Алгоритмы
Quiz
•
5th - 11th Grade
15 questions
brawl stars
Quiz
•
KG - Professional Dev...
10 questions
Логические операции
Quiz
•
1st - 10th Grade
10 questions
Программирование алгоритма 8 класс
Quiz
•
1st - 10th Grade
15 questions
Python - тест
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade