Math for Computer science
Questions 181 to 190
181.
|
If
a procedure is broken into a sequence of two tasks. If there are n1 ways to
do the first task
and n2 ways to do the second task, then there are _____
ways to do the procedure.
|
||||||||||
If
first task can be done in n1 ways, second task can be done in n2 ways, and if
both cannot be done at the same time, then, the total number of ways to do
the task is
|
|||||||||||
The
Cryptosystem based on Modular Exponentiation Modulo and the product of two
large prime numbers is
called as
|
|||||||||||
The
total number of r-combinations from a set with n-elements when repetition of
elements is allowed is
|
|||||||||||
In
Hashing, when more than one file is assigned to single memory location, then
it is called as
|
|||||||||||
The
product of two numbers is
27.3852.7.11
and their gcd is 23.34.5. What is their LCM?
|
|||||||||||
What
is the probability that a randomly selected day of a leap year is in
February?
|
|||||||||||
What
is the probability that a card chosen randomly from a deck is an ace or a
heart?
|
|||||||||||
Which
of the following condition is true
with respect to the probability of a sample
space p(S) Where S is the sample
space?
|
|||||||||||
What
is the probability that a number selected within the range of 1…100, is
divisible by 5?
|
Answers
181.
|
Answer
: (c)
Reason: by product rule
|
Answer
: (b)
Reason: by the sum rule
|
|
Answer
: (a)
Reason: by the method of RSA Encryption
|
|
Answer
: (a)
Reason: by the definition of combinations with repetitions are allowed.
|
|
Answer
: (d)
Reason: by the definition of collision
|
|
Answer
: (c)
Reason: by the definition of LCM
|
|
Answer
: (d)
Reason: in a leap year there are 366 days and February will have 29 days so the probability is 29/366
|
|
Answer
: (c)
Reason: in the pack of cards there are 4 aces , 13
hearts and one card heart ace in common so by addition theorem of probability
4/52+13/52-1/52=16/52
|
|
Answer
: (e)
Reason: by the axiomatic definition of probability
|
|
Answer
: (b)
Reason: there are 20
numbers which are divisible by 5 so the probability is 20/100 = 1/5
|
No comments :
Post a Comment