Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DATA REPRESENTATION
#1

DATA REPRESENTATION

[attachment=16425]

Information that a Computer is dealing with
Data
Numeric Data
Numbers( Integer, real)
Non-numeric Data
Letters, Symbols
Relationship between data elements
Data Structures
Linear Lists, Trees, Rings, etc
Program (Instruction)

Easiness of negative conversion

S + M > 1 s Complement > 2 s Complement

* Hardware

- S+M: Needs an adder and a subtractor for Addition
- 1 s and 2 s Complement: Need only an adder

* Speed of Arithmetic

2 s Complement > 1 s Complement(end-around C)

* Recognition of Zero

2 s Complement is fast
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 iAndrew & Melroy van den Berg.