题目
A. appeal
B. call
C. program
D. advertisement
第1题
A.10100
B.11101
C.10111
D.10110
第2题
A.0,1,2,3,4
B.5,5,5,5,5
C.[f,f,f,f,f]
D.[5,5,5,5,5]
第4题
A.A.Apart from that
B.B.As a result
C.C.Except that
D.D.On the other hand
第5题
第6题
下列语句中变量result的结果为()。 public class test { public static void main(String args[ ]) { int sum=10; int r=3; int result=sum %(r); System.out.println(result); } }
A.3
B.10
C.2
D.4
第8题
下面的语句片段中,变量result结果为()。 public class Test { public static void main (String args[ ]) { int sum=0; int r=2; iht result=(sum==1?sum:r); System. out. println (result); } }
A.1
B.2
C.10
D.0
第9题
The first result is 5
The second result is 2
The third result is 2
The fourth result is 6
源程序文件test40_1.cpp清单如下:
include <iostream.h>
int subtraction (int a, int b)
{
int r;
r=a-b;
/***************** found ************************/
return &r;
}
int main ()
{
int x=5, y=3, z;
z = subtraction (7,2);
cout << "The first result is "<< z << '\n';
cout << "The second result is "<< subtraction(7,subtraction (7,2)) << '\n';
/**************** found *************************/
cout << "The third result is "<< subtraction (&x,&y) << '\n';
/***************** found ************************/
z= 4 + *subtraction (x,y);
cout << "The fourth result is "<< z << '\n';
return 0;
}
第10题
下面程序段:boolean a=false;boolean b=true;boolean c=(a&&b)&&(!b);boolean result=(a&b)&(!b);执行完后,正确的结果是
A.c=false;result=false
B.c=true,result=true
C.c=true;result=false
D.c=false;result=true
第11题
A.S/T:情况(Situation)和任务(Task),即背景和原因
B.A:行动(Action),即做了什么和怎么样做的
C.R:结果(Result),即行动带来什么效果
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!