.


:




:

































 

 

 

 


Run - . turbo Pascal. 2




1 4 3 2

(x<y) and not (x>z)

 

:

1. (y>z) and not ((x>0) or (z>x)) or (x>y)

2. (a<=c) and ((b<=d or a)<=d) and (b<=c)

3. not (x>1) or (x<=y) and (not x<z)

4. not ((x>1) or (x<=y)) and (x<z)

5. not (x>1) (or (x<=y) and (x<z))

6. not ((x>1) or (x<=y) and not (x<y))

7. (x>1) and ((x<=y) and not (x<y))

8. not ((x>1) or not (x<=y) and not (x<y))

9. (not (x>1) or (x<=y)) and (x<y)

10. (not (x>1) and not (x<=y) or (x<y))

11. (x>1) or (not (x<=y) or (x<y))

12. not (x>1) or not (x<=y) and not (x<y)

13. not ((x>1) and not (x<=y) and not (x<y))

14. (x>1) or (x<=y and x)<y

15. ((x>1 or x)<=not y) and not (x<y)

 

3. .

:

- ;

- :

) ,

) ;

- .

 

:

1. ;

2. ;

3. ;

4. ;

5. ;

6. ;

7. ;

8. ;

9. ;

10. ;

11. ;

12. ;

13. ;

14. ;

15. .

 

4. .

:

- ;

- .

. .

 

:

1.
, = .
, , - . .

2.
, , .

.

3.
, , .
, 5. .

4.
, , .
, (1;5).

5.
, , .
.

6.
, , .

.

7.
, , .
䒺 .

8.
, , .
.

9.
, , .
.

10.
, , .
.

11.
, , .
, [-4;7].

12.
, , .
.

13.
, , .
7 .

14.
, , .
.

15.
, , .
.

 


5

: . .

: . -. .

:

1. , ? ?

2. ?

3. ?

4. ?

5. ?

6. ?

7. ?

8. ?

9. ?

10. , :

K:=40; CASE K MOD 4 OF

0: WRITELN(K=4M);

1: WRITELN(K=4M+1);

2: WRITELN(K=4M+2);

3: WRITELN(K=4M+3)

END;

8. :

VAR T: CHAR;

T:=A; CASE ORD(T) OF

A: T:=SUCC(T);

B: T;=PRED(T)

END;

9. , ?

 

1. ' .

:

- ;

- .

 

:

1. ( 6 ).

2. : , , , ᒺ , ( ). ᒺ ( ).

3. 5 . R , , R .

4. 6 , . , 1980 .

5. , .

6. , .

7. .

8. : , , , ᒺ , ( ). , .

9. .

10. : , . , (, 2 5 ). , . R . , .

11. .

12. , .

13. +, -, *, / b .

14. () .

15. ( 7 ).

 

2. - .

:

' ;

, ;

;

, , (: 5 5, 4 4, 3 , 3 - 2). .

 

:

 

1. Pascal.

2. .

3. Pascal.

4. .

5. Pascal.

6. .

7. .

8. .

9. , .

10. , , , .

11. , .

12. ᒺ .

13. .

14. Pascal.

15. .


6

: . .

: Pascal , .

:

1. ?

2. .

3. ?

4. , ?

5. ? ?

 

1. , , .

:

- : , ;

- .

 

:

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

11.

12.

13.

14.

15.

 

2. .

:

- ;

- While;

- .

 

:

1. , , 0.001.

2. , , 0.0001.

3. 1 2, ϲ 2. ³, 1>2 1<2. ϳ, .

4. '
, . , .

5. ' ( ) , . ǒ, . , .

6. , . % . , N (N>M).

7. , L .

8. , , 0.0001.

9. ˳ . ' 120000 3. 5.5%. г 9500 3. ' 230003? ' 䳿.

10. ' . .

11.

12.

13. b >0. . ' .

14. b >0. . , b.

15. n- , , () , , () .

 


7

: . .

: Pascal .

:

1. .

2. ?

3. , ?

4. While Repeat?

5. ?

 

1. .

:

- ;

- ;

- .

 

:

1. N . .

2. ϳ , 3 N.

3. 1 N (N 12).

4. ϳ 9 3, .

5. N

6. , .

7. S=sin1+sin2 + sin 3 +... + sin 45.

8. ϳ , 6,
N.

9. .

10. 1 30 .

11. , 8.

12. N

13. -8, -6, -4,..., 4, 6, 8.

14. 10 50.

15. , [-3.5;12,8].

2. .

:

- ;

- :

o Repeat;

o While;

- .

 

:

1. ' . .

2.

3. b >0. . ' .

4. b >0. . , b.

5. n- , , () , , () .

6. , , 0.001.

7. , , 0.0001.

8. 1 2, ϲ 2. ³, 1>2 1<2. ϳ, .

9. ' , . , .





:


: 2016-03-28; !; : 841 |


:

:

,
==> ...

1971 - | 1811 -


© 2015-2024 lektsii.org - -

: 0.087 .