Searching for "AP"

Q:

Two brother X and Y appeared for an exam. The probability of selection of X is 1/7 and that of B is 2/9. Find the probability that both of them are selected.

A) 1/63 B) 1/14
C) 2/63 D) 1/9
 
Answer & Explanation Answer: C) 2/63

Explanation:

Let A be the event that X is selected and B is the event that Y is selected.

P(A) = 1/7,  P(B) = 2/9.

Let C be the event that both are selected.

P(C) = P(A) × P(B) as A and B are independent events: 

       = (1/7) × (2/9)  = 2/63

Report Error

View Answer Report Error Discuss

Filed Under: Probability

Q:

Three houses are available in a locality. Three persons apply for the houses. Each applies for one house without consulting others. The probability that all the three apply for the same house is :

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

Explanation:

One person can select one house out of 3= 3C1 ways =3.

 

Hence, three persons can select one house out of 3 in 3 x 3 x 3 =9.

 

Therefore, probability that all thre apply for the same house is 1/9

Report Error

View Answer Report Error Discuss

Filed Under: Probability

Q:

What is a binary semaphore?

Answer

A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.


 

Report Error

View answer Workspace Report Error Discuss

Q:

What is the probability that a leap year selected at random, will contain 53 sundays?

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

Explanation:

In a leap year,there are 366 days=52 weeks and 2 days

Remaining favourable 2 days can be sunday and monday or saturday and sunday

Exhaustive number of cases =7

Favourable number of cases =2

So,required probability=2/7

Report Error

View Answer Report Error Discuss

Filed Under: Probability

Q:

loan of $15 000 is taken out. If the interest rate on the loan is 7%, how much interest is due and what is the amount repaid if the loan was taken out on April 7 and is due in seven months

A) 13615.52 B) 14615.52
C) 15615.52 D) 16615.52
 
Answer & Explanation Answer: C) 15615.52

Explanation:

I = prt = [15000 × 0.07 × (214/365) ]=615.52

Future value, S = P + I = $15 000 + $615.52 = $15 615.52

Report Error

View Answer Report Error Discuss

Filed Under: Simple Interest
Exam Prep: Bank Exams
Job Role: Bank PO

Q:

How are the wait/signal operations for monitor different from those for semaphores?

Answer

If a process in a monitor signal and no task is waiting on the condition variable, the signal is lost. So this allows easier program design. Whereas in semaphores, every operation affects the value of the semaphore, so the wait and signal operations should be perfectly balanced in the program.

Report Error

View answer Workspace Report Error Discuss

Q:

What is a binary semaphore? What is its use?

Answer

A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.

Report Error

View answer Workspace Report Error Discuss

Q:

What is the probability of getting 53 Mondays in a leap year?

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

Explanation:

1 year = 365 days . A leap year has 366 days

A year has 52 weeks. Hence there will be 52 Sundays for sure.

52 weeks = 52 x 7 = 364days

366 – 364 = 2 days

In a leap year there will be 52 Sundays and 2 days will be left.

These 2 days can be:

1. Sunday, Monday

2. Monday, Tuesday

3. Tuesday, Wednesday

4. Wednesday, Thursday

5. Thursday, Friday

6. Friday, Saturday

7. Saturday, Sunday

Of these total 7 outcomes, the favourable outcomes are 2.

Hence the probability of getting 53 days = 2/7

Report Error

View Answer Report Error Discuss

Filed Under: Probability