东大19春学期《软件设计模式》在线作业2参考答案

合集下载

奥鹏东北大学19春学期《可视化程序设计Ⅰ》在线作业2辅导答案

奥鹏东北大学19春学期《可视化程序设计Ⅰ》在线作业2辅导答案

东大19春学期《可视化程序设计Ⅰ》在线作业2
一、单选题共20题,100分
1、设a=3,b=5,则以下表达式值为真的是
Aa>=b And b>10
B(a>b)Or(b>0)
C(a<0)Eqv(b>0)
D(-3+5>a)And(b>0)
【东大试卷】选择是:B
2、假定窗体上有一个文本框,名为Txt1,为了使该文本框的内容能够换行,并且具有水平的垂直滚动条,正确的属性设置为()
ATxt1.MultiLine = True : Txt1.ScrollBars = 0
BTxt1.MultiLine = True : Txt1.ScrollBars = 3
CTxt1.MultiLine = False: Txt1.ScrollBars = 0
DTxt1.MultiLine = False Txt1.ScrollBars = 3
【东大试卷】选择是:B
3、下列不能打开菜单编辑器的操作是
A按Ctrl+E
B单击工具栏中的“菜单编辑器”按钮
C执行“工具”菜单中的“菜单编辑器”命令
D按Shift + Alt + M
【东大试卷】选择是:D
4、以下关于图片框控件的说法中,错误的是
A可以通过Print方法在图片框中输出文本
B清空图片框控件中图形的方法之一是加载一个空图形
C图片框控件可以作为容器使用
D用Stretch属性可以自动调整图片框中图形的大小
【东大试卷】选择是:D
5、可以惟一标识控件数组中的每一个控件属性的是
AName
BCaption
CIndex
DEnabled。

[奥鹏]东北师范-软件工程19秋在线作业2资料答案

[奥鹏]东北师范-软件工程19秋在线作业2资料答案

软件工程19秋在线作业2【东北师范大学】3试卷总分:100 得分:100一、单选题 (共 10 道试题,共 30 分)1.将软件组装成系统的一种测试技术叫()。

[A.]集成测试[B.]单元测试[C.]集合测试[D.]系统测试[提示:请根据所学知识,完成本题]正确答案是:A2.原型化方法是何种类型的设计过程。

()[A.]自外向内[B.]自顶向下[C.]自内向外[D.]自底向上[提示:请根据所学知识,完成本题]正确答案是:A3.指模块的功能强度的度量,即一个模块内部各个元素彼此结合的紧密程度的度量的是()。

[A.]独立性[B.]内聚性[C.]耦合性[D.]关联性[提示:请根据所学知识,完成本题]正确答案是:B4.软件详细设计主要采用的方法是()。

[A.]模块设计[B.]数据库设计[C.]PDL语言[D.]结构化程序设计[提示:请根据所学知识,完成本题]正确答案是:D5.统计表明,软件测试工作往往占软件开发总工作量的()。

[A.]20[B.]40[C.]60[D.]80[提示:请根据所学知识,完成本题]正确答案是:B6.相同的操作或函数、过程可作用于多种类型的对象上并获得不同结果,或不同的对象收到同一消息可以产生不同的结果。

所指的特性是()。

[A.]继承[B.]关联[C.]组合[D.]多态[提示:请根据所学知识,完成本题]正确答案是:D7.若有一个计算类型的程序,它的输入量只有一个X,其范围是[-1.0,1.0],现从输入的角度考虑一组测试用例:-1.001,-1.0,1.0,1.001。

设计这组测试用例的方法是()。

[A.]条件覆盖法[B.]等价分类法[C.]边界值分析法[D.]错误推测法[提示:请根据所学知识,完成本题]正确答案是:C8.可行性研究要进行一次怎样的需求分析。

()[A.]详细的[B.]全面的[C.]简化的、压缩的[D.]彻底的[提示:请根据所学知识,完成本题]正确答案是:C9.白盒法又称为逻辑覆盖法,主要用于()。

东大18秋学期《软件设计模式》在线作业3

