Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
100%
(2)
100% found this document useful (2 votes)
635 views
4 pages
Oop Chapter 1
Uploaded by
arya.murudkar22
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save OOP CHAPTER 1 For Later
Share
100%
100% found this document useful, undefined
0%
, undefined
Print
Embed
Report
100%
(2)
100% found this document useful (2 votes)
635 views
4 pages
Oop Chapter 1
Uploaded by
arya.murudkar22
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save OOP CHAPTER 1 For Later
Share
100%
100% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save OOP CHAPTER 1 For Later
You are on page 1
/ 4
Search
Fullscreen
KHARAT ACADEMY Subject - Object Oriented Programming using C++ (OOP - (IMP Questions with Answers) 1 Scheme - MSBTE Branch: Information Technology (CO/CM/CW/IF) (Weightage - 14 Marks) 1. State any four object oriented languages. Answer: Object oriented programming language: a 1) C++ : 2) java 3) C# 4) Python PROCEDI OBJECT ORIENTED PROGRAMMING (POP) PROGRAMMING (OOP) Focus is on doing things _ Focusis on data rather than (procedure). _ procedure Large programs are dividedinto Programs are divided into multiple functions. multiple objects. Data move openly around the © Data is hidden and cannot be system from function to function —_ accessed by external functions Functions transform data from Objects communicate with 4 one form to another by calling each other through function each other i 3, Describe following terms: Inheritance, data abstraction, data encapsulation, dynamic binding. Answer: i) Inheritance: 1) Inheritance is the process by which objects of one class acquire the properties of objects of another class,KHARAT ACADEMY __ 2) It supports the concept of hierarchical classification. It also provides the idea of reusability. ii) Data abstraction: 1) Data abstraction refers to the act of representing essential features without including the background details or explanations. 2) Classes use the concept of abstraction and are defined as a list of abstract attributes such as size, weight and cost and functions to operate on these attributes. iii) Data encapsulation: 4 1) The wrapping up of data and functions together into a single w it (lied class) is known as encapsulation. 2 2) By this attribute the data is not accessible to the outside world, 2 functions which are wrapped in the class can access it. iv) Dynamic Bindi 6 * 1) Dynamic binding refers to the linking of a procedure c: e exétuted in response to the call. % 2 2) Itis also known as late binding. It means that the.cede issociated with a given procedure call is not known until the time of the call.at run-time. 4, State the use of cin and cout Answer: . 2 cin: cin is used to accept input dat (Keyboard). cout:cout is used to display output d: 5. State use of scope resolution operat OR fm Explain use of scope resol ion operat. Answer: Se, Itis used to uncover a hidden va variable. Scope resolution operator allows access to the global version of a vi ‘able. The scope resolution operator is used to refer variable of class ae in EZ) nes - 6. With Suitable di diagram deverlbe structure of C++ program. OR y Describe structure of C++ program with diagram. Answer; General C++ program has following structure. Ctra iesKHARAT ACADEMY iti = CLUDE HEADER FILES | CLASS DECLARATION MEMBER FUNCTIONS DEFINITIONS MAIN FUNCTION PROGRAM Description: 1) Include header files y In this section a programmer include all header files which are require ecute given program. The most important file is iostream.h header file. This'file defines most of the C++statements like cout and cin. Without this file oie carinot! load C++ A program. ~*~ 2) Class Declaration kK. ‘ y In this section a programmer declares all classes which are nécesSary for given program. The programmer uses general syntax iS 3) Member Functions Definition This section allows programmer to design member funct oh of a class. The programmer can have inside declaration of a function or outside declaration of a function. v 4) Main Function Program f : % In this section programmer create: ject nd galls various functions writer within various class. 7. Write any four benefits of OOP... Answer: Benefits of OOP: 1) We can eliminate redunc int. code and extend the use of existing classes. 2) We can build i programs from’ e standard working modules that communicate with one another, ral er than having to start writing the code from scratch. This leads to saving of development time and higher productivity. 3) The principle‘of data hiding helps the programmer to build secure programs that cannot be invaded by code in other parts of the program. 4) Iti possible to have multiple instances of an object to co-exist without any 4 interference. 8; Write the applications of object oriented programming. answerer Applications of object oriented programming are: 1) Real time systems 2) Simulation and modeling 3) Object-oriented databases 4) Hypertext, hypermedia and expertext 5) Al and expert systems 6) Neural networks and parallel programming POneevoeneKHARAT ACADEMY 7) Decision support and office automation systems 8) CIM/CAM/CAD systems
You might also like
2023 Summer Model Answer Paper (Msbte Study Resources)
PDF
88% (8)
2023 Summer Model Answer Paper (Msbte Study Resources)
20 pages
3.extending Classes Using Inheritance
PDF
No ratings yet
3.extending Classes Using Inheritance
50 pages
K Scheme OOP Unit Test-1 Question Bank
PDF
No ratings yet
K Scheme OOP Unit Test-1 Question Bank
12 pages
CPP IMP Questions by Vishal Sir
PDF
No ratings yet
CPP IMP Questions by Vishal Sir
108 pages
Msbte w22 22316
PDF
100% (4)
Msbte w22 22316
27 pages
Sy Sem III 22316 QP Model Answers Oop
PDF
No ratings yet
Sy Sem III 22316 QP Model Answers Oop
78 pages
JPR w23, s23, w22, s22, w19, s19
PDF
No ratings yet
JPR w23, s23, w22, s22, w19, s19
152 pages
Java Programming-Chapter3 (MSBTE Solutions)
PDF
No ratings yet
Java Programming-Chapter3 (MSBTE Solutions)
26 pages
Python Microproject 5 by Campusify
PDF
No ratings yet
Python Microproject 5 by Campusify
17 pages
Java Kharat IMP
PDF
No ratings yet
Java Kharat IMP
45 pages
DBMS Imp Questions Kharat Academy
PDF
100% (4)
DBMS Imp Questions Kharat Academy
43 pages
MIC Notes (22415)
PDF
100% (1)
MIC Notes (22415)
60 pages
Unit Iv
PDF
No ratings yet
Unit Iv
31 pages
S-24
PDF
No ratings yet
S-24
23 pages
Dte (22320)
PDF
No ratings yet
Dte (22320)
71 pages
Unit No.1
PDF
0% (1)
Unit No.1
47 pages
Java Microproject
PDF
No ratings yet
Java Microproject
17 pages
DTM w22 22323
PDF
No ratings yet
DTM w22 22323
18 pages
Object Oriented Programming Using C++": Department of Second Year Computer Engineering
PDF
50% (4)
Object Oriented Programming Using C++": Department of Second Year Computer Engineering
9 pages
2019 Summer Model Answer Paper (Msbte Study Resources)
PDF
50% (2)
2019 Summer Model Answer Paper (Msbte Study Resources)
40 pages
CGR Micro Project
PDF
No ratings yet
CGR Micro Project
12 pages
Oop Chapter 2
PDF
No ratings yet
Oop Chapter 2
8 pages
Oop Winter 2019 (C++)
PDF
No ratings yet
Oop Winter 2019 (C++)
21 pages
Advanced Java Model Answer Paper
PDF
No ratings yet
Advanced Java Model Answer Paper
19 pages
Mic
PDF
No ratings yet
Mic
37 pages
JPR Ch3 CO 4I Notes
PDF
No ratings yet
JPR Ch3 CO 4I Notes
38 pages
17431-2019-Winter-Model-Answer-Paper (Msbte Study Resources)
PDF
No ratings yet
17431-2019-Winter-Model-Answer-Paper (Msbte Study Resources)
33 pages
Oop
PDF
100% (1)
Oop
31 pages
Dsu Map W22
PDF
No ratings yet
Dsu Map W22
25 pages
Aproj Ectrepor T On: Governmentpolytechni C, Ji Ntur
PDF
No ratings yet
Aproj Ectrepor T On: Governmentpolytechni C, Ji Ntur
20 pages
DSU Krishna 1
PDF
0% (1)
DSU Krishna 1
18 pages
OOP Practical 15
PDF
100% (1)
OOP Practical 15
7 pages
2017 Summer Model Answer Paper
PDF
No ratings yet
2017 Summer Model Answer Paper
29 pages
Linked List: A Micro Project Report ON " "
PDF
100% (3)
Linked List: A Micro Project Report ON " "
16 pages
PWP Micro Project
PDF
No ratings yet
PWP Micro Project
20 pages
2018 Winter Model Answer Paper
PDF
No ratings yet
2018 Winter Model Answer Paper
25 pages
Today's Content: Program Development Steps
PDF
100% (1)
Today's Content: Program Development Steps
7 pages
XXXXX: Important Instructions To Examiners
PDF
No ratings yet
XXXXX: Important Instructions To Examiners
21 pages
22316-2023-Winter-Question-Paper (Msbte Study Resources)
PDF
No ratings yet
22316-2023-Winter-Question-Paper (Msbte Study Resources)
3 pages
OOP VIMP Question - Super 25 - V2V
PDF
No ratings yet
OOP VIMP Question - Super 25 - V2V
2 pages
2019 Summer Model Answer Paper (Msbte Study Resources)
PDF
No ratings yet
2019 Summer Model Answer Paper (Msbte Study Resources)
17 pages
PWP Micro Project
PDF
No ratings yet
PWP Micro Project
16 pages
E-Notes PDF All-Units 27042019042410AM
PDF
No ratings yet
E-Notes PDF All-Units 27042019042410AM
73 pages
Dsu - Micro Project
PDF
No ratings yet
Dsu - Micro Project
20 pages
Dsu Imp
PDF
No ratings yet
Dsu Imp
9 pages
OOP 2marks and 16marks
PDF
100% (1)
OOP 2marks and 16marks
50 pages
MIC Microproject
PDF
No ratings yet
MIC Microproject
20 pages
Diploma in Computer Technology: Government Polytechnic, Solapur
PDF
No ratings yet
Diploma in Computer Technology: Government Polytechnic, Solapur
19 pages
22412
PDF
No ratings yet
22412
24 pages
Today's Content: Microprocessor Notes Lecture #1
PDF
No ratings yet
Today's Content: Microprocessor Notes Lecture #1
15 pages
Unit I Basic Syntactical Constructs in Java
PDF
No ratings yet
Unit I Basic Syntactical Constructs in Java
20 pages
Super 25 MIC Questions V2V
PDF
No ratings yet
Super 25 MIC Questions V2V
4 pages
2018 Winter Model Answer Paper
PDF
No ratings yet
2018 Winter Model Answer Paper
20 pages
CGR Map W22
PDF
No ratings yet
CGR Map W22
26 pages
Object Oriented Programming (OOPs) or C++ Sample Paper of MSBTE For Third Semester Computer Engineering Diploma (80 Marks)
PDF
90% (10)
Object Oriented Programming (OOPs) or C++ Sample Paper of MSBTE For Third Semester Computer Engineering Diploma (80 Marks)
3 pages
Assignment For Course-Gad 22034
PDF
No ratings yet
Assignment For Course-Gad 22034
13 pages
Sub Dim As New: Syco Console Syco Console
PDF
No ratings yet
Sub Dim As New: Syco Console Syco Console
3 pages
Java - Very Important Questions
PDF
No ratings yet
Java - Very Important Questions
1 page
Question Bank (I Scheme) : Chapter
PDF
No ratings yet
Question Bank (I Scheme) : Chapter
2 pages
EC2202 Two Marks With Answer
PDF
100% (1)
EC2202 Two Marks With Answer
21 pages
MSBTE JAVA 9113 Question Paper
PDF
No ratings yet
MSBTE JAVA 9113 Question Paper
10 pages
EC2202
PDF
No ratings yet
EC2202
46 pages
Data Structures and Object Oriented Programming in C++: Two Marks With Answer
PDF
No ratings yet
Data Structures and Object Oriented Programming in C++: Two Marks With Answer
21 pages
Oop Chapter 4
PDF
No ratings yet
Oop Chapter 4
4 pages
Oop Chapter 5
PDF
No ratings yet
Oop Chapter 5
1 page