Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 23 Not yet answered A compiler designer is trying to decide between two code sequences for a particular computer. The hardware Marked out of

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Question 23 Not yet answered A compiler designer is trying to decide between two code sequences for a particular computer. The hardware Marked out of 1.00 designers have supplied the following facts: CPI for R-type instruction is 1, CPI for I-type instruction is 2, and CPI P Flag question for J-type instruction is 3. The two sequences have the following instruction counts: Code sequence 1: R-type (2), i-type (1), J-type (2) Code sequence 2: R-type (4), -type (1), -type (1) What is the CPI for code sequence 1? Select one: a 1 b. 2.0 c. 1.5 d. 2.5 A compiler designer is trying to decide between two code sequences for a particular computer. The hardware Question 25 Not yet answered Marked out of 1.00 P Flag question designers have supplied the following facts: CPI for R-type instruction is 1, CPI for I-type instruction is 2 and CPL for J-type instruction is 3. The two sequences have the following instruction counts: Code sequence 1: R-type (2). I-type (1), J-type (2) Code sequence 2: R-type (4), I-type (1), J-type (1) How many instructions code sequence 1 cu Select one: oooo moo n N Question 28 Not yet answered The CPU execution timse can be expressed Marked out of 1.00 P Flag question Select one: a CPU execution time for a program = (CPU clock cycle for a program)(Clock cycle time) b. CPU execution time for a program - (CPU clock cycle for a program)/(Clock cycle time) C. CPU execution time for a program = (CPU clock cycle for a program)/(Clock rate) O d. CPU execution time for a program = (CPU clock cycle for a program)*1/(Clock cycle time) Question 30 Not yet answered A compiler designer is trying to decide between two code sequences for a particular computer. The hardware Marked out of designers have supplied the following facts: CPI for R-type instruction is 1. CPI for I-type instruction is 2 and CPI 100 for J-type instruction is 3. The two sequences have the following instruction counts: P Flag Question Code sequence 1: R-type (2), l-type (1), -type (2) Code sequence 2: R-type (4), I-type (1), J-type (1) How many clock cycles are required for code sequence 2? Select one: Oo oo Question 31 Not yet answered In DRAM (dynamic random access memory), memory access takes basically the same amount of time no matter what Marked out of portion of the memory is read. 1.00 Flag question Select one: O a. True b. False Question 32 Not yet Magnetic disk is a nonvolatile memory because it retains data even in the absence of power source and it is used to store answered programs between runs Marked out of 1.00 P Flag question Select one: a. False b. True

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 Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions

Question

How do you add two harmonic motions having different frequencies?

Answered: 1 week ago

Question

explain what is meant by experiential learning

Answered: 1 week ago

Question

identify the main ways in which you learn

Answered: 1 week ago