Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

subject: Digital Design thanks for helping KB II. Multiple-Choice - 1 correct answer (3 pointsleach, 30 points in total) 1. The Performance (speed) of computer

subject: Digital Design

image text in transcribed

image text in transcribed

thanks for helping

KB II. Multiple-Choice - 1 correct answer (3 pointsleach, 30 points in total) 1. The Performance (speed) of computer is NOT determined by _0 A. programming language B. computer screen C. compiler D. architecture 2. For the statement f=b+C+9, which is the corresponding MIPS assembly code: Assume that the variables a, b, and f are given and could be considered 32-bit integers as declared in a program. Use a minimal number of MIPS assembly instructions (no subtraction instruction).( A. add f, a, b; addi f, f, -9 B. add f, b, c; addi f, f, 9 C. addi f, a, b; addi f, f, -9 D. addi f, b, c; addi f, f, 9 3. As for units of memory/storage, 2MB (MegaByte) is approximately equal to (Kilobyte). () A. 1000 B. 2000 C. 100000 D. 2000000 4. For the following statement, what is the corresponding MIPS assembly code? Assume that the base address of the integer (32bits) arrays A and B are in registers $57 and $56, respectively. () B[3] = A[6] + 1 A. Iw $te, 24($56); addi $te, $te, 1; sw $te, 12(557) B. lw $te, 24(557); addi ste, ste, 1; sw $te, 12($56) C. lw $te, 5($56); add $te, $te, 1; sw $te, 2(557) D. lw $te, 20($57); addi $te, $te, 1; sw $te, 8($56) 5. Translate Hexadecimal number "20000018into decimal.( A. 27 D. 42 6. What are the corresponding type of the following MIPS code: 0 add $ts, $ts, -1 B. 26 C. 41 j label SW Ste, 8($53) A. R-type, J-type, I-type B. R-type, T-type, J-type C. I-type, I-type, J-type D. I-type, R-type, I-type 7. In Boolean Algebra, what's the result of "'A AND B", and what's the result of "A OR B" if A=1, B=1.0) B=1, = A. 0,0 B. 0,1 c. 1,0 c D. 1,1 & Which of the following is the IEEE floating point Single precision number representation of "-0.5":0) . 1 e1111110 B. @ 0111111e eeeeeeeeeeeeeeeeeeeeeee C. @ 0111111e 18888888888888888888888 D. 1 e1111110 1088eeeeeeeeeeeeeeeeee 9. Which is the 2's Complement representation of number"5"? () A. 18880101 B. 8800011 C. e1111e11 D. 11111e11 10. There are register operand(s) and immediate operand(s) in I-Type MIPS instructions. A. 1,3 B. 1,2 C. 2,1 D. 3,0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Marketing The Ultimate Marketing Tool

Authors: Edward L. Nash

1st Edition

0070460639, 978-0070460638

More Books

Students also viewed these Databases questions