Write(‘S=’,S); End.
*a) S=0
b) S=120
c) S=15
d) S=25
399. Dastur natijasini aniqlang. Var i,s: integer; Begin s:=1; for i:=1 to 10 do; s:=s+i;
writeln(s); end.
*a) 11
b) 55
c) 56
d) 10
400. Dastur natijasini aniqlang: Begin write(round(2.78); end.
*a) 3
b) 2
c) 0.78
d) 0.2
401. Quyida write operatori necha marta bajariladi? for i:=1 to 3 do for j:=0 to 3
do write (i+j);
*a) 12 marta
b) 1 marta
c) 3 marta
d) 9 marta
402. type hafta=(dush, sesh, chor, paysch, schanba, yaksch); var x,y: hafta; t:23..56;
tavsiflash berilgan bo‘lsa, quyidagi ta’minlashlardan qaysi biri noto‘g‘ri?
*a) y=t
b) x:=sesh
c) y:=x
d) t:=31
403. Quyida S ning qiymati nimaga teng? begin S:=0; for I:=1 to 3 do S:=S+2*i;
Do'stlaringiz bilan baham: |