Math for Computer science
Questions 171 to 180
171.

What
is the correct sequence of logical operators?


Kangaroos
live in Australia and are marsupials. Therefore kangaroo is a marsupial.
Which
rule of inference is used in the above argument?


Identify
the missing values from the below truth table.


Let
P be the proposition "It is snowing",
Q be the proposition "I will go the
beach", and
R
be the proposition "I have time".
Which
of the following is the logical equivalent of the English sentence
"If it is not snowing and I have
time, then I will go to the beach".


A
coin is tossed and a single 6sided die is rolled. Find the probability of
landing the head side of the coin and rolling a 3 on the die.


A
composite integer n that satisfies the congruence for all positive integers b
with gcd(b,n) = 1 is called a Carmichael number.


In
a group of 20 people 18 like pink color and 7 like green color. How many
people like both the colors?


Suppose
a coin is flipped three times. Let X(t) be the random variable that equals the
number of tails that appears when t is the outcome. Then X (HTT) is


a=
(1011)_{2 }and b= (1010)_{2, }a + b = ?


In
a survey out of 50 people, 18 watch cricket, 28 watch Olympics and 7 people
watch none. Find how many people watch both the games.

Answers
171.

Answer
: (a)
Reason: by the order of precedence.

Answer
: (b)
Reason: p: Kangaroos
live in Australia
q: Kangaroos are marsupials
hypoyhesis : p∧q
by simplification conclusion is q.


Answer
: (d)
Reason: By the truth table of P ÅQ


Answer
: (c)
Reason: by the procedure of translation of English
into logical equivalent form


Answer
: (b)
Reason: Probability of getting head is ½
Probability
of getting 3 is 1/6
Probability
of occurring both is 1/12.


Answer
: (a)
Reason: by the definition of Carmichael number.


Answer
: (c)
Reason: by principle of inclusion exclusion
18+720=5


Answer
: (b)
Reason: by the random variable definition X(HTT) = __2___.


Answer
: (c)
Reason: by the binary sum 1011+1010 = 10101


Answer
: (c)
Reason: by the principle of inclusion
exclusion 18+2843=3

No comments :
Post a Comment