Introduction To Components of A Computer System
Introduction To Components of A Computer System
PROGRAMMING
Programs can also be called software.
Software refers to the computer programs that a computer uses to complete a task.
When a program is running, some or all of its instructions are in main memory.
Memory is divided into sections called bytes that hold equal amount of data.
Each section is made up of 8 bits.
A Bit is the most basic unit of information a computer can hold. It is a switch that is either
on (1) or off (0)
Each byte is assigned and can be accessed by its address.
A Memory Address is a unique identifying number associated with a byte in memory.
Functional
examples: Lisp, ML
Object-oriented
examples: C++, Java, Smalltalk
Markov algorithms
Prolog is loosely based on these
There are many programming languages out there
Lots of other PL-like objects
document languages, e.g. LaTeX, Postscript
command languages, e.g. bash, MATLAB
markup languages, e.g. HTML and XML
specification languages, e.g. UML
Can it be understood by people and processed by machines?
although translation may be required
A program that converts another program from some source language (or
high-level programming language / HLL) to machine language (object code).
Executable program
Machine language program linked with necessary libraries & other files