Skip to main content

HOW DO COMPUTERS UNDERSTAND BINARY LOGIC

 

HOW DO COMPUTER UNDERSTAND THE BINARY LOGIC?



 

As we have shown in the previous post LANGUAGE THAT COMPUTER AS WELL AS HUMAN UNDERSTAND I am going to dig deep of that topic in this post.  I will try to explain how computer understand the binary logic.  So lets begin.  I am going to write about binary logic, that most of the computer manufacturers and developers use.

                

Binary logic deals with variables that take on two discrete values and with operations that assume logical meaning.  The two values the variables take may be called by different names (e.g. true and false, yes and no, etc.), but for our purpose it is convenient to think in terms of bits and assign the values of 1 and 0. 

 

Binary logic is used to describe, in a mathematical way, the manipulation and processing of binary information.  It is particularly suited for the analysis and design of digital systems.  For example, the digital logical circuits of many circuits that perform binary arithmetic are circuits whose behavior is most conveniently expressed by means of binary variables and logical operations.  The binary logic to be introduced in this section is equivalent to an algebra called Boolean algebra.

 

Binary logic consists of binary variables and logical operations.  The variables are designated by letters of the alphabet such as A, B, C, x, y, z, etc., with each variable having two and only two distinct  values : 0 and 1.  There are basic logic operations: AND, OR and NOT.

 

·        AND: This operation is represented by a dot or by the absence of an operator.  For example, x.y = z or xy=z is read “x AND y is equal to z”.  The logical operation  AND interpreted  to mean and z = 1 if and only if x = 1 and y = 1 otherwise z = 0. (Remember that x, y and z are binary variables and can be equal to either 1 or 0 nothing else).

·        OR : This operation is shown by addition symbol.  For example,  x + y = z is read “ x OR  y is equal to z”      meaning that z = 1 if x=1 or y=1 or both x=1 or if both x=1 and y = 1.  If both x = 0 , then y = 0 then z = 0.

·        NOT : This operation is presented by  a prime (sometimes by a bar).  For example , x’ = z (or x not equal to z meaning that x is what z is not) .  In other words, if x = 1, and z = 0 .  But if x=0 then z = 1.

 

Binary logic resembles binary arithmetic and the operations “AND” and “OR” have some similarities to multiplication and additions, respectively.  In fact, the symbols used for AND and OR are the same as those used for multiplication and addition.  However, binary logic should not be confused with binary arithmetic.  One should realize that an arithmetic variable designates a number that may consist of many digits.  A logic variable is either a one or zero.  For example, in binary arithmetic we have 1 + 1 = 1 (read “one plus one equal to 2” while in binary logic we have 1 + 1 = 1 (read “ one or one equal to one”

 

For each combination of the values of x and y there is a value of z specified by the definition of the logical operation.  These definations may be listed in compact form using truth tables.  A truth table is a table of all possible combination of the variables showing the relations between the balues that the variables may take and the result of the operation.  For example, the truth tables for he operations AND and OR with variables x and y are obtained by listing all possible values that the variable may have when combined in pairs.  The result of the operation for each combination is when listed in a separate row.  The truth tables for “AND” , “OR” and “NOT” are as under.

 

                                    AND                        

X

y

x.y

0

0

0

0

1

0

1

0

0

1

1

1

 

                                     OR

 

X

y

x +  y

0

0

0

0

1

1

1

0

1

1

1

1

 

 

                                  

 

                      NOT

X

x’

0

1

0

1

1

0

1

0

 

Comments

Popular posts from this blog

EXPANSION SLOTS IN MOTHERBOARD

EXPANSION SLOTS IN MOTHERBOARD  Friends today i am going to share my knowledge and understanding of the expansion slots. So lets begin with our topic. Expansion slots are used to provide additional properties for carrying the computation task such as additional video, audio and sound, advanced graphics and Ethernet.   So lets begin with our knowledge hunting. I will start by AGP expansion slots. AGP AGP stands for ACCELARATED GRAPHICS PORT.  AGP was introduced with high speed 3D graphics display in 1996.  It is used for older graphics card types which is discontinued by PCI EX16 graphics port in 2005.   These were kernel version of AGP most of the brand in 1.5 volt DC.  AGP 1x channel and 66MHZ clock speed resulting a data table of 266 MBPS.   AGP 2x, 4x ,8x specification multiply MHZ clock to produce increase throughput. AGP 8x produces effective clock frequency of 533 MHZ resulting a throughput of 2 GBPS (2133MHZ) resulting a throughput of over a 32 bit channel. PCI PCI  stands for P

PROCESSOR AND HYPER THREADING A SHORT SUMMARY

PROCESSOR AND HYPERTHREADING Friends in the last post i tried to say something about computer science and mathematics relationship.   Now i am going to say something about processor and hyperthreading.   So let’s get started. The Physical Component By Which A Computer Is Made Which We Can See, Touch And Feel Is Called Computer Hardware Example Ram, Motherboard. ·          INPUT DEVICE   : These hardware are used to input any data, instruction on command insidea computer device.   example keyboard mo9use scanner microphone, webcam etc ·          OUTPUT DEVICE :   these hardware are used to get any output from a computer system.   example: monitor, printer, speaker. ·          CENTRAL PROCESSIG UNIT (CPU) : This Device Proceses All Instruction Given By A User, And It Also Other Haqrdwqaar Peripherals Example   :Microprocessor ·          MOTHERBOARD: It is the main electric circuit board which is made by a pcb(printed circuit board).   It hods all hardware componen

CODES OF LANGUAGE IN COMPUTER SYSTEM. WHAT ARE THE OTHER CODES WHICH ARE USED IN COMPUTER SYSTEM?

  CODES OF LANGUAGE IN COMPUTER SYSTEM.   WHAT ARE THE OTHER CODES WHICH ARE USED IN COMPUTER SYSTEM?   There are many codes in computer system which may remain unnoticed by many computer geeks and nerds.   I also first didn’t see it but I am going to share it because these are important codes and used by many computer hardware developers, vendors and computer software developers.    They are mostly understood by ELECTRONICS AND ELECTRICAL ENGINEERING geeks or nerds.   They are as under : ·         ERROR DETECTION CODES ·         ALPHANUMERIC CODES ·          REFTLECTED CODES First we will discuss something about ERROR DETECTION CODES.                                                                                                              ERROR DETECTION CODES:   Binary information , be it pulse modulated signals or digital computer input or output, may be transmitted though some form of communication medium or electrical wires or radio waves.   Any external noi