CMPS 002 - Computer Literacy

Prof. Paulo Franca

CyberSlug Rules!

Classes

Class Syllabus

Grading Policy

Labs

bulletAssignments
bullet Schedule

Interact

Login

bullet enter system
bullet get attendance
bullet submit work
bullet take lab quiz
bullet check scores

Help

Help me!

Links

bulletUC Santa Cruz
bulletSchool of Engineering
bulletACM
bulletIEEE

Staff only

 

 

 

Datacare   Ahshay

 

Representing Letters of the Alphabet and Characters

bulletAlphabet = 26 characters (English)
bullet26 uppercase
bullet26 lowercase
bullet10 numeric characters

How can we represent using zeros and ones?

bulletTake a group of bits:
bullet1 bit 2 states
bullet2 bits 4 states
bullet3 bits 8 states
bullet4 bits 16 states
bullet5 bits 32 states
bullet6 bits 64 states
bullet7 bits 128 states
bullet8 bits 256 states

 

 
 
bulletStandard settled on 8 bits = 256 different representations
bullet26 + 26 + 10 + spaces, comma, period, etc
bulletcould fit in 128 states = 7 bits
bulletother characters (non-english, special, graphical, etc)
bulletbits decimal
bullet0100 0001 = 65