
C Programming Quiz
Quiz
•
Other
•
6th Grade
•
Hard
Academic Technotran
Used 1+ times
FREE Resource
Enhance your content
76 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax to declare a variable in C?
int a;
variable a;
int = a;
declare a;
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a valid variable name?
2variable
_variable
@variable
-variable
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the size of int in C on a 32-bit system?
1 byte
2 bytes
4 bytes
8 bytes
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a valid data type in C?
float
double
real
int
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the default value of an uninitialized variable in C?
0
Undefined
Null
Garbage value
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the associativity of the assignment operator = in C?
Left to Right
Right to Left
Top to Bottom
None
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which operator has the highest precedence in C?
+
*
()
=
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
71 questions
How Well Do You Know Team 6-1?
Quiz
•
6th - 8th Grade
75 questions
Joshua 2
Quiz
•
6th - 8th Grade
74 questions
健康促進是非
Quiz
•
6th Grade
71 questions
การใช้เทคโนโลยีสารสนเทศอย่างปลอดภัย
Quiz
•
6th Grade
80 questions
Latihan Soal Tematik Kelas 6 SD
Quiz
•
6th Grade
76 questions
8th ch. 1 hydrosphere
Quiz
•
6th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Other
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Adding and Subtracting Integers
Quiz
•
6th Grade
20 questions
Adding and Subtracting Integers
Quiz
•
6th Grade
10 questions
Making Inferences Practice
Quiz
•
5th - 6th Grade
21 questions
Convert Fractions, Decimals, and Percents
Quiz
•
6th Grade