
C Programming Quiz

Quiz
•
Computers
•
University
•
Hard
SImranjeet Kaur
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
C Language Quiz-1

Quiz
•
University - Professi...
20 questions
C programming syntax quiz

Quiz
•
University
18 questions
CP-String

Quiz
•
University
16 questions
UC_TM03_Arrays_Functions

Quiz
•
University - Professi...
15 questions
Python Basics

Quiz
•
KG - University
25 questions
Compro. Final1/64 part2

Quiz
•
University
20 questions
CCE-III Programming in C Language

Quiz
•
University
18 questions
Programming in C language

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University