
Дин. массивы: повторение
Authored by Лада Торчик
Computers
9th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Где выделяется память для динамического массива?
стек
куча
2.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Выберите правильный вариант создания динамического массива
int* arr = new int[10];
int arr = new int[10];
int* arr = new int(10);
int arr = new int(10);
3.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Как освободить память после использования динамического массива?
delete arr;
delete[] arr;
arr.delete();
del arr;
4.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Как заполнить динамический массив значениями, введенными с клавиатуры?
точно так же, как и обычный массив
обращаться к элементам массива по ссылке
использовать разыменовывание элементов массива
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Можно ли создать динамический массив следующим образом:
int n = 10;
int* arr = new int[n];
да
нет
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Можно ли менять размер динамического массива по ходу программы?
да
нет
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?