C LANGUAGE NOTES: Q. WHAT IS Algorithm explain its features? Ans : A sequential solution of any program that written in human language, called algorithm. “Algorithm" is a formally defined a step by step procedure for performing some calculation. If a procedure is formally defined, then it must be implemented using a programming language . The algorithm gives logic of the program, that is, a step-by-step description of how to arrive at a solution. Algorithm provides a blueprint to write a program to solve a particular problem in finite number of steps. Algorithms are mainly used to achieve software re-use it is a procedure for performing some calculations. it gives the logic of the program i.e. a step by step description of how to arrive at a solution. Algorithm provides a blue print for writing a program to solve a particular problem. a well defined a...
OOPs BASICS: Object Oriented Programming (OOP) is an approach to program organization and development, which attempts to eliminate some of the pitfalls of conventional programming methods by incorporating the best of structured programming features with several new concepts. However not all languages are suitable to implement the OOP concept easily. Languages that support OOP features include Smalltalk, C++, Ada and object pascal. Object Oriented Paradigm: The major Objective of Object Oriented approach is to eliminate some of the flaws encountered in the procedural approach. OOP treats data as a critical element in the program development and does not allow it to flow freely around the system. It ties data more closely to the functions that operate on it and protects it from unintentional modification. OOP allows us to decompose a pro...
HISTORY Java's history began in 1991 at Sun Microsystems with James Gosling and his team, initially working on the "Green Project" . The language was later named Oak, then Java, and publicly introduced in 1995 as a platform-independent language. Sun Microsystems later became Oracle, and Java's stewardship has continued with Oracle. 1991: The "Green Project" begins at Sun Microsystems, led by James Gosling. 1992: The prototype, "Oak," is developed. 1994: The team refocuses on web-based applications. 1995: Java is publicly released by Sun Microsystems, emphasizing "Write Once, Run Anywhere" portability. 2006: Sun Microsystems makes Java's core components open-source. 2009: Oracle acquires Sun Microsystems, becoming Java's steward. 2014: Java 8 is released, modernizing the language with new features. 2017: Oracle adopts a six-month release cycle, accelerating updates
Comments
Post a Comment