网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
A green pillar lightbuoy,Fl(2) 5s,is to be substituted for the red conical lightbuoy Close S.W.of the stranded wreck.The above sentence mainly refers to______.
A.a red buoy is to be replaced by a green buoy
B.a green buoy is to be replaced by a red buoy
C.either a red buoy or a green buoy is to be replaced
D.neither a red buy nor a green buoy is to be replaced
参考答案
更多 “ A green pillar lightbuoy,Fl(2) 5s,is to be substituted for the red conical lightbuoy Close S.W.of the stranded wreck.The above sentence mainly refers to______.A.a red buoy is to be replaced by a green buoyB.a green buoy is to be replaced by a red buoyC.either a red buoy or a green buoy is to be replacedD.neither a red buy nor a green buoy is to be replaced ” 相关考题
考题
设有说明var color:(red,green,yellow,blue);a:boolean;下面语句正确的是( )。
Aolor:=‘green‘;Bwriteln(green);Cwriteln(color);Da:=color=red;
考题
Restricted areas at locks and dams are indicated by ______.A.flashing red lights upstream and fixed red lights downstremB.yellow unlighted buoysC.signs and / or flashing red lightsD.red daymarks upstream and green daymarks downstream
考题
以下选项中不能正确把c1定义成结构体变量的是A.typedef struct {int red: int green: int blue; } COLOR; COLOR c1;B.struct color c1 {int red int green: int blue; };C.struct color {int red , int green : int blue : )cl;D.struct {int red; int green; int blue } c1 ;
考题
publicclassBall{publicenumColor{RED,GREEN,BLUE};publicvoidfoo(){//insertcodehere{System.out.println(c);}}}Whichcodeinsertedatline14causesthefoomethodtoprintRED,GREEN,andBLUE?()
A.for(Colorc:Color.values())B.for(Colorc=RED;c=BLUE;c++)C.for(Colorc;c.hasNext();c.next())D.for(Colorc=Color[0];c=Color[2];c++)E.for(Colorc=Color.RED;c=Color.BLUE;c++)
考题
以下选项中不能正确把cl定义成结构体变量的是A.typedef struct { int red; int green; int blue; } COLOR; COLOR cl;B.struct color cl { int red; int green; int blue; }C.struct color { int red; int green; int blue; } cl;D.struct { int red; int green; int blue; } cl;
考题
以下选项中不能正确把c1定义成结构体变量的是A.typedef struct { int red; int green;; int blue; }COLOR; COLOR cl;B.struct color cl { int red; int green; int blue; };C.struet color { int red; int green; int blue; }c1;D.struct { int red; int green; int blue; }cl;
考题
WhichofthefollowingisthecorrectwiringorderforanRJ-11twolinejack?()
A.Black,Green,Red,YellowB.Black,Red,Green,YellowC.Red,Black,Green,YellowD.Yellow,Red,Green,Black
考题
下列选项中不能正确定义结构体的是_______。A.typedef structB.struct color cl {int red; {int red; int green; int green; int blue; int blue; }COLOR; }; COLOR cl;C.struct colorD.struct {int red; {int red; int green; int green; int blue; int blue; }cl; }cl;
考题
以下选项中能正确把c1定义成结构体变量的是( )。A.typedef struct { int red; int red; int green; int blue; }COLOR; COLOR c1;B.struct color c1 { int red int red; int green int blue; };C.stmctcolor { int red, int green; int blue; }c1;D.struct { int red; int green; int blue; }c1;
考题
阅读下列说明和 C++代码,填补代码中的空缺,将解答填入答题纸的对应栏内。 【说明】 设计 RGB 方式表示颜色的调色板,进行绘图,其类图如图 5-1 所示。该程序的 C++代码附后。图5-1 类图【C++代码】 include iostream include stdlib.h include ctime using namespace std; class MyColor{ private: int red; int green; int blue; public: MyColor() {red = 0; green = 0; blue = 0; } ~MyColor() { } MyColor(int red ,int green ,int blue) { this-red = red; this-green = green; this-blue = blue;} //其他方法略 void print() { coutRed: red \tGreen: green \tBlue blue endl; } }; class Palette ( private: int number; MyColor** palette; public: Palette() { number = 256; palette = (MyColor*)malloc (sizeof(MyColor ) *number); } ~Palette () { for (int i = 0; i number; i++) { delete palette[i]; } (1) ; } Palette(MyColor** pale ,int number) { (2) = number; palette = (MyColor**)malloc(sizeof(MyColor*)*number) ; memcpy(palette ,pale ,sizeof(pale)*number); } //其他方法略 void print () { for (int i = 0; i number; i++) { cout i : ; palette[i]-print(); } } }; class Drawing{ public: (3) int COLORNUMBER = 16; public: ~Drawing () { } void draw() ( Palette* palette; int red ,green ,blue; MyColor* color[COLORNUMBER); srand((unsigned)time(O)); for (int i = 0; i COLORNUMBER; i++) red=rand ()% 256; green = rand() % 256; blue = rand ()% 256; color [i) = (4) (red ,green ,blue); } palette = new Palette(color ,COLORNUMBER); palette-print(); for (int i = 0; i COLORNUMBER; i++) delete color[i]; } }; int main () { Drawing * d = (5) ; d-draw(); delete d; }
考题
阅读以下说明和 Java 代码,填补代码中的空缺,将解答填入答题纸的对应栏内。 【说明】 设计 RGB 方式表示颜色的调色板,进行绘图。其类图如图 6-1 所示。该程序的 Java代码附后。图6-1 类图【Java 代码】 //颜色类 class MyColor { private int red ,green, blue; public MyColor( ) { red = o; green = 0; blue = 0; } public MyColor(int red ,int green ,int blue) { this.red = red; this.green = green; this.blue = blue; } //其他方法略 public String toString( ) { return Red: + red + \tGreen: + green + \tBlue + blue; } } //调色板类 class Palette { public int number; / /颜色数 private (1)palette; //颜色表 public Palette( ) { number = 256; palette = new MyColor[number); } public Palette(MyColor[] palette ,int number) { (2)= number; (3)= palette; } //其他方法略 public String toString( ) { String str = ; for (int i = 0; i number; i++) { str +=i+ : + palette[i] + \n; } return str; } //绘图类 class Drawing { public (4) int COLORNUMBER = 16; public static void main(String[] args) { Palette palette; int red ,green ,blue; MyColor[] color = new MyColor[COLORNUMBER]; for (int i = 0; i COLORNUMBER; i++) { red = (int) (Math.random( ) * 256); green = (int) (Math.random( ) * 256); blue = (int) (Math.random( ) * 256); color [i] = (5) (red ,green ,blue); } palette = new Palette(color ,COLORNUMBER); System.out.println(palette); } }
考题
A vessel trawling will display a ______.A.red light over a white lightB.green light over a white lightC.yellow light over a red lightD.white light over a green light
考题
要设定表格中某一单元格的边框颜色为红色,背景颜色为绿色,则下面的属性设置中正确的是()A、table bgcolor = "green" bordercolor="red" B、td bgcolor="red" bordercolor="green" C、tr bgcolor="green" bordercolor="red"D、td bgcolor="green" bordercolor="red"
考题
Please light the pilot lamp.()up and () down. ()A、White;redB、Red; whiteC、Red; greenD、Green ;red
考题
以下程序的输出结果是()。enumColor{Red,Green=2,Blue}staticvoidMain(string[]args){Colorc=0;Colorc1=(Color)2;Console.WriteLine("{0},{1}",c,c1);Console.Read();}A、Green,RedB、Red,GreenC、Red,BlueD、Green,Blue
考题
Which of the following is the correct wiring order for an RJ-11 two line jack?()A、Black,Green,Red,YellowB、Black,Red,Green,YellowC、Red,Black,Green,YellowD、Yellow,Red,Green,Black
考题
Given the following scripts, what output would be generated() usr/local/bin/scriptl #!/usr/bin/ksh VARl=red export VARl=green VARl=blue /usr/local/bin/script2 ARl=yellow /usr/local/bin/script2 #!/bin/ksh echo "The sky is ${VAR1}."A、The sky is red.B、The sky is blue.C、The sky is green.D、The sky is yellow.
考题
问答题If there are only red, blue, and green marbles in a jar, what is the ratio of red to blue marbles? (1) The ratio of red to green marbles is 2:3. (2) The ratio of green to blue marbles is 6:5.
考题
单选题A vessel engaged in trawling will show identification lights of().A
a red light over a white lightB
a white light over a red lightC
a green light over a white lightD
two red lights in a vertical line
考题
单选题public class Ball { public enum Color { RED, GREEN, BLUE }; public void foo() { // insert code here { System.out.println(c); } } } Which code inserted at line 14 causes the foo method to print RED, GREEN, and BLUE?()A
for( Color c : Color.values())B
for( Color c = RED; c = BLUE; c++)C
for( Color c; c.hasNext() ; c.next())D
for( Color c = Color[0]; c = Color[2]; c++)E
for( Color c = Color.RED; c = Color.BLUE; c++)
考题
单选题要设定表格中某一单元格的边框颜色为红色,背景颜色为绿色,则下面的属性设置中正确的是()A
table bgcolor = green bordercolor=red B
td bgcolor=red bordercolor=green C
tr bgcolor=green bordercolor=redD
td bgcolor=green bordercolor=red
考题
单选题要设定表格中某一单元格的边框颜色为红色,背景颜色为绿色,则下面的属性设置中正确的是()。A
table bgcolor=green bordercolor=redB
td bgcolor=red bordercolor=greenC
tr bgcolor=green bordercolor=redD
td bgcolor=green bordercolor=red
考题
单选题Restricted areas at locks and dams are indicated by().A
flashing red lights upstream and fixed red lights downstreamB
yellow unlighted buoysC
signs and/or flashing red lightsD
red daymarks upstream and green daymarks downstream
考题
单选题Which of the following is the correct wiring order for an RJ-11 two line jack?()A
Black,Green,Red,YellowB
Black,Red,Green,YellowC
Red,Black,Green,YellowD
Yellow,Red,Green,Black
热门标签
最新试卷