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
SIP C

Quiz
•
12th Grade
20 questions
File Handling Revision- Text file Handling Quiz 1

Quiz
•
12th Grade
20 questions
Pointers

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

Quiz
•
11th Grade - Professi...
20 questions
Programming in C Lab quiz II

Quiz
•
12th Grade
20 questions
MS Excel Basics

Quiz
•
5th Grade - Professio...
20 questions
Soal TIK Kelas 6 Mengenal Tampilan Layar Excel

Quiz
•
12th Grade
20 questions
Java Casting & Booleans

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade