网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
The first the Second Mate knew of the fire was the sounding of the emergency alarm,which had been()from the engine room.
A
acted
B
activated
C
actioned
D
enactioned
参考答案
参考解析
解析:
暂无解析
更多 “单选题The first the Second Mate knew of the fire was the sounding of the emergency alarm,which had been()from the engine room.A actedB activatedC actionedD enactioned” 相关考题
考题
His first attempt failed,().
A、his second attenpt did eitherB、so did his second attenptC、# neither did his second attenptD、so his second attenpt did
考题
PublicclassHoltextendsThread{PrivateStringsThreadName;Publicstaticvoidmain(Stringargv[]){Holth=newHolt();h.go();Holt(){};Holt(Strings){sThreadName=s;PublicStringgetThreadName(){returnsThreadName;}}Publicvoidgo(){Hotfirst=newHot(first);first.start();Hotsecond=newHot(second);second.start();}Publicvoidstart(){For(inti=0;i2;i++){System.out.print(getThreadName()+i);Try{Thread.sleep(100);}catch(Exceptione){System.out.print(e.getMessage());}}}}当编译运行上面代码时,将会出现()A.编译时错误B.输出first0,second0,first0,second1C.输出first0,first1,second10,second1D.运行时错误
考题
阅读以下说明和Java代码,将应填入(n)处的字句写在对应栏内。【说明】下面的Java程序演示了程序竞争资源(Mutex的实例对象)而引起程序死锁的一种例子。【Java程序】import java.applet.*;import java.awt.*;//此处声明一个互斥类class Mutex { }class A extends (1){private Mutex first,second;public A(Mutex f,Mutex s){first = f;second = s;}public void run(){//锁定first变量(2) (first){try{ //本线程挂起,等待重新调度Thread.sleep(1); //注意此处(1)不是小题序号}catch(InterruptedException e){}System. out. println("threadA got first mutex");(2) (second) //锁定second变量{ //do somethingSystem. out. println("threadA got second mutex");} //释放second变量} //释放first变量}}class B extends (1){private Mutex first,second;public B(Mutex f,Mutex s){(3) ;second = s;}public void run(){(2) (second) //锁定second变量{//do somethingtry{Thread.sleep(((int)(3*Math.random()))*1000);//本线程挂起,等待重新调度}catch(InterruptedException e){}System.out.println("threadB got second mutex");(2) (first) //锁定first变量{//do somethingSystem.out.println("threadB got first mutex");} //释放first变量} //释放second变量}}public class DeadlockExample{public static void main(String arg[]){Mutex mutexX = new Mutex();Mutex mutexY = new Mutex();AthreadA = new A(mutexX,mutexY);B threadB = new B (4);threadA.(5);threadB.start();}}
考题
Which of the following statements is true?A. The author's father built a bonfire on VE Day.B. The author's father had fought in the First World War.C. The author's father had fought in the Second World War.D. The author's father threw two chairs on the fire to keep it going.
考题
The Declaration of Independence was adopted by the ___ Continental Congress on July 4, ___.
A.First / 1774B.First / 1776C.Second / 1774D.Second / 1776
考题
执行下列程序,显示的结果是______。first="china"second=""a=LEN(first)i=aDO WHILE i>=1second=second+SUBSTR(first,i,1)i=i-1ENDDO?second
考题
下面程序的输出结果是______。 include using namespace std; int x; void funA(int,int);void funB(int,int);int main(){int first;int second=5;x=6;funA(first,second);funB(first,second);cout<<first<<””<<second<<””<<x<<endl;return 0;}void funA(int a,int b){int first;first=a+b;a=2*b;b=first+4;}void funB(int u, int v){int second;second=x;v=second+4;x=u+v;}
考题
At the earliest indication of fire aboard your vessel, you must FIRST ______.A.locate the fireB.determine which type of fire is burningC.sound the alarmD.fight the fire
考题
public class Bootchy { int bootch; String snootch; public Bootchy() { this(”snootchy”); System.out.print(”first “); } public Bootchy(String snootch) { this(420, “snootchy”); System.out.print(”second “); } public Bootchy(int bootch, String snootch) { this.bootch = bootch; this.snootch = snootch; System.out.print(”third “); } public static void main(String[] args) { Bootchy b = new Bootchy(); System.out.print(b.snootch +“ “ + b.bootch); } } What is the result?() A、 snootchy 420 third second firstB、 snootchy 420 first second thirdC、 first second third snootchy 420D、 third second first siiootchy 420E、 third first second snootchy 420F、 first second first third snootchy 420
考题
public class Holt extends Thread{ private String sThreadName; public static void main(String argv[]){ Holt h = new Holt(); h.go(); } Holt(){} Holt(String s){ sThreadName = s; } public String getThreadName(){ return sThreadName; } public void go(){ Holt first = new Holt("first"); first.start(); Holt second = new Holt("second"); second.start(); } public void start(){ for(int i = 0; i 2; i ++){ System.out.println(getThreadName() +i); try{ Thread.sleep(100); } catch(InterruptedException e){ System.out.println(e.getMessage()); } } } } 当编译运行上面的Java代码时,将会出现()。 A、编译时错误B、输出first0, second0, first0, second1C、输出first0, first1, second0, second1D、运行时错误
考题
单选题A seaman assaults the Second Mate and injures him with a beer bottle while the ship is at sea. The incident is logged in the Official Logbook. In subsequent suspension and revocation proceedings against the seaman,according to the regulations,().A
the Second Mate and the Master must testify as to the facts of the assaultB
the case will be dismissed if the logbook entries are improperly madeC
the logbook entry is prima facie evidence of the facts if it complies with the lawD
the logbook is inadmissible if the logbook entries do not conform to the law
考题
单选题At night while the ship is tied up to the dock,a fire breaks out in a cargo hatch. After sounding the alarm,what should the person on watch do?()A
Begin fighting the fire immediatelyB
Await further orders from the MasterC
Let go the lines to let the vessel drift to an anchorageD
Send a person to summon the shore authorities
考题
单选题Which of the following best characterizes the individual perspectives presented in the two passages?A
The first suggests that we should put for faith in our intuition, while the second cautions us against irrational thinking.B
The first examines the nature and origins of intuition from a scientific perspective, while the second analyzes dubious notions in sports.C
The first is concerned with debunking a theory about intuition, while the second advocates intuitive thinking for improving sports performance.D
The first provides an objective account of research on human intuition, while the second presents a first-person account of intuition at work.E
The first focuses on the fallible nature of moral intuition, while the second argues that intuitive thinking is more reliable than many people think.
考题
单选题On a tanker,sanitary inspections of the crew’s quarters are the responsibility of the().A
Master and Second MateB
Master and Chief EngineerC
Master and union delegateD
Master and Chief Mate
考题
单选题What is the passage about?A
The Great Fire of London.B
Who was the first to discover the fire?C
What Pepys was doing during the fire.D
The losses caused by the fire.
考题
单选题There is a fire in the crew’s quarters of your vessel. You should().A
ventilate the quarters as much as possibleB
prepare to abandon shipC
close all ventilation to the quarters if possibleD
attempt to put the fire out yourself before sounding the alarm
考题
单选题public class Bootchy { int bootch; String snootch; public Bootchy() { this(”snootchy”); System.out.print(”first “); } public Bootchy(String snootch) { this(420, “snootchy”); System.out.print(”second “); } public Bootchy(int bootch, String snootch) { this.bootch = bootch; this.snootch = snootch; System.out.print(”third “); } public static void main(String[] args) { Bootchy b = new Bootchy(); System.out.print(b.snootch +“ “ + b.bootch); } } What is the result?()A
snootchy 420 third second firstB
snootchy 420 first second thirdC
first second third snootchy 420D
third second first siiootchy 420E
third first second snootchy 420F
first second first third snootchy 420
考题
单选题Which of the listed conditions will cause the feed water that has not flashed to vapor in the first-stage of a flash evaporator, to flow into the second-stage?()A
Gravity siphon effectB
Higher vacuum in the second-stageC
Difference in brine density between first and second stagesD
lower pressure in first-stage
考题
单选题The relationship between the first and second paragraphs is that _____.A
each presents one side of the pictureB
the second is the logical result of the firstC
the first gives examples and the second generalizesD
both present the problems that customers encounter
考题
单选题At the earliest indication of fire aboard your vessel, you must FIRST().A
locate the fireB
determine which type of fire is burningC
sound the alarmD
fight the fire
考题
单选题When fighting an electrical fire, you should first ().A
stop ventilation to the areaB
stop the vesselC
secure electricity to the circuitD
apply CO2 to the fire
考题
单选题In the first survey, () compiles the survey report and fills in certificate.A
surveyorB
chief engineerC
captainD
chief mate
考题
单选题The relationship between the first and second paragraphs is that______.A
each presents one side of the picture.B
the second is the logical result of the first.C
the first gives examples and the second generalizes.D
both present the problems that customers encounter.
考题
单选题Generally,the first action in extinguishing an LFG fire caused by escaping gas is to().A
sweep flames away with water sprayB
shut off the leakC
use a chemical foam fire extinguisherD
call the local fire department
考题
单选题While on watch in the engine room, you hear a continuous sounding of the general alarmWhich of the following actions should you take FIRST?()A
Secure the burners then proceed to your assigned boat stationB
Start the fire pump and establish flow to the fire mainC
Open the guardian valve and standby to maneuverD
Open the master control valves on the fixed CO2 system
热门标签
最新试卷