.


:




:

































 

 

 

 


;




2) ;

3) .

4)

 

16. A= false, B= true. (A&B)V A V B

1) false;

True;

3) 1

4) 0

 

17. , ,

1) ;

2) ;

4)

 

18.

1) , ;

2) , ;

3)

4)

 

19.

1) Pascal;

2) Fortran;

3) Basic;

4) Algol

 

20. ()

( ) (and);

2) ( ) (or);

3) (not)

4) xor

 

21. ()

1) ( ) (and);

( ) (or);

3) (not)

4) xor

 

22. ()

1) ( ) (and);

2) ( ) (or);

(not)

4) xor

 

23. ,

;

2) ;

3) ;

4) .

 

24. .

:

1)

2)

3)

4)

 

25.

1) , , ;

, , , , , ;

3) , , ,

4) , ,

 

26. . :

1) NameIvan;

2) 1Name;

Name_Ivan;

4) Name.1;

 

27. : , , .

a) while x<>0 do

begin c: = c+1/x; x: = x-1; end;

) repeat c: = c+1/x; x: = x-1 until x = 0;

) for x:=10 downto 1 do c: = c+1/x;

 

1) , , ;

2) , , ;

, , ;

4) , , ;

 

28. :

i: =1;

repeat

y: = sqr(i)+1;

i: = i+1

until i>20

writeln (y=,y);

?

1) i: =1;

y: = sqr(i)+1;

i: =i+1;

2)y:= sqr(i)+1;

i: = i+1;

3) y:= sqr(i)+1;

i: =i+1;

writeln(y = ,y);

4) y:= sqr(i)+1;

 

29. :

x:=5;

while x<=10 do begin

z:= ln(x)/x;

x:=x+0.5;

end;

writeln(x = ,x:4:1, z = , z:8:2);

?

Begin

z:=ln(x)/x;

x:=x+0.5;

End;

2) z:= ln(x)/x;

x:=x+0.5;

3) x:=5;

z:= ln(x)/x;

x:=x+0.5;

4) x:=5;

z:= ln(x)/x;

x:= x+0.5;

writeln(x = , x:4:1, z = , z:8:2);

 

30.

1) ;

;

3) ;

4) .

 

31.

, ;

2) ;

3) ;

4) .

 

32.

1) ;





:


: 2016-10-07; !; : 592 |


:

:

, .
==> ...

1327 - | 1249 -


© 2015-2024 lektsii.org - -

: 0.01 .