
C programming review Quiz
Authored by Saniha Jackson
Other
9th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax to print in C?
A. print("Hello");
B. echo("Hello");
C. printf("Hello");
D. cout << "Hello"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct header file to use printf() and scanf()?
A. <conio.h>
B. <stdio.h>
C. <string.h>
D. <stdlib.h>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default return type of a function if not specified in C?
A. void
B. char
C. int
D. float
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct variable name in C?
A. value_1
B. value#
C. 1value
D. @value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop checks the condition after executing the loop body?
A. for
B. while
C. switch
D. do...while ✅
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store a single character?
A. int
B. char
C. float
D. string
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after this code?
int x = 5;
x += 2;
A. 7 ✅
B.10
C. 5
D. 2
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
10 questions
SHORT VIDEO 1
Quiz
•
9th - 12th Grade
10 questions
horses
Quiz
•
KG - Professional Dev...
10 questions
lenguaje algebraico
Quiz
•
9th - 11th Grade
10 questions
QUESTIONS ABOUT ROMANIA
Quiz
•
6th - 12th Grade
11 questions
Twf neu Datblygiad?
Quiz
•
9th - 12th Grade
10 questions
Lenguaje
Quiz
•
1st - 10th Grade
10 questions
PSA ÉTICA 3° Periodo
Quiz
•
9th Grade
10 questions
Guess the blackpink song lyrics
Quiz
•
4th Grade - Professio...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Other
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
20 questions
Name That Tune Christmas Edition
Quiz
•
6th - 9th Grade