
Массив в 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
10 questions
Code Monkey hard

Quiz
•
1st Grade
10 questions
Introduction to Arrays

Quiz
•
KG - University
10 questions
9 сынып python

Quiz
•
1st Grade
8 questions
JS Talks, Quiz #4

Quiz
•
1st - 12th Grade
6 questions
String

Quiz
•
1st - 3rd Grade
10 questions
C# lesson10

Quiz
•
1st - 10th Grade
10 questions
Programming

Quiz
•
1st - 10th Grade
11 questions
Java Script 1.5. Объекты

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade