
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
9 questions
PJ MASKS
Quiz
•
KG - 12th Grade
15 questions
PANITIKAN NG KOREA
Quiz
•
9th Grade
10 questions
Bacteria
Quiz
•
9th - 10th Grade
10 questions
六年级设计与工艺单元一练习一
Quiz
•
3rd - 12th Grade
10 questions
Suku Huaulu_Pekan Nusantara
Quiz
•
7th Grade - Professio...
10 questions
Triết học_Buổi 13
Quiz
•
1st - 10th Grade
10 questions
FOOD & DRINKS
Quiz
•
3rd - 9th Grade
11 questions
Msza św. / Eucharystia (odpowiedzi na Mszy św.)
Quiz
•
3rd - 12th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Other
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade