Сколько элементов будет в двумерном массиве, созданном следующим образом:
int arr[10][10];
C++: двумерные массивы
Quiz
•
Mathematics
•
University - Professional Development
•
Hard
Лада Торчик
Used 9+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Сколько элементов будет в двумерном массиве, созданном следующим образом:
int arr[10][10];
100
10
110
20
2.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Что будет выведено на экран после выполнения следующего фрагмента кода?
int arr[100][100];
for (int i = 0; i < 10; i++) {
for (int j = 0; j < 10; j++) {
arr[i][j] = i + j;
}
}
cout << arr[5][7];
12
10
35
137
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Что будет выведено на экран после выполнения следующего фрагмента кода?
int arr[100][100];
for (int i = 0; i < 10; i++) {
for (int j = 0; j < 10; j++) {
arr[i][j] = i * 10 + j;
}
}
cout << arr[3][1];
4
31
13
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 15 pts
Какое из условий проверяет, что элемент квадратной матрицы находится НАД главной диагональю?
i == j
i < j
i > j
i + j < n - 1
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Какое из условий проверяет, что элемент квадратной матрицы находится НА побочной диагонали?
i + j == n + 1
i + j == n - 1
i > j
i + j > n - 1
i + j < n - 1
6.
MULTIPLE CHOICE QUESTION
45 sec • 15 pts
Какое из условий проверяет, что элемент квадратной матрицы находится НАД побочной и НАД главной диагональю?
i == j || i + j == n - 1
i < j || i + j < n - 1
i + j < n - 1 && i < j
i > j && i + j > n - 1
9 questions
Inequalities Symbols and Graphs
Quiz
•
9th Grade - University
10 questions
Integrals Retake
Quiz
•
12th Grade - University
10 questions
Area bajo la curva y entre curvas
Quiz
•
University
10 questions
Comparing Fractions with Same Denominator Story Problems
Quiz
•
3rd Grade - University
10 questions
Inequality
Quiz
•
7th Grade - University
10 questions
Inequalities Review Slides
Quiz
•
9th Grade - University
10 questions
Review Inequalities
Quiz
•
9th Grade - University
11 questions
Inequalities Rational Numbers
Quiz
•
6th Grade - University
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade