
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
15 questions
Sains Komputer Tingkatan 5 - 1.3.3 Membina Jadual Kebenaran
Quiz
•
1st Grade - Professio...
20 questions
Micro Arch - CPUs & Fetch-Execute
Quiz
•
University
20 questions
Cloud Review Quiz
Quiz
•
University
20 questions
Python Recap
Quiz
•
7th Grade - University
15 questions
Sinh hoạt lớp Tuần 7
Quiz
•
1st Grade - University
20 questions
Chapter 3: Strategic Initiatives for implementing CA
Quiz
•
University
20 questions
Kiến thức về Thuật toán và Chương trình
Quiz
•
8th Grade - University
20 questions
Artificial Intelligence CT-1
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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