
pps quiz 2023
Authored by roja laveti
Education
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an algorithm?
A step-by-step procedure to solve a problem.
A graphical representation of data.
A computer program.
A mathematical equation.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which among the following operator has the highest priority?
Comma operator
Conditional operator
Relational operator
Unary plus operator
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many keywords are there in C?
34 keywords
36 keywords
32 keywords
38 keywords
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this program?
#include <stdio.h>
int main()
{
printf("variable! %d", x);
return 0;
}
variable! x
variable! followed by a junk value
Compile time error
variable!
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this program? if input a is 1 and b is 2
#include <stdio.h>
int main()
{
int a, b;
printf("%d", scanf("%d %d",&a,&b));
return 0;
}
1
2
runtime error
compile time error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All C program files are with what extension?
.c extension
.t extension
.tc extension
.cc extension
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different types of constants in C?
Numeric constants
Character constants
Both A & B
None of the above
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?