C Programming Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
Shruti Dhote
Used 2+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who is the father of the C programming language?
Bjarne Stroustrup
Dennis Ritchie
James Gosling
Guido van Rossum
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to end a statement in C?
:
;
.
,
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to print a message to the screen in C?
printf()
scanf()
print()
output()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to declare a variable in C?
variable x;
int x;
declare int x;
x integer;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store decimal numbers in C?
int
float
char
double
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid comment in C?
// This is a comment
\ This is a comment
* This is a comment *
#This is a comment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an int in C?
1 byte
2 bytes
4 bytes
8 bytes
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
EOC Prep for Digital Information Technology Part 1

Quiz
•
9th - 12th Grade
20 questions
Round-1 Technical Aptitude

Quiz
•
11th Grade - Professi...
20 questions
Excel Quiz

Quiz
•
8th - 12th Grade
20 questions
HOME AND UPPER ROW KEYS TEST

Quiz
•
6th - 12th Grade
20 questions
beginning c programing

Quiz
•
10th - 12th Grade
20 questions
Array

Quiz
•
10th - 12th Grade
25 questions
CSV File handling in Python

Quiz
•
12th Grade
20 questions
Excel and Python

Quiz
•
7th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade