
Basic C language quiz

Quiz
•
English
•
University
•
Medium
vijetha c
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who invented c language
James Gosling
Dennis Ritchie
Bjarne Stroustrup
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid C variable name?
int a;
float b1;
char 2b;
double a;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is valid C expression?
int my_num = 100,000;
int my_num = 100000;
int my num = 1000;
int $my_num = 10000;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an example of iteration in C?
for
do-while
while
All the mentioned above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Symbol used for Single Line Comment
..
**
//
/*
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following variable cannot be used by switch-case statement?
char
int
float
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Given expression represent (exp1 ? exp2 : exp3;)
Unary operator
Conditional operator
Arithmetic operator
Relational operator
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
2. What is your occupation?

Quiz
•
University
10 questions
Vocabulary

Quiz
•
8th Grade - University
15 questions
Jobs and occupations

Quiz
•
12th Grade - Professi...
15 questions
OCCUPATIONS

Quiz
•
11th Grade - University
8 questions
C_PROG

Quiz
•
University
15 questions
Grammar Correction Quiz

Quiz
•
4th Grade - University
15 questions
Arrays & Strings

Quiz
•
University
15 questions
introduction to C++ programming PQ1

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

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

Interactive video
•
6th - 10th Grade