BPSC TRE – Programming Fundamentals & OOP Concepts | Test 1

Questions 1-5 of 50

0% completed (0/50 answered)
Your score 0/50 0 answered
Correct 0 Incorrect 0 Unanswered 50 Accuracy 0%

Question 1

MCQ · Single Correct 1 mark

Which programming paradigm binds data and the functions that manipulate it together into a single unit to prevent unauthorized outside access?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark

Which OOP concept allows a subclass to inherit attributes and methods from a parent class?

Answers for question 2

Question 3

MCQ · Single Correct 1 mark

What is the primary purpose of data abstraction in Object-Oriented Programming?

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

In C++, which keyword is used to declare a virtual function in a base class to enable runtime polymorphism?

Answers for question 4

Question 5

MCQ · Single Correct 1 mark

What type of function is defined as 'virtual void display() = 0;' inside a C++ class declaration?

Answers for question 5
Scroll to Top