单选题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 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?
A

6

B

8

C

9

D

12

E

18


参考解析

解析:
Since 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 from the jar is 4, the probability of selecting a white marble is 1-(1/3 + 4/9) = 1- (7/9) = 2/9. If x marbles of the 54 marbles in the jar are white, then x/54 = 2/9, 9x = 108, x = 108/9 = 12.

相关考题:

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

Which of the followings presents the forecasts of the U.S. economy?A.Blue BookB.Green BookC.Beige BookD.White Book

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

publicclassTest{publicstaticvoidmain(String[]args){stringfoo=blue”;stringbar=foo;foo=green”;System.out.printIn(bar);}}Whatistheresult?() A.Anexceptionisthrown.B.Thecodewillnotcompile.C.Theprogramprints“null”D.Theprogramprints“blue”E.Theprogramprints“green”

Stringfoo=blue”;Boolean[]bar=newBoolean[1];if(bar[0]){foo=green”;}Whatistheresult?() A.Foohasthevalueof“”B.Foohasthevalueofnull.C.Foohasthevalueof“blue”D.Foohasthevalueof“green”E.Anexceptionisthrown.F.Thecodewillnotcompile.

publicclassTest{publicstaticvoidmain(Stringargs){stringfoo=blue”;stringbar=foo;foo=green”;System.out.printIn(bar);}}Whatistheresult?() A.Anexceptionisthrown.B.Thecodewillnotcompile.C.Theprogramprints“null”D.Theprogramprints“blue”E.Theprogramprints“green”

Stringfoo=blue”;Booleanbar=newBoolean[1];if(bar[0]){foo=green”;}Whatistheresult?() A.Foohasthevalueof“”B.Foohasthevalueofnull.C.Foohasthevalueof“blue”D.Foohasthevalueof“green”E.Anexceptionisthrown.F.Thecodewillnotcompile.

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

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;

阅读以下说明和 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.Which of the following is NOT a pair of additive and subtractive primary colors?A:Yellow and blue. B: Magenta and green.C:Black and white. D:Cyan and red.

Which statement is true about a routing table?()A、It contains routers learned dynamically onlyB、It finds the best path to each destination by using a modified shortest-path-first calculationC、It contains only active BGP routesD、It contains all accepted routes to all destinations

以下程序的输出结果是()。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 arrangement of the data pairs in a T568B wire pattern?()A、Orange orange/white on pins 1 2B、Blue blue/white on pins 4 5C、Orange orange/white on pins 4 5D、Brown brown/white on pins 1 2E、Green green/white on pins 3 6

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 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

问答题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 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 30 coins, of which 20 are nickels and 10 are dimes. If 7 coins are removed, how many nickels are left?  (1) More nickels are removed than dimes.  (2) The remaining coins in the jar are worth $1.55.

单选题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 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

单选题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

判断题Blue-green algae与green algae是同义词,均指绿藻。A对B错

单选题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++)