



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of data representation in computer systems, focusing on both quantitative and qualitative data. Topics covered include terminology, measuring data, bit and byte, metrics used to measure quantities of data, data representation in computers, unsigned and signed integers, binary addition, character representation, and ascii and unicode. Students will gain a solid understanding of the fundamental concepts of data representation in computer systems.
Typology: Study notes
1 / 5
This page cannot be seen from the preview
Don't miss anything!




1
By: Dilum Bandara Dept. of Computer Science & Engineering University of Moratuwa © CSE 2
© CSE 3
© CSE 4
© CSE 5
Abbreviation Symbol Bytes Power of 2
© CSE 6
© CSE 7
Quantitative data
© CSE 8
Data representation in computers
n-1 n-2 … ... ... 2 1 0
n-bits
© CSE 9
Unsigned Integers
© CSE 1 0
Binary addition
© CSE 1 1
Example
111110 ‡ 00111110
11000111 + ‡ 11000111 +
100000101 ‡ 00000101
© CSE 1 2
Signed Integers
© CSE 1 9
Character representation cont …
© CSE 2 0
ASCII
© CSE 2 1
ASCII table
Hex Symbol
(space) ! "
$ % & ' ( ) * + , -.
ASCII Hex Symbol 0 1 2 3 4 5 6 7 8 9 : ; < = >
ASCII Hex Symbol
© CSE 2 2
ASCII table cont…
ASCII Hex Symbol P Q R S T U V W X Y Z [ \ ] ^
ASCII Hex Symbol ` a b c d e f g h i j k l m n
o
ASCII Hex Symbol
© CSE 2 3
ASCII - things to note
© CSE 2 4
Unicode www.unicode.org
© CSE 2 5
Unicode cont…
Courtesy by Unicode.org
© CSE 2 6
Summary
p Measuring data
p Data representation
n Quantitative
n Qualitative