Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Object orianted programming language, Lecture notes of Object Oriented Programming

Notes of mca c++ with opps ,Ranchi uni8

Typology: Lecture notes

2017/2018

Uploaded on 07/02/2018

Kumar1994pk
Kumar1994pk 🇮🇳

5

(2)

2 documents

1 / 228

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Object orianted programming language and more Lecture notes Object Oriented Programming in PDF only on Docsity!

Page-1 Chapter: 1 Introduction to OOP 41.1 Introduction Traditional programming language such as COBOL, FORTRAN etc. are known procedure oriented language. Programs written in these languages had some disadvantages like the length of code was difficult to manage. Another main problem was related to data security. In general the conventional pragramming language had the following disadvantages: > Data was not secure as data passes globally from one function lo another function globally. > The length of the code became so large that It was difficult to manage. 4.2Programming Paradigms Generally following programming paradigms are frequently used: i. Monolithic Programming: In this approach, data variables were global In nature. The statements were executed in sequence. However, the control can be transferred using JUMP statements as per the requirement. Main problem was that data was not secure due to its global scope. It was suitable for smallar application as concept of subroutines was not possible. >» Example: BASIC, ASSEMBLY vw ey ll. Procedural Programming: In this method, the program was divided Into number of segments. Here also, the dala was not secure as once again the data was global. For control of program, again JUMP statements were used, It was useful for medium sized applications. Ex: FORTRAN, COBOL vY¥ vw lil, Structured Programming: > [twas useful for large sized applications. Er, Swarnalata Rath, M.Tech, KIT Page 2