更多"以下哪种对象得到的输出结果是适当的( )。"的相关试题:
[单项选择]以下哪种对象得到的输出结果是适当的( )。
A. 财务部门得到进货计划
B. 销售班组得到库存统计
C. 储运部门得到日销售统计
D. 决策层得到业绩分析报告
[单项选择]光敏治疗适合下列哪种对象()
A. 白内障患者
B. 妊娠孕妇
C. 光敏性疾病
D. 严重心功能不全
E. 银屑病、白癜风患者
[单项选择]下列哪种情况下心输出量增加
A. 由直立转为平卧时
B. 动脉血压升高时
C. 心迷走神经兴奋时
D. 心室舒张末期容积减少
E. 颈动脉窦区血压升高
[单项选择]以下程序执行后的输出结果是
#include<iostream>
using namcspace std;
void try(int,int,int,int);
int main( )
int x,y,z,r;
x=1;
y=2;
try(x,y,z,r);
cout<<r<<end1;
return 0;
void try(int x,int y, int z,int r)
z = x+y;
x = x*x;
y = y*y;
r = z+x+y;
A. 18
B. 9
C. 10
D. 不确定
[单项选择]以下程序执行后的输出结果是 #include<iostream>. using namespace std; void try(int,int,int,int); int main( ) { int x,y,z,r; x=1; y=2; try(x,y,z,r); cout<<r<<end1; return 0; } void try(int x,int y, int z,int r) { z = x+y; x = x*x; y = y*y; r = z+x+y; }
A. 18
B. 9
C. 10
D. 不确定
[填空题]以下程序运行后的输出结果是【 】。
struct NODE
{int num;struct NODE *next;
};
main( )
{struct NODE s[3]={{1,’’/0’’},{2,’’/0’’},{3,’’0’’}},*p,*q,*r;
int sum=0;
s[0].next=s+1;s[1].next=s+2;s[2].next=s;
p=s; q=p->next; r=q->next;
sum+=q->next->num; sum+=r->next->next->num;
printf("%d/n",sum);
}
[填空题]以下程序运行后的输出结果是 【17】 。
struct NODE
{ int k;
struct NODE*link;
};
main( )
{ struct NODE m[5],*p=m,*q=m+4;
int i=0;
while(p!=q){
p->k=++i;p++;
q->k=i++;q--;
}
q->k=i;
for(i=0;i<5;i++)printf("%d",m[i].k);
printf("/n");
}
[填空题]以下程序运行后的输出结果是 【16】 。
struct NODE
int num;
stmct NODE *next;
;
main( )
struct NODE s[3]=1,’/0’),2,’/0’),3,’/0’),*p,*q,*r;
int sum=0;
s[0].next=s+1;
s[1].next=s+2;
s[2].next=s;
p=s
q=p->next;
r=q->next;
sum+=q->next->num;
sum+=r->next->next->num;
printf("%d/n",sum);
[单项选择]以下程序执行后的输出结果是( )。 #include <iostream> using namespace std; void try(int,int,int,int); int main ( ) { int x,y,z,r; x=1; y=2; try(x,y,z,r); cout<<r<<end1; return 0; } void try(int x,int y, int z,int r) { z = x+y; x = X*X; y = y*y; r = z+x+y; }
A. 18
B. 9
C. 10
D. 不确定
[填空题]以下程序运行后的输出结果是 【16】 。
struct NODE
{
int num;
stmct NODE *next;
};
main( )
{struct NODE s[3]={{1,’/0’),{2,’/0’),{3,’/0’}),*p,*q,*r;
int sum=0;
s[0].next=s+1;
s[1].next=s+2;
s[2].next=s;
p=s
q=p->next;
r=q->next;
sum+=q->next->num;
sum+=r->next->next->num;
printf("%d/n",sum);
}
[填空题]以下程序运行后的输出结果是 【10】
#include <iostream>
#include <string>
using namespace std;
class Y;
class X
int x;
char *strx;
public:
x(int a,char *str)
x=a;
strx=new char[strlen(str)+1];
strcpy(strx,str);
void show(Y &oB) ;
;
class Y
private:
int y;
char *stry;
public:
Y(int b,char *str)
y=b;
stry=new char[strlen(str)+1];
strcpy(stry, str);
friend void X::show(Y &oB) ;
;
void X::show(Y &oB)
cout<<strx<<",";
cout<<ob.stry<<end1;
int main( )
X a(10,"stringX");
Y b(20,"stringY");
a.show(B) ;
return 0;
[填空题]以下程序运行后的输出结果是 【15】 。
void fun( )
static int a=0;
a+=2;printf("%d",A) ;
main( )
int cc;
for(cc=1;cc<4,cc++)fun( );
printf("/n");
[填空题]以下程序运行后的输出结果是 【17】 。
struct NODE
int k;
struct NODE*link;
;
main( )
struct NODE m[5],*p=m,*q=m+4;
int i=0;
while(p!=q)
p->k=++i;p++;
q->k=i++;q--;
q->k=i;
for(i=0;i<5;i++)printf("%d",m[i].k);
printf("/n");
[单项选择]以下哪种方法根据输出对输入的依赖关系设计测试用例______。
A. 路径测试
B. 等价类
C. 因果图
D. 边界值