What is object oriented programming?

1 Answer

Answer :

Object-oriented programming provides a higher level for programmers to envision and develop their applications. Without attempting to define the concept, we merely note that one deals with objects and methods. An object might be a window, and a method might be to display the window. Object Oriented programming is used to structure a software program into simple, reusable pieces of code blueprints, which are used to create individual instances of objects. Object oriented programming is important because- 1. Its function and modules that are written by user can be reused by other user without any  modification. 2. Through this we can eliminate redundant code and extend the use of existing classes. 3. The programmer can hide the data and functions in a class from other classes. 4. It helps the programmer to build the secure programs. 5. It makes it easy to maintain and modify existing code as new objects can be created with small differences to existing ones. 6. The give problem can be viewed as collection of different objects. Each object is responsible for a specific task. The problem is solved by interfacing the objects. It reduces the complexity of the program design.

Related questions

Description : Briefly explain encapsulation and why it is important in object-oriented - programming.

Last Answer : Encapsulation is the principle that all of the data and functionality required by an object be contained by that object. This allows objects to exist as independent, interchangeable units of functionality without maintaining dependencies on other units of code.

Description : _________is popular object oriented programming language used for general purpose: a) C b) C++ c) FORTRAN d) None of These

Last Answer : b) C++

Description : Which of the following are not programming paradigms types: a) Object Oriented Programming b) Aspect Oriented Programming c) Session Oriented Programming d) Structured Programming e) None of These

Last Answer : c) Session Oriented Programming

Description : Classic OOP - Object Oriented programming can be traced back to a language called Simula, and in particular Simula 67, which was popular during the _____: a) 1930s b) 1960s c) 1950s d) None of These

Last Answer : b) 1960s

Description : One of the principal advantage of object oriented programming techniques over procedural programming techniques is that they enable programmers to create ______that do not need to be changed when a new type of object is added: a) Networks b) Modules c) Data Slates d) None of These

Last Answer : b) Modules

Description : Object Oriented Programming (OOP) is a _______philosophy: a) Network b) Design c) Data Type d) None of These

Last Answer : b) Design

Description : Name any two basics Principle of Object-Oriented Programming.

Last Answer : Ans. Encapsulation and Polymorphism

Description : Define class and object. (OBJECT-ORIENTED-PROGRAMMING-WITH-C++)

Last Answer : Class: Class is a user defined data type that combines data and functions together. It is a collection of objects of similar type.  Object: It is a basic run time entity that represents a person, place or any item that the program has to handle.

Description : Write down characteristics of object oriented programming.

Last Answer : Characteristics of object oriented programming are: Emphasis is on data rather than procedure. Programs are divided into objects. Data structures are designed such that they characterize the ... can be easily added whenever necessary. Follows bottom-up approach in program designing. 

Description : Give four differences between object oriented programming and procedure oriented programming.

Last Answer : Give four differences between object oriented programming and procedure oriented programming.

Description : State any four object oriented programming language.

Last Answer : Object oriented programming language: C++ Smalltalk Object pascal java Simula Ada Turbo pascal Eiffel C# Python

Description : State the concepts of object oriented programming.

Last Answer : Basic Concepts of Object Oriented Programming:  1. Objects  Objects are the basic run time entities in an object-oriented system. They may represent a person, a place, a ... objects that communicate with each other. Objects communicate with one another by sending and receiving information.

Description : The pure object oriented programming language with extensive metadata available and modifiable at run time is (A) Small talk (B) C++ (C) Java (D) Eiffel

Last Answer : (A) Small talk

Description : Language model used in LISP is ................. (A) Functional programming (B) Logic programming (C) Object oriented programming (D) All of the above

Last Answer : (A) Functional programming

Description : Write the applications of object oriented programming.

Last Answer : Applications of object oriented programming are: 1) Real time systems 2) Simulation and modeling 3) Object-oriented databases 4) Hypertext, hypermedia and expertext 5) AI and expert systems ... and parallel programming 7) Decision support and office automation systems 8) CIM/CAM/CAD systems

