Competitive Programming
Quiz
•
Education, Computers
•
1st Grade
•
Practice Problem
•
Medium
Sonali Kumari
Used 15+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this code?
const double PI=3.1416;
printf("%.2f",PI);
3.141
3.14
3.1416
3.1
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this code?
int count=1;
for(int i=0;i<10;i++){
for(int j=0;j<=10;j++){
count++;
}
}
printf("%i",count);
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this code?
int a=2;
int b=4;
a=b/a;
b=a+b;
a=a*b;
printf("%d",a);
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this code?
int x=1;
x%=3;
printf("%d",x);
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
C language support classes and objects
True
False
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blanks to calculate the sum of all elements in the array arr, which contains 7 elements:
int sum=0;
_(int x=0; x<_; x++){
sum+=arr[ _ ];
}
printf("%d",sum);
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this code?
int i=(1,2,3);
printf("%d",i);
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Lab safety rules and turning on and shutting down the computer
Quiz
•
1st Grade
15 questions
Quiz Sistem Pembayaran
Quiz
•
1st Grade - University
10 questions
MATLAB Onramp Uniroma2
Quiz
•
1st Grade
14 questions
MFM_Evaluacion Primer parcial
Quiz
•
1st - 9th Grade
15 questions
Sains Komputer Tingkatan 5 - 1.3.3 Membina Jadual Kebenaran
Quiz
•
1st Grade - Professio...
10 questions
Matematika Tema 1
Quiz
•
1st Grade
10 questions
QUIZIZZ DE PROGRAMACION
Quiz
•
1st - 5th Grade
10 questions
Cara Merawat Tubuh & Pancaindra
Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Education
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
20 questions
Multiplication Mastery Checkpoint
Quiz
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
16 questions
natural resources
Quiz
•
1st Grade
20 questions
Identify Coins and Coin Value
Quiz
•
1st Grade
24 questions
Addition
Quiz
•
1st Grade
