
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?
&
&&
||
!
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
Already have an account?
Similar Resources on Wayground
10 questions
Ethical Theory: Prima Facie Duties
Quiz
•
University
11 questions
SoS The story message-Introductions
Quiz
•
University
15 questions
Normal costing and Actual costing
Quiz
•
University
10 questions
Services Marketing Mix
Quiz
•
University
15 questions
Business Studies Grade 11 C
Quiz
•
University - Professi...
12 questions
IPR102_Session 15_HiepTH9
Quiz
•
University
11 questions
Language Origin and Properties
Quiz
•
University
10 questions
Research Skills Revision
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Education
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
