单选题The owner of a car is no longer forced to rely on public transportation and is therefore, not _____ to work locally.AcompelledBobligedCrestrictedDrepelled

单选题
The owner of a car is no longer forced to rely on public transportation and is therefore, not _____ to work locally.
A

compelled

B

obliged

C

restricted

D

repelled


参考解析

解析:
句意:车主不再被迫依赖公共交通,因此,也不再被限制在本区域工作。既然车主自己有了车,不再被迫要依赖公共交通,自然就不必受限制非得在当地工作了。故restricted受约束,受限制符合句意。compelled和obliged都含有“迫使”的意思,但却均不符合该句的逻辑关系,repelled被击退,被抵制,被拒绝,也不符合句意。

相关考题:

My car is in _______ bad condition ________ I can’t drive it any longer. A.such…thatB.too…toC.so…thatD.so…as to

In Changsha, although there is a good public transport system,()private car is still becoming() popular means of transportation. A、不填; theB、he; aC、the; theD、a; 不填

下列哪个类声明是正确的? ( )A.abstract final class H1 {...}B.abstract private move(){...}C.protected private numberD.public abstract class Car{...}

( 12 )请将下面的程序补充完整,使得程序输出 “ 飘是张娜的书 ” 。#include iostreamusing namespace std;class Book{public:Book(char *str) {strcpy(title,str);}【 12 】 void PrintInfo() {couttitleendl;}protected:char title[50];};class MyBook:public Book{public:MyBook(char *s1,char *s2= " 张娜 " ):【 13 】 {strcpy(owner,s2);}virtual void PrintInfo() {couttitle " 是 " owner " 的书 " endl;}private:char owner[10];};int main(){Book *prt=new MyBook( " 飘 " );prt-PrintInfo();return 0;}

Grabbing Weinstein ______the jaw,the attacker told her he had a gun and forced her into her car.A. withB. toC. inD. by

下列各项中用来表达“行业展览”的最佳英文短语是()。A.inD.ustryexhiB.itionB.trA.D.eshowC.trA.D.eexhiB.itionD.inD.ustryshow

They each ( )a proud owner of a private car. A、wants to beB、is wanting to becomeC、wants to becomeD、want to be

使用VC6打开考生文件夹下的工程test17_1,此工程包含一个源程序文件test17_1.唧,但该程序运行有问题,请改正程序中的错误,使程序的输出结果如下:Vehicle messageCar messageVehicle message源程序文件test17_1.cpp 清单如下:include <iostream.h>class vehicle{int wheels;float weight;public:/***************** found *****************/void message(void){ cout<<"Vehicle message\n";}};class car:public vehicle{int passenger_load;public:/***************** found *****************/void message (void){cout>>"Car message\n";}};class truck:public vehicle{int passenger_load;float payload;public:int passengers(void){return passenger_load;}};void main(){vehicle * unicycle;unicycle=new vehicle;/***************** found *****************/unicycle.message()delete unicycle;unicycle=new car;unicycle->message();delete unicycle;unicycle=new truck;unicycle->message();delete unicycle;}