东大18秋学期《软件设计模式》在线作业3

------------------------------------------------------------------------------------------------------------------------------ (单选题) 1: 下面是几条动态初始化二维数组的语句,指出其中正确的:A: int arr5[][]=new int[4,5];B: int[][] arr6 = new int[4, 5];C: int arr7[,]=new int[4,5];D: int[,] arr8=new int[4,5];正确答案:(单选题) 2: 关于结构类型,下列说法哪些是正确的?A: 结构是值类型B: 结构中不允许定义带参数的实例构造函数C: 结构中不允许定义析构函数D: 结构中可以定义成员方法,但是方法内不能使用this 指针正确答案:(单选题) 3: 以下关于类和对象的说法中,不正确的是:A: 类包含了数据和对数据的操作B: 一个对象一定属于某个类C: 类是同一类对象的抽象D: 可由抽象类生成对象正确答案:(单选题) 4: 下面有关静态方法的描述中,正确的是:A: 静态方法属于类,不属于实例B: 静态方法可以直接用类名调用C: 静态方法中,可以访问非静态的局部变量D: 静态方法中,可以访问静态的变量正确答案:(单选题) 5: 在C#中设计类时,应如何保证在释放对象的所有引用之时,释放对象使用的文件、网络等资源?A: 为类重载new运算符B: 为类添加delete运算符C: 为类添加析构函数,在析构函数中释放资源D: 为类实现IDisposable接口,并实现Dispose方法,在该方法中释放资源正确答案:(单选题) 6: 分析下列C#语句,注意类MyClass 没有访问修饰符:namespace ClassLibrary1{class MyClass{public class subclass{int i;}}}若必须为类MyClass 添加访问修饰符,并使MyClass 的可访问域保持不变,则应选择------------------------------------------------------------------------------------------------------------------------------ _________A: privateB: protectedC: internalD: public正确答案:(单选题) 7: 能正确表示逻辑关系“a>=10 或a<=0”的C#语言表达式是____。

东大19秋学期《软件设计模式》在线平时作业123满分答案

东大19秋学期《软件设计模式》在线平时作业123满分答案

19秋学期《软件设计模式》在线平时作业1 试卷总分:100 得分:100
一、单选题(共10 道试题,共50 分)
1.下面有关静态方法的描述中,正确的是:
A.静态方法属于类,不属于实例
B.静态方法可以直接用类名调用
C.静态方法中,可以访问非静态的局部变量
D.静态方法中,可以访问静态的变量
答案:C
2.以下标识符中,正确的是:
A._nName
B.sizeof
C.16A
D.xl0#
答案:A
3.有如下程序:
Using system;
Class Example1
{
Public Static void main()
{
Int x=1,a=0,b=0;
Switch(x)
{
Case 0:b++,break;
Case 1:a++,break;
Case 2:a++,b++,break;
}
Console.Writeline(“a={0},b={1}”,a,b);
}
}
的输出结果是()
A.a=2,b=1
B.a=1,b=1
C.a=1,b=0
D.a=2,b=2
答案:C
4.在C#编制的财务程序中,需要创建一个存储流动资金金额的临时变量,则应使用下列哪条语句?()
A.decimal theMoney;
B.int theMoney;。

【东大】21春学期《软件设计模式》在线平时作业2参考资料

【东大】21春学期《软件设计模式》在线平时作业2参考资料

东大21春学期《软件设计模式》在线平时作业2提示:东北大学课程学习已经开启,本套试卷是课程学习辅导资料,只作参考学习使用!!!一、单选题 (共 10 道试题,共 50 分)1.接口Animal 定义如下:public interface Animal{void Move();}则下列抽象类的定义中,哪些是不合法的?[A.]abstract class Cat: Animal{abstract public void Move();}[B.]abstract class Cat: Animal{virtual public void Move(){Console.Write(Console.Write("Move!");)}}[C.]abstract class Cat: Animal{public void Move(){Console.Write(Console.Write("Move!");)};}[D.]abstract class Cat: Animal{public void Eat(){Console.Write(Console.Write("Eat!");)};}[解析:请从上述选项中选择您认为正确的一项,并从填写到答案栏]参考答案是:D2.C#的数据类型有()[A.]值类型和调用类型;[B.]值类型和引用类型;[C.]引用类型和关系类型;[D.]关系类型和调用类型;[解析:请从上述选项中选择您认为正确的一项,并从填写到答案栏]参考答案是:A3.以下标识符中,错误的是:[A.]_b39[B.]x345[C.]6_321[D.]nAverage[解析:请从上述选项中选择您认为正确的一项,并从填写到答案栏]参考答案是:C4.下列选项中,()是引用类型。

