Question
In which programming language is dynamic memory
allocation commonly used?Solution
C++
A container holds 15 orange, 9 purple, and 6 gray balls. If 2 balls are picked at random without replacement, find the probability that the first ball i...
- In how many ways can the letters of the word "INNOVATE" be arranged, and what is the probability that all the consonants in these arrangements always appea...
A biased six-faced dice when thrown, is thrice as likely to show an odd number than an even number. If it is thrown twice, then the probability that the...
Out of 36 balls in a bag, some are black and the rest are white in the ratio 7:5. Two balls are drawn randomly without putting back the first one. What ...
A bag has x blue balls and 4 yellow balls. If the probability of picking a blue ball is 3/5, find the probability that two balls drawn at once are of di...
In a Polly bag, the distribution of red, white, and yellow rubber bands is in the ratio 7:3:8. Suppose the yellow rubber bands were reduced by 35 and th...
A bag contains 4 black balls, 6 white balls and 5 red balls. Two balls are drawn simultaneously. Find the probability that both the balls are of same c...
Out of three girls and five boys, five children are to be randomly selected for a dance programme. What is the probability that all the selected childre...
Two cards are drawn together from a pack of 52 cards. The probability that one is a club and one is a diamond?
The probability of selecting a rotten egg randomly from a basket of 350 eggs is 0.18. What is the number of rotten eggs in the basket?