皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according to their CPI (class A, B,C, and D). P1 with a clock rate of 2.5GHz and CPIs of 1, 2, 3, and 3, and P2 with a clock rate of 3 GHz and CPIs of 2, 2, 2, and 2. Given a program with a dynamic intrusion count of 1.0E6 instructions divided into classes as follows: 10% class A, 20% class B, 50% class C, and 20% class D a. Find the clock cycles required in both cases. b. which implementation is faster?
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】设 double 型变量 a, b, c, e 均有值, 对代数式 (3ae)/(bc), 不正确的C语言表达式是【 】
A.
a/b/c*e*3
B.
a*e/c/b*3
C.
3*a*e/b/c
D.
3*a*e/b*c
【多选题】程序定义了N×N的二维数组,并在主函数中自动赋值。请在函数fun( ) 填空,该函数的功能是:使数组左下半三角元素中的值全部置成0。例如a数组中的值为 a=   1  9  7 2  3  8 4  5  6 则返回主程序后a数组中的值应为 0  9  7 0  0  8 0  0  0 #include "stdio.h" #include "stdlib.h" #define N 9 [填空(...
A.
int
B.
int a[N][N]
C.
j<=i
【单选题】设double型变量a,b,c均有值;对代数式(3ae)/(bc)不正确的C语言表达式是( )。
A.
a/b/c*e*3
B.
3*a*e/b/c
C.
3*a*e/b*c
D.
a*e/c/b*3
【简答题】程序定义了NxN的二维数组,并在主函数中自动赋值。函数fun()的功能是:使数组左下半三角元素中的值全部置成0,请填空,例如a数组中的值为:1 9 7 2 3 8 4 5 6则返回主程序后a数组中的值为: 0 9 7 0 0 8 0 0 0#include #include #define N 9void ([填空(1)] ) {in...
【简答题】程序定义了N×N的二维数组,并在主函数中自动赋值。请在函数fun( ) 填空,该函数的功能是:使数组左下半三角元素中的值全部置成0。例如a数组中的值为 a= 1 9 7 2 3 8 4 5 6 则返回主程序后a数组中的值应为 0 9 7 0 0 8 0 0 0 #include #include #define N 9 fun ( ) { int i,j; for(i...
【单选题】设有double型变量a,b,c,e均有值,对代数式(3ae)/(bc),不正确的语言表达式是
A.
a/b/c *e*3
B.
3 *a*e/b/c
C.
3 *a*e/b*c
D.
a *e/c/b*3
【判断题】“全面建成小康社会”不需要大力培育和践行社会主义核心价值观。()
A.
正确
B.
错误
【简答题】血管紧张素转化酶抑制药是
【判断题】由于不同果蔬产品的特性和销售策略不同,果蔬的采收标准都会有所不一样。一般作为当地鲜销的产品可以早采一些,以达到最大产量和最佳品质。
A.
正确
B.
错误
【单选题】设double型变量a,b,c,e均有值,对代数式(3ae)/(bc)的表示,不正确的C语言表达式是
A.
a/b/c*e*3
B.
3*a*e/b/c
C.
3*a*e/b*c
D.
a*e/c/b*3
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题