
BA340

Quiz
•
Computers
•
3rd Grade
•
Hard
Oyungerel Delger
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include <stdio.h>
main(){
printf("%d ", 1);
goto l1;
printf("%d ", 2);
l1:goto l2;
printf("%d ", 3);
l2:printf("%d ", 4);}
1 2
1 3
1 4
Алдаатай тул ажиллахгүй.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
a хувьсагчийг 3-аар нэмэгдүүлж байгаа дараах үйлдлүүдээс аль нь буруу бичигдсэн бэ?
a++;
a++;
a++;
a=+3;
a=a+3;
a+++
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
C програмчлалын хэлэнд хэдэн төрлийн давталтын оператор байдаг вэ?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include <stdio.h>
int main(){
int a = 1, b = 1, c;
c = a++ + b;
printf("%d %d", a, b);}
1 1
1 2
2 1
2 2
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include <stdio.h>
int main () {
int a = 10;
LOOP: if( a == 15) {
a = a + 1;
goto LOOP;}
printf("%d", a);
a++;
return 0;}
12
11
10
Алдаатай
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include<stdio.h>
int main() {
int n=4, i=1;
start:
printf("%d\t",i);
i++;
if(i<n) goto start;
return 0;}
1
1 2
1 2 3
1 2 3 4
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include<stdio.h>
int main() {
int n=3, sum=0;
start:
if(n<0) goto end;
sum = sum + n;
n--;
goto start;
end:
printf("Sum = %d",sum);
return 0; }
0
3
4
6
8.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include<stdio.h>
int main(){
int age=37;
g: printf("huuhed");
goto end;
s: printf("hun");
goto end;
if(age>=18) goto g;
else goto s;
end:
return 0;}
huuhed
hun
huuhed
hun
0
Similar Resources on Wayground
10 questions
PROGRAMACION MODULAR DE VECTORES Y MATRICES

Quiz
•
1st - 5th Grade
10 questions
Conceptos básicos sobre Arduino

Quiz
•
1st - 3rd Grade
7 questions
Revisão - Linguagem C

Quiz
•
1st - 3rd Grade
11 questions
JS Basics

Quiz
•
1st - 5th Grade
10 questions
INTRODUCTION TO OOP

Quiz
•
1st - 3rd Grade
10 questions
CHAPTER 4 - SQL (4.1.1 - 4.1.3)

Quiz
•
1st - 3rd Grade
13 questions
Quiz sobre Linguagem C para Iniciantes

Quiz
•
3rd Grade
12 questions
AppsLab_Q3

Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade