
PU - Day 1 assessments - Mahendran's batch
Authored by training atomm
Professional Development
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int a = 3;
int b = ++a + a++ + --a;
printf("Value of b is %d", b);
}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int x = 5;
int y = x++ + --x + x--;
printf("Value of y is %d", y);
}
Value of y is 10
Value of y is 12
Value of y is 15
Value of y is 8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int p = 2, q = 3;
int r = p * ++q + --p;
printf("Value of r is %d", r);
}
Value of r is 5
Value of r is 6
Value of r is 7
Value of r is 8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int m = 4;
int n = m-- + --m + ++m;
printf("Value of n is %d", n);
}
Value of n is 10
Value of n is 9
Value of n is 8
Value of n is 7
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int a = 6;
int b = a++ + ++a + --a;
printf("Value of b is %d", b);
}
Value of b is 18
Value of b is 16
Value of b is 12
Value of b is 14
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int x = 7;
int y = --x + x-- + ++x;
printf("Value of y is %d", y);
}
Value of y is 21
Value of y is 19
Value of y is 20
Value of y is 18
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int p = 5, q = 2;
int r = p / --q + ++p;
printf("Value of r is %d", r);
}
Value of r is 5
Value of r is 6
Value of r is 8
Value of r is 7
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
Recap Quiz - CRAFT Experiences - Oberoi
Quiz
•
Professional Development
10 questions
Be an AB Expert
Quiz
•
Professional Development
10 questions
Review TKMRPI I
Quiz
•
Professional Development
11 questions
Scheduled Waste Management
Quiz
•
Professional Development
10 questions
1. Intro to Computer Vision
Quiz
•
Professional Development
11 questions
Total Rewards: Compensation and Benefits Quiz
Quiz
•
Professional Development
11 questions
Commercial 2022 Priorities
Quiz
•
Professional Development
15 questions
SOAL PRETEST PPG 34
Quiz
•
Professional Development
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