Computer Architecture
Computer Architecture
logic Gates:
Logic gates are important digital devices that are mainly based on the Boolean
function. Logic gates are used to carry out logical operations on single or multiple
binary inputs and give one binary output.
In simple terms, logic gates are the electronic circuits in a digital system which
implements Boolean functions.
The speed of these computers is low. Digital computers are relatively faster.
Continuous values are used in analog These sorts of systems process discrete
computers, and these systems handle data or deal with discrete values in digital
continuous data. computers.
Analog computers provide less accurate Digital computers provide more accurate
results. results.
They have high power consumption. They have low power consumption.
Analog computers are not easy to use. Digital computers are easy to use.
LOW LEVEL VS HIGH LEVEL LANGUAGE
High-level language
It can be easily interpreted as well as compiled in comparison to low-level language.
It can be considered as a programmer-friendly language.
It is easy to understand.
It is easy to debug.
It is simple in terms of maintenance.
It requires a compiler/interpreter to be translated into machine code.
It can be run on different platforms.
It can be ported from one location to another.
It is less memory efficient, i.e it consumes more memory in comparison to low-level
languages.
Examples of high level languages include C, C++, Java, Python.
Low-level language
It is also known as machine level language.
It can be understood easily by the machine.
It DON’T requires a compiler/interpreter to be translated into machine code.
It is considered as a machine-friendly language.
It is difficult to understand.
It is difficult to debug.
Its maintenance is also complex.
It is not portable.
It depends on the machine; hence it can't be run on different platforms.