[A.]enum类型[B.]struct类型[C.]string类型[D.]int类型[解析:请从上述选项中选择您认为正确的一项,并从填写到答案栏] 参考答案是:C5.类MyClass 中有下列方法定义:public void testParams(params int[] arr){Console.Write ("使用Params参数!");}public void testParams(int x,int y){Console.Write ("使用两个整型参数!");}请问上述方法重载有无二义性?若没有,则下列语句的输出为()MyClass x = new MyClass();x.testParams(0);x.testParams(0,1);x.testParams(0,1,2);[A.]有语义二义性;[B.]使用Params 参数!使用两个整型参数!使用Params 参数![C.]使用Params 参数!使用Params 参数!使用Params 参数![D.]使用Params 参数!使用两个整型参数!使用两个整型参数![解析:请从上述选项中选择您认为正确的一项,并从填写到答案栏] 参考答案是:B6.下面有关静态方法的描述中,正确的是:[A.]静态方法属于类,不属于实例[B.]静态方法可以直接用类名调用[C.]静态方法中,可以访问非静态的局部变量[D.]静态方法中,可以访问静态的变量[解析:请从上述选项中选择您认为正确的一项,并从填写到答案栏] 参考答案是:C7.下列描述错误的是()[A.]类不可以多重继承而接口可以;[B.]抽象类自身可以定义成员而接口不可以;[C.]抽象类和接口都不能被实例化;[D.]一个类可以有多个基类和多个基接口;[解析:请从上述选项中选择您认为正确的一项,并从填写到答案栏]参考答案是:D8.在C#语言中,下面的运算符中,优先级最高的是____。

软件工程19春在线作业2-0002.ECAD312C-ACE4-4B

软件工程19春在线作业2-0002.ECAD312C-ACE4-4B

软件工程19春在线作业2-0002
表示了静态的结构化的系统数据性质,描绘了系统的静态结构,从客观世界实体的对象关系角度来描绘对象的模型是()。

A:数据模型
B:对象模型
C:动态模型
D:功能模型
答案:B
以下软件成本估算模型中,是动态多变量的模型有()。

A:Halstead理论模型
B:Deiphi专家估算模型
C:Putnam估算模型
D:瀑布模型
答案:C
在需求分析的基础上通过将系统分解成模块,确定系统功能实现的是()。

A:总体设计
B:实现
C:测试
D:详细设计
答案:D
在软件开发过程中要产生大量的信息,要进行大量的修改,能协调软件开发,并使混乱减到最低程度的是()。

A:软件开发管理
B:软件配置管理
C:软件质量管理
D:软件质量控制
答案:B
下列属于维护阶段的文档是()。

A:软件规格说明
B:用户操作手册
C:软件问题报告
D:软件测试分析报告
答案:C
软件系统结构中各模块间相互联系紧密程度的一种度量,也称块间联系的是()。

东大19春学期《人员培训与开发》在线作业2参考答案

东大19春学期《人员培训与开发》在线作业2参考答案

18秋学期《人员培训与开发》在线作业2-0001
试卷总分:100 得分:0
一、单选题(共15 道试题,共75 分)
1.针对( )的培训与开发,应采用案例分析、文件筐和课题研究等培训方法。

