单选题A jar contains 10 blue, 8 green, and 6 red marbles. Every time a marble is removed from the jar, it is not replaced. What is the probability, to the nearest hundredth, that the second marble chosen is green if the first marble chosen is green?A0.28B0.29C0.30D0.31E0. 32

单选题
A jar contains 10 blue, 8 green, and 6 red marbles. Every time a marble is removed from the jar, it is not replaced. What is the probability, to the nearest hundredth, that the second marble chosen is green if the first marble chosen is green?
A

0.28

B

0.29

C

0.30

D

0.31

E

0. 32


参考解析

解析:
Because the first marble drawn is green that means there are a total of 23 marbles remaining. Seven of these are green. P (second green) = 7/23= 0.30

相关考题:

设有说明var color:(red,green,yellow,blue);a:boolean;下面语句正确的是( )。 Aolor:=‘green‘;Bwriteln(green);Cwriteln(color);Da:=color=red;

以下选项中不能正确把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++)

What a fabulous car — I’m very jealous.() A.red with envyB.white with envyC.blue with envyD.green with envy

以下选项中不能正确把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

Which of the following is the correct pin out for T568B?() A. Orange/white, orange, green/white, blue, blue/white, green, brown/white, brownB. Blue, blue/white, orange/white, orange, brown/white, brown, green/white, greenC. Green/white, green, orange/white, blue, blue/white, orange, brown/white, brownD. Orange/white, orange, brown/white, brown, green/white, green, blue, blue/white

下列选项中不能正确定义结构体的是_______。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); } }

共用题干第三篇Ways to Create Colors in a PhotographThere are two ways to create colors in a photograph.One method called additive,starts with three basic colors and adds them together to produce some other color. The second method,called subtractive,starts with white light(a mixture of all colors in the spectrum)and,by taking away some or all other colors,leaves the one desired.In the additive method,separate colored lights combine to produce various other colors.The three additive primary colors are green,red and blue(each providing about one-third of the wavelengths in the total spectrum).Mixed in varying proportions,they can produce all colors.Green and red light mix to produce yellow,red and blue light mix to produce magenta(a purplish pink);green and blue mix to produce cyan(a bluish green).When equal parts of all three of these primary-colored beams of light overlap(重叠),the mixture appears white to the eye.In the subtractive process colors are produced when dye(染料)absorbs some wavelengths and so passes on only part of the spectrum.The subtractive primaries are cyan,magenta and yellow; these primaries or dyes absorb red,green and blue wavelengths respectively,thus subtracting them from white light. These dye colors are the complementary colors to the three additive primaries of red,green and blue.Properly combined,the subtractive primaries can absorb all colors of light, producing black.But,mixed in varying proportions,they too can produce any color in the spectrum.Whether a particular color is obtained by adding colored lights together or by subtracting some light from the total spectrum,the result looks the same to the eye.The additive process was employed for early color photography. But the subtractive method,while requiring complex chemical techniques,has turned out to be more practical and is the basis of all modern color films.It can be inferred from the passage that white can be produced by______.A:mixing different proportions of magenta,green and redB:mixing equal proportions of green,red and blueC:mixing different proportions of cyan, yellow and blueD:mixing equal proportions of black,red and green

在RGB彩色模型中,如果要产生黄色(Yellow),应是()颜色的混合。A、Red+Green+BlueB、Red+GreenC、Red+BlueD、Green+Blue

以下程序的输出结果是()。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

Which of the following is the correct pin out for T568B?()A、Orange/white, orange, green/white, blue, blue/white, green, brown/white, brownB、Blue, blue/white, orange/white, orange, brown/white, brown, green/white, greenC、Green/white, green, orange/white, blue, blue/white, orange, brown/white, brownD、Orange/white, orange, brown/white, brown, green/white, green, blue, blue/white

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.

public class test(   public static void main(stringargs){   string foo = args [1];   string foo = args ;   string foo = args ;   }   )   And command line invocation:  Java Test red green blue  What is the result? () A、 Baz has the value of “”B、 Baz has the value of nullC、 Baz has the value of “red”D、 Baz has the value of “blue”E、 Bax has the value of “green”F、 The program throws an exception.

问答题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 jar contains 54 marbles each of which is blue, green, or white. The probability of selecting a blue marble at random from the jar is 1/3, and the probability of selecting a green marble at random is 4/9. How many white marbles does the jar contain?A6B8C9D12E18

单选题A jar contains 4 red, 1 green, and 3 yellow marbles. If 2 marbles are drawn from the jar without replacement, what is the probability that both will be yellow?A3/8B3/28C1/4D3/56E5/56

单选题A student is instructed to arrange four cards in a row on a table. She has six cards to choose from, each of which has a different color: black, red, blue, green, yellow, and brown. If the student follows these instructions but otherwise chooses her cards randomly, what is the probability that her arrangement will be blue, red, yellow, and green, in that order?A1/90B1/ 180C1/360D1/540E1/720

单选题Which of the following is the correct wiring order for an RJ-11 two line jack?()ABlack,Green,Red,YellowBBlack,Red,Green,YellowCRed,Black,Green,YellowDYellow,Red,Green,Black

单选题Which of the following is the correct pin out for T568B?()AOrange/white, orange, green/white, blue, blue/white, green, brown/white, brownBBlue, blue/white, orange/white, orange, brown/white, brown, green/white, greenCGreen/white, green, orange/white, blue, blue/white, orange, brown/white, brownDOrange/white, orange, brown/white, brown, green/white, green, blue, blue/white

单选题A bag contains three green marbles, four blue marbles, and two orange marbles. If a marble is picked at random, what is the probability that an orange marble will NOT be picked?A1/4B1/3C4/11D1/2E9/7

单选题public class test(   public static void main(stringargs){   string foo = args [1];   string foo = args ;   string foo = args ;   }   )   And command line invocation:  Java Test red green blue  What is the result? ()A Baz has the value of “”B Baz has the value of nullC Baz has the value of “red”D Baz has the value of “blue”E Bax has the value of “green”F The program throws an exception.