Searching for "Contain"

Q:

Which among the following validators validates controls if controls contain data?

A) CompareValidator B) RangeValidator
C) RequiredFieldValidator D) None
 
Answer & Explanation Answer: C) RequiredFieldValidator

Explanation:

RequiredFieldValidator is used to validate the controls if they contain data

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Job Role: Software Architect

Q:

Server controls contain attributes whereas HTML controls have properties only.

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

Server controls contain properties whereas HTML controls have attributes.

Report Error

View Answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

Q:

A cube of edge 15 cm is immersed completely in a rectangular vessel containing water . If the dimensions of the base of vessel are 20 cm x 15 cm, find the rise in water level

 

A) 11.25cm B) 11.56cm
C) 11.66cm D) 10.86cm
 
Answer & Explanation Answer: A) 11.25cm

Explanation:

Increase in volume = Volume of the cube = (15 x 15 x 15) cm3.

 

\Rise in water level = volume/area = (15 x 15 x 15)/(20 x 15) cm = 11.25 cm.

Report Error

View Answer Report Error Discuss

Q:

A bag contains 7 green and 5 black balls. Three balls are drawn one after the other. The probability of all three balls being green, if the balls drawn are not replaced will be:

A) 123/897 B) 23/67
C) 7/44 D) 12/45
 
Answer & Explanation Answer: C) 7/44

Explanation:

Here, n(E) = 7C1×5C1×5C1

 

And,  n(S) = 12C1*11C1*10C1

P(S) = 7*6*512*11*10 = 7/44

Report Error

View Answer Report Error Discuss

Filed Under: Probability

Q:

A box contains 100 balls, numbered from 1 to 100. If three balls are selected at random and with replacement from the box, what is the probability that the sum of the three numbers on the balls selected from the box will be odd?

A) 1/6 B) 1/3
C) 1/2 D) 1/4
 
Answer & Explanation Answer: C) 1/2

Explanation:

P(odd) = P (even) =12 1(because there are 50 odd and 50 even numbers)

 

Sum or the three numbers can be odd only under the following 4 scenarios:

 

Odd + Odd + Odd = 12*12*1218

 

Odd + Even + Even = 12*12*12=18

 

Even + Odd + Even = 12*12*12=18

 

Even + Even + Odd = 12*12*12 = 18

 

Other combinations of odd and even will give even numbers. 

 

Adding up the 4 scenarios above:

 

1818+1818 = 48 = 12

Report Error

View Answer Report Error Discuss

Filed Under: Probability

Q:

A bag contains 12 white and 18 black balls. Two balls are drawn in succession without replacement. What is the probability that first is white and second is black?

A) 6/145 B) 36/145
C) 18/95 D) 12/145
 
Answer & Explanation Answer: B) 36/145

Explanation:
 

The probability that first ball is white:
=C112C130=1230=25


Since, the ball is not replaced; hence the number of balls left in bag is 29.
Hence the probability the second ball is black:
=C118C129=1829


Required probability =(25)×(1829)


=36/145

Report Error

View Answer Report Error Discuss

Q:

A bag contains 6 white and 4 black balls .2 balls are drawn at random. Find the probability that they are of same colour.

A) 1/2 B) 7/15
C) 8/15 D) 1/9
 
Answer & Explanation Answer: B) 7/15

Explanation:

Let S be the sample space

 

Then n(S) = no of ways of drawing 2 balls out of (6+4) =10C2 10 =10*92*1 =45

 

Let E = event of getting both balls of same colour

 

Then,n(E) = no of ways (2 balls out of six) or (2 balls out of 4)

 

                =6C2+4C2 = 6*52*1+4*32*1= 15+6 = 21

 

Therefore, P(E) = n(E)/n(S) = 21/45 = 7/15

Report Error

View Answer Report Error Discuss

Filed Under: Probability

Q:

Find the probability that one ball is white when two balls are drawn at random from a basket that contains 9 red, 7 white and 4 black balls.

A) 18/95 B) 18/190
C) 1/2 D) 91/190
 
Answer & Explanation Answer: D) 91/190

Explanation:

Total number of elementary events = 20C2 ways =190

 

There are 7 white balls out of which one white can be drawn in 7C1 ways and one ball from remaining 13 balls can be drawn in 13C1 ways.

 

So,favourable events = 7C1*13C1

 

Therfore,required probability = (7C1*13C1)/20C2=91/90

Report Error

View Answer Report Error Discuss

Filed Under: Probability