C Code Master lvl 2 A
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Amartya Vishwakarma
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The keyword ‘break’ cannot be simply used within
if-esle
do-while
for
while
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The format identifier ‘%i’ is also used for _____ data type.
int
float
char
double
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code:
#include<stdio.h>
void main()
{
int a=10,b=80,c=45;
printf("%d",a<b>c);
}
0
1
10
error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following
printf("%d",34+24/12%3*5/2-4);
35
-2
34
38
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The statement int a[5][5] = {{1}};
sets all elements to 1
sets only a[0][0] to 1
fails on compilation
sets a[0][0] to 1 and the remaining elements to zeroes
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of C program.?
int main()
{
float marks[3] = {90.5, 92.5, 96.5};
int a=0;
while(a<3)
{
printf("%.2f,", marks[a]); a++;
}
}
Compiler error
90.5 92.5 96.5
0.00 0.00 0.00
90.50 92.50 96.50
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code.
int a=33 , b ;
b=(a++)-(--a);
printf("%d",b);
33
66
Garbage value
0
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
11 questions
Herramientas WEB
Quiz
•
6th Grade - Professio...
15 questions
Unit 1 lesson 1
Quiz
•
University - Professi...
10 questions
CodeMonkey Platform Management & Resources
Quiz
•
Professional Development
10 questions
Revisão LP 2023.1
Quiz
•
Professional Development
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
15 questions
Computer basics for beginners
Quiz
•
Professional Development
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
9 questions
Repaso bimestral geometría 2b
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
