
C++ Advanced Quiz
Authored by Omita Nanda
Information Technology (IT)
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT an example of an Abstract Data Type?
Stack
Queue
int
Linked List
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An Abstract Data Type is mainly defined in terms of:
Implementation details
User-defined behavior (operations)
Compiler directives
Memory structure
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C++, objects are created at:
Compile time only
Run time only
Either compile or run time depending on declaration
Link time
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is FALSE about C++ classes?
A class groups data and methods together
A class is a user-defined data type
A class must always have a constructor
An object is an instance of a class
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you declare a class without any access specifier in C++?
All members are public
All members are private
Compilation error
Members cannot be accessed at all
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the declaration: class A { int x; void fun(); };Here, x and fun() are by default:
private
public
protected
inaccessible
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following about local classes is correct?
They can access static variables of the function
They cannot have static data members
They cannot define methods
They cannot create objects
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
25 questions
Kuis PKSI 2025D
Quiz
•
University
25 questions
Identification Quiz
Quiz
•
University
25 questions
Understanding Java Classes and Inheritance - UNIT 1
Quiz
•
University
25 questions
UAS - Jaringan Komputer
Quiz
•
University
25 questions
PENILAIAN HARIAN INFORMATIKA 8_REKAM JEJAK DIGITAL
Quiz
•
8th Grade - University
25 questions
UH-JKI-XI
Quiz
•
11th Grade - University
25 questions
QUIZ BAB AI V1
Quiz
•
10th Grade - University
25 questions
Codean - Java Data Types
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
Discover more resources for Information Technology (IT)
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University