
C Programming Quiz(session 1)
Authored by Sumithra pm
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a token in C?
Keyword
Identifier
Compiler
Constant
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct term for the following in C: +, -, *, /?
Identifiers
Operators
Keywords
Constants
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a valid identifier in C?
int
2value
value_2
#define
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these is a constant in C?
main
123.45
return
void
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of a delimiter (like {}, [], ;) in C?
To store data
To separate tokens
To define operators
To identify keywords
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a keyword in C?
total
for
Sum
avg
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output if you use an invalid identifier in your C program?
Program will compile successfully
Program will run but show wrong output
Compilation error
Runtime error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?