Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ICS 2012 - Midterm Solution for Problem 1-3
Search
allan914
May 08, 2012
0
74
ICS 2012 - Midterm Solution for Problem 1-3
allan914
May 08, 2012
Tweet
Share
More Decks by allan914
See All by allan914
OOP 2012 - Hint: Dynamic allocation in c++
allan914
1
76
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Side Projects
sachag
455
43k
A better future with KSS
kneath
240
18k
The Cult of Friendly URLs
andyhume
79
6.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Transcript
Midterm Problem 1-3 ICS 2012, Midterm
Problem 1 a. 0110 0100 b. 1001 1101 c. 1111
1111 (Calculation!) d. 0xBFFC0000 = 1011 1111 1111 1100 0000 0000 0000 0000
Problem 2 - Circuit (a)
Problem 2 - Answer (a) Input Output A B C
D A’ B’ C’ D’ 1 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 1 1 1 0 1 1 0 0 1 0 1 1 1 1 1 1 1 0 0 0 1
Problem 2 - Circuit (b)
Problem 2 - Answer (b) Input Output A B C
D E F G H A B C D 1 1 0 1 1 0 1 1 0 0 1 0 0 1 0 0 0 0 1 0 0 0 1 0 1 0 0 1 0 1 1 0 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 0 0 0 1
Problem 3 a. even parity (example!) b. hamming distance (example!)
- Not error correction! Suppose minimum distance is N c. N-1 d. (N-1)/2 e. G