BA340 L8

BA340 L8

3rd Grade

8 Qs

quiz-placeholder

Similar activities

C-Tecnhical

C-Tecnhical

1st - 3rd Grade

7 Qs

LENGUAJE DE PROGRAMACIÓN

LENGUAJE DE PROGRAMACIÓN

1st - 3rd Grade

10 Qs

MCA-Quiz-2

MCA-Quiz-2

1st - 3rd Grade

11 Qs

Programming - Iteration, Basic Programming Constructs & Loop

Programming - Iteration, Basic Programming Constructs & Loop

2nd - 12th Grade

10 Qs

C++ test

C++ test

1st - 10th Grade

10 Qs

C++ tablice

C++ tablice

3rd Grade

12 Qs

Bài tập trắc nghiệm C++

Bài tập trắc nghiệm C++

3rd - 12th Grade

10 Qs

Orange Belt Quiz

Orange Belt Quiz

KG - 12th Grade

10 Qs

BA340 L8

BA340 L8

Assessment

Quiz

Computers

3rd Grade

Hard

Created by

Oyungerel Delger

Used 2+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Өмнөх нөхцөлт давталтын зөв форматыг сонго.

while(condition);

{

//code

}

{

//code

}while(condition);

while(condition)

{

//code

}

{

//code

}while(condition)

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Дараах нөхцөлт давталтын зөв форматыг сонгоорой.

do-while(condition);

{

//code

}

do{

//code

}while(condition);

do-while(condition)

{

//code

}

do{

//code

}while(condition)

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Хэрвээ a=10, b=5, c=10 бол a болон c-г ол?

If ((a > b) && (a <= c))  

         a = a + 1;  

else  

         c = c+1;  

a=11,c=11

a=10,c=11

a=11,c=10

a=10,c=10

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

#include <stdio.h>

int main() {

int i = 0;

while (i < 5) {

printf("%d\n", i);

i++; }

do { printf("%d ", i);

i++;}

while (i < 5);

return 0;}

0 1 2 3 4 5

0 1 2 3 4 5

0 1 2 3 4 5

0 1 2 3 4 5

6 7 8 9 10 11

0 1 2 3 4

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

#include <stdio.h>

int main() {

int i = 0;

while (i < 0) {

printf("%d ", i);

i++;}

printf("%d ", i);

return 0;}

0 0

0

1

0 1

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

#include <stdio.h>

int main() {

int i = 3;

while (i < 0) {

printf("%d", i);

i--;}

printf("%d", i);

return 0;}

3 2 1 0

3 2 1 1

3

0

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

#include <stdio.h>

int main() {

int i=1, j=1;

while (i <= 4 || j <= 3) {

printf("%d %d\n",i, j);

i++; j++; }

return 0; }

1 1

2 2

3 3

1 1

2 2

3 3

4 4

1 1

2 2

3 3

4

Програм алдаатай

8.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Энэ 2 код ямар үр дүн гаргах вэ?

Ижил

012

үр дүн гаргана.

Ижил

0123

үр дүн гаргана.

Эхнийх

012

Дараагийх

0123

үр дүн гаргана.

Аль аль нь алдаатай тул ажиллахгүй.