Question text


Download 199.5 Kb.
Sana14.11.2020
Hajmi199.5 Kb.
#145868

Question 1


Correct

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 2


Incorrect

Mark 0.00 out of 1.00



Flag question

Question text


for (i=1;  i<=5;  i++) sikl tanasi necha marta takrorlanadi?

4 marta


to‘g‘ri javob yo‘q

6 marta


5 marta

Question 3


Incorrect

Mark 0.00 out of 1.00



Flag question

Question text


Qaysi 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 4


Correct

Mark 1.00 out of 1.00



Flag question

Question text


s ni qiymati nechchiga teng

        int s=0, i=1;

        do

       {


          s+=i;

          i++;

        } while (i<5)

to‘g‘ri javob yo‘q

10

15

16



 

Question 5


Incorrect

Mark 0.00 out of 1.00



Flag question

Question text


Quyidagi 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 6


Correct

Mark 1.00 out of 1.00



Flag question

Question text


Siklning tanasi necha marta bajarilishini aniqlang

                  int i;

     for (i=0; i<7; i+=2) 

               {

                 …….

   }


8

1

7



4


Question 7


Correct

Mark 1.00 out of 1.00



Flag question

Question text


  1.  s ni qiymati nechchiga teng

           int s=0, i=1;

           while (i<5)

           {

                 s+=i;

                  i++;

            }

10

15

to‘g‘ri javob yo‘q



16

 

Question 8


Incorrect

Mark 0.00 out of 1.00



Flag question

Question text


int 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 9


Incorrect

Mark 0.00 out of 1.00



Flag question

Question text


s ni qiymati nechchiga teng

   int s=0, i=1;

   do

  {


     i++; s+=i; 

   }   while (i<5);

16

14

15



to‘g‘ri javob yo‘q

Question 10


Incorrect

Mark 0.00 out of 1.00



Flag question

Question text


t ni qiymati nechchiga teng

     int t=0, i=0;

    while (i<5)

   { t+=i;

      i+=2;}

18

10



6

12


Download 199.5 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling