Условный оператор в Паскале

Quiz
•
Computers
•
10th Grade
•
Hard
Надежда Натарова
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Укажите правильные варианты использования условного оператора.
IF <условие> THEN <оператор 1> ELSE < оператор 2> ;
THEN <серия операторов 1> ELSE <серия операторов 2> IF <условие> ;
IF <условие> THEN <серия операторов 1>; ELSE <серия операторов 2>;
IF <условие> THEN <оператор> ;
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
В каком из вариантов есть ошибки записи:
а) if x>y then a:=x; else a:=y;
b) if x=y then write (‘No’);
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Что будет выведено на экран после выполнения фрагмента программы:
begin
a:=5;
if a<5 then a:=5 else a:=1;
writeln (a);
end.
1
3
5
ничего
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Что будет выведено на экран после выполнения фрагмента программы:
5
10
0
ничего
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Что будет выведено на экран после выполнения фрагмента программы:
begin
a:=12;
if a>10 then n:=a+5 else n:=a-1;
writeln (n);
end
17
11
12
ничего
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Определите значение переменной a после выполнения фрагмента программы (впишите правильный ответ):
a := 10;
if a > 5 then a := a + 12
else a := a - 7;
if a > 5 then a := a + 12
else a := a - 7;
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Определите значение переменной a после выполнения фрагмента программы:
a := 10;
b := 3;
if a > b then b := b + 12 else a := a - 7;
if a > b then a := a + 12 else a := a - 7;
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Урок 12 Створення веб-сторінок (Веб технології)

Quiz
•
10th Grade
10 questions
Викторина по Python (Урок 1-2)

Quiz
•
5th - 11th Grade
10 questions
KS3 GCSE Computer Science (Programming / Python)

Quiz
•
7th - 11th Grade
15 questions
Programming

Quiz
•
10th Grade
15 questions
Uvod u algoritme i programiranje

Quiz
•
9th - 12th Grade
9 questions
Величини. Змінні. Вказівка присвоювання

Quiz
•
1st - 12th Grade
15 questions
Python Basics Quiz

Quiz
•
6th - 10th Grade
10 questions
W3+4_CT

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade