
BYTS ASSESSMENT
Authored by Training MTEC
Information Technology (IT)
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?
Similar Resources on Wayground
10 questions
Quizzi bài 29 Tin học 10
Quiz
•
10th Grade - University
15 questions
Kegiatan Sosial di Bulan Ramadhan
Quiz
•
6th Grade - University
10 questions
Tin 9 Bài 8. SUMIF
Quiz
•
9th Grade - University
10 questions
Quiz on Basics of C
Quiz
•
University
20 questions
DATA STRUCTUIR Quiz1 (AIML)
Quiz
•
University
17 questions
Quiz de Programação em C
Quiz
•
University
20 questions
IT ELECTIVES - ROBOTICS 1ST QUIZ
Quiz
•
University
16 questions
Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data
Quiz
•
11th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University