28.02 C sharp
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Medium
Gaukharka Marat
Used 14+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какая строка кода содержит ошибку?
if (a > b)
Console.WriteLine("a больше b");
else if (a < b)
Console.WriteLine("a меньше b");
else
Console.WriteLine("a равно b");
if (a > b)
Console.WriteLine("a больше b");
else if (a < b)
Нет ошибки
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Что будет выведено в результате выполнения следующего кода?
```csharp
for (int i = 0; i < 3; i++)
{
Console.WriteLine(i);
}
0 1 2
1 2 3
0 1 2 3
1 2
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Сколько раз будет выполнен следующий цикл?
int i = 5;
while (i < 8)
{
i++;
}
2
3
4
5
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какое минимальное количество раз будет выполнен следующий цикл?
int i = 10;
do
{
i++;
} while (i < 5);
0
1
5
10
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Соотнесите вывод программы с ее кодом:
int[] nums = {1, 2, 3};
foreach (var num in nums)
{
Console.WriteLine(num);
}
Выводит числа от 1 до 3 включительно
Выводит числа от 0 до 2 включительно
Выводит одно число 3
Не компилируется
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Как правильно объявить массив целых чисел?
int array[] = new int[5];
int[] array = new int[5];
array<int> = new int[5];
int array = new int[5];
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какое значение будет в `x` после выполнения следующего кода?
int[] array = {1, 2, 3, 4, 5};
int x = array[2];
1
2
3
4
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Teacher's Day
Quiz
•
6th - 12th Grade
16 questions
Rabu, 5 Maret 2025 (Tugas Daring Bahasa Bali Kelas 7)
Quiz
•
12th Grade
20 questions
Unit 1: Research Methods Psychology
Quiz
•
11th - 12th Grade
16 questions
Newspaper
Quiz
•
5th Grade - Professio...
13 questions
Ekipa Friza
Quiz
•
KG - Professional Dev...
16 questions
PAS KELAS 12 BAHASA INDONESIA
Quiz
•
9th - 12th Grade
10 questions
FAKE NEWS, INFORMAZIONE, DISINFORMAZIONE - QUIZ INIZIALE
Quiz
•
9th - 12th Grade
15 questions
Katakana a-so
Quiz
•
4th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Other
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
