Which of the following is example of encapsulation?
Steering wheel of the car
Car
Color of the car
Music system of the car
Which of the following is an invalid visibility label while inheriting a class?
Public
Private
Protected
Friend
Which of the following is not an OOP concept?
Overloading
Procedural programming
Data abstraction
Inheritance
Which of the following is an abstract data type?
Int
Double
String
Class
Which of the following is an Object-oriented programming language?
a. Smalltalkb. Object Pascalc. Javad. All of the above
Both b and c
a only
c only
d only ......
Which of the following programming approach used functions as a key concept to perform action-oriented tasks?
Structured programming
Modular programming
Procedure-oriented programming
Object-oriented programming
Which of the following is not a characteristic of OOP?
It emphasizes more on procedure rather than data..
It models real world
It wraps up related data items and associated function in one unit.
It follows top-down approach in program design
Today, shopping malls make available almost all goods and customer services under a single roof. Can you correlate this with any of the OOP features you have learn?
Polymorphism
Modularity
Data Encapsulation
Which of the following keyword is used to overload an operator?
Overload
Operator
Override
Which of the following languages is not a procedure-oriented programming language?
ALGOL
COBOL
FORTRAN
SQL