重庆大学

His grandfather( )peacefully this morning.A、passed byB、passed toC、passed offD、passed away

题目

His grandfather( )peacefully this morning.

A、passed by

B、passed to

C、passed off

D、passed away

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

( 8 )阅读下列程序段

public class OperatorsAndExpressions {

String conditionalExpression ( int score ) {

String result;

//如果 score 超过 60 分,则结果是 passed, 否则是 doesn't pass

result= ( score>=60 ) ?"passed":"doesn't pass" :

System.out.println ( result ) ;

return result;

public static void main ( String args[] ){

OperatorsAndExpressions perAndExp=new OperatorsAndExpressionsQ;

//条件表达式

OperAndExp. conditionalExpression ( 65 ) ;

}

}

其执行结果是 【 8 】


正确答案:

第2题:

A basic premise of OGSA is that everything is(66)by a service: a network enabledentity that(67)some capability through the exchange of messages. Computational resources, storage resources, networks, programs, databases, and so forth are all(68). This adoption of auniform. service-oriented model means that all components of the environment are virtual. Morespecifically, OGSA represents everything as a Grid service: a Web service that conforms(69)a set of conventions and supports standard interfaces for such purposes as lifetime management. This core set of consistent interfaces, from which all Grid services are implemented.(70)the construction of hierarchical, higher - order services that can be treated in a uniform. way across layers of abstraction.

A.defined

B.represented

C.used

D.passed


正确答案:B

第3题:

—I thougth you had English.

—No. It has been useful in my work.

A.studied B.dropped C.failed D.passed


正确答案:B

第4题:

A basic premise of OGSA is that everything is(71)by a service: a network enabled entity that(72)some capability through the exchange of messages. Computational resources, storage resources, networks, programs, databases, and so forth are all(73). This adoption of a uniform. service-oriented model means that all components of the environment are virtual. More specifically, OGSA represents everything as a Grid service: a Web service that conforms(74)a set of conventions and supports standard interfaces for such purposes as lifetime management. This core set of consistent interfaces, from which all Grid services are implemented,(75)the construction of hierarchical, higher-order services that can be treated in a uniform. way across layers of abstraction.

A.defined

B.represented

C.used

D.passed


正确答案:B
解析:OGSA的一个基本前提是任何事务都表示成一个服务:一个网络可达的、通过消息交换提供某些能力的实体。计算资源、存储资源、网络、程序、数据库等都是服务。采用一个统一的面向服务的模型意味着环境中的所有组件都是虚拟的。更明确地说,OGSA将所有事务都表示成一个Grid服务:遵循一套规范并支持为了实现生命周期管理等类似目的而制定的标准接口的Web服务。这些一致接口的核心集,是所有的Grid服务实现的基础,便于高级服务的构造,而高级服务能够跨多个抽象层以一种统一的方式进行处理。

第5题:

阅读下面程序

public class OperatorsAndExpressions {

String conditionalExpression(int score) {

String result;

//如果score超过60分,则结果是passed,否则是doesn't pass

result=(score>=60)?"passed":"doesn't pass":

System.out.println(result);

return result;

}

public static void main(String args[]) {

OperatorsAndExpressions perAndExp=new OperatorsAndExpressions();

//条件表达式

OperAndExp.conditionalExpression(65);

}

}

程序的执行结果是______。


正确答案:passed
passed 解析:条件运算符的形式为expression1? expression2:expression3。如果expression1的结果为true,则计算expression2,并将结果作为整个表达式的值;如果expression1的结果为false,则计算expression3,并将结果作为整个表达式的值。本程序中,score=65,score>60的判断结果为true,所以result="passed",最后输出结果当然也是passed。

第6题:

阅读下列程序段

public class OperatorsAndExpressions {

String conditionalExpression(int score) {

String result;

//如果score超过60分, 则结果是passed, 否则是doesn't pass

result=-(score>=60)?"passed":"doesn't pass";

System.out.println(result);

retum result;

}

public static void main(String args[]) {

OperatorsAndExpressions perAndExp=new OperatorsAndExpressions();

//条件表达式

OperAndExp.conditionalExpression(65);

}

}

其执行结果是【 】 。


正确答案:passed
passed 解析:本题考查Java的条件运算符。程序中首先定义了—个OperatorsAndExpressions类,该类非常简单,其中只包含一个conditionalExpression方法。该方法中对传递进来的参数score进行判断,如果score>=60分,则返回结果"passed",否则返回结果"doesn't pass"。这个操作通过一个条件表达式语句实现,即result=(score>=60)?"passed":"doesn't pass"。首先计算score>=60的结果,如果结果为true,则将"passed"作为整个条件表达式的结果;如果score>=60的结果为false,则将"doesn't pass"作为整个条件表达式的结果。
  主程序中生成了一个OperatorsAndExpressions类对象OperAndExp,然后调用该对象的conditionalExpression方法,其中参数是65。经过前面对eonditionalExpression方法的分析,可知65>=60,result中存放的内容是"passed"。因此输出result的结果是 "passed"。
  因此,本题划线处应填入"passed"。

第7题:

publicclassAssertStuff{publicstaticvoidmain(String[]args){intx=5;inty=7;assert(x>y):stuff”;System.out.println(”passed”);}}Andthesecommandlineinvocations:javaAssertStuffjava-eaAssertStuffWhatistheresult?()

A.passedstuff

B.stuffpassed

C.passed AnAssertionErroristhrownwiththeword“stuff”addedtothestacktrace.

D.passed AnAssertionErroristhrownwithouttheword“stuff”addedtothestacktrace.

E.passed AnAssertionExceptionisthrownwiththeword“stuff”addedtothestacktrace.

F.passed AnAssertionExceptionisthrownwithouttheword“stuff”addedtothestacktrace.


参考答案:C

第8题:

●A basic premise of OGSA is that everything is (66) by a service:a network enabledentity that (67) some capability through the exchange of messages.Computational resources,storage resources,networks,programs,databases,and so forth are all (68) .This adoption of auniform. service-oriented model means that all components of the environment are virtual.Morespecifically,OGSA represents everything as a Grid service:a Web service that conforms (69) a set of conventions and supports standard interfaces for such purposes as lifetime management.This core set of consistent interfaces,from which all Grid services are implemente

D. (70) theconstruction of hierarchical,higher-order services that can be treated in a uniform. way across layersof abstraction.

(66) A.defined

B.represented

C.used

D.passed

(67) A.provides

B.have

C.expands

D.limits

(68) A.elements

B.objects

C.services

D.capability

(69) A.of

B.to

C.as

D.from

(70) A.forms

B.groups

C.consist

D.Facilitates


正确答案:B,A,C,B,D
【解析】(参考译文)OGSA的一个基本前提是任何事务都表示成一个服务:一个网络可达的、通过消息交换提供某些能力的实体。计算资源、存储资源、网络、程序、数据库等都是服务。采用一个统一的面向服务的模型意味着环境中的所有组件都是虚拟的。更明确地说,OGSA将所有事务都表示成一个Grid服务:遵循一套规范并支持为了实现生命周期管理等类似目的而制定的标准接口的Web服务。这些一致接口的核心集,是所有的Grid服务实现的基础,便于高级服务的构造,而高级服务能够跨多个抽象层以一种统一的方式进行处理。

第9题:

Luckily, all the people on the bus _________the traffic accident yesterday.

A. endured

B. survived

C. lived

D. passed


正确答案:B

第10题:

【判断题】字母a如在英音里发/a:/,在美音里则常发/æ /,如 behalf, passed, path。

A.Y.是

B.N.否


错误