3. Data Representation In Computer
- Basic flowchart Symbols are
Pseudocode is a program planning tool that resembles actual computer instructions but does not use any particular syntax. These instructions are written in ordinary natural language.
Once planning is finalized, programs are made in a particular programming language.
The programming language is two types:
1. Low-level Language
2. High-level language
A Low-level language is machine and assembly language. Machin language of a computer is written as strings of binary 1's and 0's. The circuitry of a computer is wired in a manner that recognizes the machine language instructions immediately and concerns them into electrical signals needed to execute them.
Assembly language allows instructions and storage locations to be represented by letters and symbols instead of numbers. Assembler is a translator which converts assembly language program into a machine language program.
A high-Level language program is converted into its equivalent machine language before it can be executed on a computer. This translation is done with the help of a translator called a compiler. Complier complies with a set of machine language instructions for every program instruction of a high-level language.
- Object-Oriented Programming Language
Object-Oriented Programming Language concept was introduced in 1967. The essence of Object-Oriented Programming (OOP) is to solve a problem by identifying the real-world objects of the problem and the processing required of those objects and then creating simulations of those objects, their processes, and the required communications between the objects. Features of OOP are:
1. Inheritance
2. Polymorphism
3. Encapsulation
4. Abstraction
Inheritance allows the structure to inherit the characteristics of an existing structure.
Polymorphism is the phenomena under which the same entity can exist in two or more forms. It can be defined as the same thing being used in different forms.
Encapsulation is the process of binding the data procedures into objects to hide them from the outside world.
Abstraction is a process to manage complexity by concentrating only on the essential characteristics and suppressing implementation details.
0 Comments