
PSAP QUIZ 3

Quiz
•
Computers
•
University
•
Hard

A M
Used 2+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
#include <stdio.h>
int main() {
int x = 5;
printf("%d", x++ * x++);
return 0;
}
25
30
36
26
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
#include <stdio.h>
int main() {
int x = 5, y = 6, z = 7;
printf("%d", x < y > z);
return 0;
}
1
0
5
6
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
#include <stdio.h>
int main() {
int x = 7;
printf("%d", x % 3);
return 0;
}
1
3
7
2
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
#include <stdio.h>
int main() {
int x = 5;
printf("%d", x == 5);
return 0;
}
1
0
5
True
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
#include <stdio.h>
int main() {
int x = 5;
printf("%d", x = 6);
return 0;
}
6
7
1
Compile Time Error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
#include <stdio.h>
int main() {
int x = 5;
printf("%d", x || 0);
return 0;
}
1
0
5
True
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
#include <stdio.h>
int main() {
int x = 5;
printf("%d", x << 2);
return 0;
}
20
5
10
25
Similar Resources on Wayground
10 questions
C Language

Quiz
•
University
10 questions
Looping in C

Quiz
•
University
10 questions
Programación II Parte 1

Quiz
•
University
8 questions
Quiz - 1

Quiz
•
University
11 questions
C Language

Quiz
•
10th Grade - University
10 questions
C_Quiz2

Quiz
•
University
10 questions
Array in C

Quiz
•
University
10 questions
DS UNIT-2 TEST-1

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University