Question text
Download 199.5 Kb.
|
- Bu sahifa navigatsiya:
- Flag question
Question 1Correct Mark 1.00 out of 1.00 Flag question Question text"while (ifoda_shart) {…}" konstruksiyadan foydalanish nimani bildiradi? Avval shartga tekshiriluvchi sikl Dastlab funktsiyani tekshiradigan sikl
Amal bajarilgandan so’ng shartga tekshiriluvchi sikl parametrik sikl Question 2Incorrect Mark 0.00 out of 1.00 Flag question Question textfor (i=1; i<=5; i++) sikl tanasi necha marta takrorlanadi? 4 marta
to‘g‘ri javob yo‘q 6 marta
5 marta Question 3Incorrect Mark 0.00 out of 1.00 Flag question Question textQaysi operator o‘zidan keyin amallar ketma ketligini bajarmasdan bajarilish jarayonini tsikl (takrorlanish) operatoridan keyin birinchi kelgan operatorga uzatadi?
return break while
to‘g‘ri javob yo‘q Question 4Correct Mark 1.00 out of 1.00 Flag question Question texts ni qiymati nechchiga teng int s=0, i=1; do {
s+=i; i++; } while (i<5) to‘g‘ri javob yo‘q 10 15
Question 5Incorrect Mark 0.00 out of 1.00 Flag question Question textQuyidagi keltirilgan misollarning qaysi biri 1 dan 5 gacha bo‘lgan sonlarning yig‘indisini hisoblaydi? s=0;
for (i>1; i<=5, i++) s=s+i;
s=0; for (i=1, i<=5; i++) s=s+i; s=0;
for (i=1; i≤5; i++) s=s+i;
s=0; for (i=1, i==5, i++) s=s+i;
Question 6Correct Mark 1.00 out of 1.00 Flag question Question textSiklning tanasi necha marta bajarilishini aniqlang int i; for (i=0; i<7; i+=2) { ……. }
8 1 7 4 Question 7Correct Mark 1.00 out of 1.00 Flag question Question texts ni qiymati nechchiga teng int s=0, i=1; while (i<5) { s+=i; i++; } 10 15
16
Question 8Incorrect Mark 0.00 out of 1.00 Flag question Question textint i=1; do { i++; }while (i<5); sikl tanasi necha marta takrorlanadi? 4 marta
5 marta 6 marta
to‘g‘ri javob yo‘q Question 9Incorrect Mark 0.00 out of 1.00 Flag question Question texts ni qiymati nechchiga teng int s=0, i=1; do {
i++; s+=i; } while (i<5); 16 14
to‘g‘ri javob yo‘q Question 10Incorrect Mark 0.00 out of 1.00 Flag question Question textt ni qiymati nechchiga teng int t=0, i=0; while (i<5) { t+=i; i+=2;} 18
6 12 Download 199.5 Kb. Do'stlaringiz bilan baham: |
ma'muriyatiga murojaat qiling