车辆段 vehicle depot

车辆段 vehicle depot


相关考题:

下列VIN(Vehicle Identification Number)车辆识别代号第一部分WMI码中第一位表示该车辆是法国生产的是()A.SB.IC.ED.F

VIN(Vehicle Identification Number)车辆识别代号中表示车型年份的是第()位。A.8B.9C.10D.11

汽车产品的VIN(Vehicle Identification Number),即车辆识别代号是由17位字母、数字组成的编码。判断对错

若vehicle=['train','bus','car','ship'],则vehicle[1]是什么? A.trainB.busC.carD.ship

阅读以下说明和Java代码,填充程序中的空缺,将解答填入答题纸的对应栏内。【说明】某应急交通控制系统(TraficControIS,stem)在红灯时控制各类车辆(Vehicle)的通行,其类图如图6-1所示,在紧急状态下应急车辆在红灯时可通行,其余车辆按正常规则通行。下面的Java代码实现以上设计,请完善其中的空缺。【Java代码】abstract class Vehiclepublic Vehicle () { }abstract void run};interface Emergency {(1) ;(2) ;}class Car extends Vehicle {public Car () { }void run () { /*代码略*/ }};class Truck extends Vehicle {public Truck () { }void run () { /*代码略*/ }class PoliceCar (3)boolean isEmergency = false;public PoliceCar () { }public PoliceCar(boolean b) { this . isEmergency =b; }public boolean isEmergent () { return (4); }public void runRedLight () { /*代码略*/ }}/*类Ambulance. FireEngine实现代码略*/public class TraficControISystem {/。交通控制类。/private Vehicle[ ]V=new Vehiele [24];int numVehicles;public void control() {for (int i=0; inumVehicles; i++) {if (v[i] instanceof Enu rgency ((Emergency)V [i])isEmergent()) {( 5 ) . runRedLigh: ( ) ;}else(6).run( )}}void add (Vehicle vehicle) { v[numVehicles++]=vehicle;)/*添加车辆*/void shutDown()(/*代码略*/}public static void main (Stri.ng [ ] args) {TraficControlSystem tcs = new TraficControlSystem() ;tcs . add (new Car () ;tcs .add (new PoliceCar () ;tcs .add (new Ambulance () ;tcs . add (new Ambulance (true》 ;tcs . add (new FireEngine ( true》 ;tcs . add (new Truck () ;tcs . add (new FireEngine ( ) ;tcs . control () ;tcs . shutDown () ;}}

阅读以下说明和Java代码,填充程序中的空缺,将解答填入答题纸的对应栏内。[说明]某应急交通控制系统(TraficControlSystem)在红灯时控制各类车辆(Vehicle)的通行,其类图如下图所示,在紧急状态下应急车辆在红灯时可通行,其余车辆按正常规则通行。下面的Java代码实现以上设计,请完善其中的空缺。[Java代码]abstract class Vehicle{public Vehicle(){ }abstract void run();};interface Emergency{ ______; ______;};class Car extends Vehicle{public Car(){ }void run(){ /*代码略*/ }};Class Truck extends Vehicle{public Truck(){ }void run() { /*代码略*/ }};class PoliceCar ______ {boolean isEmergency= false;public PoliceCar(){ }public PoliceCar(boolean b) {this.isEmergency=b; }public boolean isEmergent(){ return ______ }public void runRedLight(){ /*代码略*/ }};/*类Ambulance、FireEngine实现代码略*/public class TraficControlsystem { /*交通控制类*/private Vehicle[]V=new Vehicle[24];int numVehicles;public void control(){for {int i=0; i<numVehicles; i++){if(V[i]instanceof Emergency}else______. run();}}void add(Vehicle vehicle){ v[numVehicles++]=vehicle;}/*添加车辆*/void shutDown(){/*代码略*/}public static void main(String[]args){TraficC0ntrolSystem tcs=new TraficControlSystem();tcs.add(new Car());tcs.add(new PoliceCar());tcs.add(new Ambulance());tcs.add(new Ambulance(true));tcs.add(new FireEngine(true));tcs.add(new Truck());tcs.add(new FireEngine());tcs.control();tcs.shutDown();}}

阅读以下说明和C++代码,填充代码中的空缺,将解答填入答题纸的对应栏内。[说明]某应急交通控制系统(TraficControlSystem)在红灯时控制各类车辆(Vehicle)的通行,其类图如下图所示,在紧急状态下应急车辆红灯时也可通行,其余车辆按正常规则通行。下面的C++代码实现以上设计,请完善其中的空缺。[C++代码]#include<typeinfo>#include<iostream>using namespace std;class Vehicle {/*抽象基类,车辆*/public:virtual void run()=0;};class Emergency { /*抽象基类,可在红灯时通行的接口,函数均为纯虚函数*/public:______=0; //isEmergent()函数接口______=0; //runRedLight()函数接口};clasS Car:public Vehicle{public:~Car(){}void run(){/*代码略*/ ));class Truck:public Vehicle{public:~Truck(){}void run(){ /*代码略*/ });class PoliceCar:______ {private:bool isEmergency;public:PoliceCar():Car(),Emergency() { this->isEmergency=false;}PoliceCar(bool b):Car(),Emergency() {this->isEmergency=b;}~P0liceCar(){ }bool isEmergent(){ return ______}void runRedLight() { /*代码略*/ });/*类Ambulance、FireEngine实现代码略*/class TraficControlsystem { /*交通控制类*/private:Vehicle*v[24]; int numVehicles;/*在构造函数中设置初始值为0*/public:void control(){ //控制在紧急情况下应急车辆红灯通行,其他情况按常规通行for(int i=0;i<numVehicles; i++){Emergency *ev=dynamic_cast<Emergency*>(v[i]);if(ev !=0) ______->runRedLight();else ______->run();}}void add(Vehicle*vehicle) { v[numVehicles++] =vehicle; }/*添加车辆*/void shutDown() {for(int i=0; i<numVehicles; i++) { delete v[i];} }};int main(){TraficControlSystem*tcs=new TraficControlSystem;tcs->add(new Car()); tcs->add(new PoliceCar());tcs->add(new Ambulance()); tcs->add(new Ambulance(true));tcs->add(new FireEngine(true));tcs->add(new FireEngine());tcs->add(new Truck());tcs->contr01();tcs->ShutDown();delete tcs;}

混合机务段 combined depot

机车出入段线 track for going out and coming into the depot

客车整备所 passenger car servicing depot

段管线 depot siding

机务折返段 return depot

下列VIN(VehiCle IDentifiCAtion NumBer)车辆识别代号第一部分WMI码中第一位表示该车辆是美国生产的是()A、1B、2C、4D、6

VIN(VehiCle IDentifiCAtion NumBer)车辆识别代号中表示车型年份的代码不能是()。A、OB、QC、ZD、I

下列VIN(Vehicle Identification Number)车辆识别代号第一部分WMI码中第一位表示该车辆是法国生产的是()A、SB、IC、ED、V

VIN(Vehicle Identification Number)车辆识别代号,它由一组字母和阿拉伯数字组成,共17位。

英译中:Inland container depot

()is the volume for loading goods of the vehicle.A、Vehicle tonnageB、Vehicle sizeC、Vehicle capacityD、Available Vehicle capacity

名词解释题客车整备所 passenger car servicing depot

名词解释题机车出入段线 track for going out and coming into the depot

名词解释题英译中:Inland container depot

名词解释题混合机务段 combined depot

判断题VIN(Vehicle Identification Number)车辆识别代号,它由一组字母和阿拉伯数字组成,共17位。A对B错

名词解释题机务段 depot

名词解释题车辆段 vehicle depot

名词解释题贮存库(Storage depot)

单选题()is the volume for loading goods of the vehicle.AVehicle tonnageBVehicle sizeCVehicle capacityDAvailable vehicle capacity