网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
The bus driver is _____for the passengers’ safety.
A.bounden
B.answerable
C.responsible
D.accountable
参考答案
更多 “ The bus driver is _____for the passengers’ safety. A.boundenB.answerableC.responsibleD.accountable ” 相关考题
考题
Oracle数据库的JDBC驱动程序类名及完整包路径为()
A.jdbc.driver.oracle.OracleDriverB.jdbc.oracle.driver.OracleDriverC.driver.oracle.jdbc.OracleDriverD.oracle.jdbc.driver.OracleDriver
考题
阅读下列说明、图和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();}}
考题
阅读下列说明、图和Java代码,填补空缺。[说明]已知对某载客车辆(Car)进行类建模,如图13-2所示,其中类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.printin("司机尚未上车!"); 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( );}}
考题
阅读下列说明、图和C++代码,填补空缺。[说明]已知对某载客车辆(Car)进行类建模,如图12-2所示,其中类Engine表示发动机引擎,类Wheel表示车轮,类Body表示车身,类Driver表示司机,类Passenger表示乘客。const int __________ =7; //定义最多载客数const int MAX_WHEELS=5; //定义最多轮胎数class Body{ //此处代码省略 ); //车身类class Passenger{ //此处代码省略}; //乘客类Class Wheel{ //此处代码省略}; //车轮类Class Driver{ //司机类public:string name; //表示第几路公交车司机Driver(string driverName):marne( __________ ){}; //构造函数};class Engine{ //引擎类public:string engineNo; //引擎编号Engine(string engineNo){ __________ ->engineNo=engineNo; }//构造函数};Class Car{ //汽车类protected:Engine *engine; Driver *driver; Body body;Wheel *wheels[MAX_WHEELS]; Passenger *passengers[MAX_PASSENGERS];public:Car(Driver *driver)( //构造函数this->driver=driver;engine=new Engine("TX653 6型号引擎");for(int index=0; index<MAX_WHEELS; index++){wheels[index]=new Wheel( );}for(int index=0; index passengers[index]=NULL;}}virtual -Car( ){ //析构函数for (int index=0; index<MAX_WHEELS; index++)delete wheels[index];delete __________ ;}int getPassengerNumber( ){ //获取车上乘客数量//此处代码省略}void getonpassenger(Passenger *apassenger ){//乘客上车//此处代码省略}void run( ){ //开车if(driver==NULL){cout<< "司机尚未上车!"; return; }//此处代码省略}};void main( ){Driver driver("第五路公交车司机");Car car( __________ );Passenger passengers[MAX_PASSENGERS];for(int index=0; index<MAX_PASSENGERS; index++)//乘客上车处理car. getOnPasSenger(passengers[index]);car. run( );}
考题
试题七(共 15 分)阅读下列说明、图和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();}}
考题
试题五(共 15 分)阅读下列说明、图和C++代码,将应填入 (n) 处的字句写在答题纸的对应栏内。[说明]已知对某载客车辆(Car)进行类建模,如图 5-1所示,其中类 Engine 表示发动机引擎,类 Wheel 表示车轮,类 Body 表示车身,类 Driver 表示司机,类 Passenger 表示乘客。[C++代码]const int (1) = 7; //定义最多载客数const int MAX_WHEELS = 5; //定义最多轮胎数class Body{ //此处代码省略 }; //车身类class Passenger{ //此处代码省略 }; //乘客类class Wheel{ //此处代码省略 }; //车轮类class Driver{ //司机类public:string name; //表示第几路公交车司机Driver(string driverName):name( (2) ){}; //构造函数};class Engine{ //引擎类public:string engineNo; //引擎编号Engine(string engineNo){ (3) -engineNo = engineNo; } //构造函数};class Car{ //汽车类protected:Engine * engine; Driver * driver; Body body;Wheel * wheels[MAX_WHEELS]; Passenger * passengers[MAX_PASSENGERS];public:Car(Driver *driver){ //构造函数this-driver = driver;engine = new Engine("TX6536 型号引擎");for (int index = 0; index MAX_WHEELS; index++){wheels[index] = new Wheel();}for (int index = 0; index MAX_PASSENGERS; index++){passengers[index] = NULL;}}virtual ~Car(){ //析构函数for (int index=0; index MAX_WHEELS; index++)delete wheels[index];delete (4) ;}int getPassengerNumber(){ //获取车上乘客数量//此处代码省略}void getOnPassenger(Passenger * aPassenger ){ //乘客上车//此处代码省略}void run(){ //开车if(driver == NULL){ cout "司机尚未上车!"; return; }//此处代码省略}};void main(){Driver driver("第五路公交车司机");Car car( (5) );Passenger passengers[MAX_PASSENGERS];for (int index = 0 ; index MAX_PASSENGERS; index ++) //乘客上车处理car.getOnPassenger(passengers[index]);car.run();}
考题
阅读下列说明、图和C抖代码,将应填入(n)处的字句写在答题纸的对应栏内。【说明】已知对某载客车辆(Car)进行类建模,如图5-1所示,其中类Engine表示发动机引擎,类Wheel表示车轮,类Body表示车身,类Driver表示司机,类Passenger表示乘客。【C++代码】const int(1)=7; //定义最多载客数const int MAX WHEELS=5; //定义最多轮胎数class Body{ //此处代码省略 }; //车身类class Passenger{ //此处代码省略 }; //乘客类class Wheel{ //此处代码省略 }; //车轮类class Driver{ //司机类public:string name;//表示第几路公交车司机Driver(string driverName):name((2)){}///构造函数};class Engine{//引擎类public:string engineNo;//引擎编号Engine(string engineNo){(3)->engineNo=engineNo;}//构造函数};class Car{//汽车类protected:Engine * engine; Driver * driver; Body body;Wheel * wheels [MAX_WHEELS];Passenger * passengers [MAX_PASSENGERS];public:Car(Driver *driver){ //构造函数this->driver=driver;engine=new Engine("TX6536型号引擎");for (int index=0; index<MAX WHEELS;index++){wheels[index]=new Wheel();}for(int index=0;index<MAX_PASSENGERS;index++){passengers[index]=NULL;}}virtual ~Car(){//析构函数for( int index=0;index<MAX_WHEELS;index++)delete wheels[index];delete(4);}int getPassengerNumber(){//获取车上乘客数量//此处代码省略}void getOnPassenger(Passenger * aPassenger){//乘客上车//此处代码省略}void run(){ //开车if(driver==NULL){cout<<"司机尚未上车!"; return; }//此处代码省略}};void main(){Driver driver("第五路公交车司机");Car car((5));Passenger passengers[MAX_PASSENGERS];for(int index=0;index<MAX PASSENGERS;index ++) //乘客上车处理car.getOnPassenger(passengers [index]);car.run();}
考题
已知wire [31:0] bus;则下列说法真确的是 。A.bus [31]是bus的最高有效位B.bus [0]是bus的最高有效位C.bus [31]是bus的最低有效位D.bus [0]是bus的最低有效位
热门标签
最新试卷