Python Матрицы

Quiz
•
Computers
•
10th - 11th Grade
•
Medium
Юрий Романов
Used 15+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какое из следующих значений элемента матрицы будет равным числу 6? Матрица А имеет такой вид:
A = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
A[2][3]
A[2][1]
A[1][2]
A[3][2]
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какое из следующих описаний матрицы вызовет ошибку в Python?
A = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
B = [[3, 3, 3]
[4, 4, 4]
[5, 5, 5]]
C = [(1, 2, 4),
(5, 6, 7),
(8, 9, 10)]
D = [2, 3, 4,
3, 3, 3,
4, 5, 6]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Что будет на выходе из следующего кода на Python?
A = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
print(A[1])
[4, 5, 6]
[3, 6, 9]
[1, 4, 7]
[1, 2, 3]
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Что будет на выходе из следующего кода на Python?
A = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
print ([A[row][1] for row in (0, 1, 2)])
[7, 8, 9]
[4, 5, 6]
[2, 5, 8]
[1, 4, 7]
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Что будет на выходе из следующего кода на Python?
A = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
print([A[i][i] for i in range(len(A))])
[1, 5, 9]
[3, 5, 7]
[4, 5, 6]
[2, 5, 8]
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Что будет на выходе из следующего кода на Python?
l=[[1, 2, 3], [4, 5, 6]]
for i in range(len(l)):
for j in range(len(l[i])):
l[i][j]+=10
print(l)
No output
Error
[[1, 2, 3], [4, 5, 6]]
[[11, 12, 13], [14, 15, 16]]
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Что будет на выходе из следующего кода на Python?
r = [11, 12, 13, 14, 15, 16, 17, 18, 19]
A = [[0, 10, 20],
[30, 40, 50],
[60, 70, 80]]
for row in A:
for col in row:
r.append(col+10)
print(r)
[11, 12, 13, 14, 15, 16, 17, 18, 19, 10, 20, 30, 40, 50, 60, 70, 80, 90]
[10, 20, 30, 40, 50, 60, 70, 80, 90]
[11, 12, 13, 14, 15, 16, 17, 18, 19]
[0, 10, 20, 30, 40, 50, 60, 70, 80]
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Локальные сети

Quiz
•
9th - 11th Grade
12 questions
Символьные строки в Python 10 класс

Quiz
•
10th Grade
15 questions
Игра 2

Quiz
•
11th Grade
12 questions
Вложенные циклы

Quiz
•
KG - 12th Grade
12 questions
Stencyl 2.1

Quiz
•
1st - 12th Grade
11 questions
Проверяем: Условие и Ardublock

Quiz
•
1st - 12th Grade
12 questions
S1 Start if

Quiz
•
10th Grade
10 questions
Срезы. Функции и методы строк. (Часть 1)

Quiz
•
10th 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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade