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

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

10th Grade

15 Qs

quiz-placeholder

Similar activities

Alapismeretek

Alapismeretek

7th - 12th Grade

10 Qs

How the Internet Works

How the Internet Works

4th Grade - University

14 Qs

¿Qué es un sistema operativo?

¿Qué es un sistema operativo?

10th Grade

19 Qs

Bài 13 Tin 10

Bài 13 Tin 10

1st - 12th Grade

18 Qs

ExamenHojasdecalculo

ExamenHojasdecalculo

10th Grade

10 Qs

Latihan PSAS Kelas 9

Latihan PSAS Kelas 9

9th Grade - University

20 Qs

Informática I (17-18-A)

Informática I (17-18-A)

10th Grade

20 Qs

la internet

la internet

3rd - 11th Grade

20 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?