Savol №1 C++ tili kim tomonidan yaratilgan? +a Straustrup b Richchi c Kernigan va D. Ritchi d Kernigan Savol №2
Download 431.03 Kb.
|
1.Dasturlash 1 uzb
Savol №150
int A[10] kabi aniqlangan massivdan noto‘g‘ri foydalanilgan javobni tanlang. a)A[9]=A[3]+A[6]; b)A[6-2]=A[6+2]; c)cout << A[5]; d)cout << A[0]; e)*cout << A[-10]; Savol №151 float B[10] kabi aniqlangan massivdan to‘g‘ri foydalanilgan javobni tanlang. a)cout << B[10-11]; b)*B[0]=B[5-3]-B[5+3]; c)B[10]==B[0]; d)B[8+8]=B[0]+B[1]; Savol №152 char C[10] kabi aniqlangan massivdan noto‘g‘ri foydalanilgan javobni tanlang. a)*cout << C[0-1]; b)C[0]=C[0]+C[0]; c)cin >> C[0]; d)cout << C[9]; Savol №153 D[10] kabi aniqlangan massivdan noto‘g‘ri foydalanilgan javoblarni tanlang a)*cout << D[0-1]; b)cout << D[9]; c)cin >> D[10]; d)D[0]=D[0] || D[0]; Savol №154 C++ dasturlash tilida simvolli tipdagi massivlar qanday e’lon qilinadi? a)char a[i,j] b)*char a[i][j] c)char a(i)(j) d)char a{I,J} Savol №155 Quyidagicha aniqlangan funksiyalar uchun to‘g‘ri chaqiruv ko‘rsatilgan satrni toping a)cout << Min(P+10,Q) << endl; b)cout << Avg(P+10, Q+20) << endl; c)cout << Sum(P+10,Q) << endl; d)*cout << Max(P+10, Q+20) << endl; Savol №156 Quyidagicha aniqlangan funksiyalar uchun noto‘g‘ri chaqiruv ko‘rsatilgan satrni toping a)*cout << Min(P+20,Q+20) << endl; b)cout << Sum(P,Q) << endl; c)cout << Avg(P,Q) << endl; d)cout << Max(P,Q+20) << endl; Savol №157 Quyidagicha aniqlangan funksiyalar uchun to‘g‘ri chaqiruv ko‘rsatilgan satrni toping a)cout << Sum(P,Q+20) << endl; b)cout << Avg(P+10,Q) << endl; c)cout << Max(P+10,Q) << endl; d)*cout << Min(P+10, Q+20) << endl; Savol №158 Quyidagicha aniqlangan funksiyalar uchun noto‘g‘ri chaqiruv ko‘rsatilgan satrni toping a)*cout << Sum(P+10, Q+20) << endl; b)cout << Min(P,Q) << endl; c)cout << Max(P,Q) << endl; d)cout << Avg(P,Q+20) << endl; Savol №159 Quyidagicha aniqlangan funksiyalar uchun noto‘g‘ri chaqiruv ko‘rsatilgan satrni toping a)cout << Avg(P,Q) << endl; b)*cout << Max(P,Q+20) << endl; c)cout << Sum(P,Q) << endl; d)cout << Min(P+20,Q+20) << endl; Savol №160 Quyidagi dastur ekranga chiqaradigan natija keltirilgan satrni toping. a)6 4 100 b)4 6 86 c)4 6 66 d)*4 6 60 Savol №161 Quyidagi dastur ekranga chiqaradigan natija keltirilgan satrni toping. a)6 4 100 b)*4 6 86 c)6 4 84 d)4 6 66 Savol №162 Quyidagi dastur ekranga chiqaradigan natija keltirilgan satrni toping. a)6 4 100 b)4 6 66 c)4 6 60 d)*6 4 84 Download 431.03 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling