|
C
|
cmp();
|
|
|
|
|
D
|
strcomp();
|
|
|
|
74
|
|
Satr bu -
|
2
|
11
|
LO4
|
|
A
|
belgilar ketma-ketligi
|
|
|
|
|
B
|
Ustunlar ketma-ketligi
|
|
|
|
|
C
|
Chaqiruvlar ketma-ketligi
|
|
|
|
|
D
|
Kiritish ketma-ketligi
|
|
|
|
75
|
|
C/C++ tilida asosiy funksiya ichida e’lon qilingan o’zgaruvchilar qanday o’zgaruvchilar deyiladi?
|
2
|
11
|
LO4
|
|
A
|
Local o’zgaruvchilar
|
|
|
|
|
B
|
Global o’zgaruvchilar
|
|
|
|
|
C
|
Butun o’zgaruvchilar
|
|
|
|
|
D
|
haqiqiy o’zgaruvchilar
|
|
|
|
76
|
|
Amal noto`g`ri yozilgan qatorni aniqlang ?
|
2
|
11
|
LO4
|
|
A
|
A!%5
|
|
|
|
|
B
|
A=5
|
|
|
|
|
C
|
A==5
|
|
|
|
|
D
|
A!=5
|
|
|
|
77
|
|
include xizmatchi so`zning vazifasini aniqlang ?
|
2
|
10
|
LO4
|
|
A
|
kutubxonalarni chaqiradi
|
|
|
|
|
B
|
maxsus so`z
|
|
|
|
|
C
|
dastur boshida yoziladi
|
|
|
|
|
D
|
ichki buyruqlarni chaqiradi
|
|
|
|
78
|
|
C++da scanf operatorining kutubxonasi qaysi?
|
2
|
10
|
LO4
|
|
A
|
stdio.h
|
|
|
|
|
B
|
conio.h
|
|
|
|
|
C
|
stdlib.h
|
|
|
|
|
D
|
iostream
|
|
|
|
79
|
|
Shart operatori qaysi konstruksiya yordamida ifodalanadi?
|
2
|
11
|
LO4
|
|
A
|
if (ifoda_shart) {…} else {…}
|
|
|
|
|
B
|
while (ifoda_shart) {…}
|
|
|
|
|
C
|
else (ifoda_shart) else {…}
|
|
|
|
|
D
|
if (ifoda_shart) else {…}
|
|
|
|
80
|
|
Qaysi operator yordamida ko’p alternativli tanlash bajariladi?
|
2
|
11
|
LO4
|
|
A
|
switch
|
|
|
|
|
B
|
throw
|
|
|
|
|
C
|
public
|
|
|
|
|
D
|
struct
|
|
|
|
81
|
|
S++ da shartli o’tish operatorini ko’rsating
|
1
|
2
|
LO1
|
|
A
|
if
|
|
|
|
|
B
|
switch
|
|
|
|
|
C
|
goto
|
|
|
|
|
D
|
continue
|
|
|
|
82
|
|
S++ da shartsiz o’tish operatorini ko’rsating
|
1
|
5
|
LO3
|
|
A
|
goto
|
|
|
|
|
B
|
if
|
|
|
|
|
C
|
switch
|
|
|
|
|
D
|
break
|
|
|
|
83
|
|
S++ da tanlash operatorini ko’rsating
|
1
|
2
|
LO3
|
|
A
|
switch
|
|
|
|
|
B
|
goto
|
|
|
|
|
C
|
if
|
|
|
|
|
D
|
return
|
|
|
|
84
|
|
case operatoridan keyin qanday belgi qo’yiladi ?
|
1
|
1
|
LO3
|
|
A
|
“:” – ikki nuqta
|
|
|
|
|
B
|
“.” - nuqta
|
|
|
|
|
C
|
“-“ - minus
|
|
|
|
|
D
|
“;” – nuqtali vergul
|
|
|
|
85
|
|
Quyidagi jumlaga mos keluvchi buyruqni C++ tilida yozing
«Agar o’zgaruvchi index qiymati o’zgaruvchi size qiymatidan kata bo’lsa count o’zgaruvchiga inkrement amalini qo’llang»?
|
1
|
2
|
LO1
|
|
A
|
if (index>size) count++;
|
|
|
|
|
B
|
if index>size { count++; }
|
|
|
|
|
C
|
if (index>=size) { ++count; }
|
|
|
|
|
D
|
if (index>size) { count++ }
|
|
|
|
86
|
|
C++ tilida to’gri yozilgan buyruqni ko’rsating?
|
1
|
2
|
LO1
|
|
A
|
if (x>0) y=sqrt (x);
|
|
|
|
|
B
|
IF (x>0) Do y:=sqrt (x)
|
|
|
|
|
C
|
if y=sqrt (x) then x>0
|
|
|
|
|
D
|
IF x>0 then y:=sqrt (x);
|
|
|
|
87
|
|
Quyida berilgan dastur qismi natjasida
int i=2;
switch (i)
{ case 1: i += 2; break;
case 2: i *= 3; break;
case 6: i /= 2; break;
default: ; }
|
1
|
2
|
LO3
|
|
A
|
o’zgaruvchi i ning qiymati 6 teng bo’ladi
|
|
|
|
|
B
|
o’zgaruvchi i ning qiymati 3 teng bo’ladi
|
|
|
|
|
C
|
o’zgaruvchi i ning qiymati o’zgarmasdan qoladi
|
|
|
|
|
D
|
o’zgaruvchi i ning qiymati 1 teng bo’ladi
|
|
|
|
|