
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
ARRAYS AND FUNCTIONS

Quiz
•
University
20 questions
Quiz

Quiz
•
University
25 questions
Quiz 1 Review - CS125

Quiz
•
University
20 questions
C++ Quiz

Quiz
•
University
20 questions
Quiz Pemrograman Lanjut 2022/2023

Quiz
•
University
20 questions
C - Structures

Quiz
•
University
16 questions
C-Extended

Quiz
•
University
20 questions
DSA quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University