Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ICS 2012 - Midterm Solution for Problem 1-3
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
allan914
May 08, 2012
0
75
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
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Bash Introduction
62gerente
615
210k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Test your architecture with Archunit
thirion
1
2.2k
The Invisible Side of Design
smashingmag
302
51k
AI: The stuff that nobody shows you
jnunemaker
PRO
2
260
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Crafting Experiences
bethany
1
49
Building the Perfect Custom Keyboard
takai
2
680
Facilitating Awesome Meetings
lara
57
6.8k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
910
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