Programming in C and C Plus Plus-O-O Programming Concepts [NTA-NET (Based on NTA-UGC) Computer Science (Paper-II)]: Questions 1 - 3 of 22

Access detailed explanations (illustrated with images and videos) to 2202 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. Unlimited Access for Unlimited Time!

View Sample Explanation or View Features.

Rs. 550.00 or

How to register?

Question number: 1

» Programming in C and C Plus Plus » O-O Programming Concepts » Inheritance, Polymorphism, Abstraction, Encapsulation and Overloading

Edit

Appeared in Year: 2015

Match List-Ⅰ List-Ⅱ▾

Question

Match the following with reference to object oriented modelling: (December)

List-ⅠList-Ⅱ

(A)

Polymorphism

(i)

Picking both operator and attributes with operations appropriate to model an object

(B)

Abstraction

(ii)

Create new classes from existing class

(C)

Inheritance

(iii)

Hiding implementation details of methods from users of objects

(D)

Encapsulation

(iv)

Using similar operations to do similar things

Choices

Choice (4)Response
  • (A)
  • (B)
  • (C)
  • (D)

a.

  • (iii)
  • (i)
  • (ii)
  • (iv)

b.

  • (i)
  • (iii)
  • (ii)
  • (iv)

c.

  • (i)
  • (iv)
  • (ii)
  • (iii)

d.

  • (iv)
  • (iii)
  • (ii)
  • (i)

Question number: 2

» Programming in C and C Plus Plus » O-O Programming Concepts » Class, Object, Instantiation,Abstract Class

Edit

Appeared in Year: 2015

MCQ▾

Question

Which of the following is used to make an Abstract class? (December)

Choices

Choice (4)Response

a.

Declaring as Abstract class using virtual keyword

b.

Making atleast one member function as virtual function

c.

Declaring as Abstract class using static keyword

d.

Making atleast one member function as pure virtual function

Question number: 3

» Programming in C and C Plus Plus » O-O Programming Concepts » Class, Object, Instantiation,Abstract Class

Edit

Appeared in Year: 2016

MCQ▾

Question

Which of the following statements is correct?

Choices

Choice (4)Response

a.

Abstract class cannot be directly initiated with ‘new’ operator.

b.

Every class containing abstract method must not be declared abstract.

c.

Abstract class cannot be initiated.

d.

Abstract class contains definition of implementation.

Developed by: