You are here: Home > Computer Science CSE
All posts from

XCS246 Object Oriented Programming M.Sc Question Bank : niceindia.com

Name of the College : Noorul Islam College of Engineering
University : Anna University
Degree : M.Sc
Department : Software Engineering
Subject Code/Name : XCS 246 – Object Oriented Programming
Document Type : Question Bank
Website : niceindia.com

Download Model/Sample Question Paper : https://www.pdfquestion.in/uploads/niceindia.com/3134-xcs_246_Object_Oriented_Programming.pdf

NICE Object Oriented Programming Question Paper

1. Define object oriented programming? :
OOP is an approach that provides a way of modularizing programs by creating partitioned memory areas for both data and functions that can be used as an templates for creating copies of such modules on demand.

Related : Noorul Islam College of Engineering XCS471 Principles of Management M.Sc Question Bank : www.pdfquestion.in/3138.html

2. List some features of OOP? :
i. Emphasis is on data rather than procedures.
ii. Programs that are divided into what are known as objects.
iii. Follows bottom – up approach in program design.
iv. Functions that operate on the data of an object are tried together in the data structure.

3. Define objects? :
An entity that can store data and send and receive messages. It is an instance of a class.

4. What are the basic concepts of OOPs? :
i. Objects
ii. Class
iii. Data Abstraction
iv. Encapsulation
v. Inheritance
vi. Polymorphism
vii. Dynamic binding
viii. Message passing

5. Define class? :
A group of objects that share common properties and relationships. It is a new data type that contains member variables and functions that operate on the variables. A class is defined with a keyword class.

6. Define data encapsulation? :
A wrapping up of data and functions into a single unit is known as encapsulation.

7. What is inheritance? :
It is the process by which objects of one class acquire the properties of the another class.

8. Define operator overloading? :
The process of making an operator to exhibit different behavior in different instances is known as operator overloading.

9. Define dynamic binding? :
Dynamic binding means that the code associated with a given procedure is not known until the time of the call at run time.

10. Give some advantages of OOP’s? :
i. Through inheritance we can eliminate redundant code and extend the use of existing.
ii. Classes.
iii. Easy to partition the work.
iv. Software complexity can easily be managed.

11. What are the object oriented languages used? :
** Object based programming languages
** Object oriented programming languages

12. Give some applications of OOPs? :
i. Real time systems
ii. Simulation and modeling
iii. Object oriented databases
iv. CIM/CAD systems

15. What is a comment? :
Comments start with a double slash symbol and terminate at the end of the line. A comment may start any where in the line and whatever follows till the end of the line is ignored.

16. List some tokens? :
Keywords, identifiers, constants, strings and operators.

17. Define structures and classes? :
Structures :-
A hierarchical set of names that refer to an aggregate of data items may have different attributes.

Class :-
A group of objects that share common properties and relationships. A class is defined with a keyword class.
Include files
Class declaration
Class function definition
Main function program

18. Define arrays? :
A collection of data elements arranged to be indexed in one or more dimensions. The arrays are stored in contiguous memory.

19. What are the two ways to create symbolic constant? :
** Using a qualifier constant
** Defining a set of integer constants using enum keyword.

Leave a Reply

How to add comment : 1) Type your comment below. 2) Type your name. 3) Post comment.

www.pdfquestion.in © 2021

Contact Us   Privacy Policy   SiteMap