
BYTS ASSESSMENT
Quiz
•
Information Technology (IT)
•
University
•
Hard
Training MTEC
Used 1+ times
FREE Resource
Enhance your content
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
#include<stdio.h>
int main()
{
int x=2, y=70, z;
z = x!=4 || y == 2;
printf("z=%d\n", z);
return 0;
}
z=3
z=4
z=5
z=6
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
#include<stdio.h>
int main()
{
int k, num=30;
k = (num>5 ? num <=10 ? 100 : 200: 500);
printf("%d\n", num);
return 0;
}
100
200
300
400
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
#include<stdio.h>
int main()
{
int i=4;
switch(i)
{
default:
printf("This is default\n");
case 1:
printf("This is case 1\n");
case 2:
printf("This is case 2\n");
break;
case 3:
printf("This is case 3\n");
}
return 0;
}
This is default
This is case 1
This is default
This is case 1
This is case 2
This is case 1
This is case 2
This is default
This is case 2
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
#include<stdio.h>
int main()
{
int a,b,c;
a=10,b=20;
c=10&&b=30;
printf("%d %d %d",a,b,c);
}
declaration error
10,20,30
Error- L value required
None of these
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
#include<stdio.h>
int main()
{
int i=20;
int j = i + (1, 2, 3, 4, 5);
printf("%d\n", j);
return 0;
}
24
25
26
27
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
#include<stdio.h>
int main()
{
int i = 5;
while(i-- >= 0)
printf("%d,", i);
i = 5;
printf("\n");
while(i-- >= 0)
printf("%i,", i);
while(i-- >= 0)
printf("%d,", i);
return 0;
}
4,3,2,1,0,-1,
4,3,2,1,0,-1,
4,3,2,1,-1,0,
4,3,2,1,-1,0,
4,3,2,0,1,-1,
4,3,2,0,1,-1,
4,3,0,1,-1,2,
4,3,0,1,-1,2,
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
#include<stdio.h>
int main()
{
int a;
for(a=1;a++<=1;a++)
{
for(a++;a++<=6;a++)
{
a++;
}
}
printf("%d",a);
}
14
12
13
15
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Pemrograman Blokly
Quiz
•
9th Grade - University
20 questions
Pretest Alpro Dasar
Quiz
•
University
20 questions
Quiz 1 | Information Security | Kali Linux Commands
Quiz
•
University
20 questions
Informatique et nouvelles technologies, le saviez-vous ?
Quiz
•
1st Grade - University
15 questions
Karışık Algoritma 9. sınıf
Quiz
•
9th Grade - University
20 questions
PPL 223 ( QUIZ 2) Syntax and Semantics
Quiz
•
University
20 questions
CI2214 Chapter 1
Quiz
•
University
12 questions
QUIZ KEJAHATAN DUNIA MAYA
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University