
C/C++ Quiz
Authored by Mustkeem Sheikh
Education
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Identify the correct extension of the user-defined header file in C++.
a) cpp
b) .hg
c) .h
d) .hf
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. C++ uses which approach?
a) right -left
b) Top-down
c) left-right
d) bottom–up
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which of the following data type is supported in C++ but not in C?
a) int
b) bool
c) double
d) float
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Which of the following is the “address of the operator”?
a) *
b) &
c) []
d) &&
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Identify the scope resolution operator.
a) :
b) ::
c) ?
d) None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Identify the correct definition of the ‘*’ operator in the pointer.
a) Address of operator
b) Value of address operator
c) Multiplication operator
d) All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Choose the correct default return value of a function.
a) int
b) void
c) char
d) float
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
20 questions
Amphitryon acte I scène 3 la tirade de Jupiter
Quiz
•
10th Grade - University
20 questions
Projetos Educativos - Orquestra Geração
Quiz
•
University
20 questions
MEDIA PEMBELAJARAN
Quiz
•
University
20 questions
QUIS PEMAHAMAN KOMPETENSI GURU DAN KETERAMPILAN MENGAJAR
Quiz
•
University
20 questions
DISTRIBUTED EMBEDDED SYSTEMS
Quiz
•
University
20 questions
Kemagnetan
Quiz
•
12th Grade - University
20 questions
Từ đơn, từ láy, từ ghép
Quiz
•
1st Grade - University
20 questions
ADMINISTRASI DESA DAN PELAYANAN PUBLIK
Quiz
•
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
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