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

BA340 L8

Quiz
•
Computers
•
3rd Grade
•
Hard
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
Энэ 2 код ямар үр дүн гаргах вэ?
Ижил
012
үр дүн гаргана.
Ижил
0123
үр дүн гаргана.
Эхнийх
012
Дараагийх
0123
үр дүн гаргана.
Аль аль нь алдаатай тул ажиллахгүй.
Similar Resources on Quizizz
10 questions
Թեմատիկ աշխատանք N 2

Quiz
•
1st - 10th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
10 questions
Programming - Iteration, Basic Programming Constructs & Loop

Quiz
•
2nd - 12th Grade
10 questions
Bài tập trắc nghiệm C++

Quiz
•
3rd - 12th Grade
10 questions
TIC_EST_Semana_13

Quiz
•
3rd Grade
13 questions
c++ last

Quiz
•
1st Grade - University
12 questions
Petlje u pythonu

Quiz
•
1st - 5th Grade
10 questions
Python_tinh_toan1

Quiz
•
1st - 5th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade