Name: Account: @ucsc.edu1. (4 points) A byte has:© A. 1 bit© B. 4 bits© C. 8 bits© D. 16 bits© E. 32 bits2. (4 points) A nibble has(just know this for reference as well!answer already...

1 answer below »
Hi can you ask the expert who helped me on the order 106098 if he knows the computer systems and assembly language?


Name: Account: @ucsc.edu 1. (4 points) A byte has: © A. 1 bit © B. 4 bits © C. 8 bits © D. 16 bits © E. 32 bits 2. (4 points) A nibble has(just know this for reference as well!answer already provided): © A. 1 bit © B. 4 bits © C. 8 bits © D. 16 bits © E. 32 bits 4. (4 points) Convert the number 243 in base 6 to base 10. © A. 57 © B. 66 © C. 91 © D. 99 © E. 135 5. (4 points) Convert the number 15110 to hexadecimal. © A. 0xA3 © B. 0x97 © C. 0xBE © D. 0x5A © E. 0x4F 6. (4 points) Convert 0123 in base 4 to decimal. © A. 123 © B. 35 © C. 19 © D. 108 © E. 27 7. (4 points) Convert 0xBABE to binary. © A. 10101011101111102 © B. 10101011111010112 © C. 10111010101111102 © D. 01000101010000102 © E. 10111011110101112 CMPE 12 Midterm - BASE VERSION Page 2 of 12 May 15, 2018 Name: Account: @ucsc.edu 8. (4 points) Convert the number 11111110111011012 to octal. © A. 0177355 © B. 0xBEEF © C. 0xFEED © D. 0777355 © E. 0177351 9. (4 points) The result of the bit-wise AND operation between 0xFEED and 0xBABE is: © A. 10111010101011002 © B. 10111010101011012 © C. 11111110111011012 © D. 10111110111011112 © E. 10111010101111112 10. (4 points) A MUX with 3 selector pins has how many inputs? © A. 2 © B. 4 © C. 6 © D. 7 © E. 8 12. (4 points) A truth table with 3 inputs has how many rows? © A. 2 © B. 4 © C. 8 © D. 16 © E. 32 13. (4 points) Which statement is not equal to the others? © A. (Ā · B̄ ·C)+(Ā ·B ·C̄)+(A ·B ·C)+(A ·B ·C̄) © B. (A ·B)+(Ā ·B ·C̄)+(Ā · B̄ ·C) © C. (Ā+ B̄) · (A+ B̄+C) · (A+B+C̄) © D. (A+B) · (A+ B̄+C) · (A+B+C̄) © E. None (They are all equal.) 14. (4 points) What is the result of a bit-wise XOR performed on the following binary numbers? 0b 0 1 1 0 1 0 ⊕ 0b 1 1 0 1 1 0 © A. 0b111111 © B. 0b111110 © C. 0b101100 © D. 0b110011 © E. 0b010011 CMPE 12 Midterm - BASE VERSION Page 3 of 12 May 15, 2018 Name: Account: @ucsc.edu The next two problems refer to the following circuit: A B B C A B B C X Y 15. (4 points) What is the value of X and Y if the input values are A = 1, B = 0 and C = 0? © A. X = 0, Y = 0. © B. X = 0, Y = 1. © C. X = 1, Y = 0. © D. X = 1, Y = 1. 16. (4 points) What is the value of X and Y if the input values are A = 0, B = 1 and C = 1? © A. X = 0, Y = 0. © B. X = 0, Y = 1. © C. X = 1, Y = 0. © D. X = 1, Y = 1. The next two problems refer to the following truth table: A B C Out 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 0 1 1 1 1 17. (4 points) What is the unsimplified Sum of Products Boolean expression that represents the given truth table? © A. Ā · B̄ ·C̄+ Ā ·B ·C̄+A · B̄ ·C̄+A ·B ·C̄ © B. (A+B+C) · (A+ B̄+C) · (Ā+B+C) · (Ā+ B̄+C) © C. Ā · B̄ ·C+ Ā ·B ·C+A · B̄ ·C+A ·B ·C © D. (A+B+C̄) · (A+ B̄+C̄) · (Ā+B+C̄) · (Ā+ B̄+C̄) © E. (Ā+ B̄+C̄) · (Ā+B+C̄) · (A+ B̄+C̄) · (A+B+C̄) CMPE 12 Midterm - BASE VERSION Page 4 of 12 May 15, 2018 Name: Account: @ucsc.edu 18. (4 points) What is the unsimplified Product of Sums Boolean expression that represents the given truth table? © A. Ā · B̄ ·C̄+ Ā ·B ·C̄+A · B̄ ·C̄+A ·B ·C̄ © B. (A+B+C) · (A+ B̄+C) · (Ā+B+C) · (Ā+ B̄+C) © C. Ā · B̄ ·C+ Ā ·B ·C+A · B̄ ·C+A ·B ·C © D. (A+B+C̄) · (A+ B̄+C̄) · (Ā+B+C̄) · (Ā+ B̄+C̄) © E. (Ā+ B̄+C̄) · (Ā+B+C̄) · (A+ B̄+C̄) · (A+B+C̄) 19. (4 points) Which of the following Boolean expressions represents a 1-bit 2-way mux with inputs I0 and I1, in selection order, and selector bit, S? © A. I0 · S̄+ I1 ·S © B. I0 · Ī1 · S̄+ Ī0 · I1 · S̄ © C. I0 · I1 · S̄+ Ī0 · Ī1 · S̄ © D. I0 · S̄+ I1 · S̄ © E. None of the above 20. (4 points) What is the Boolean algebra expression for a 3-bit XOR gate with inputs A, B, and C? © A. A · B̄ ·C̄+A ·B ·C̄+ Ā · B̄ ·C̄ © B. A ·B ·C̄+ Ā ·B ·C̄+ Ā · B̄ ·C © C. A · B̄ ·C̄+ Ā ·B ·C̄+ Ā · B̄ ·C+A ·B ·C © D. A · B̄ ·C+ Ā ·B ·C̄+ Ā · B̄ ·C © E. None of the above 21. (4 points) What is the Boolean algebra expression for the carry out bit of a full adder with inputs A and B and carry input C? © A. A ·B+A ·C+B ·C © B. A ·B ·C © C. A ·C+B ·C © D. A+B+C © E. Ā · B̄ ·C+ Ā ·B ·C+ Ā · B̄ ·C 22. (4 points) A gate logic value of 0 turns a p-type transistor “on” (switch closed). © A. True © B. False CMPE 12 Midterm - BASE VERSION Page 5 of 12 May 15, 2018 Name: Account: @ucsc.edu The next four problems refer to the transistor circuits shown below. 1. p q p q x 2. p q p q x 3. p x 4. p q p q x 5. p q p q x 23. (4 points) Match this logic circuit to the functionally equivilant transistor circuit listed in the table. p q x © A. 1 © B. 2 © C. 3 © D. 4 © E. 5 24. (4 points) Match this logic circuit to the functionally equivilant transistor circuit listed in the table. p q x © A. 1 © B. 2 © C. 3 © D. 4 © E. 5 CMPE 12 Midterm - BASE VERSION Page 6 of 12 May 15, 2018 27. (4 points) True or false: A sequential logic circuit output depends only on the current inputs. © A. True © B. False For the following three problems, consider a positive-edge-triggered D-flip-flop with the following inputs: 0 1 C L K /C + 0 1 2 3 4 5 0 1 time D 28. (4 points) At time 0.5, the value on the Q output will be © A. 0 © B. 1 © C. Unknown 29. (4 points) At time 2.5, the value on the Q output will be © A. 0 © B. 1 © C. Unknown 30. (4 points) At time 4.5, the value on the Q output will be © A. 0 © B. 1 © C. Unknown CMPE 12 Midterm - BASE VERSION Page 7 of 12 May 15, 2018 Name: Account: @ucsc.edu For the following three problems, consider the latch circuit with the given inputs: x y Q Q 0 1 x 0 1 2 3 4 5 0 1 time y 31. (4 points) At time 1.5, the value on the Q output will be © A. 0 © B. 1 © C. Unknown 32. (4 points) At time 3, the value on the Q̄ output will be © A. 0 © B. 1 © C. Unknown 33. (4 points) At time 5, the value on the Q output will be © A. 0 © B. 1 © C. Unknown 34. (4 points) What is the range in decimal of a 6 bit binary number in two’s compliment? © A. 0 to 63 © B. -31 to 31 © C. -31 to 32 © D. -32 to 31 © E. -32 to 32 35. (4 points) What is the largest decimal number that a 7 bit unsigned binary number can represent? © A. 128 © B. 127 © C. 256 © D. 255 © E. 1111111 36. (4 points) Convert this 4-bit signed magnitude number 10012 to an 8-bit signed magnitude number. © A. 111101112 © B. 011110012 © C. 100000012 © D. 000010012 © E. 111110012 37. (4 points) Convert this 4-bit two’s complement number 01012 to an 8-bit two’s complement number. © A. 111110112 © B. 111101012 © C. 000001012 © D. 000010112 © E. 111110012 CMPE 12 Midterm - BASE VERSION Page 8 of 12 May 15, 2018 Name: Account: @ucsc.edu 38. (4 points) Convert −7310 to an 8-bit two’s complement number. © A. 010010012 © B. 110010012 © C. 101101102 © D. 101101112 39. (4 points) Convert −7310 to 8-bit signed magnitude number. © A. 101101102 © B. 101101112 © C. 010010012 © D. 110010012 40. (4 points) Convert 2610 to 8-bit two’s complement number. © A. 000110102 © B. 111110102 © C. 111001012 © D. 111001102 © E. 000001102 41. (4 points) Convert 2610,excess8 to an decimal number. © A. 3410 © B. 1810 © C. 2610 © D. −810 © E. −2610 42. (4 points) Consider a 4 bit ripple carry adder with inputs A=0101 and B=0011. What are the results of full adder for bit 3? © A. Cout=0, Sum=0 © B. Cout=0, Sum=1 © C. Cout=1, Sum=0 © D. Cout=1, Sum=1 43. (4 points) Assume all signed numbers are two’s complement. Which additions have overflow? © A. (unsigned) 0xD02A + 0x57D9 = 0x2803 © B. (signed) 0xD02A + 0x57D9 = 0x2803 © C. (unsigned) 0x76F9 + 0x801A = 0xF713 © D. (unsigned) 0x0308 + 0x1198 = 0x14A0 © E. (signed) 0x0308 + 0x1198 = 0x14A0 44.
Answered 16 days AfterOct 23, 2022

Answer To: Name: Account: @ucsc.edu1. (4 points) A byte has:© A. 1 bit© B. 4 bits© C. 8 bits© D. 16...

Ria answered on Nov 08 2022
42 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here