
C++ Advanced Quiz

Quiz
•
Information Technology (IT)
•
University
•
Medium
Omita Nanda
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Byte Buzz-Brain vs Byte IT QUIZ 2025

Quiz
•
University
25 questions
testquiz

Quiz
•
University
30 questions
Exploring Python Fundamentals

Quiz
•
University
35 questions
Ôn tập bài tập code C# chương 6,7,8,9

Quiz
•
University
27 questions
Quis Logika Pemprograman Komputer - 1

Quiz
•
University
33 questions
ADVANCED DATABASE SYSTEMS EXAM

Quiz
•
University
25 questions
Understanding Java Classes and Inheritance - UNIT 1

Quiz
•
University
25 questions
Codean - Java Data Types

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University