
PSCP Quiz - MCQ
Authored by Jakir Hussain G K
others
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to indicate the end of a function in C?
end
finish
terminate
return
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to declare a function that doesn't return any value?
int
void
none
null
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store decimal numbers with single precision in C?
double
float
real
decimal
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Convert the binary number 101101 to octal.
33
45
65
55
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is NOT a relational or logical operator?
=&
||
==
!=
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet: int main() { int sum = 2 + 4 / 2 + 6 * 2; printf("%d", sum); return 0; }
14
15
16
18
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code:
#include
int main() {
int a = 5;
printf("%d", ++a + a++);
return 0;
}
12
13
14
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?