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