
Basic C language
Quiz
•
Other
•
Professional Development
•
Easy
Dhairyashil Sutar
Used 13+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the 'printf' function do in C?
A) Reads input from the user.
B) Performs mathematical calculations.
C) Prints output to the console
D) Declares a variable.
Answer explanation
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which keyword is used to define a constant in C?
A) const
B) Float
C) int
D) var
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which data type is used to store whole numbers in C?
A) float
B) char
C) int
D) double
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the symbol used for a single-line comment in C?
A)#
B) ==
C) &&
D) //
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the header file for input and output functions in C?
A) stdio.h
B) iostream.h
C) inputoutput.h
D) conio.h
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the purpose of the 'if' statement in C?
A) Loop through a set of values.
B) Make decisions based on conditions
C) Perform bitwise operations.
D) Declare a new variable
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which symbol is used for the "not equal to" comparison operator in C?
a) ==
b ) <>
c ) !=
d ) /=
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Tes Psikologi
Quiz
•
Professional Development
10 questions
TIU-PERBANDINGAN KUANTITATIF TerasASN
Quiz
•
Professional Development
13 questions
KUIZ ETOS DAN PROFIL KEJURULATIHAN
Quiz
•
Professional Development
15 questions
201 (4)
Quiz
•
KG - Professional Dev...
15 questions
Quizizz - H&H&O&SP - 4.2
Quiz
•
Professional Development
15 questions
QUIZ VERBAL 1 APRA COLLEGE KELAS POLRI
Quiz
•
Professional Development
10 questions
Quiz sur les ongles
Quiz
•
Professional Development
10 questions
SMDP 36 - Project Logistics
Quiz
•
Professional Development
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