
Массив в C++

Quiz
•
Computers
•
1st Grade
•
Medium
Gulzina Nagibova
Used 2+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как объявить массив в C++?
int myArray[5];
int myArray{};
array myArray[5];
int myArray{5};
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как инициализировать массив в C++?
int arr[5] = {1, 2, 3, 4, 5, 0};
int arr[] = {1, 2, 3, 4, 5};
int arr[5] = {1, 2, 3, 4};
int arr[5] = {1, 2, 3, 4, 5};
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как получить доступ к элементу массива по индексу в C++?
array.at(index)
array.get(index)
array[index]
array(index)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как получить доступ к первому элементу массива в C++?
arrayName.getElement(1)
arrayName[0]
arrayName.at(0)
arrayName.firstElement()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как получить доступ к последнему элементу массива в C++?
arrayName.back()
arrayName[-1]
arrayName[size-1]
arrayName.end()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как изменить значение элемента массива по индексу в C++?
array.set(index, new_value);
array.at(index) = new_value;
array.insert(index, new_value);
array[index] = new_value;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
массив sport cодержит следующие элементы: basketball, football, baseball, tennis, hockey. Вытащите элемент tennis
sport[2]
sport[3]
sport[1]
sport[tennis]
Similar Resources on Wayground
11 questions
Pascal. Массивы

Quiz
•
1st Grade
10 questions
Python-Partie2

Quiz
•
1st Grade
10 questions
Массив Ardublock

Quiz
•
1st - 5th Grade
8 questions
JavaScript

Quiz
•
1st - 10th Grade
10 questions
P9-PSeInt

Quiz
•
1st - 10th Grade
10 questions
Екіөлшемді массив

Quiz
•
1st Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
6 questions
Создание массивов в Пайтон

Quiz
•
KG - Professional Dev...
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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

Quiz
•
6th - 9th Grade