D75P 34R - HNC Computer Architecture Week 7 A Mini Test! © C Nyssen/Aberdeen College 2004 All images © C Nyssen /Aberdeen College unless otherwise stated Timer, decision © Microsoft ISO table © and courtesy of IBM Prepared 9/11/04
This lecture will consist of 10 questions on a timer. The questions are of equivalent difficulty to the Outcome 1 paper. You have 1½ minutes to answer each one. After 1 minute a dinosaur will appear, to let you know that you only have 30 seconds left before the slide changes! At the end we will check the answers, and anything that you did not understand will be expanded on the whiteboard. You need six or more questions correct for a pass. Ready to go?
Question 1. Take the following pair of binary numbers And apply this gate to get the answer… a b c d
Question 2. What is the binary storage of the number -329 formatted to 10 bits and using 2’s complement? a b c d
Question 3. What is the hexadecimal number C2Ah in denary? a.3094 b.3114 c d
Question 4. What is the binary value in hexadecimal? a.B762h b.C762h c.D762h d.D772h
Question 5. The signed binary number in denary is – a.-615 b.+615 c d.+3481
Question 6. Subtract the second number from the first one using 2’s complement and addition a b c d
Question 7. Add the hexadecimal values E550h and F19Dh. a.176EDh b.1B6FDh c.1C6EDh d.1D6CDh
Question 8. Apply an XOR gate to the following pair of numbers a b c d
Question 9. What is the number 4771 in hexadecimal? a.12A3h b.1CA3h c.2933h d.2CA3h
Question 10. The Greek character Ω (omega) could be represented by using ISO and the binary value a.U+D9 b.U+BC c d
So let’s see how you got on……
Question 1. Take the following pair of binary numbers And apply this gate to get the answer… a b c d The correct answer was d. It is a NAND gate!
Question 2. What is the binary storage of the number -329 formatted to 10 bits and using 2’s complement? a b c d would be reverse it… add 1 to the LSB so the answer was c.
Question 3. What is the hexadecimal number C2Ah in denary? a.3094 b.3114 c d C or 12 times 256 is times 16 is 32 A or 10 times 1 is 10 Add all together to get 3114 So the answer was b.
Question 4. What is the binary value in hexadecimal? a.B762h b.C762h c.CF62h d.D772h 1100 is 12 or C 0111 is is is 2 The correct answer is C762h - b.
Question 5. The signed binary number in denary is – a.-615 b.+615 c d As it is a signed number, the leading 1 tells us that it must be negative! Reverse all the remaining digits to get Add 1 to the LSB to get Convert back - ( ) = 615. So the answer was a.
Question 6. Subtract the second number from the first one using 2’s complement and addition a b c d Reverse the second number and add 1 to the LSB Add the two numbers… The answer was c.
Question 7. Add the hexadecimal values E550h and F19Dh. a.176EDh b.1B6FDh c.1C6EDh d.1D6EDh E 5 50 F 1 9D or E D The 29 becomes 13, or D, carry 1…. The answer was 1 D 6 E D h - option d.
Question 8. Apply an XOR gate to the following pair of numbers a b c d Remember that the XOR gate is the one that looks for differences in the inputs! The correct answer was d.
Question 9. What is the number 4771 in hexadecimal? a.12A3h b.1CA3h c.2933h d.2CA3h To do this without a calculator, you can set up some Hexadecimal columns… ’s256’s16’s1’s We will get one lot of 4096 out of the 4771, leaving 675. ( ) = 419. ( ) = 163. So that’s 2 lots of 256. We will get 10 lots of 16 out of 163, leaving 3 over…. So the answer is 1 2 A 3 h. Answer a.
Question 10. The Greek character Ω (omega) could be represented by using ISO and the binary value a.U+D9 b.U+BC c d The answer was D9 in hex - or Answer c.
So how was your score? If you got…… …. Well done! You are a genius! 6 or 7 …. Congratulations! You should have no trouble at all with the real assessment! 4 or 5 …. Unfortunate! You need to do a wee bit more work between now and next week... 3 or less …. REVISE ALL OF THE LECTURES BEFORE NEXT WEEK!