Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
ICS 2012 - Midterm Solution for Problem 1-3
Search
allan914
May 08, 2012
78
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ICS 2012 - Midterm Solution for Problem 1-3
allan914
May 08, 2012
More Decks by allan914
See All by allan914
OOP 2012 - Hint: Dynamic allocation in c++
allan914
1
78
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Being A Developer After 40
akosma
92
590k
Thoughts on Productivity
jonyablonski
76
5.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Evolving SEO for Evolving Search Engines
ryanjones
0
330
Unsuck your backbone
ammeep
672
58k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Making the Leap to Tech Lead
cromwellryan
135
10k
The Curse of the Amulet
leimatthew05
3
16k
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