Write the applications of object oriented programming.

1 Answer

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

6) Neural networks and parallel programming

7) Decision support and office automation systems

8) CIM/CAM/CAD systems

Related questions

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 : 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 : Write a program to declare a class ‘book’ containing data members as ‘title’, ‘author-name’, ‘publication’, ‘price’. Accept and display the information for one object using pointer to that object.

Last Answer : #include<iostream.h> #include<conio.h> class book { char author_name[20]; char title[20]; char publication[20]; float price; public: void Accept(); void Display(); }; void ... title \t author_name \t publication \t price\n ; p-> Display(); getch(); }

Description : What is object oriented programming?

Last 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 ... problem is solved by interfacing the objects. It reduces the complexity of the program design.

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 : 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 a program that copies contents of one file into another file.

Last Answer : Assuming input file to be copied file1.txt contents are “Hello Friends…” and file where the contents need to copy is file2.txt already created  #include #include #include #include #include void main() { clrscr(); ifstream fs; ofstream ft; char ch, fname1[20], fname2[20]; cout

Description : Write a program to implement the following hierarchy using suitable member functions. Refer Figure No.2.

Last Answer : # include <iostream.h> #include<conio.h> class Student { int roll_no; char name[10]; public: void read_studentData() { cout<< Enter student s roll no and name \n ; cin> ... { result r; clrscr(); r.read_result(); r.display_result(); getch(); }

Description : Write a program to overload the ‘—’ unary operator to negate the values.

Last Answer : #include<iostream.h> #include<conio.h> #include<string.h> class Number { int x,y; public: Number (int a, int b) { a =x; b =y; } void display() { cout<< ... ; -N1; cout<<"\n After negation:"; N1. display (); getch (); }

Description : Write a program to count the number of lines in file.

Last Answer : #include<iostream.h> #include<fstream.h> #include<conio.h> void main() { ifstream file; char ch; int n=0; clrscr(); file.open("abc.txt"); while(file) { file. ... \n Number of lines in a file are:"<<n; file.close(); getch(); }

Description : Write a program to sort an 1-d array in ascending order.

Last Answer : #include<iostream.h> #include<conio.h> void main() { int arr[20]; int i, j, temp,n; clrscr(); cout<<"\n Enter the array size:"; cin>>n; cout<<"\n Enter ... 0;i<n;i++) {  cout<< \n <<arr[i]; } getch(); }

Description : Write any four benefits of OOP. 

Last Answer : Benefits of OOP: 1. We can eliminate redundant code and extend the use of existing classes. 2. We can build programs from the standard working modules that communicate with one another, ... interface descriptions with external systems much simpler. 10. Software complexity can be easily managed.

Description : Write a program to implement single inheritance from the following Refer Figure No.1

Last Answer : #include #include class employee { protected: int emp_id; char name[10]; }; class emp_info:public employee { int basic_salary; public: void getdata() { coutemp_id; coutname; coutbasic_salary; } void putdata() { cout

Description : Write two properties of static member function

Last Answer : i) A static member function can have access to only other static data members and functions declared in the same class. ii) A static member function can be called using the class name with a scope resolution operator instead of object name as follows: class_name::function_name;

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

Last Answer : Stack memory

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