Wednesday, November 30, 2016

CHAPTER 3 : NUMBER OPERATION

ARITHMETIC FOR COMPUTER

OPERATION OF INTEGER
.Addition and Subtraction
.Multiplication and Division
.Dealing with overflow

FLOATING - POINT REAL NUMBER
.Represent and operations

INTEGER ADDITION
                   
BINARY               Image result for BINARY ADDITION
HEXADECIMAL
Image result for HEXADECIMAL ADDITION

INTEGER SUBTRACTION

BINARY

 
   0borrows
   0  0  1 10  0  1  0  1   =   37(base 10)
 - 0  0  0  1  0  0  0  1

   =   17(base 10)
   0  0  0  1  0  1  0  0   =   20(base 10)
HEXADECIMAL

Image result for HEXADECIMAL SUBTRACTION
                               
INTEGER MULTIPLICATION


BINARY
            0  0  1  0  1  0  0  1   =   41(base 10)
× 0  0  0  0  0  1  1  0

   =   6(base 10)
0  0  0  0  0  0  0  0
0  0  1  0  1  0  0  1   
0  0  1  0  1  0  0  1      

0  0  1  1  1  1  0  1  1  0   =   246(base 10)
HEXADECIMAL
                               
Image result for HEXADECIMAL MULTIPLICATION

INTEGER DIVISION


                      
BINARY
                                  

 1  1  1    =   7(base 10)

      1  1  0 ) 0  0  1 1 1  0  1  0    =   42(base 10)
  -   1  1  0    =   6(base 10)

 1 borrows
1  0 1 1 
-   1  1  0 

        1  1  0 
-   1  1  0 

   0 
  HEXADECIMAL

Image result for HEXADECIMAL DIVISION

Monday, November 28, 2016

CHAPTER 1 : ASSEMBLY PC, FORMATTING AND DISK PARTITION


DEFINITION OF A COMPUTER

- COMPUTER is An electronic device that can accept data (input), process the input to useful information (process), according to a set of instructions, store the instructions and the results of processing (storage), and produce the information (output).


COMPUTER STRUCTURE :-


                      Image result for COMPUTER STRUCTURE

STRUCTURE - THE CPU 

* Meanwhile, the CPU itself consists of several components such as:
o registers
– provides storage internal to the CPU
o arithmetic and logic unit (ALU) 
– perform data processing function
o control unit
 – control the operation of CPU
o internal CPU interconnection
 – provides communication among ALU, registers and control unit :-

                                        Image result for cpu structure

                                     
                     

TYPE OF COMPUTER :-

o - Micro Computer

                                         Image result for micro computer
o - Main Frame

                                          Image result for main frame

o - Super Computer

Image result for super computer



LEVEL OF PROGRAM CODE

*High Level Language

-Level of abstraction closer to problem domain
-Provides for productivity and portability

*Assembly Language
-Textual representation of instruction

*Hardware Representation
-Binary digits (bits)
-Encode instructions and data


ANATOMY OF COMPUTER

INPUT DEVICE

           Image result for INPUT DEVICE

OUTPUT DEVICE

                                 Image result for OUTPUT DEVICE DEVICE


COMPONENT INSIDE OF COMPUTER


          Image result for component computer


MOTHERBOARD LABELS AND COMPUTER PORTS


Image result for motherboard