
C Programming Quiz

Quiz
•
Other
•
6th Grade
•
Hard
Academic Technotran
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
76 questions
ADVF - CCP 1 - SCS

Quiz
•
1st - 12th Grade
75 questions
Disney Trivia 1.23.24

Quiz
•
6th - 8th Grade
73 questions
Summer of the Mariposas Chapters 1-10

Quiz
•
6th - 8th Grade
72 questions
Ninjago

Quiz
•
KG - Professional Dev...
80 questions
Directors Exam - General

Quiz
•
3rd Grade - University
77 questions
Quiz Al Quran

Quiz
•
6th Grade
72 questions
Prestwick House VII Unit 11-15 Review - Greek & Latin Roots

Quiz
•
6th - 8th Grade
73 questions
Test Taking Strategies

Quiz
•
6th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Other
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
34 questions
TMS Expectations Review

Quiz
•
6th - 8th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade