ITI 1121 Final: ITI 1121 University of Ottawa 2003 Final Exam-en

55 views22 pages

Document Summary

Next to each line of the following demonstration, write down the axiom or theorem that was used to transform the preceding expression into this one. Give the canonical product of sums (cpos) for the following truth table. Do not simplify your answer. x y z f. Convert the following java program into the assembly language for the toy computer, tc-1101, presented in class. For this question, six (6) bits are used to represent signed binary integers using two"s comple- ment: represent the signed decimal integer ( 26)10 in two"s complement. ]2: use two"s complement arithmetic to calculate the following sum. 1: give the binary representation and the decimal value, of the smallest and the largest possible value encoded using six bits in two"s complement, smallest value , largest value [ Hint: in the case of a signed number, the smallest value is negative. )8: convert the following unsigned decimal number to binary. ( 45. 3125 )10 = (