Search Header Logo

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

Computers

10th Grade

Used 10+ times

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

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?