oop 1

oop 1

University

6 Qs

quiz-placeholder

Similar activities

Bab 4 Jaringan Komputer dan Internet

Bab 4 Jaringan Komputer dan Internet

11th Grade - University

10 Qs

QUIZ 3: SECURITY TOOLS and  VULNERABILITY ANALYSIS

QUIZ 3: SECURITY TOOLS and VULNERABILITY ANALYSIS

University

11 Qs

Website Quiz

Website Quiz

University

10 Qs

Mastering Microsoft OneDrive Basics

Mastering Microsoft OneDrive Basics

12th Grade - University

10 Qs

Microsoft Word Quiz

Microsoft Word Quiz

7th Grade - University

10 Qs

CodeQuest TechTopia 2025-26

CodeQuest TechTopia 2025-26

University

11 Qs

TIN12 BÀI 3: MỘT SỐ THIẾT BỊ MẠNG THÔNG DỤNG

TIN12 BÀI 3: MỘT SỐ THIẾT BỊ MẠNG THÔNG DỤNG

12th Grade - University

10 Qs

Sem 2 IT Test 1

Sem 2 IT Test 1

12th Grade - University

10 Qs

oop 1

oop 1

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

laith fakhri

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a constructor in a class?

To destroy the object

To initialize data members

To declare public members only

To access private members

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to access class members through a pointer?

.

,

->

::

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default access specifier for class members in C++?

public

private

protected

static

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is automatically called when an object is destroyed?

create()

delete()

constructor

destructor

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which access specifier allows class members to be accessed from outside the class?

protected

private

public

internal

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following statements about constructor overloading is TRUE?

Constructors must have different names.

Constructors can’t be overloaded.

Constructors can have default arguments.

Only one constructor is allowed per class