Class Notes (1,100,000)
CA (620,000)
Western (60,000)
COMPSCI (600)
idk (9)
Lecture 3

# Computer Science 1033A/B Lecture Notes - Lecture 3: Kilobyte

Department
Computer Science
Course Code
COMPSCI 1033A/B
Professor
idk
Lecture
3

This preview shows half of the first page. to view the full 2 pages of the document.
Sept 23, 2013
Introduction to Graphics
Review:
Serif vs San Serif
Leading is the space between lines
When printed, 72 pt font = 1 inch height
Never use underlining on a website (hyperlinks are an exception)
Font colours use hexadecimal numbering system
-contains 16 characters: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
-in that order of strength
-code always begins with a #
-6 spots for colour variation
first 2 = red
middle 2 = green
last 2 = blue
-if all colours are equal (ex. #3888888) then the colour is grey
-White is #FFFFFF, Black is #000000
Computer only "speaks" in binary (all 0's and 1's)
Each 1 or 0 is called a bit
8 bits has 256 variations (2^8)
-8 bits = 1 byte
-1024 bits (or 128 bytes) = 1 kilobyte (2^10)
*never refer to anything as bits because they are so small, instead use a byte and add 0's where
needed
Decimal Number of Digits Binary Number of Bits
0 1 0 1
1 1 1 1
2 1 10 2
3 1 11 2
4 1 100 3
5 1 101 3
6 1 110 3
7 1 111 3
8 1 1000 4