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
75
0
Share
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
76
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
120
Google's AI Overviews - The New Search
badams
0
960
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
The Cult of Friendly URLs
andyhume
79
6.8k
How to build a perfect <img>
jonoalderson
1
5.4k
The Spectacular Lies of Maps
axbom
PRO
1
690
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
260
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
160
Everyday Curiosity
cassininazir
0
190
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
370
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
520
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
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