Computer Science 1033A/B Lecture 3: Lecture 3
mikekuo58 and 38820 others unlocked
25
COMPSCI 1033A/B Full Course Notes
Verified Note
25 documents
Document Summary
Order: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f (where 0=no colour, a=10 and f=15/aka max colour) If all three sections are same, colour will be along the grayscale (all 0"s will be black, all. Higher the value on each colour spot, the more vibrant that colour. Measure of pixels per inch (low dpi = blurring/pixelation) I=true=on: 0=false=off, 0000 off, off, off, off, 1111 on, on, on, on, 0101 off, on, off, on. 1001: the first 1 has place value 3 so take 2^3 = 8, next 1 has place value 0 so 2^0=1, therefore 8+1=9, e. g. Representing characters in binary: start with 0100 then use decimal conversion for 0000, e. g. D o g = 0100 0100, 0100 1111, 0100 0111: with 8 bits (1 byte) we can encode 2^8 256 diff characters. Dots per inch (dpi: samples on scanners/printers measured in dpi, e. g.