Chapter_2_Data Representation - Outline Data Representation...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS 3401 Comp. Org. & Assembly Data Representation in Computer Systems 1 Data Representation Data Representation in Computer Systems CS 3401 Comp. Org. & Assembly Data Representation in Computer Systems 2 Outline Outline Data Organization Bits, Nibbles, Bytes, Words, Double Words Numbering Systems Unsigned Binary System Signed and Magnitude System 1’s Complement System 2’s Complement System Hexadecimal System Floating Point Representation BCD Representation Characters ASCII Code UNICODE Other Representations Display colors Audio CS 3401 Comp. Org. & Assembly Data Representation in Computer Systems 3 Data Organization Data Organization Computers use binary number system to store information as 0’s and 1’s Bits A bit is the fundamental unit of computer storage A bit can be 0 (off) or 1 (on) Related bits are grouped to represent different types of information such as numbers, characters, pictures, sound, instructions CS 3401 Comp. Org. & Assembly Data Representation in Computer Systems 4 Nibbles Nibbles Nibbles A nibble is a group of 4 bits A nibble is used to represent a digit in Hex (from 0-15) and BCD (from 0-9) numbers F 1111 E 1110 D 1101 C 1100 B 1011 A 1010 9 9 1001 8 8 1000 7 7 0111 6 6 0110 5 5 0101 4 4 0100 3 3 0011 2 2 0010 1 1 0001 0 0 0000 Hex BCD
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 CS 3401 Comp. Org. & Assembly Data Representation in Computer Systems 5 Bytes Bytes Bytes A byte is a group of 8 bits that is used to represent numbers and characters A standard code for representing numbers and characters is ASCII ( A merican S tandard C ode for I nformation I nterchange ) CS 3401 Comp. Org. & Assembly Data Representation in Computer Systems 6 Byte Size Byte Size Bytes How many different combinations of 0’s and 1’s with 8 bits can form? In general, how many different combinations of 0’s and 1’s with N bits can form? How many different characters that a byte (8 bits) can represent? CS 3401 Comp. Org. & Assembly Data Representation in Computer Systems 7 Words Words Words A word is a group of 16 bits or 2 bytes that is used to represent non-Roman characters in UNICODE An international standard code for representing non-Roman characters like Asian, Greek, and Russian characters is UNICODE CS 3401 Comp. Org. & Assembly Data Representation in Computer Systems 8 Double Words Double Words Double Words A double word is a group of 32 bits or 4 bytes or 2 words
Image of page 2
3 CS 3401 Comp. Org. & Assembly Data Representation in Computer Systems 9 Related Bytes Related Bytes A nibble nibble is a half-byte (4-bit) - hex representation A word word is a 2-byte (16-bit) data item A doubleword doubleword is a 4-byte (32-bit) data item A quadword quadword is an 8-byte (64-bit) data item A paragraph paragraph is a 16-byte (128-bit) area A kilobyte kilobyte (KB) is 2 10 = 1,024 bytes 1 K bytes) A megabyte megabyte (MB) is 2 20 = 1,048,576 1 MB A Gigabyte Gigabyte (GB) is 2 30 = 1,073,741,824 1 GB CS 3401 Comp. Org. & Assembly Data Representation in Computer Systems 10 Numbering Systems Numbering Systems Unsigned number system Signed binary Systems Signed and magnitude system 1’s complement system 2’s complement system Hexadecimal system CS 3401 Comp. Org. & Assembly
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern