
C-Volution (Easy 2)

Quiz
•
Information Technology (IT)
•
University
•
Medium
Sujal Bhagat
Used 3+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to terminate a switch statement case?
stop
end
break
exit
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the default case in a switch statement?
To define a loop.
To execute code when no other case matches.
To print output.
To read input.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of printf("%d", 20 / 3);?
6.66
6
7
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for bitwise AND in C?
&&
&
||
|
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the == operator do?
Assigns a value.
Checks for equality.
Checks for inequality.
Performs logical NOT.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid character constant in C?
123
"A"
'A'
3.14
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet? C int x = 10; if (x >= 10) { printf("Equal or greater");}
Equal or greater
No output
Error
10
Create a free account and access millions of resources
Similar Resources on Wayground
35 questions
2nd Year Data Structures Quiz Qn

Quiz
•
University
25 questions
Assesment 1

Quiz
•
University
25 questions
Seatwork #4

Quiz
•
12th Grade - University
25 questions
soal uh 9

Quiz
•
9th Grade - University
30 questions
Arduino uno

Quiz
•
University
25 questions
midterm Quiz1 on Human-Computer Interaction

Quiz
•
University
25 questions
TRK 1B ASD

Quiz
•
University
35 questions
Arduino

Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University