Competitive Programming

Quiz
•
Education, Computers
•
1st Grade
•
Medium

Sonali Kumari
Used 15+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
10 questions
Quiz ComPro 18-12-66

Quiz
•
1st Grade
10 questions
Quiz C++

Quiz
•
1st - 5th Grade
15 questions
ภาษาซี

Quiz
•
KG - 1st Grade
15 questions
C++ podstawy

Quiz
•
1st Grade
15 questions
Python Basics

Quiz
•
KG - University
15 questions
Technical Quiz

Quiz
•
1st - 5th Grade
10 questions
Базові оператори мови С

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Education
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
24 questions
1.2:End Punctuation

Quiz
•
1st - 4th Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
All About Empathy (for kids!)

Quiz
•
KG - 6th Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
10 questions
Exploring the 5 Regions of the United States

Interactive video
•
1st - 5th Grade