
BA340 L5
Authored by Oyungerel Delger
Computers
3rd Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include <stdio.h>
main(){
int a=2569,b;
b=a%1000/100;
printf("%d",b);}
2
5
6
9
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include <stdio.h>
main(){
int a=25699,b;
b=a%1000/100;
printf("%d",b);}
2
5
6
9
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include <stdio.h>
main(){
int a=25699,b;
b=a%1000/10;
printf("%d",b);}
5
56
69
99
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include <stdio.h>
main(){
int x=2506,y;
y=x/100%10;
switch(y){
case 2: printf( "One" );
case 5: printf( "Zero" );
case 0: printf( "Hello World" );
case 6: printf( "Big World" );}}
One
Zero
Hello World
ZeroHello WorldBig World
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include <stdio.h>
main(){
int s=1287,p;
p=(s%1000/10)*100+4;
printf("%d",p);}
1024
204
2804
704
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Логик AND үйлдлийг хэрхэн тэмдэглэдэг вэ?
And
&&
||
|
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include <stdio.h>
main(){
int a = 3, b = 5;
int t = a;
a = b;
b = t;
printf("%d %d", a, b);}
3 5
3 3
5 5
5 3
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?