
C programming
Quiz
•
Education
•
University
•
Practice Problem
•
Hard
fiza pittcomel
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you have to make decision based on multiple choices, which of the following is best suited?
if
if-else
if-else-if
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A switch statement is used to
To use switching variable
Switch between function in a program
Switch from one variable to another variable
To choose from multiple possibilities which may arise due to different values of a single variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of ‘grade’ after the switch statement is executed?
A
B
C
E
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If switch feature is used, then
Default case must be present
Default case, if used, should be the last case
Default case, if used, can be placed anywhere
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find an integer constant.
3.142
'2.5'
31
NONE OF THE ABOVE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Data type of the controlling statement of a SWITCH statement cannot of the type:
int
char
short
float
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not logical operator?
&
&&
||
!
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
10 questions
Praktisi Mengajar - Java Test
Quiz
•
University
15 questions
UN Headquarters NYC
Quiz
•
10th Grade - Professi...
10 questions
DAA Quiz 1
Quiz
•
University
10 questions
Quiz-1
Quiz
•
University
15 questions
Chapter 6: The Spiritual Self (USELF Understanding the Self)
Quiz
•
University
15 questions
NPTEL Quiz-2
Quiz
•
University
10 questions
Personal Development
Quiz
•
University
12 questions
Quiz-2
Quiz
•
University
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
