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

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

10th Grade

15 Qs

quiz-placeholder

Similar activities

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Команда!

Команда!

1st - 10th Grade

20 Qs

Câu lệnh IF

Câu lệnh IF

10th - 12th Grade

15 Qs

c++ last

c++ last

1st Grade - University

13 Qs

Toán tử trong C ++

Toán tử trong C ++

10th - 12th Grade

20 Qs

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

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

10th Grade

10 Qs

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

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

9th - 12th Grade

10 Qs

 S  If

S If

9th - 12th Grade

10 Qs

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

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

Assessment

Quiz

Computers

10th Grade

Hard

Used 10+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Отметьте условия, записанные правильно на языке Паскаль

a0a\ge0

 (x>0) xor (y<0)\left(x>0\right)\ xor\ \left(y<0\right)  

 c<>3c<>3  

 5<a<3-5<a<3  

 x>0, y<0x>0,\ y<0  

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Отметьте все условия, записанные на языке Паскаль  с ошибкой

 c10c\ne10  

 (x<3) and (x<10)\left(x<3\right)\ and\ \left(x<10\right)  

 x>=yx>=y  

 x=y=zx=y=z  

 z=10z=10  

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как на языке Паскаль записать условие: "число х нечетное"?

 x   mod   2<>0x\ \ \ mod\ \ \ 2<>0 

 x   div  2<>0x\ \ \ div\ \ 2<>0 

x % 2 != 0

x // 2 <> 0

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Как на языке Паскаль записать условие: "-5<x<10"?

 x<10 or x>5x<10\ or\ x>-5 

 (x>5) and (x<10)\left(x>-5\right)\ and\ \left(x<10\right) 

 x>5 and x<10x>-5\ and\ x<10  

 x>5, x<10x>-5,\ x<10  

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Как на языке Паскаль записать условие:  x[1;1]x\in\left[-1;1\right]  ?

 (x<=1) or( x>=1)\left(x<=1\right)\ or\left(\ x>=-1\right) 

 (x>=1) and (x<=1)\left(x>=-1\right)\ and\ \left(x<=1\right) 

 x>=1 and x<=1x>=-1\ and\ x<=1  

 (x>1) and (x<1)\left(x>-1\right)\ and\ \left(x<1\right)  

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как на языке Паскаль записать условие:  y0y\ne0  ?

 (y<=0) or( y>0)\left(y<=0\right)\ or\left(\ y>0\right) 

 y><0y><0 

 y <>0y\ <>0  

 (y>0) and (y<0)\left(y>0\right)\ and\ \left(y<0\right)  

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Какое значение примет переменная с, в результате выполнения фрагмента программы?

а:=5;

b:=20;

а:=а-b/2;

if а>b then с:=а+b

else с:=b-а;

25

14

-15

-14

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?