C Programming
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Hard
Used 292+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In the following loop construct, which one is executed only once always.
for(exp1; exp2; exp3)
exp1
exp3
exp1 and exp3
exp1,exp2 and exp3
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The continue statment cannot be used with
for
while
do while
switch
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
goto can be used to jump from main to within a function?
true
false
-
-
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which loop is guaranteed to execute at least one time.
for
while
do while
none of the above
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A labeled statement consist of an identifier followed by
:
;
?
=
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
c = (n) ? a : b; can be rewritten asexp1 ? exp2 : exp3;
if(n){c = a;}else{c = b;}
if(!n){c = a;}else{c = b;}
if(n){c = b;}else{c = a;}
None of the above
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following C code?
#include <stdio.h>
int main()
{
while ()
printf("In while loop ");
printf("After loop\n");
}
In while loop after loop
After loop
Compile time error
Infinite loop
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
16 questions
Instrumentation Introduction
Quiz
•
KG - Professional Dev...
15 questions
STAAR Security Quiz
Quiz
•
Professional Development
12 questions
Dermalogica Porescreen
Quiz
•
Professional Development
15 questions
Operations Halloween Meet Up - Theme 1940’s
Quiz
•
Professional Development
20 questions
WCS 1105-1 - Knowledge Assessment
Quiz
•
Professional Development
14 questions
Filipino Foods
Quiz
•
Professional Development
20 questions
NPS Boot Camp
Quiz
•
Professional Development
15 questions
Football Quiz
Quiz
•
KG - Professional Dev...
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 Other
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...
