
Basic C language
Authored by Dhairyashil Sutar
Other
Professional Development
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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 ) /=
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
15 questions
C131
Quiz
•
Professional Development
10 questions
Le langage SMS
Quiz
•
9th Grade - Professio...
9 questions
Quiz về Module tư vấn chính sách
Quiz
•
Professional Development
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
15 questions
sanctions et procédures disciplinaires
Quiz
•
1st Grade - Professio...
11 questions
BUGÜN NE ÖĞRENDİM ? / 1 MART 2024
Quiz
•
Professional Development
10 questions
GUL Competence Stream: 4G Troubleshooting
Quiz
•
Professional Development
15 questions
Surveilans Kesehatan Pemasyarakatan
Quiz
•
Professional Development
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
Discover more resources for Other
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...