
C Programming Basics
Authored by Deepshikha Saxena
Other
Used 129+ 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
30 sec • 1 pt
What is a variable in C?
A variable in C is a function that returns a value
A variable in C is a reserved keyword used for loops
A variable in C is a named storage location that can hold a value of a specific data type.
A variable in C is a constant value that cannot be changed
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many data types are there in C?
10
5
7
3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different control structures in C?
Iteration
Condition
Branching
Sequence, Selection, Loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in C?
A function in C is a variable declaration
A function in C is a data type
A function in C is a block of code that performs a specific task.
A function in C is a loop structure
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are arrays declared in C?
By using parentheses instead of square brackets
By using curly braces to enclose the elements
By specifying the size of the array first followed by the data type of elements
By specifying the data type of elements followed by square brackets containing the size of the array.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for declaring a variable in C?
float value;
int num;
bool flag;
string name;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of int data type in C?
2 bytes on 32-bit systems and 4 bytes on 64-bit systems
8 bytes on 32-bit systems and 16 bytes on 64-bit systems
1 byte on 32-bit systems and 2 bytes on 64-bit systems
4 bytes on 32-bit systems and 8 bytes on 64-bit systems
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
15 questions
Chayamana Quiz Competition
Quiz
•
1st Grade - University
18 questions
FILIPINO 7 REVIEWER 2ND KWARTER PART 2
Quiz
•
7th Grade
20 questions
Pedagogi
Quiz
•
University - Professi...
23 questions
Soal Pramuka Penggalang
Quiz
•
Professional Development
20 questions
CNTT_Khối 2_Ôn tập HK1
Quiz
•
KG
15 questions
Après la 3ème ?
Quiz
•
3rd Grade
15 questions
七年级- 爱好
Quiz
•
7th - 8th Grade
15 questions
Computer System Servicing: Occupational Health and Safety
Quiz
•
10th Grade - 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
Discover more resources for Other
4 questions
Conflict Resolution
Lesson
•
KG
20 questions
Place Value
Quiz
•
KG - 3rd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
24 questions
CKLA Unit 5 assessment K
Quiz
•
KG
10 questions
STAAR Review - Editing & Revising Clusters
Quiz
•
KG
10 questions
Reflexive Pronouns
Quiz
•
KG - 5th Grade
10 questions
Long i- igh, ie, and y Quiz
Quiz
•
KG - 3rd Grade
12 questions
Quarter Past, Half Past, and Quarter To
Quiz
•
KG - 12th Grade