Description : How data is shared by functions in a procedure oriented programming?

Last Answer : Stack memory

Description : What is true about Service-Oriented Architecture? A. Service-Oriented Architecture helps to use applications as a service for other applications B. It is possible to exchange the data between applications of ... C. It offers computational resources on demand as a metered service. D. Both A and B

Last Answer : Both A and B

Description : List features of procedure oriented programming.

Last Answer : Features of procedure oriented programming: 1. Emphasis is on doing things (algorithms). 2. Large program are divided into smaller programs known as functions. 3. Most of the functions share global ... transform data from one form to another. 6. Employs top -down approach in program design.

Description : Which of the following is false regarding the evaluation of computer programming languages? (A) Application oriented features (B) Efficiency and Readability (C) Software development (D) Hardware maintenance cost

Last Answer : (D) Hardware maintenance cost

Description : Object-oriented programmers: what is your process when you're physically coding?

Last Answer : answer:What language are you coding in? In .net there are interfaces, that I have found to be very useful. I don;t remember whether Java has anything similar. With interfaces you can avoid the ... to be able to test as I go along. This frequently leads to initial concentration on auxiliary modules.

Description : Basic is language. A) a procedural B) an object oriented C) both A and B D) none of the above

Last Answer : Answer : A

Description : Is forms 4.5 object oriented tool ? why?

Last Answer : yes , partially. 1) PROPERTY CLASS - inheritance property 2) OVERLOADING : procedures and functions.

Description : Object-oriented concepts are not new. The first OO language was  considered to be a) ALGOL-68 B) FORTRAN 77 c) CMODULA d) SIMULA 67.

Last Answer : d) SIMULA 67.

Description : Assembly language program is called. a. Object program b. Source program c. Oriented program

Last Answer : b. Source program

Description : In object oriented design of software , objects have ? attributes and names only operations and names only attributes, name and operations None of above

Last Answer : attributes, name and operations

Description : Which of the following comments about object oriented design of software, is not true ? Objects inherit the properties of class Classes are defined based on the attributes of objects an object can belong to two classes classes are always different

Last Answer : an object can belong to two classes

Description : Is C# object-oriented?

Last Answer : Yes, C# is an OO language in the tradition of Java and C++.

Description : Is C# is object oriented?

Last Answer : Yes, C# is an OO language in the tradition of Java and C++.

Description : Is Java an Object Oriented language?

Last Answer : A: Yes.

Description : What is Object Oriented model?

Last Answer : This model is based on collection of objects. An object contains values stored in instance variables with in the object. An object also contains bodies of code that operate on the object. These ... . Objects that contain same types of values and the same methods are grouped together into classes.

Description : Which one of the following is true for Java? A) Java is object oriented and interpreted B) Java is efficient and faster than C C) Java is the choice of everyone. D) Java is not robust.

Last Answer : A) Java is object oriented and interpreted

Description : Explain various Object Oriented concepts used in Software Engineering. Give an example.

Last Answer : Ans .Various concepts of Object Oriented concepts used in Software Engineering: Object:- An object is something which is capable of being seen, touched or sensed. Each object has certain distinctions ... . A message can be sent between two objects only if they have an association between them.

Description : Why does the software design improve when we use object-oriented concepts?

Last Answer : Ans. The software design improves when we use object-oriented concepts because 1.Object-orientation works at higher level of abstraction. The development can proceed at the object level and ... good programming techniques. 4.Object-oriented programming design and programming promote code re-use.

Description : Differentiate between object oriented and function oriented design .

Last Answer : Ans: Function-oriented design relies on identifying functions which transform their inputs to create outputs. In most systems, functions share some global system state. The functional design ... strategy is often a heterogeneous one where both functional and object-oriented approaches are used.

Description : If the objects focus on the problem domain, then we are concerned with (A) Object Oriented Analysis. (B) Object Oriented Design (C) Object Oriented Analysis & Design (D) None of the above

