------------------------- Week 06 Notes for CST8281 ------------------------- -Ian! D. Allen - idallen@idallen.ca - www.idallen.com Lecture Notes for This Week --------------------------- Midterm Review (also next week in labs) Floating Point (finish topic) Character representations (EBCDIC, ASCII, Unicode and friends) Endian-ness - From Blackboard Course Documents (publisher-restricted distribution): 02.ppt - ignore slides 62-70 (the "simplified" model) - ignore slides 75-76 (floating-point multiplication) - ignore slides 91-115 (error detection and correction) - ignore half of slide 117 (error detection and correction) - use my web pages instead http://en.wikipedia.org/wiki/Extended_Binary_Coded_Decimal_Interchange_Code http://en.wikipedia.org/wiki/American_Standard_Code_for_Information_Interchange http://en.wikipedia.org/wiki/Unicode http://en.wikipedia.org/wiki/Tengwar ("Elvish script": see "Unicode" section) Coming up - Chapter 3 slides - Boolean Logic ----------------------------------- Midterm Test #1 - February 24, 2010 ----------------------------------- Calculators are not permitted during the first midterm test. You will benefit from knowing the powers of two from 2**(-4) to 2**16 and the decimal and binary values of the hexadecimal digits from zero to fifteen. Of course you can work them out; however, having at least some of them memorized will make things go faster for you on the test. (Remember that hexadecimal "A" = decimal 10 = binary 1010.) Number of students who did not spell their own name correctly (to match their Algonquin registration name): 8 - The name on the test sheet must match your Algonquin registration name. - The order of your name, FirstName and LastName, does matter. - You must enter your full name as stored in the registrar's office. - If you have blanks in your name, remove the blanks when entering your name on the mark sense sheet, e.g. "Bob Ted" becomes "BOBTED". - Yes, some names will not fit in the space provided; I match partial names. - I have manually corrected each of your names so that you get your marks. Number of students who left some answers blank: 3 You have been EMailed your personal answers to your multiple-choice question sheet. You can pick up your question sheet from me in class. Please make sure you understand what "indicate by check marks" means before your next test. I expect check marks on the next test. The 14 multiple-choice questions were worth 7 of 15%. The 16 points in short-answer questions were worth 8 of 15%. Midterm A short-answers ----------------------- 378 C O 000 Z C O E9A S O F03 C S 0.1001 2 C A B D E F 186A00h 80000000h Midterm B short-answers ----------------------- EB8 S O 396 C O F12 C S 000 Z C O 0.0011 1 F E D B A C F42400h 80000000h Class results from the first midterm test: ------------------------------------------ Most difficult M/C questions (count of correct responses): given IEEE hexadecimal, extract exponent in decimal (22/61) convert decimal to sign-magnitude (26/61) convert two's complement hex (negative) to decimal (28/61) express a prefix as a binary power of two (33/61) convert octal to decimal (45/61) convert decimal to hexadecimal (45/61) relationship between prefixes (46/61) Multiple-choice section marks (7 of 15%): 100.0 100.0 100.0 100.0 100.0 100.0 92.9 92.9 92.9 92.9 92.9 92.9 92.9 85.7 85.7 85.7 85.7 85.7 85.7 85.7 85.7 85.7 85.7 85.7 85.7 78.6 78.6 78.6 78.6 78.6 78.6 78.6 78.6 71.4 71.4 64.3 64.3 64.3 64.3 64.3 64.3 64.3 57.1 57.1 57.1 57.1 50.0 50.0 50.0 50.0 50.0 50.0 50.0 42.9 42.9 35.7 35.7 28.6 21.4 21.4 Short-answer section marks (8 of 15%): 100 100 100 93.75 93.75 93.75 93.75 87.5 87.5 81.25 81.25 81.25 81.25 81.25 81.25 75 75 75 75 68.75 68.75 68.75 68.75 68.75 68.75 62.5 62.5 62.5 56.25 56.25 56.25 56.25 56.25 56.25 50 50 50 50 43.75 43.75 43.75 43.75 43.75 43.75 43.75 37.5 37.5 31.25 31.25 31.25 31.25 31.25 25 25 25 25 18.75 18.75 12.5 0 0 Overall combined test results (15 of 15%): 100 100 96.693 96.693 93.38 93.333 93.327 90.02 89.973 86.66 86.66 83.353 83.3 83.3 83.3 80.047 76.687 76.68 73.373 73.327 73.32 70.047 70.013 70.013 69.967 69.967 69.967 66.66 66.653 66.653 66.647 63.353 63.347 63.34 63.34 63.34 60.04 60.04 59.993 59.98 53.367 53.367 53.367 53.327 50.007 46.693 46.647 43.333 43.327 43.327 43.287 39.973 39.973 36.673 36.667 36.667 33.36 33.353 20.013 9.9867 9.9867 -- | Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/