采用缩短工期节约固定费用法来计算,计算公式为Cj=Bj(1-Tj-T0),下列说法中,有误的是( )。
A:Cj表示第j方案缩短工期节约的管理费用 B:Bj表示第j方案工程成本中的固定费用 C:Tj表示第j方案的工期 D:T0表示预定工期
以下程序运行后的输出结果是______。
#include<stdio.h>
main( )
int m=1,n=0,i=0,=0;
switch(m)
case 1:
switch(n)
case 0:i++;break;
case 1:j++;break;
case 2:i++.j++;break;
printf("i=%d,j=%d/n",i,j);
A:i=2,j=1 B:i=1,j=0 C:i=1,j=1 D:i=2,j=2
执行以下程序时,为了使输出结果为:t=4,则给i和j输入的值应该满足的条件是______。
#include<stdio.h>
main( )
int s,t,i,j;
scanf("&d,&d",&i,&j);
s=1,t=1;
if(i>0)
s=s+1;
if(i>j)
t=s+t;
else if(i==j)
t=5;
elest=2*s;
printf("t=%d/n",t);
A:i>j B:0<i<j C:i<j<0 D:0>i>j
执行下列程序的输出结果是______。
#include<stdio.h>
main( )
int i,j,x=0,y=0;
for(i=0;i<2,i++)
for(j=0;j<3;j++)
x++;x-=j;
y=i+j;
printf("x=%d,y=%d/n",x,y);
A:x=0,y=3 B:x=0,y=5 C:x=1,y=3 D:x=1,y=5
有以下程序:
main( )
int a[3][2]=0,(*ptr)[2],i,j;
for(i=0;i<2;i++)
ptr=a+i; scanf("%d",ptr);ptr++;
for(i=0;i<3;i++)
for(j=0;j<2;j++) printf("%2d",a[i][j]);
printf("/n");
若运行时输入:1 2 3<回车>,则输出结果是
A:编译错误 B:2 0 C:0 0 D:1 0 E:2 0 F:0 0 G:1 2 H:2 0 I:3 0 J:1 0
执行下面程序后,结果是( )。
public class Testrr {
public static void main(String args[]){
int i=0xFFFFFFF1;
int j=-i;
System.out.println("j="+j);
}
}
A:j=-15 B:j=-16 C:j=16 D:j=15
若有定义:int a[4][10];,则以下选项中对数组元素a[i][j]引用错误的是______。(0<=i<4,0<=j<10)
A:*(&a[0][0]+10*i+ B:*(a++j C:*(*(a++ D:*(a+
假设变量sum=0和j=80都是int类型,则下列语句中的正确的是( ).
A:if (tru Syste ou println("true"); else; B:if (5<>1) Syste ou println( "not equal" ); C:for (iht j=20;j<<50;j--) Syste ou println (; D:while (j>>=50) sum +=j; j--;
若有定义:int a[4][10];,则以下选项中对数组元素a[i][j]引用错误的是______。 (o<=i<4,0<=j<=10
A:*(&a[0][0]+10*i+ B:*(a++j C:*(*(a++ D:*(a+
帧结构SOH中的B1、J0字节在我公司 DWDM系统中的作用是 _____。
A:无作用。 B:时钟定位。 C:辅助管理指针单元功能。 D:在故障检测时,用以区分 SDH设备层面或 DWDM设备层面。