
Loops new version
Authored by Viktoriia Shemet
Computers
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як правильно оголосити цикл "while" в C#?
while (умова) { }
for (початкова_умова; умова; ітерація)
{ }
do { } while (умова)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який тип циклу в C# виконується хоча б один раз?
for
while
do-while
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як правильно ініціалізувати цикл "for" в C#?
for (int i = 0; i <= 10; i++) { }
for (i = 0; i <= 10; i++) { }
for (i = 0; i <= 10) { }
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
кільки разів виконається цикл "for" з такою інструкцією: for (int i = 0; i < 5; i++) { }?
4 рази
5 разів
6 разів
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
У якому випадку цикл "do-while" вийде зі свого тіла?
Коли умова істинна
Коли умова хибна
Цикл завжди виходить після першої ітерації
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як правильно використовувати тернарний оператор в C#?
condition ? expression1 : expression2
if (condition) expression1 else expression2
(condition) ? {expression1} : {expression2}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка дія виконується, якщо умова в тернарному операторі істинна?
Вираз expression1 виконується
Вираз expression2 виконується
Обидва вирази виконуються
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?