1.3 Fundamentals of Programming
1.3 Fundamentals of Programming
Fundamentals of Programming
1
Unit - I Syllabus
1. Procedural
2. Object oriented
3. Functional
• This was difficult and error-prone. Programs written in binary are said to be
written in machine code, which is a very low-level programming paradigm.
Hard-wired, soft-wired, and binary programming are considered first
generation languages.
Low level
• These replaced machine code functions with mnemonics and memory addresses with
symbolic labels.
• Assembly languages of the 1960s eventually supported libraries and quite sophisticated
conditional macro generation and pre-processing capabilities.
• Though it was invented with the creation of the Simula language in 1965, and
further developed in Smalltalk in the 1970s, it was not commonly used in
mainstream software application development until the early 1990s.
• One might say that a class is a blueprint or factory that describes the nature of
something.
• Collectively, the properties and methods defined by a class are called its members.
OOP concepts: object
– The set of values of the attributes of a particular object forms its state. The
object consists of the state and the behavior that's defined in the object's
class.
• A method is a subroutine that is exclusively associated either with a class (in which case it
is called a class method or a static method) or with an object (in which case it is an
instance method).
• Methods provide a mechanism for accessing and manipulating the encapsulated state of
an object.