
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
25 questions
Understanding Java Classes and Inheritance - UNIT 1

Quiz
•
University
27 questions
Quis Logika Pemprograman Komputer - 1

Quiz
•
University
30 questions
Loops, enums,arrays,conditional statements, variables

Quiz
•
University
25 questions
Codean - Java Data Types

Quiz
•
University
28 questions
Programming Fundamentals Quiz

Quiz
•
University
30 questions
Tin học đại cương - Chương 3: Lập trình C

Quiz
•
University
25 questions
testquiz

Quiz
•
University
30 questions
Warmup - Python - Machine Learning

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade