Exam Notes

This page contains notes that are approved to be used on exams.

File Headers

File Type Header (Hex) Header (ASCII/Unicode)
png 89 50 4e 47 ‰PNG
jpg FF D8 FF E0 ÿØÿà
bmp 42 4D  BM
avi 52 49 46 46 xx xx xx xx
41 56 49 20 4C 49 53 54
RIFF....
AVI LIST
wav 52 49 46 46 xx xx xx xx
57 41 56 45 66 6D 74 20
RIFF....
WAVEfmt
mpg (video) 00 00 01 Bx ....
doc, ppt, xls D0 CF 11 E0 A1 B1 1A E1 ÐÏ.ࡱá
mp3 FF Fx  ÿ.
pdf 25 50 44 46 %PDF
docx, pptx, xlsx, zip 50 4B 03 04 PK..


Scaling and Prefixes

Prefix Symbol Base 10 Number of Bytes (Decimal)
kilo K 103 1,000
mega M 106 1,000,000
giga G 109 1,000,000,000
tera T 1012 1,000,000,000,000
peta P 1015 1,000,000,000,000,000
exa E 1018 1,000,000,000,000,000,000
zetta Z 1021 1,000,000,000,000,000,000,000
Prefix Symbol Base 2 Number of Bytes (Decimal)
kibi Ki 210 1,024
mebi Mi 220 1,048,576
gibi Gi 230 1,073,741,824
tebi Ti 240 1,099,511,627,776
pebi Pi 250 1,125,899,906,842,624
exbi Ei 260 1,152,921,504,606,846,976
zebi Zi 270 1,180,591,620,717,411,303,424

ASCII Table


Vigenere Cipher