Binary System and ALU Logic Operation

Binary System and ALU Logic Operation

Analog Value

Analog quantity has continuous values.Most of the things in nature appear in analog form. Temperature never goes from 30 to 31 instantly.It takes infinite steps. If we draw a graphical representation, it will give us a continuous curve waveform.

Digital Value

Digital quantity has discrete values.It takes finite steps. If we draw a graphical representation, it will give us a discrete waveform.

Digital data can be processed efficiently.

Can be stored easily due to limited amount of information.

Noise does not affect digital data.

digital circuits consume low power.

Machine Language

A system of codes directly understandable by a computer’s CPU is termed as machine language. Machine language is composed only of the two binary digits 0 and 1.

Compiler/Interpreter.

It is a software that converts the programming language into machine language.

Bit

It is the minimum information that can be handled by a computer. It is not an imaginary thing, it exists physically in the form of voltage levels.In computer circuitry, a bit is represented by voltage levels which are assigned on the basis of circuit type.

Base 2 Number system

02 symbols (0,1)

Computer only recognize off and on like a light switch.

Instructions and data are composed of only a series of bits.

a single bit is represented by a small “b” and a byte is represented by a capital “B”.

Four(04) bits form a nybble.

Eight(08) bits form a single byte.

In computer, we use byte structure to store data.

Computer handles a series of binary numbers (1010100011011011 or on/off) in two forms

Data

Set of Instructions

Both of these sets are handle by CPU.This on and Off instructions are known as bits.