A Sequence of Instruction:
A sequence of instructions refers to a set of steps or commands that a computer follows to perform a specific task. These instructions are written in a programming language and are designed to be executed in a particular order.
An Algorithm:
An algorithm is a step-by-step procedure or set of rules for solving a specific problem. It's a logical and systematic approach to problem-solving. Algorithms are often expressed in a human-readable form and then translated into a programming language for the computer to execute.
A Program:
A program is a set of instructions that are written in a programming language to perform a specific task or achieve a particular result. Essentially, a program is the executable form of an algorithm.
PROGRAMMING LANGUAGES
A set of instructions written by a programmer to deliver instructions to the computer to perform and accomplish a task
LEVELS OF PROGRAMMING LANGUAGES
Machine binary language: unintelligible
The lowest level of programming language consists of binary code, which is a series of 0s and 1s that directly represent machine-level instructions. It is unintelligible to humans.
Low-level Assembly Language - is a step above machine binary language
Mnemonic names for machine operations
- make it easier for programmers to write assembly language code by using human-readable names for operations rather than dealing directly with raw binary instructionsExplicit manipulation of memory addresses
-involves directly working with and controlling the locations in a computer's memory where data is stored.
Machine-dependent
- programs written in these languages are closely tied to the architecture and instruction set of a specific computer or processor
High-level Language
Readable
- it's written in a clear and understandable way, like a well-written story or a recipe that is easy to follow.
Machine-independent
- can be executed on different types of hardware without major modifications.