
C Programming Quiz
Authored by SImranjeet Kaur
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct file extension for a C program file?
.c
.cpp
.java
.py
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions is used to print output on the screen in C?
scanf()
gets()
printf()
print()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store a single character in C?
int
char
float
double
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to end a statement in C?
, (comma)
; (semicolon)
. (period)
: (colon)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to accept input from the user in C?
scanf()
printf()
input()
get()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in C?
1var
_variable
int
for
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a loop in C?
if
while
switch
case
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
20 questions
Berpikir Komputasi - Assessment 1
Quiz
•
University
19 questions
DSA Quest 1.0
Quiz
•
University
20 questions
Quiz #1 RStudio
Quiz
•
University
16 questions
W6_BIS
Quiz
•
University
20 questions
MIDTERM-SW3 MARKETING COMMUNICATION
Quiz
•
University
20 questions
System and network support and management
Quiz
•
11th Grade - Professi...
20 questions
C - Structures
Quiz
•
University
20 questions
DreamWeaver CS6
Quiz
•
University
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