C Programing

Quiz
•
Computers
•
University
•
Medium
Mary Murphy
Used 431+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Choose a right C Statement.
Loops or Repetition block executes a group of statements repeatedly.
Loop is usually executed as long as a condition is met.
Loops usually take advantage of Loop Counter
All the above.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of C Program.?
int main()
{
int a=25;
while(a <= 27)
{
printf("%d ", a);
a++;
}
return 0;
}
25 25 25
25 26 27
27 27 27
Compiler error
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the way to suddenly come out of or Quit any Loop in C Language.?
continue; statement
break; statement
leave; statement
quit; statement
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Loops in C Language are implemented using.?
While Block
For Block
Do While Block
All the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Choose a correct C for loop syntax.
for(initalization; condition; incrementoperation) { //statements }
for(declaration; condition; incrementoperation) { //statements }
for(declaration; incrementoperation; condition) { //statements }
for(initalization; condition; incrementoperation;) { //statements }
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Choose a correct C do while syntax.
dowhile(condition) { //statements }
do while(condition) { //statements }
do { //statements }while(condition)
do { //statements }while(condition);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who is Father of C Language
Bjarne Stroustrup
James A. Gosling
Dennis Ritchie
Dr. E.F. Codd
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
TQ-Array operations on functions

Quiz
•
University
20 questions
LAB-Array-String

Quiz
•
University
22 questions
EXCEPTION HANDLING IN PYTHON

Quiz
•
University
20 questions
BS TEST2

Quiz
•
University
20 questions
Test Final

Quiz
•
University
23 questions
midterm 1 review!

Quiz
•
University
20 questions
Control Structures C#

Quiz
•
University
20 questions
C Programming Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University