1
1 578 4616?
1)10101012 2)1258 3)16 4) 7516
2. F:
F:
1)
2)
3)
4)
3. . , , :
? ( ) .
* () , * .
, : ?ell*.??
1) yell.ow 2) fellow.r 3) tell?me.tu 4) bell.lab
4. () 11 24 . 7 , , . ?
5. , :
1. 3,
2. 3.
3, 3. . , 121 3, 3, 3. 1 15.
, 6 69 5 . , .
6. { ). .
7. :
1, 2:2 ?
8. , :
var n, s: integer; begin n:= 12; s:= 5; while n <= 25 do begin s:= s + 12; n:= n + 2 end; write(s) end. | n = 12 s = 5 while n <= 25 s = s + 12 n = n + 2 wend; print s end. |
9. 1 100 :
for i:=1 t 100 do A[i]:= 50 i; for i:=1 t 100 do B[i]:= A[i] + 49; | for I = 1 t 100 A (i) = 50 i Next i for i=1 t 100 B(i])= A(i) + 49 Next i |
?
|
|
1) 1 2) 10 3) 50 4) 100
10. , 5 30 . , .
2
1. 138 1316? .
2 F:
x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | x10 | F |
F?
1) x1 ∧ x2 ∧ x3 ∧ x4 ∧ x5 ∧ x6 ∧ x7 ∧ x8 ∧ x9 ∧ x10
2) x1 ∨ x2 ∨ x3 ∨ x4 ∨ x5 ∨ x6 ∨ x7 ∨ x8 ∨ x9 ∨ x10
3) x1 ∨ x2 ∨ x3 ∨ x4 ∨ x5 ∨ x6 ∨ x7 ∨ x8 ∨ x9 ∨ x10
4) x1 ∧ x2 ∧ x3 ∧ x4 ∧ x5 ∧ x6 ∧ x7 ∧ x8 ∧ x9 ∧ x10
3. . , , :
? ( ) .
* () , * .
, :?fil?*.w
1) refiled.wmf 2) fil.w 3) ffilpage.w 4) nadfil.w
4. () 16 32- . 20 , . ?
5. ,
2
1
1, 2,
2, 1. ,
5 , 6 33. .
, 12122 - :
2 1 2 1 1,
5 24.
6. c
a = 22 b = 3 a = - 2 * b + a / 2 If a < b Then c = 4 * b 3 * a Else c = 3 * a + 4 * b End If | a:= 22; b:= 3; a:= - 2 * b + a / 2; if a < b then c:= 4 * b 3 * a else c:= 3 * a + 4 * b; |
7. .
A | B | C | |
= (B1 A1)/2 | = 2 A1/2 | = (C1 A1)*2 4 |
|
|
C1, A2: 2 ? , , , .
8. , :
var n, s: integer; begin n:= 3; s:= 0; while n <= 7 do begin s:= s + n; n:= n + 1 end; write(s) end. | n = 3 s = 0 while n <= 7 s = s + N n = n + 1 wend; print s end |
9. A[1..100] B[1..100] :
for n:=1 to 100 do A[n]:= n - 10; for n:=1 to 100 do B[n]:= A[n]*n; | for N = 1 t 100 A (N) = N-10 Next N for N=1 t 100 B(N])= A(N) *n Next N |
B ?
1) 10 2) 50 3) 90 4) 100
10. 30 . 1 5 . , (, 4 5). , .