BASIC C PROGRAMMING
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Muhammad Abdullah
Used 241+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid C variable name?
int number;
float rate;
int variable_count;
int $main;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All keywords in C are in ____________
LowerCase letters
UpperCase letters
CamelCase letters
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true for variable names in C?
They can contain alphanumeric characters as well as special characters
It is not an error to declare a variable to be one of the keywords(like goto, static)
Variable names cannot start with a digit
Variable can be of any length
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a logical operator?
&&
!
||
|
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many keywords are there in C language?
30
31
32
33
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Which of the following cannot be a variable name in C?
volatile
true
friend
export
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to prevent any changes in the variable within a C program?
immutable
mutable
const
volatile
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?
Similar Resources on Wayground
20 questions
Round 1 ( RHA Learner Contest )
Quiz
•
University
11 questions
Determining System Requirements
Quiz
•
University
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Planning and Implementation of Information Security
Quiz
•
University
20 questions
Network topologies
Quiz
•
8th Grade - University
18 questions
CIS2303 Week 4_5 Ch_3
Quiz
•
University
20 questions
Software Engineering Quiz 1
Quiz
•
University
10 questions
Machine Learning (Introduction)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