A.基础理论知识
B.创造能力
C.解决问题能力
D.特殊技能
正确答案:C
2.一个服装设计师,最应该具有什么样的职业兴趣()
A.喜欢研究人的行为
B.喜欢从事具体工作
C.喜欢从事富有创造性的工作
D.喜欢与工具打交道
正确答案:C
3.较为考虑现实的状况,并试图实施自我概念,属于职业发展的第几阶段()
A.成长阶段
B.探索阶段
C.建立阶段
D.维持阶段
正确答案:B
4.培训开始实施以后,第一件事情就是对有关事项进行介绍,具体内容不包括()。

A.管理规则
B.培训课程
C.培训主题
D.培训教材
正确答案:D
5.战略层次的培训需求分析一般由( )发起。

A.咨询小组
B.人力资源部
C.部门主管。

东大19春学期《大学英语(二)》在线作业2满分答案

东大19春学期《大学英语(二)》在线作业2满分答案

19春学期《大学英语(二)》在线作业2-0001试卷总分:100 得分:0一、单选题(共25 道试题,共50 分)1.I could not move my hands they were not mine.A.even thoughB.as ifC.likeD.so正确答案:B2.The dictionary defines a workaholic_____ “ a person obsessively addicted to work.”A.asB.forC.thatD.like正确答案:A3.You've got to __________ in yourself, or you'll never succeed.A.trustB.believeC.confirmD.help正确答案:B4.the traditional approach ________ with complex problems is to break them down into smaller, more easily managed problems.A.to dealingB.in dealingC.dealingD.to deal正确答案:A5.If she wants to stay thin, she must make a ______ in her diet.A.changeB.runC.turnD.go正确答案:A6.They both have _____ work to do, so they are _____ busy.A.much too,too muchB.too much,much tooC.so many, tooD.to, much正确答案:B7.Almost everybody has grasped the new of “globalization.”A.conceptB.thinkingC.sayingD.word正确答案:Aernment reports, examination compositions, legal documents and most business letters are the main situations_____ formal language is used.A.in whichB.at whatC.on whichD.in that正确答案:A9._____ a thorough investigation, no trace of Dr Southwell has been found.A.BesidesB.ExceptC.As forD.Despite正确答案:D10.This information is electronically ______ to chools and colleges.A.transferredB.transportedC.transplantedD.transmitted正确答案:D11._____ the car, they bought the garage.A.ExceptB.BesidesC.Except forD.In addition正确答案:B12.The marriage on the basis of money is _____to break up.A.boundB.apparentC.obviousD.keen正确答案:A13.We have sold _____ the trousers _____ your size.A.out, ofB.off, withC.away, ofD.on, in正确答案:A14.You can do whatever you wish you get the first place in the exam.A.so thatB.becauseC.as long asD.even if正确答案:C15.The heavy rain stopped the children ______ to the park.A.to goB.goneC.from goingD.go正确答案:C16.We bought Granny a present,_______ she didn' t like it.A.butB.andC.orD.so正确答案:A17.All her children are clever, but the youngest daughter is really_____.A.exceptionB.exceptionalC.exceptD.excepted正确答案:B18.You _________ never play in the street. It's not safe.A.canB.mayC.mustD.need正确答案:C19.--When can I go out to play football, Mum?--Finish your homework first, or I won't let you ________.A.to go outB.go outC.going outD.will go out正确答案:B20.The answer must ________ in finding alternative sources of energy.A.lieyC.existD.contain正确答案:A21.I did not have time to finish all the questions in the exam.A.goodB.rightC./D.adequate正确答案:D22.The supermarket managed to its sales by cutting the price of their products.A.boostB.releaseC.getD.lose正确答案:A23.-- Hello! Is that Mr. Wang speaking? --Yes,____________?A.who's thatB.who are youC.I'm speakingD.I'm Mr. Wang正确答案:A24.-- Our holiday was _______. -- Yes, I&rsquo;ve never had __________.A.such great,the better oneB.greatly,a good oneC.so great,a better oneD.very good,the best one正确答案:C25.I'm sorry to have kept you waiting.- _____________________A.It doesn't matter.B.Forget it.C.My pleasure.D.It's nice of you.正确答案:A二、完型填空(共2 道试题,共30 分)1.Do you know how to study ## and make your study more effective ( 有效的)?We all know that Chinese students usually study very hard for long##, This is very good ,but it doesn&rsquo;t##a lot, for an effective student must have enough sleep, enough food and enough rest and ##. Every day you need to go out for a walk or visit some friends or some nice places. It&rsquo;s good for your##.When you return ##your studies, your mind will be refreshed(清醒) and you&rsquo;ll learn more##study better. Psychologists (心理学家)## that learning takes place this way. Here take English learning ## an example. First you make a lot of progress and you feel happy. Then your language study seems ## the same. So you will think you&rsquo;re learning ## and you may give up. This can last for days or even weeks, yet you ## give up, and at some point your language study will again take another big ##. You&rsquo;ll see that you really have been learning all along. If you get enough sleep, food, rest and exercise, studying English can be very effective and ## . Don&rsquo;t give up along the way. Learn ## you are sure to get a good result.(1).A.niceB.goodC.betterD.best(2).A.daysB.timeC.hoursD.weeks(3).A.helpB.giveC.makeD.take(4).A.exerciseB.homeworkC.runningD.clothes(5).A.healthB.bodyC.studyD.life(6).B.forC.atD.to(7).A.yetB.andC.orD.but(8).A.have foundB.have taughtC.toldD.said(9).A.withB.forC.asD.to(10).A.to haveB.to makeC.to takeD.to stay(11).A.somethingB.anythingC.nothingD.everything(12).A.mustn&rsquo;tB.couldn&rsquo;tC.needn&rsquo;tD.may not(13).A.workB.jumpC.walkD.result(14).A.hardmonC.possibleD.interestingA.loudlyB.fastC.quicklyD.happily正确答案: (1).C (2).C (3).A (4).A (5).C (6).D (7).B (8).A (9).C (10).D (11).C (12).C (13).B (14).D (15).D2. There was once a millionaire who loved money than anything else in the world. He didn&rsquo;t know exactly how much he had, so he took on a little girl to ## all his money for him.It ## the little girl six days to count all the money. When she told the millionaire that he had forty-two ## dollars, he was ## with joy and asked, “ How much ## do you want?” He thought that ## she was only a child, he could ## her into taking a very small amount of money.The girl said, “well, I worked for six days, so I think yo u ## pay me for six days. Give me two pennies for the first day. Each day after that, just give me the amount you give me the day before, multiplied by itself.The ## thought that in this ## he would only have to give her a ## dollars. What a ## little girl! So immediately, he ## his lawyer sign up the contract, fearing that she would change her ## .On the first day the millionaire paid her two pennies, and on the second day, two pennies times two pennies, or four pennies.Each day after that, he gave her ## number of pennies he had given her the day before, multiplied by itself. And by the sixth day, the foolish millionaire had to give the clever little girl all his money.(1).A.bringB.countC.sendD.hide(2).A.hadB.neededC.gotD.took(3).lionB.dozenC.thousandD.hundred(4).A.prideC.surprisedD.moved(5).A.dollarsB.numberC.timeD.pay(6).A.as ifB.thoughC.ifD.because(7).A.warnB.adviseC.cheatD.set(8).A.couldB.wouldC.shouldD.might(9).A.girllionaireC.twoD.people(10).A.measureB.wayC.pointD.means(11).A.fewB.littleC.lessD.much(12).A.niceB.cleverC.fineD.foolish(13).A.orderedB.askedC.hadD.persuaded(14).A.mindB.heartC.wordD.plan(15).A.goodB.greatC.aD.the正确答案: (1).B (2).D (3).A (4).B (5).D (6).D (7).C (8).C (9).B (10).B (11).A (12).D (13).C (14).A (15).D三、阅读理解(共4 道试题,共20 分)1.Mr. Green and his wife had a dog. When they went out, they always left the dog inside the house. One evening they wanted to go to the cinema, so they left the dog in the house and locked the door and their garden gate. They went off in their car.When the film was finished, they went home. They opened the gate and put the car away. When they came to the front door, they found that the glass in the door was broken. The door was not locked and it was open. A robber! They went in and quickly looked in all the rooms to see if the robber had taken their things. However, everything was in the right place and nothing at all was missing.The dog was sleeping in the sitting-room. The wife was angry with the dog.“Why didn&rsquo;t you guard the house?”she said. The dog was pleased to see Mr. and Mrs. Green. It began to wag(摇)its tail and then it went to a comer of the room and picked up something in its mouth. It went to the wife and dropped the thing at her feet. When she went to pick it up, she was very surprised. Can you guess what the dog&rsquo;s present was? It was a man&rsquo;s finger!The end of the story is this. Mr. Green telephoned the police and told them everything. Three days later the police caught the robber. They found him easily.(1).That evening Mr. Green and his wife ______.A.took their dog to see a filmB.left the dog alone at homeC.went home before the film was finishedD.locked the door and could not open it(2).The robber stole_______.A.everything from the houseB.something expensive from the houseC.nothing from the houseD.a car from the house(3).Why was the woman angry with the dog?A.Because she thought it had made the room dirty.B.Because she thought it had broken the glass.C.Because it wouldn&rsquo;t go to the cinema with her.D.Because she thought it hadn&rsquo;t guarded the house.(4).The robber was caught easily because ________.A.Mr. Green knew himB.the police happened to meet himC.Mr. Green found where he livedD.the dog had one of the robber's fingers(5).Mr. Green and his wife would _______.A.like their dog more than beforeB.drive the dog away from their homeC.let the dog bring home more presentsD.ask the police to take the dog away正确答案: (1).B (2).C (3).D (4).D (5).A2.Mr. Zhang was a sports fan. He worked in a hospital in the capital. He was busy all the time and had little time to have a rest. And one day he felt unwell and couldn't go on working. He decided to spend a week's holiday in a quiet village where he could go swimming or fishing. He got off at a small railway station and soon got to a quiet village. He took a room hotel and went to sleep as soon as he had a good meal.At first Mr. Zhang enjoyed himself there. He could do everything he wanted and went wherever he liked. Nobody disturbed him and knocked at the door at midnight. But on the fourth day he was in trouble. After lunch it was very hot. He went swimming in the river. Suddenly he saw a beautiful bird in a big tree. He wanted to catch it, so he walked to it, but it found him and flew away as soon as gone. He began to pick some flowers in the forest and before long he lost his way.The sun had gone down and night had fallen before Mr. Zhang found a small restaurant in another village. He came in and told them to bring him some bread, two eggs and a glass of tea. After a while his food was brought. Soon he ate up all the bread and eggs. When he was going to have the tea, he found there was a fly in the glass.“What's in my tea?” Mr. Zhang called out, “ A fly”“It's impossible, sir.” said the owner of the restaurant, “ I had told them to pick all the flies out of your tea before they brought it to you!”(1).From the story we can guess Mr. Zhang may be a .A.engineerB.doctorD.translator(2).Mr. Zhang decided to take this holiday because _______ .A.he was too tired to go on workingB.he was very busy all the timeC.he was paid a lot of moneyD.he liked swimming and fishing(3).Mr. Zhang hoped to spend a week's holiday by _______.A.catching birdsB.swimming or fishingC.picking flowersD.having good meals every day(4).Mr. Zhang went to the village from home ______ .A.by busB.by carC.on footD.by train(5).Mr. Zhang didn't enjoy himself in the village, did he?A.No, he wasn't.B.Yes, he wasC.No, he didn'tD.Yes, he did.正确答案: (1).B (2).A (3).B (4).D (5).C3.For the British, the home is private place in which he or she goes to hide away from the troubles of life. It is very seldom that one would be invited to a British person&rsquo;s home. It is rude to knock on a person&rsquo;s door if you are not invited. If you are invited, don&rsquo;t ask to see more than the downstairs that your British host invites you into. Never ask how much the house or any of the items in it cost.To the American, most of them want their home to be a place where they can entertain (款待) and share their lives with their friends. They may be delighted to give you a full tour of their houses. They may also be pleased when you show your interest and pleasure in their houses. Both British and American people will engage in quite a bit of chat and a drink or two before the meal is served. After the first mouthful, you should say how delicious the food is and ask something about it. Remember, never eat with your mouth open and make very little noise while eating. It would be nice of you to help your host in any way. Maybe offer to pour some drinks or clear up after the meal.(1).British people _______ invite friends to their home.A.oftenB.alwaysD.never(2).If your British friend invites you to his home, you can ____.A.see anything you likeB.ask how much his house isC.ask the cost of any of the items in itD.only see the downstairs that you are invited into(3).When you show your interest and pleasure in American people’s house, they may be __.A.angryB.happyC.sadD.worried(4).What does the underlined “engage in” mean in Chinese?A.陷入B.参与C.回避D.限制(5).What’s the main ide a of the passage?A.Some manners on visiting British and American people&rsquo;s home.B.Different table manners between British and American people.C.Different ideas about the home between British and American peopleD.Different ideas about how to get along well with neighbors between British and American people正确答案: (1).C (2).D (3).B (4).B (5).A4. If you&rsquo;re into sports, you&rsquo;ve seen it happen—tennis players jump over the net to shake hands after a hard match; football players exchange jerseys(运动衣)after ninety minutes of knocking each other around; even boxers touch gloves at the beginning of each round. Players in every event, from spelling bees to golf,act in this way. It&rsquo;s all part of sportsmanship(体育精神),a great tradition in sports and competition. It means playing and being calm all through the match.Everyone feels great when they win. In the last few years, you might see some players celebrate a goal with a long victory dance or talk big about their ability. However, it&rsquo;s always hard for people to say in public that they made a bad play. Good sportsmanship is what they really need. It&rsquo;s the golden rule of sports.Good sportsmanship means that you play by the rules, talk politely to everyone during games and stay cool even when you lose the game. At the school sports meeting, for example, it&rsquo;s more important for you to know how to work as part of a team and cheer your teammates on. That may help you enjoy more success at your future work. In competition—as in life—you may not always win, but believe me, sportsmanship will help you get through, and there is always the next match.(1).What match do you know will last ninety minutes?A.TennisB.FootballC.GolfD.Spelling(2).The underlined word “bees” in the passage means ______.A.flypetitionC.guessD.research(3).Why do you think good sportsmanship is really important?A.It&rsquo;s all part of sports.B.It&rsquo;s all part of celebration.C.It&rsquo;s the golden rule of sports.D.It&rsquo;s how to stay cool.(4).Winning the game will make it possible for players to _______.A.celebrate a goalB.exchange jerseysC.shake handsD.feel great(5).The passage mainly tells us that sportsmanship gets you through no matter whether _______.A.you win or loseB.you play or learnC.you are happy or notD.you feel hard or not.正确答案: (1).B (2).B (3).C (4).D (5).A。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

18秋学期《软件设计模式》在线作业2-0001
试卷总分:100 得分:0
一、单选题(共10 道试题,共50 分)
1.分析下列程序:
public class class4
{
private string _sData = "";
public string sData{set{_sData = value;}}
}
在Main 函数中,在成功创建该类的对象obj 后,下列哪些语句是合法的?()
A.obj.sData = "It is funny!";
B.Console.WriteLine(obj.sData);
C.obj._sData = 100;
D.obj.set(obj.sData);
正确答案:A
2.能正确表示逻辑关系“a>=10 或a<=0”的C#语言表达式是____。

A.a>=10 or a<=0
B.a>=10|a<=0
C.a>=10&&a<=0
D.a>=10||a<=0
正确答案:D
3.下列描述错误的是()
A.类不可以多重继承而接口可以;
B.抽象类自身可以定义成员而接口不可以;
C.抽象类和接口都不能被实例化;
D.一个类可以有多个基类和多个基接口;
正确答案:D
4.在C#中设计类时,应如何保证在释放对象的所有引用之时,释放对象使用的文件、网络等资源?
A.为类重载new运算符。

相关文档
最新文档