阅读下列说明、图和Java代码,将应填入(n)处的字句写在对应栏内。【说明】已知对某载客车辆(Car)进行类建模,如图7-1所示,其中类Engine表示发动机引擎,类Wheel表示车轮,类Body表示车身,类Driver表示司机,类Passenger表示乘客。【Java代码】class Body{ //此处代码省略 ); //车身类class Passenger{ //此处代码省略 )/ //乘客类class Wheel{ //此处代码省略 ); //车轮类class Driver{ //司机类public String name; //表示第几路公交车司机public Driver(String driverName){name = driverName/) //构造函数};class Engine{//引擎类public String engineNo;//引擎编号public Engine(String engineNo){this.engineNo=engineNo;)//构造函数};public class Car{//汽车类static final int(1)=7; //定义最多载客数static final int MAX WHEELS =5; //定义最多轮胎数protected Engine engine;protected Driver driver;protected Body body=new Body();protected Wheel[] wheels;protected Passenger[]passengers;public Car(Driver driver){ //构造函数(2).driver=driver;engine=new Engine("TX6536型号引擎");wheels=new Wheel[MAX WHEELS];passengers=new Passenger[MAX_PASSENGERS];for(int index=0;index<MAX_WHEELS;index++){wheels[index]=new Wheel();}for(int index=0;index<MAX_PASSENGERS;index++){passengers[index]=null;}}int getPassengerNumber(){//获取车上乘客数量//此处代码省略}void getOnPassenger(Passenger aPassenger){//乘客上车//此处代码省略}void run(){ //开车if((3)){System.out.println("司机尚未上车!");return;}//此处代码省略}public static void main(String args[]){Driver driver=new Driver("第五路公交车司机");Car car=new Car((4));for (int index = 0 ; index < MAX_PASSENGERS; index ++)car.getOnPassenger((5) Passenger());car.run();}}

请将下面的程序补充完整,使得程序输出“飘是张娜的书”。includeusing namespace stdclass Book{public:Book(char*str)|strcpy(title,str);______void Printlnfo(){cout<<title<<endl;}protected:char title[50];};class MyBook:public Book{public:MyBook(char*s1,char*S2=“张娜”):______strcpy(owner,s2);}virtual void PrintInfo(){cout<<title<<“是”<<owner<<“的书”<<endl;}private:charowner[10];};int main(){Book*ptr=new MyBook(“飘”);ptr-Printlnfo();return 0;}

若已定义了类Vehicle,则下列派生类定义中,错误的是A.class Car:Vehicle{/*类体略*/);B.class Car:public Car{/*类体略*/);C.class Car:public Vehicle{/*类体略*/);D.class Car:virtual public Vehicle{/*类体略*/);

下列对类的声明,正确的是( ) BA.abstract final class Hh{…}B.abstract private move(){…}C.protected private number;D.public abstract class Car{…}

Passage Two(26~30) Taiwan police cannot decide whether to treat it as an extremely clever act of stealing or an even cleverer cheat (诈骗). Either way, it could be the perfect crime (犯罪), because the criminals are birds-horning pigeons!The crime begins with a telephone message to the owner of a stolen car: if you want the car back, pay up then. The car owner is directed to a park, told where to find a bird cage and how to attach money to the neck of the pigeon inside. Carrying the money in a tiny bag, the pigeon flies off。There have been at least four such pigeon pick-ups in Changwa. What at first seemed like the work of a clever stay-at-home car thief, however, may in fact be the work of an even lazier and more inventive criminal mind-one that avoids (避免)not only collecting money but going out to steal the car in the first place. Police officer Chen says that the criminal probably has played a double trick: he gets money for things he cannot possibly return. Instead of stealing cars, he lets someone else do it and then waits for the car-owner to place an ad (启事) in the newspaper asking for help。The theory is supported by the fact that, so far, none of the stolen cars have been returned. Also, the amount of money demanded-under 3,000 Taiwanese dollars-seems too little for a car worth many times more。Demands for pigeon-delivered money stopped as soon as the press reported the story. And even if they start again, Chen holds little hope of catching the criminal. “We have more important things to do,” he said。第26题:After the car owner received a phone call, he 。A. went to a certain pigeon and put some money in the bag it carriedB. gave the money to the thief and had his car back in a parkC. sent some money to the thief by mailD. told the press about it

The “lazier and more inventive” criminal refers to 。A. the car thief who stays at homeB. one of those who put the ads in the paperC. one of the policemen in ChangwaD. the owner of the pigeons

A public company that fails to obey the new law could be forced to( )[A] pay a heavy fine[B] close down its business[C] change to a private business[D] sign a document promising to act

If the insufficiency of the packing was apparent on reasonable inspection,the Shipowner cannot ______ the exception of insufficiency of packing.A.rely inB.rely uponC.rely withD.rely to

