S:=0; For n:=1 to 100 do S:=S+x mod 2;
A) to‘g‘ri javob yo‘q B) 50 C) 5050 D) 100
5. Qaysi mantiqiy ifoda A (A B) ifodaga teng kuchli?
A) A B
|
B) A
|
C) A B
|
D) A B
|
6. X sonining qaysi qiymati uchun ((X>3) (X<3)) (X<1) mulohaza rost qiymat qabul qiladi?
A) 1 B) 2 C) 3 D) 4
7. Qaysi mantiqiy ifoda (A B) C ifodaga teng kuchli?
A) A B C B) ( A B) C C) ( A B) C D) A B C
8. Quyidagi dastur lavhasi bajarilgandan keyin S o‘zgaruvchining qiymatini aniqlang:
s:=0; s:=s+Frac(122.500); s:=s+Frac(–122.5000); write(s:0:2);
A)
|
1.00
|
B)
|
0.00
|
C)
|
245
|
D)
|
245.00
|
9. Agar disk hajmi 1,83 Mb bo‘lsa, u holda “Navro‘z bahor bayrami” iborani diskka necha marta yozish mumkin (qo‘shtirnoqlar hisobga olinmasin)?
A) 91376 B) 731007 C) 91375 D) 731008
Dostları ilə paylaş: |