
Одномерные массивы в С#
Quiz
•
Computers
•
University
•
Hard
Гулбаршын Утеген
Used 2+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как объявить одномерный массив в С#?
int myArray[];
array myArray[];
int[] myArray;
string myArray[];
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как инициализировать одномерный массив в С#?
int[] arrayName = new int[length];
int[] arrayName = new int[]();
int[] arrayName = new int[];
int arrayName = new int[];
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Как изменить элементы одномерного массива в С#?
Используйте метод array.set(index, newValue) для изменения элементов массива.
Используйте выражение array[index] = newValue; где array - ваш массив, index - индекс элемента, newValue - новое значение, которое вы хотите присвоить.
Используйте цикл for для перебора всех элементов массива и изменения их значений.
Используйте выражение array[index] = newValue; где array - ваш массив, index - индекс элемента, newValue - новое значение, которое вы хотите присвоить.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как узнать длину одномерного массива в С#?
array.Count
array.Length
array.SizeOf
array.Size
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как объявить массив с определенным размером в С#?
int[] arrayName = new int[size];
int[] arrayName = new int[];
int[] arrayName = new int(size);
int[] arrayName = int[size];
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как скопировать одномерный массив в другой массив в С#?
Array.Paste(sourceArray, destinationArray, sourceArray.Length)
Array.Move(sourceArray, destinationArray, sourceArray.Length)
Array.Clone(sourceArray, destinationArray)
Array.Copy(sourceArray, destinationArray, sourceArray.Length)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как удалить элемент из одномерного массива в С#?
Можно использовать метод Array.Clear() или Array.RemoveAt() для удаления элемента из одномерного массива в C#.
Используйте метод Array.Delete() для удаления элемента из массива в C#.
Используйте метод Array.Remove() для удаления элемента из массива в C#.
Просто замените элемент на null в массиве в C#.
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как найти максимальный элемент в одномерном массиве в С#?
array.Biggest()
array.Maximum()
array.Largest()
array.Max()
Similar Resources on Wayground
10 questions
Базы данных 3
Quiz
•
9th Grade - University
12 questions
O que vamos aprender?
Quiz
•
1st Grade - University
11 questions
DSA Diaries 2.0
Quiz
•
University
10 questions
Algorithm analysis: divide & conquer theory
Quiz
•
University
10 questions
VB Quiz
Quiz
•
5th Grade - University
12 questions
Великие IT-шники
Quiz
•
6th Grade - University
10 questions
Programacion Orientada a Objetos
Quiz
•
12th Grade - University
10 questions
Seatwork for Data Storage
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University