Last Answer : (A) Object Oriented Analysis.

Description : It is not the feature of Budget: a. Budget creates illusion b. Budget is an element of planning c. Budget relates to planning and control d. Budgets are object oriented

Last Answer : a. Budget creates illusion

Description : Give advantages of object oriented approach over procedure oriented approach.

Last Answer : Advantages of object oriented approach over procedure oriented approach: 1. In object oriented approach, through inheritance we can eliminate redundant code and extend the use of existing classes. 2. ... with external systems much simpler. 10. In OOP software complexity can be easily managed.

Description : Superficially the term object-oriented , means that, we organize software as a (A) collection of continuous objects that incorporates both data structure and behaviour. (B) collection of ... and behaviour. (D) collection of objects that incorporates both discrete data structure and behaviour.

Last Answer : (C) collection of discrete objects that incorporates both data structure and behaviour.

Description : Which of the following statements concerning Object-Oriented databases is FALSE? (A) Objects in an object-oriented database contain not only data but also methods for processing the data. (B ... Object-oriented databases store more types of data than relational databases and access that data faster.

Last Answer : (C) Object-oriented databases are more adapt at handling structures (analytical) data than relational databases.

Description : Abstraction and encapsulation are fundamental principles that underlie the object oriented approach to software development. What can you say about the following two statements? I. Abstraction allows us to focus on what something ... and II are correct. (3) Only II is correct. (4) Only I is correct.

Last Answer : (1) Neither I nor II is correct.

Description : The database in which records are organised in a tree-like structure is (1) Network database (2) Hierarchical database (3) Relational database (4) Object-oriented database

Last Answer : Hierarchical database

Description : Describe object oriented metrics in testing. 

Last Answer : Object oriented metrics in testing: OBJECT-ORIENTED METRICS AND MEASURES As object-oriented approach emerged to support major applications, the effectiveness of applying traditional software metrics ... within the hierarchy, the more methods the class can inherit, increasing its complexity.

Description : Describe object-oriented data models.

Last Answer : Object Oriented Model : Object oriented models were introduced to overcome the shortcomings of conventional models like Relational, Hierarchical and network model. An object-oriented database is collection of objects whose ... with other objects. It is also said to be semantic data model.

Description : Explain merits and demerits of Object Oriented Database model.

Last Answer : Object oriented models were introduced to overcome the shortcomings of conventional models like Relational, Hierarchical and network model. An object-oriented database is collection of objects whose behavior, state, ... . * There is no view mechanism * There is no adequate security mechanism.

Description : In object oriented design of software, objects have  A) Attributes and name only B) Operations and name only C) Attributes name and operations D) None of these

Last Answer : In object oriented design of software, objects have Attributes name and operations

Description : Machine language sometimes referred to as (a) programming language that is used widely by the programmer. (b) machine code or object code -Technology

Last Answer : (b) Machine language sometimes referred to as machine code or object code because it is the language which is only understood by the computer as a computer itself is just a machine or an electronic device.

Description : Which of the following contains output segments of AI programming? a) Printed language and synthesized b) Manipulation of physical object c) Locomotion d) All of the mentioned

Last Answer : d) All of the mentioned

Description : Which of the following contains the output segments of Artificial Intelligence programming? a) Printed language and synthesized speech b) Manipulation of physical object c) Locomotion d) All of the mentioned

Last Answer : d) All of the mentioned

Description : A ____ is a namespace for organizing classes and interfaces in a logical manner. Placing your code into ______makes large software projects easier to manage. This section explains why this is useful and ... provided by the Java Platform: a) Inheritance b) Object c) Package d) None of These

Last Answer : c) Package

Description : ______provides a powerful and natural mechanism for organizing and structuring your software. It also explains how classes inherit state and behavior from their super classes and explains how to derive one class ... the java programming language: a) Object b) Inheritance c) Class d) None of These

Last Answer : b) Inheritance