ARITHMETICS FOR COMPUTER
LANGUAGE OF COMPUTERS
Wednesday, November 20, 2013
INTRODUCTION COMPUTER LANGUAGES
A programming language is a machine-readable artificial language designed to express computations that can be performed by a machine, particularly a computer.

FOURTH GENERATION PROGRAMMING LANGUAGE
- A Fourth-Generation Programming Language(4GL) (1970s-1990) is a programming language or programming environment designed with a specific purpose in mind, such as the development of commercial business software.
 
- All 4GLs are designed to reduce :
 
- programming effort,
- the time it takes to develop software and
- the cost of software development.
BINARY ARITHMATIC
BINARY ARITHMATIC
And now we are going to learn how addition , subtraction , multiplication and division in binary arithmatic .
Addition :
Process 
 | 
  
Answer 
 | 
  
Carry Value 
 | 
 
0 + 0 
 | 
  
0 
 | 
  
0 
 | 
 
0 + 1 
 | 
  
1 
 | 
  
0 
 | 
 
1 + 0 
 | 
  
1 
 | 
  
0 
 | 
 
1 + 1 
 | 
  
0 
 | 
  
1 
 | 
 
HEXADECIMAL NUMBER OPERATION
-HEXADECIMAL NUMBER OPERATION-
HMMMMMMM............
THE HEXADECIMAL NUMBER SYSTEM (BASE 16)
TO UNDERSTAND LETS LEARN THIS....
 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 A B C D E F
LETS TRY
TO MORE UNDERSTAND TRY THIS ALSO..
EVALUATE:
(a) 134216 + A49016 (ANSWER = B7DF16)
(b) F4C616 + E76916 (ANSWER = 1DC2F16)
(c) 777.DE16 + AE3.4616 (ANSWER = 125B.2416)
-HEXADECIMAL SUBTRACTION-
MORE:
8-1 A-1+6 C+16- 2 D E = 5 C(25-13) E (28-14)
???????????????????????????
Tuesday, November 19, 2013
NUMBER SYSTEM BASE
Most of the numbering system will have a base.The maximum number that can  be represented on the single digit or number is called a base
 
                               
Table 1:The types of number system
        System 
 | 
  
   Base 
 | 
  
Possible digits 
 | 
 
Binary 
 | 
  
2 
 | 
  
0   1    
 | 
 
Octal 
 | 
  
8 
 | 
  
0   1   2  3  4 
  5  6  7   
 | 
 
Decimal 
 | 
  
10 
 | 
  
0   1   2  3  4 
  5  6  7 
  8  9   
 | 
 
Hexadecimal 
 | 
  
16 
 | 
  
0   1   2  3  4 
  5  6  7 
  8  9  A 
  B  C  D 
  E  F  
 | 
 
Table 1:The types of number system
Subscribe to:
Comments (Atom)







