Question
There are 80 balls of three different colours in a bag
out of them 18 are red and 30 are blue. Find the probability of drawing a black ball (third colour) randomly from the bag.Solution
Number of black ball = 80 β 30 β 18 = 32 Probability of drawing a black ball = 32/80 = 2/5
At which layer of the OSI model do hardware devices like switches primarily operate?
What is the purpose of the try-catch-finally construct?
What is the scope of a variable declared as "static" inside a function?
- Which stations can detect whether the channel is in use prior to transmitting?
An XML document is a string of ____.
What is the purpose of analyzing the complexity of an algorithm?
What does the "Projection" operation in relational algebra do?
Which type of lock allows a transaction to read a resource and, at the same time, prevent other transactions from writing to that resource?
Generation of noise when one signal has higher strength than other while signal propagates in a medium
Comparing two strings by using which function?