南开20秋学期《大学英语(二)》在线作业参考答案Word下载.docx
- 文档编号:467609
- 上传时间:2023-04-29
- 格式:DOCX
- 页数:30
- 大小:28.21KB
南开20秋学期《大学英语(二)》在线作业参考答案Word下载.docx
《南开20秋学期《大学英语(二)》在线作业参考答案Word下载.docx》由会员分享,可在线阅读,更多相关《南开20秋学期《大学英语(二)》在线作业参考答案Word下载.docx(30页珍藏版)》请在冰点文库上搜索。
11.Thisjacketisnot()forme.Ineedabiggersize.A.notenough
B.smallerC.bigenough答案:
12.MrSmithhasa()daughter.A.five-year-old
B.fives-year-oldC.five-years-old答案:
13.Lookout!
Thetrain().A.comes
B.hascome
C.iscoming
14.Thechildrenarequitehappy thethoughtofthecomingsummerholiday.
A.inB.at
C.uponD.on答案:
15.Thechildis()hisfather.A.calledas
B.namedas
C.namedafter
16.Itiseasytoamachinebutdifficulttoputittogether.A.tear…apart
B.take…away
C.take…apartD.bring…away答案:
17.Childrenneedmanythings,but theyneedaffection.A.afterall
B.forall
C.aboveall
D.inall
18.Hewentonwithhiswork()thedifficulties.A.inspiteof
B.althoughC.outofspite答案:
19.Ifyou'
regoingtocome,pleaseletmeknow().A.before
B.inahead
C.inadvance
20.“AmericanDream”isdefinedasayoungmanrisingfromthehumblestbeginningtoacquiregreatachievementsAbrahamLincolnis
.A.thecase
B.acaseinpoint
C.acaseD.inpoint答案:
21.He()theMuseumofChineseHistorytomorrow.A.visit
B.isgoingtovisitC.visits
22.LastSundayI()toMrSmith'
sbirthdayparty,andsomeotherfriends()there,too.
A.went,was
B.went,were
C.go,are
23.Oncethedecision ,themostimportantthingtodoishowtocarryitout.
A.hasbeenmadeB.made
C.beenmade
D.havingbeenmade
D
24.I()footballwhenIwasyoung.A.usedtoplay
B.usedtoplaying
C.usedtobeplaying
25.She()joggingeverymorning.A.goes
B.doesC.plays答案:
26.IfIwonthelottery,I()abighouse.A.willbuy
B.wouldbuy
C.wouldhavebought
27.()studentsarelearningEnglishinChinanow.A.Millionsof
B.severalmillionsC.Millionof
28.IwanttobeadoctorwhenI().A.growold
B.growC.growup答案:
29.Aftertheyfinished()football,theywentforadrinkinapub.A.playing
B.toplayC.play答案:
30.Theoverwhelmingfloodhaspollutedthewatersourcesofthecityanditisnow drinkablewater.
A.inneed
B.inshort
C.shortofD.needed答案:
31.HetoldusthathewouldleaveforShanghai().A.nextday
B.thenextday
C.thefutureday
32.()doingsomeshoppingintheafternoon?
A.Howabout
B.Doyouwant
C.Wouldyou
33.()wasshedancingwith?
Hernewboyfriend?
A.Who
B.WhatC.Which答案:
34.Thewarbrokeoutandkilledmany .A.asaresult
B.atlast
C.intheend
D.therefore
35.Didyouhappento()myoldschooltie?
A.lookat
B.comeacrossC.watch
36.Iamratheruncertain whetherI’vemadetherightdecision.A.asto
B.onC.toD.for答案:
37.LastweekendMary()hermotherinthekitchen.A.helps
B.helpedC.helping答案:
38.WewanttolearnsomeEnglishsongs,()wecansingforourforeignguests.
A.sothatB.soC.for
39.He()alotofmoneysincehe()hisownrestaurantbusiness.A.made,hasstarted
B.hasmade,started
C.havemade,started
40.I'
lljustgoand()what'
sgoingonoutside.A.find
B.findoutC.look
41.A:
HaveyoueverseenthefilmTheDayAfterTomorrow?
B:
().A.No,Ihaven'
B.No,Idon'
C.No,Ididn'
42.Myparentshave()beentotheGreatWall.A.asyet
B.sometimeC.never
43.Shewon’tleave()herfriendscomeback.A.since
B.untilC.when答案:
44. thisproblem,Iwilltacklewithitlater.A.At
B.ConcernedC.With
D.Asto
45.Don'
tworry.Everythingwill()wellintheend.A.workout
B.workvery
C.doout
46.Heisadoctor,so().A.hedoeswife
B.ishiswife
C.hiswifeis
47.Ihaveworkedinthisuniversity()1980.A.for
B.sinceC.till答案:
48.Thisredbicycleis()andthatblueoneis().A.his,Tom
B.his,Tom'
s
C.his,Toms
49.Hehas()goneout.A.just
B.nowC.soon答案:
50.She()inAmericaformanyyears.ShehopestogobacktoChinanextyear.
A.livesB.livedC.haslived答案:
以下内容不需要的请删除
北交《JAVA语言设计》在线作业一-0006试卷总分:
100得分:
100
一、单选题(共25道试题,共75分)
1.在Java中,表示换行符的转义字符是()A.\n
B.\f
C.\ddD.'
n'
答案:
A
2.下列构造方法的调用方式中,正确的是()。
A.被系统调用
B.由用户直接调用C.按照一般方法调用
D.只能通过new自动调用答案:
D
3.在调用函数并传递参数时,将变量对应的内存位置传递给函数,而函数会根据内存位置取得参数的值,是指哪种方式()
A.返回值
B.地址传递调用C.值传递调用D.以上都不是答案:
B
4.设i、j为int型变量名,a为int型数组名,以下选项中,正确的赋值语句是()
A.i++ j;
B.i=i+2C.a[0]=7;
D.a(0)=66;
C
5.编译并且执行以下代码,会出现什么情况
()。
?
public?
class?
Q{?
static?
void?
main(String?
argv[]
){?
int?
anar[]=new?
int[]{1,2,3};
System.out.println(anar[1])
;
}?
}
A.有错误,数组的大小没有定义。
B.有错误,数组anar在初始化以前不能正常输出
C.2D.1
6.设x、y为已定义的类名,下列声明x类的对象x1的语句中正确的是()
A.yx1;
B.xx1=x();
C.staticxx1;
D.publicxx1=newx(int123);
7.执行完代码"
int[]x=newint[25];
"
后,以下()说明是正确的。
A.x[25]为0
B.x[24]未定义C.x[24]为0D.x[0]为空答案:
8.关于Java中数据类型叙述正确的是()A.整型数据在不同平台下长度不同
B.数组属于简单数据类型
C.boolean类型数据只有2个值,true和false
D.Java中的指针类型和C语言的一样答案:
9.下列语句序列执行后,i的值是()。
inti=8,j=16;
if(i-1>
j)i--;
elsej--;
A.8B.7C.16D.15
10."
阅读下面程序classex3124{publicstaticvoidmain(String[]args){booleanb=true;
if(b){inti=1;
}else{inti=2;
}System.out.println(i);
}}现在想先编译再运行该程序,结果是()。
A.运行出错
B.编译出错C.2
D.1
11.下列程序段的输出结果是 ()。
publicclassoperatorsandExpressions{voidstringPlus(){intx=3,y=4,z=5;
System.out.println(x+y+z);
}}
A.以上答案均不正确B.xyz
C.x+y+zD.12
12.关于类和对象的叙述正确的是()
A.类的静态属性和全局变量的概念完全一样,只是表达形式不同
B.类的成员至少有一个属性和一个方法C.类是对象的实例化
D.Java的类分为两大部分:
系统定义的类和用户自定义的类答案:
13.设有定义inti=123;
longj=456;
下面赋值不正确的语句是()A.j=(long)i;
B.j=i;
C.i=j;
D.i=(int)j;
14.下列程序段执行后的结果是()。
Strings=newString("
abcdefg"
);
for(int
i=0;
i<
s.length();
i+=2){System.out.print(s.charAt(i));
}A.aceg
B.abcdefgC.abcdD.ACEG
15.下列哪个类声明是正确的()
A.publicabstractclassCar{…}B.protectedprivatenumberC.abstractprivatemove(){…}D.abstractfinalclassHl{…}答案:
16.以下哪个约束符可用于定义成员常量()A.以上都不对
B.staticC.finalD.abstract答案:
17.若已定义byte[]x={11,22,33,-66};
其中0&
le;
k&
3,则对x数组元素错误的引用是()
A.x[k+5]
B.x[k]
C.x[5-3]
D.x[0]
18.下列语句序列执行后,k的值是()。
intm=3,n=6,k=0;
while((m++)<
(--n))++k;
A.3
B.2C.1D.0
19.下列代码中,将引起一个编译错误的行是()1)publicclassTest{2)intm,n;
3)publicTest(){}4)publicTest(inta){m=a;
}5)publicstaticvoidmain(Stringargs[]){6)Testt1,t2;
7)intj,k;
8)j=0;
k=0;
9)t1=newTest();
10)t2=newTest(j,k);
11)}12)}
A.第6行
B.第5行
C.第3行
D.第10行答案:
20.下列语句序列执行后,i的值是()。
inti=16;
do{i/=2;
}while(i>
3);
A.8B.4
C.2D.16
21.数组的大小在创建以后()。
A.有些可以改变
B.可以改变
C.使用new方法可以改变
D.不能改变答案:
22.下列关于for循环和while循环的说法中哪个是正确的()A.两种循环结构中都必须有循环体,循环体不能为空
B.两种循环任何时候都可替换
C.while循环能实现的操作,for循环也都能实现
D.while循环判断条件一般是程序结果,for循环判断条件一般是非程序结果
23.下列方法定义中,正确的是()A.void?
x(){?
...return?
true;
B.int?
C.int?
x(int?
a,b){?
return?
a+b;
D.int?
char?
ch='
a'
(int)ch;
24.关于以下程序段的说法正确的是()。
1.publicclassMyar{2.publicstaticvoidmain(Stringargv[]){3.int[]i=newint[5];
4.System.out.println(i[5]);
5.}6.}
A.编译时没有产生错误,运行时发生异常B.编译时产生错误
C.第4行编译出错
D.第2行编译出错答案:
25.下面的代码段中,执行之后i和j的值是()。
inti=1;
intj;
j=i++;
A.2,2
B.2,1C.1,2D.1,1
二、多选题(共5道试题,共10分)
26.说明下列创建数组的方法那些是正确的()。
A.inttwoDim[][]=newint[][4];
B.inttwoDim[][]=newint[4][];
C.inttwoDim[][]=newint[4][5];
D.chara[]={‘A’,‘B’};
BCD
27.如下哪些是Java中正确的整数表示()A.22H
B.22C.0x22D.022
28.Java2主要有几个分支?
()A.J2SE
B.J2MEC.J2EE
ABC
29.执行下列代码后,哪个结论是正确的 String[]s=newString[10];
()
A.s.length为10B.s[9]为null;
C.s[10]为"
D.s[0]为未定义答案:
AB
30.下列哪些语句是正确的()。
A.inta[][]=newint[][3];
B.inta[][]={{1,3},{2,3,4},{1,2}};
C.Strings[][]=newString[2][];
D.Strings[][]={{"
can"
"
I"
},{"
help"
you"
}}
三、判断题(共10道试题,共15分)
31.有的类定义时可以不定义构造函数,所以构造函数不是必需的。
错误
32.即使一个类中未显式定义构造函数,也会有一个缺省的构造函数,缺省的构造函数是无参函数,函数体为空。
正确
33.Java的类不允许多重继承,但接口支持多重继承()。
34.Java语言中的数组元素只能是基本数据类型而不能为对象类型
35.类及其属性、方法可以同时有一个以上的修饰符来修饰()。
36.Java的字符类型采用的是Unicode编码,但所占字节由具体软硬件环境决定()
37.Java的各种数据类型占用的内存长度固定,与具体软硬件环境无关()
38.如果p是父类Parent的对象,而c是子类Child的对象,则语句
c?
=?
p是正确的()答案:
39.注释的作用是使程序在执行时在屏幕上显示//之后的内容()
40.在Java中%是取余运算符,要求两端操作数为整型()。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 大学英语二 南开 20 学期 大学 英语 在线 作业 参考答案