Data Representation In Computers Flashcards
Data representation
Refers to the form in which data us stored, processed and transmitted
Methods used to internally to repsrenst characters stored in computers
Types of data stored
Numbers
Text
Graphics
Sound
Digitization
Process of converting information such as text, numbers, photos or music into digital data that can be manipulated by electronic devices
Bit
The 0s and 1s used to represent digital data are referred to as binary digit from this term we get the word buy that stands for binary digit
A bit is a 0 or 1 used in the digital representation of data
No numeral like 2 exists in the system so the number two is reprenst in binary as 10
The ASCII code for an uppercase A is 1000001
A group of 8 bits is called a byte
Representing graphics
Pixels are tiny dots of colors that collectively paint a graphic image on the computer screen
1 pixel = 256 bits
Bits and bytes
Bits: data rates such as Internet connection speeds and movie download speeds
Bytes: for file sizes and storage capacities
Kilobyte: used when referring to the size of small computer files (104 KB)
Megabit: used for faster data rates. Internet connection (50Mbps)
Megabyte: used when referring to the size of files containing photos and videos (3.2 MB)
Gigabit: used for really fast network speeds (100 Gbit)
Gigabyte: used to refer to storage capacity (16GB)
Number system
Is a writing system for expressing numbers ie a mathematic notation for representation numbers of a given set, using digits or other symbols in a consistent manner
Non positional: wash symbol represents same value regardless of its position in numbers. Eg roman numbers
Positional: easy to perform arithmetic compared to non positions. Use the method of place value ie the position of a disgusting affects its meaning.
Considerations that Determines the value of each digit in a number
The digit itself
The position of the digit
The base of the number system
Position number system used in computer
Decimal
Binary
Octal
Hexadecimal
Advantages of hexadecimal
Shorter, particularly for long computer word lengths
More convenient when the word length is divisible by 4 but not by 3
Advantages of octal
Easier to derive from a binary number
Cannot be confused with names or word
Converting octal numbers to decimal is simpler since the digits need not be changed
Octal arithmetic is simpler and less confusing than hexadecimal arithmetic