阅读下列说明和Java代码,将应填入(n)处的字句写在答题纸的对应栏内。【说明】某软件公司欲开发一款汽车竞速类游戏,需要模拟长轮胎和短轮胎急刹车时在路面上留 下的不同痕迹,并考虑后续能模拟更多种轮胎急刹车时的痕迹。现采用策略(Strategy)设计模式来实现该需求,所设计的类图如图 5-1 所示。【Java代码】import java.util.*; interface BrakeBehavior{public (1) ;/*其余代码省略*/}class LongWheelBrake implements BrakeBehavior{public void stop(){System.out.println("模拟长轮胎刹车痕迹! ");}/*其余代码省略*/}class ShortWheelBrake implements BrakeBehavior {public void stop(){System.out.println("模拟短轮胎刹车痕迹! ");}/*其余代码省略 */}abstract class Car{protected (2) wheel;public void brake(){ (3) ;}/*其余代码省略*/}class ShortWheelCar extends Car {public ShortWheelCar(BrakeBehavior behavior){(4) ; } /*其余代码省略*/}class StrategyTest{public static void main(String[]args){BrakeBehaviorbrake =new ShortWheelBrake();ShortWheelCar car1= new ShortWheelCar(brake);car1. (5) ;}}

Many()shops will be forced to close if the new supermarket is built.A、localB、broadC、generalD、public

下列哪个类的声明是正确的()A、abstract final class HI{}B、abstract private move(){}C、protected private number;D、public abstract class Car{}

下列哪个类声明是正确的()。A、abstract final class H1{…}B、abstract private move(){…}C、protected private number;D、public abstract class Car{…}

下面哪一个是正确的类的声明?()A、public void HH{…}B、public class Move(){…}C、public class void number{}D、public class Car{…}

以public修饰的类如:public class Car{…} 则Car()A、可被其它程序包中的类使用B、仅能被本程序包中的类使用C、不能被任意其它类使用D、不能被其它类继承

()数据库用户帐户对数据库具有所有权限A、dboB、db_owner(db角色)C、sysadmin(服务器角色)D、public(db角色)

单选题The owner of a car is no longer forced to rely on public transportation and is therefore, not _____ to work locally.AcompelledBobligedCrestrictedDrepelled

单选题This passage is written from the point of view of ______.Aa man running for public officeBan underpaid farm workerCa member of the clergyDan owner of a large farmEa farm animal

单选题11. abstract class Vehicle { public int speed() { return 0; } }  12. class Car extends Vehicle { public int speed() { return 60; } }  13. class RaceCar extends Car { public int speed() { return 150; }}  ......  21. RaceCar racer = new RaceCar();  22. Car car = new RaceCar();  23. Vehicle vehicle = new RaceCar();  24. System.out.println(racer.speed() + “, „ + car.speed()  25. + “, “+ vehicle.speed());  What is the result?()A 0, 0,0B 150, 60, 0C Compilation fails.D 150, 150, 150E An exception is thrown at runtime.

多选题public class Car {  private int wheelCount;  private String vin;  public Car(String vin) {  this.vin = vin;  this.wheelCount = 4;  }  public String drive() {  return “zoom-zoom”;  }  public String getInfo() {  return “VIN: “+ vin + “wheels: “+ wheelCount;  }  }  And:  public class MeGo extends Car {  public MeGo(String vin) {  this.wheelCount = 3;  }  }  What two must the programmer do to correct the compilation errors?()Ainsert a call to this() in the Car constructorBinsert a call to this() in the MeGo constructorCinsert a call to super() in the MeGo constructorDinsert a call to super(vin) in the MeGo constructorEchange the wheelCount variable in Car to protectedFchange line 3 in the MeGo class to super.wheelCount = 3;

单选题以public修饰的类如:public class Car{…} 则Car()A可被其它程序包中的类使用B仅能被本程序包中的类使用C不能被任意其它类使用D不能被其它类继承