Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

An example of Maclaurin series is _______(a) ∞∑n=0 (x^n/n!)(b) ∞∑n=0 (x/5+n!)(c) ∞∑n=0 (x^n+1/(n-1)!)(d) (x^n/n)This question was addressed to me in semester exam.My question is from Discrete Probability topic in division Discrete Probability of Discrete Mathematics

Answer»

Correct answer is (a) ∞∑n=0 (X^n/n!)

To EXPLAIN I would say: The exponential function e^x can DESCRIBED as ∞∑n=0 (x^n/n!) which is an example of a Maclaurin series. This series converges for all x.

2.

Determine a power series representation for the function g(x)=ln(7−x).(a) ∞∑n=0 x^n+1/7^n+1(b) ln(14)∞∑n=0 x^n+1/7n(c) ln(7)∞∑n=0 x^n+1/7^n+1(d) ln∞∑n=0 x/7^n+1I have been asked this question in an interview.I'm obligated to ask this question of Discrete Probability topic in section Discrete Probability of Discrete Mathematics

Answer»

The CORRECT CHOICE is (c) ln(7)∞∑n=0 x^n+1/7^n+1

The best EXPLANATION: We KNOW that ∫1/7−x dx=−ln(7−x) and there is a power series representation for 1/7−x. So, ln(7−x)=−∫1/7−xdx

=−∫ ∞∑n=0 x^n/7^n+1dx=C

⇒ ∞∑n=0 x^n+1/7^n+1

So, the answer is, ln(7−x)=ln(7)∞∑n=0 x^n+1/7^n+1.

3.

Mangoes numbered 1 through 18 are placed in a bag for delivery. Two mangoes are drawn out of the bag without replacement. Find the probability such that all the mangoes have even numbers on them?(a) 43.7%(b) 34%(c) 6.8%(d) 9.3%This question was addressed to me by my school teacher while I was bunking the class.The doubt is from Discrete Probability topic in portion Discrete Probability of Discrete Mathematics

Answer»

Correct choice is (c) 6.8%

BEST explanation: The events are not independent. There will be a \(\FRAC{10}{18} = \frac{5}{9}\) CHANCE that any of the mangoes in the bag is even. The probability that the first one is even is \(\frac{1}{2}\), for the second mango, given that the first one was even, there are only 9 even numbered balls that could be drawn from a total of 17 balls, so the probability is \(\frac{9}{17}\). For the third mango, since the first two are both ODD, there are 8 even numbered mangoes that could be drawn from a total of 16 remaining balls and so the probability is \(\frac{8}{16}\) and for fourth mango, the probability is = \(\frac{7}{15}\). So the probability that all 4 mangoes are even numbered is \(\frac{10}{18}*\frac{9}{17}*\frac{8}{16}*\frac{7}{16}\) = 0.068 or 6.8%.

4.

A cupboard A has 4 red carpets and 4 blue carpets and a cupboard B has 3 red carpets and 5 blue carpets. A carpet is selected from a cupboard and the carpet is chosen from the selected cupboard such that each carpet in the cupboard is equally likely to be chosen. Cupboards A and B can be selected in \(\frac{1}{5}\) and \(\frac{3}{5}\) ways respectively. Given that a carpet selected in the above process is a blue carpet, find the probability that it came from the cupboard B.(a) \(\frac{2}{5}\)(b) \(\frac{15}{19}\)(c) \(\frac{31}{73}\)(d) \(\frac{4}{9}\)I have been asked this question in an interview for internship.This key question is from Discrete Probability in chapter Discrete Probability of Discrete Mathematics

Answer»
5.

Determine the radius of convergence and interval of convergence for the power series: ∞∑n=0 (x−7)^n+1/n^n.(a) 0, −1

Answer»

The CORRECT choice is (b) ∞, −∞<X<∞

Explanation: So, L=limn→∞∣(x−7)^n+1/n^n∣

L=limn→∞∣x−7/n∣

L=|x−7|limn→∞1/n=0

So, since L=0<1 any of the value of x, this power SERIES will CONVERGE for every x. In these cases, the radius of CONVERGENCE is R=∞ and interval of convergence is −∞

6.

What is the radius of convergence and interval of convergence for the power series ∞∑n=0m!(2x-1)^m?(a) 3, 12(b) 1, 0.87(c) 2, 5.4(d) 0, 1/2I got this question during an interview.This question is from Discrete Probability in section Discrete Probability of Discrete Mathematics

Answer»

Right CHOICE is (d) 0, 1/2

Explanation: SUPPOSE, L=limn→∞ |(m+1)!(2x+1)^m+1/m!(2x+1)^m|

= limm→∞∣(m+1)m!(2x-1)/m!|

= |2x-1|limm→∞(m+1)

So, this power series will only CONVERGE if x=1/2. We know that every power series will converge for x=a and in this case a=1/2. Remember that we GET a from (x−a)^n. In this case, the radius of convergence is R=0 and the INTERVAL of convergence is x=1/2.

7.

Find the power series representation for the function f(x)=x/4−x.(a) ∞∑n=0x^n+1/4^n+1(b) ∞∑n=0x^n+14^n(c) ∞∑n=0x^n4^n(d) ∞∑n=0x^n+1I had been asked this question by my school principal while I was bunking the class.The question is from Discrete Probability in chapter Discrete Probability of Discrete Mathematics

Answer» RIGHT option is (a) ∞∑n=0x^n+1/4^n+1

For explanation: So, again, we’ve got an x in the numerator.F(x)=x*1/4−x. If there is a power series representation for g(x)=1/4−x, there will be a power series representation for f(x). SUPPOSE, g(x)=1/4*1/1−x^4. To GET a power series representation is to replace the x with x^4. Doing this gives, g(x)=1/4 ∞∑n=0 x^n/4^n (x^n/4 nprovided ∣x/4∣<1) ⇒ g(x) = 1/4 ∞∑n=0 x^n/4^n = ∞∑n=0 x^n/4^n+1. The INTERVAL of convergence for this series is, ∣x/4∣<1⇒1/4|x|<1⇒|x|<4. Now, multiply g(x) by x and we have f(x)=x*1/4−x=x ⇒ ∞∑n=0 x^n/4^n+1 = ∞∑n=0x^n+1/4^n+1 and the interval of convergence will be |x|<4.
8.

Determine the interval and radius of convergence for the power series: ∞∑n=17^n/n(3x−1)^n-1.(a) (2x+1)/6(b) 7|3x−1|(c) 5|x+1|(d) 3!*|4x−9|This question was posed to me in quiz.Enquiry is from Discrete Probability in portion Discrete Probability of Discrete Mathematics

Answer»

Correct option is (b) 7|3x−1|

Easiest EXPLANATION: Okay, LET’s start off with the Ratio TEST to get our HANDS on L = limn→ ∞∣7^N+1(3x−1)^n/(n+1)^n7^n(3x−1)^n-1∣=limn→∞∣7^n(3x−1)^n+1∣=|3x−1|limn→∞7^n/(3n-1)=7|3x−1|.

9.

sec(x) has a trigonometric series that is given by _______(a) ∞∑n=0 ((-1)^nE2n / (2n)!)*x^2n(b) ∞∑n=0 ((-1)^nE2n)(c) ((-1)^nB2n / (2n)!)*x^2n(d) ∞∑n=0 ((2n)!)*x^2n+1I have been asked this question in a national level competition.Query is from Discrete Probability topic in chapter Discrete Probability of Discrete Mathematics

Answer»

The CORRECT choice is (a) ∞∑n=0 ((-1)^nE2n / (2n)!)*x^2n

Easy EXPLANATION: A trigonometric SERIES is an example of a Maclaurin series. Here, sec(x) can be REPRESENTED as ∞∑n=0 ((-1)^nE2n / (2n)!)*x^2n.

10.

Which of the following series is called the “formal power series”?(a) b0+b1x+b2x^2+…+bnx^n(b) b1x+b2x^2+…+bnx^n(c) 1/2b0+1/3b1x+1/4b2x^2+…+1/nbnx^n(d) n^2(b0+b1x+b2x^2+…+bnx^n)I had been asked this question during an interview for a job.My enquiry is from Discrete Probability topic in chapter Discrete Probability of Discrete Mathematics

Answer»

Correct option is (a) b0+b1x+b2x^2+…+bnx^n

Easiest explanation: A formal power series is also CALLED a “formal series”, of a field F is an infinite SEQUENCE b0, b1, B2, … over F. It is a function from the set of nonnegative integers to F i.e., 0, 1, 2, 3, … → F. A formal power series can also be WRITTEN as b0+b1x+b2x^2+…+bnx^n.

11.

The third term of a geometric progression with common ratio equal to half the initial term is 81. Determine the 12^th term.(a) 3^12(b) 4^15(c) 6^8(d) 5^9I got this question in an internship interview.Query is from Discrete Probability in portion Discrete Probability of Discrete Mathematics

Answer» RIGHT choice is (a) 3^12

The best EXPLANATION: Let the initial term be a and the COMMON RATIO r. The 3^rd term is ar^2 = 27 and the initial term is a=3r so 3r^3 = 81⇒ r=3 ⇒ a=3. The a12 = a * r^11 = 3 * 3^11 = 3^12.
12.

If loga\((\frac{1}{8}) = -\frac{3}{4}\), than what is x?(a) 287(b) 469(c) 512(d) 623The question was asked in an interview for internship.This intriguing question comes from Discrete Probability in chapter Discrete Probability of Discrete Mathematics

Answer»

Right option is (c) 512

Explanation: By using exponential FORM: a^-5/9 = 2/8. Now, raise both SIDES of the above equation to the POWER -9/5: (x^-5/9)^-9/5 = (1/32)^-9/5. By SIMPLIFYING we get, a = 32^9/5 = 2^9 = 512.

13.

The explicit formula for the geometric sequence 3, 15, 75, 375,… is _______(a) 2*6! * 3^n-1(b) 3 * 5^n-1(c) 3! * 8^n-1(d) 7 * 4^n-1This question was addressed to me in an interview.Asked question is from Discrete Probability in section Discrete Probability of Discrete Mathematics

Answer»
14.

Transform 54^y = n+1 into equivalent a logarithmic expression.(a) log12 (n+1)(b) log41 (n^2)(c) log63 (n)(d) log54 (n+1)I had been asked this question in an online interview.My query is from Discrete Probability in section Discrete Probability of Discrete Mathematics

Answer»

The correct answer is (d) log54 (n+1)

To explain I WOULD say: By USING the EQUIVALENT expression: a^y = X ⇔ y = loga (x) to write 3^x = m as a LOGARITHM: y = log54 (n+1).

15.

Evaluate: 16^x – 4^x – 9 = 0.(a) ln [( 5 + \(\sqrt{21}\)) / 2] / ln 8(b) ln [( 2 + \(\sqrt{33}\)) / 2] / ln 5(c) ln [( 1 + \(\sqrt{37}\)) / 2] / ln 4(d) ln [( 1 – \(\sqrt{37}\)) / 2] / ln 3This question was posed to me by my college professor while I was bunking the class.My question comes from Discrete Probability topic in chapter Discrete Probability of Discrete Mathematics

Answer»

Correct OPTION is (c) ln [( 1 + \(\SQRT{37}\)) / 2] / ln 4

To elaborate: GIVEN: 16^x – 4^x – 9 = 0. Since 16^x = (4^x)^2, the equation may be written as: (4^x)^2 – 4^x – 9 = 0. Let t = 3^x and so t: t^2 – t – 9 = 0 which gives t: t = (1 + \(\sqrt{37}\)) / 2 and (1 – \(\sqrt{37}\)) / 2

Since t = 4x, the ACCEPTABLE solution is y = (1 + \(\sqrt{37}\)) / 2 ⇒ 4x = (1 + \(\sqrt{37}\))/2. By using ln on both sides: ln 4^x = ln [ (1 + \(\sqrt{37}\)) / 2]⇒ x = ln [ ( 1 + \(\sqrt{37}\))/2] / ln 3.

16.

Given: log4 z = B log2/3z, for all z > 0. Find the value of constant B.(a) 2/(3!*ln(2))(b) 1/ln(7)(c) (4*ln(9))(d) 1/(2*ln(3))I got this question during a job interview.My question is from Discrete Probability in portion Discrete Probability of Discrete Mathematics

Answer»

Right option is (d) 1/(2*LN(3))

To explain: By using change of BASE formula we can have ln (X) / ln(4) = B ln(x) / ln(2/3) ⇒

B = 1/(2*ln(3)).

17.

Solve for x the equation 2^x + 3 = 5^x + 2.(a) ln (24/8)(b) ln (25/8) / ln (2/5)(c) ln (32/5) / ln (2/3)(d) ln (3/25)I had been asked this question in my homework.The doubt is from Discrete Probability in division Discrete Probability of Discrete Mathematics

Answer» RIGHT choice is (B) ln (25/8) / ln (2/5)

Easiest EXPLANATION: Given that 2^x + 3 = 5^x + 2. By taking ln of both SIDES: ln (2^x + 3) = ln (5^x + 2)

⇒(x + 3) ln 2 = (x + 2) ln 5

⇒x ln 2 + 3 ln 2 = x ln 5 + 2 ln 5

⇒x ln 2 – x ln 5 = 2 ln 5 – 3 ln 2

⇒ x = ( 2 ln 5 + 3 ln 2 ) / (ln 2 – ln 5) = ln (5^2 / 2^3) / ln (2/5) = ln (25/8) / ln (2/5).
18.

Solve for x:log2(x^2-3x)=log2(5x-15).(a) 2, 5(b) 7(c) 23(d) 3, 5I had been asked this question in an interview.I'm obligated to ask this question of Discrete Probability topic in chapter Discrete Probability of Discrete Mathematics

Answer»

The CORRECT answer is (d) 3, 5

To ELABORATE: By using the property if logax = logay then x=y, GIVES 2x^2-3x=10-6x. Now, to solve the equation x^2-3x-5x+15=0 ⇒ x^2-8x+15 ⇒ x=3, x=5

For x=3:log2(3^2-3*3) = log2(5*3-15) ⇒ true

For x=5:log2(5^2-3*5) = log2(5*5-15) ⇒ true

The solutions to the equation are : x=3 and x=5.

19.

Find the value of x: 3 x^2 a^logax = 348?(a) 7.1(b) 4.5(c) 6.2(d) 4.8I have been asked this question in an internship interview.My question comes from Discrete Probability in division Discrete Probability of Discrete Mathematics

Answer»

Correct OPTION is (d) 4.8

The EXPLANATION is: Since, a^logax = x. The given EQUATION MAY be WRITTEN as: 3x^2 x = 348 ⇒ x = (116)^1/3 = 4.8.

20.

Solve the logarithmic function of ln(\(\frac{1+5x}{1+3x}\)).(a) 2x – 8x^2 + \(\frac{152x^3}{3}\) – …(b) x^2 + \(\frac{7x^2}{2} – \frac{12x^3}{5}\) + …(c) x – \(\frac{15x^2}{2} + \frac{163x^3}{4}\) – …(d) 1 – \(\frac{x^2}{2} + \frac{x^4}{4}\) – …The question was asked in my homework.I'd like to ask this question from Discrete Probability topic in chapter Discrete Probability of Discrete Mathematics

Answer»

The correct OPTION is (a) 2x – 8x^2 + \(\frac{152x^3}{3}\) – …

To explain: To SOLVE the logarithmic function LN(\(\frac{1+5x}{1+3X}\)) = ln(1+5x) – ln(1+3x) = (5x – \(\frac{(5x)^2}{2} + \frac{(5x)^3}{3}\) – …) – (3x – \(\frac{(3x)^2}{2} + \frac{(3x)^3}{3}\) – …) = 2x – 8x^2 + \(\frac{152x^3}{3}\) – …

21.

Computation of the discrete logarithm is the basis of the cryptographic system _______(a) Symmetric cryptography(b) Asymmetric cryptography(c) Diffie-Hellman key exchange(d) Secret key cryptographyI had been asked this question by my college director while I was bunking the class.The query is from Discrete Probability in division Discrete Probability of Discrete Mathematics

Answer»

The correct OPTION is (c) Diffie-Hellman key exchange

Explanation: A discrete logarithm modulo of an integer to the base is an integer such that a^x ≡ b (mod g). The PROBLEM of computing the discrete logarithm is a well-known challenge in the FIELD of cryptography and is the basis of the cryptographic SYSTEM i.e., the Diffie-Hellman key exchange.

22.

Determine the logarithmic function of ln(1+5x)^-5.(a) 5x + \(\frac{25x^2}{2} + \frac{125x^3}{3} + \frac{625x^4}{4}\) …(b) x – \(\frac{25x^2}{2} + \frac{625x^3}{3} – \frac{3125x^4}{4}\) …(c) \(\frac{125x^2}{3} – 625x^3 + \frac{3125x^4}{5}\) …(d) -25x + \(\frac{125x^2}{2} – \frac{625x^3}{3} + \frac{3125x^4}{4}\) …This question was addressed to me in quiz.Query is from Discrete Probability in section Discrete Probability of Discrete Mathematics

Answer»

Right option is (d) -25X + \(\frac{125x^2}{2} – \frac{625x^3}{3} + \frac{3125x^4}{4}\) …

To explain: APPLY the logarithmic law, that is logax = xlog(a). Now the function is ln(1+5x)^-5 = -5log(1+5x). By taking the series = -5(5x – \(\frac{(5x)^2}{2} + \frac{(5x)^3}{3} – \frac{(5x)^4}{4}\) + …) = -25x + \(\frac{125x^2}{2} – \frac{625x^3}{3} + \frac{3125x^4}{4}\) …

23.

From 1, 2, 3, …, 320 one number is selected at random. Find the probability that it is either a multiple of 7 or a multiple of 3.(a) 72%(b) 42.5%(c) 12.8%(d) 63.8%This question was addressed to me by my school principal while I was bunking the class.The origin of the question is Discrete Probability topic in portion Discrete Probability of Discrete Mathematics

Answer»

The correct choice is (B) 42.5%

To elaborate: Number of MULTIPLES of 7=45 and number of multiples of 3=10^6 and number of numbers which are multiples of both 7 and 3 = 15 Thus, P (selecting either a multiple of 7 or a multiple of 3) = \(\FRAC{45}{320} + \frac{106}{320} – \frac{15}{320} = \frac{136}{320} = \frac{2}{5}\) = 0.425 or 42.5%.

24.

There are 9 letters having different colors (red, orange, yellow, green, blue, indigo, violet) and 4 boxes each of different shapes (tetrahedron, cube, polyhedron, dodecahedron). How many ways are there to place these 9 letters into the 4 boxes such that each box contains at least 1 letter?(a) 260100(b) 878760(c) 437102(d) 256850The question was posed to me in examination.My enquiry is from Discrete Probability topic in division Discrete Probability of Discrete Mathematics

Answer»

The correct answer is (a) 260100

To elaborate: Let N be the total number of ways we can distribute the letters. Each letter can be placed into any one of the 4 BOXES, so |N| = 4^9. Let T be the SET of ways such that the tetrahedron box has no letters, C be the set of ways such that the cube box has no letters, P be the set of ways such that the cube box has no letters, and D be the set of ways such that the dodecahedron box has no letters. Now, to find |N| – |T U C U P U D|. We have |T|=|C|=|P|=|D|=2^7 and SINCE the letters can be placed into one of the two other boxes, and |TUC| = |C U P| = |P U D| = |D U T| = 1^7, since all the letters must be placed in the remaining box, andT ⋂ C ⋂ P ⋂ D| = 0. Hence, PIE implies |N| – |T U C U P U D| = 4^9 – 4 x 2^9 + 4 x 1^9 – 0 = 260100.

25.

An integer from 300 through 780, inclusive is to be chosen at random. Find the probability that the number is chosen will have 1 as at least one digit.(a) \(\frac{171}{900}\)(b) \(\frac{43}{860}\)(c) \(\frac{231}{546}\)(d) \(\frac{31}{701}\)I got this question at a job interview.I'm obligated to ask this question of Discrete Probability topic in chapter Discrete Probability of Discrete Mathematics

Answer»

The correct answer is (a) \(\frac{171}{900}\)

The best explanation: The number of numbers that don’t have one ANYWHERE 9^3 = 729 is (9 possibilities for each individual digit), and there are 9*10^2 = 900 numbers overall (9 possibilities for hundreds, 10 for the tens and units), so there are 900 – 729 = 171 numbers with at LEAST a one and thus \(\frac{171}{900}\) PROBABILITY.

26.

A card is drawn randomly from a standard deck of cards. Determine the probability that the card drawn is a queen or a heart.(a) \(\frac{1}{4}\)(b) \(\frac{13}{56}\)(c) \(\frac{4}{13}\)(d) \(\frac{5}{52}\)I had been asked this question during an interview for a job.Query is from Discrete Probability topic in division Discrete Probability of Discrete Mathematics

Answer» CORRECT answer is (C) \(\frac{4}{13}\)

Easy explanation: LET M be the event that the card is a queen, and let N be the event that the card is a heart. Then SINCE there are 13 different ranks of cards in the deck, P(M) = \(\frac{1}{13}\) and since there are 4 suits in the deck, P(N) = \(\frac{1}{4}\). There is only one card that is both a queen and a heart, so P(M ⋂ N) = \(\frac{1}{52}\). Therefore, P(M U N) = \(\frac{1}{4} + \frac{1}{13} – \frac{1}{52} = \frac{16}{52} = \frac{4}{13}\).
27.

The sum of all integers from 1 to 520 that are multiples of 4 or 5?(a) 187(b) 208(c) 421(d) 52The question was posed to me in a job interview.My query is from Discrete Probability topic in portion Discrete Probability of Discrete Mathematics

Answer»

Right option is (B) 208

Best explanation: PIE is USED to count the elements of a set and stated as the sum of elements in A or B is equal to the sum of elements in A PLUS the sum of elements in B minus the sum of elements in A and B. Let A be the set of multiples of 4 and B be the set of multiples of 5, then A ⋂ B is the set of multiples of 20, and hence

\(\frac{520}{4} + \frac{520}{5} – \frac{520}{20}\) = 208.

28.

In class, students want to join sports. 15 people will join football, 24 people will join basketball, and 7 people will join both. How many people are there in the class?(a) 19(b) 82(c) 64(d) 30This question was posed to me by my college director while I was bunking the class.This key question is from Discrete Probability topic in chapter Discrete Probability of Discrete Mathematics

Answer»

The correct CHOICE is (d) 30

The EXPLANATION: There are 15 PEOPLE who wish to join football, but 9 of those people also join BASKETBALL. By using the principle of inclusion and exclusion, we have: 15 people joining football + 24 people joining basketball – 9 people who will join both = 30 people TOTAL.

29.

In a renowned software development company of 240 computer programmers 102 employees are proficient in Java, 86 in C#, 126 in Python, 41 in C# and Java, 37 in Java and Python, 23 in C# and Python, and just 10 programmers are proficient in all three languages. How many computer programmers are there those are not proficient in any of these three languages?(a) 138(b) 17(c) 65(d) 49I had been asked this question in an internship interview.This interesting question is from Discrete Probability in chapter Discrete Probability of Discrete Mathematics

Answer» RIGHT answer is (b) 17

For explanation: Let U denote the set of all employed computer PROGRAMMERS and let J, C and P denote the set of programmers proficient in JAVA, C# and Python, respectively. So,|U| = 240, |J| = 102, |C| = 86, |P| = 126, |J ∩ C| = 41, |J ∩ P| = 37, |C ∩ P| = 23 and |J ∩ C ∩ P| = 10. The NUMBER of computer programmers that are not proficient in any of these three languages is said to be same as the cardinality of the complement of the set J ∪ C ∪ P. First, we have to calculate |J ∪ C ∪ P| = 102 + 86 + 126 – 41 – 37 – 23 + 10 = 223. Now calculate |(J ∪ C ∪ P)’ | = |U| – |J ∪ C ∪ P| = 240 – 223 = 17. 17 programmers are not proficient in any of the three languages.
30.

The numbers between 1 and 520, including both, are divisible by 2 or 6 is _______(a) 349(b) 54(c) 213(d) 303I had been asked this question in exam.This key question is from Discrete Probability topic in chapter Discrete Probability of Discrete Mathematics

Answer»

Right option is (d) 303

The BEST I can explain: We ADD the number of numbers that are DIVISIBLE by 2 and 6 and subtract the numbers which are divisible by 12. Hence, the required probability is

\(\frac{520}{2} + \frac{520}{6} – \frac{520}{12}\) = 303.3 = 303(APPROXIMATELY).

31.

At a software company, skilled workers have been hired for a project. Out of 75 candidates, 48 of them were software engineer; 35 of them were hardware engineer; 42 of them were network engineer; 18 of them had skills in all three jobs and all of them had skills in at least one of these jobs. How many candidates were hired who were skilled in exactly 2 jobs?(a) 69(b) 14(c) 32(d) 8This question was addressed to me during an online interview.This is a very interesting question from Discrete Probability in chapter Discrete Probability of Discrete Mathematics

Answer»

Right option is (b) 14

The best explanation: SINCE 18 are skilled in all 3. Subtract 18 from all three to get a total with single skilled and double skilled workers including the duplicates. SOFTWARE engineers = 48 – 18 = 30, Hardware engineers = 35 – 18 = 17, Network engineers = 42 – 18 = 24 making a total of 71 and this is a total set of single and double skilled workers including duplicates. Out of 75 candidates, 18 were skilled in three areas. So, 75 – 18 = 57 (actual no of workers skilled with single and both skills) Now the difference between the number without duplicates (57) and with duplicates (71), 71 – 57 = 14. So, 14 are skilled in exactly two JOBS.

32.

There are 70 patients admitted in a hospital in which 29 are diagnosed with typhoid, 32 with malaria, and 14 with both typhoid and malaria. Find the number of patients diagnosed with typhoid or malaria or both.(a) 39(b) 17(c) 47(d) 53I have been asked this question in a national level competition.My question is based upon Discrete Probability topic in chapter Discrete Probability of Discrete Mathematics

Answer»
33.

Find the sequence generated by 1/1−x^2−x^4.,assume that 1, 1, 2, 3, 5, 8,… has generating function 1/1−x−x^2.(a) 0, 0, 1, 1, 2, 3, 5, 8,…(b) 0, 1, 2, 3, 5, 8,…(c) 1, 1, 2, 2, 4, 6, 8,…(d) 1, 4, 3, 5, 7,…This question was posed to me in examination.I want to ask this question from Discrete Probability topic in division Discrete Probability of Discrete Mathematics

Answer»

The correct choice is (a) 0, 0, 1, 1, 2, 3, 5, 8,…

To EXPLAIN: Based on the GIVEN generating function, the SEQUENCE will be 0, 0, 1, 1, 2, 3, 5, 8,… which is generated by 1/1−x^2−x^4.

34.

What will be the sequence generated by the generating function 4x/(1-x)^2?(a) 12, 16, 20, 24,…(b) 1, 3, 5, 7, 9,…(c) 0, 4, 8, 12, 16, 20,…(d) 0, 1, 1, 3, 5, 8, 13,…This question was addressed to me during an internship interview.The question is from Discrete Probability in portion Discrete Probability of Discrete Mathematics

Answer»

Right answer is (C) 0, 4, 8, 12, 16, 20,…

Easy explanation: The sequence should be 0, 4, 8, 12, 16, 20,…for the generating function 4x/(1-x)^2, when basic generating function: 1/(1-x).

35.

Suppose G is the generating function for the sequence 4, 7, 10, 13, 16, 19,…, the find a generating function (in terms of G) for the sequence of differences between terms.(a) (1−x)G−4/x(b) (1−x)G−4/x^3(c) (1−x)G+6/x(d) (1−x)G−x^2This question was addressed to me in a job interview.Origin of the question is Discrete Probability topic in section Discrete Probability of Discrete Mathematics

Answer»

The correct ANSWER is (a) (1−x)G−4/x

The explanation: (1−x)G = 4 + 3X + 6x^2 + 9x^3 +⋯ which can be accepted. We can COMPUTE it like this:

3 + 6x + 9x^2 + ⋯ = (1−x)G−4/x.

36.

What is the generating function for the sequence with closed formula an=4(7^n)+6(−2)^n?(a) (4/1−7x)+6!(b) (3/1−8x)(c) (4/1−7x)+(6/1+2x)(d) (6/1-2x)+8The question was posed to me during an interview.My question is based upon Discrete Probability in portion Discrete Probability of Discrete Mathematics

Answer»

Correct CHOICE is (C) (4/1−7x)+(6/1+2x)

EXPLANATION: For the given sequence after EVALUATING the FORMULA the generating formula will be (4/1−7x)+(6/1+2x).

37.

What is multiplication of the sequence 1, 2, 3, 4,… by the sequence 1, 3, 5, 7, 11,….?(a) 1, 5, 14, 30,…(b) 2, 8, 16, 35,…(c) 1, 4, 7, 9, 13,…(d) 4, 8, 9, 14, 28,…I got this question by my college director while I was bunking the class.My question is based upon Discrete Probability in section Discrete Probability of Discrete Mathematics

Answer»
38.

What is the recurrence relation for the sequence 1, 3, 7, 15, 31, 63,…?(a) an = 3an-1−2an+2(b) an = 3an-1−2an-2(c) an = 3an-1−2an-1(d) an = 3an-1−2an-3I had been asked this question in an online quiz.Asked question is from Discrete Probability topic in division Discrete Probability of Discrete Mathematics

Answer»

Right answer is (B) an = 3an-1−2an-2

Best explanation: The recurrence relation for the sequence 1, 3, 7, 15, 31, 63,… should bean = 3an-1−2an-2. The solution for A: A=1/1 − 3X + 2x^2.

39.

What is the generating function for the generating sequence A = 1, 9, 25, 49,…?(a) 1+(A-x^2)(b) (1-A)-1/x(c) (1-A)+1/x^2(d) (A-x)/x^3The question was posed to me in examination.The question is from Discrete Probability topic in chapter Discrete Probability of Discrete Mathematics

Answer»

Right OPTION is (B) (1-A)-1/x

The EXPLANATION: The generating function for the sequence A. Using differencing:

A = 1 + 9X + 25x^2 + 49x^3 + ⋯(1)

−xA = 0 + x + 9x^2 + 25x^3 + 49x^4 + ⋯(2)

(1−x)A = 1 + 8x + 16x^2 + 24x^3 +⋯. Since 8x + 16x^2 + 24x^3 + ⋯ = (1-x)A-1 ⇒8 + 16x + 24x^2 +…= (1-A)-1/x.

40.

What is the generating function for generating series 1, 2, 3, 4, 5,… ?(a) \(\frac{2}{(1-3x)}\)(b) \(\frac{1}{(1+x)}\)(c) \(\frac{1}{(1−x)^2}\)(d) \(\frac{1}{(1-x2)}\)This question was posed to me during an interview for a job.My enquiry is from Discrete Probability in portion Discrete Probability of Discrete Mathematics

Answer»

The correct choice is (c) \(\frac{1}{(1−X)^2}\)

To explain: Basic GENERATING function is \(\frac{1}{1-x}\). If we differentiate term by term in the power SERIES, we GET (1 + x + x^2 + x^3 +⋯)′ = 1 + 2x + 3x^2 + 4x^3 +⋯ which is the generating series for 1, 2, 3, 4,….

41.

What is the generating function for the sequence 1, 6, 16, 216,….?(a) \(\frac{(1+6x)}{x^3}\)(b) \(\frac{1}{(1-6x)}\)(c) \(\frac{1}{(1-4x)}\)(d) 1-6x^2I have been asked this question in an internship interview.Enquiry is from Discrete Probability in portion Discrete Probability of Discrete Mathematics

Answer»

The correct option is (b) \(\frac{1}{(1-6x)}\)

For explanation I would say: For the SEQUENCE 1, 6, 36, 216,… the GENERATING FUNCTION must be \(\frac{1}{(1-6x}\), when basic generating function: \(\frac{1}{1-x}\).

42.

A bucket contains 6 blue, 8 red and 9 black pens. If six pens are drawn one by one without replacement, find the probability of getting all black pens?(a) \(\frac{8}{213}\)(b) \(\frac{8}{4807}\)(c) \(\frac{5}{1204}\)(d) \(\frac{7}{4328}\)The question was asked in an online quiz.I would like to ask this question from Discrete Probability topic in section Discrete Probability of Discrete Mathematics

Answer» RIGHT answer is (b) \(\frac{8}{4807}\)

To explain: TOTAL number of PENS = 23, number of pens we have chosen = 6, total number of black pens = 9. According to the combination probability formula it states that ^nCr = \(\frac{N!}{R! (n-r)!}\),

where n = total number of outcomes, r = random selection, P = \(\frac{^9C_6}{^{23}C_6} = \frac{8}{4807}\).
43.

What is the sequence depicted by the generating series 4 + 15x^2 + 10x^3 + 25x^5 + 16x^6+⋯?(a) 10, 4, 0, 16, 25, …(b) 0, 4, 15, 10, 16, 25,…(c) 4, 0, 15, 10, 25, 16,…(d) 4, 10, 15, 25,…The question was asked during an interview.I would like to ask this question from Discrete Probability in section Discrete Probability of Discrete Mathematics

Answer»

Correct answer is (C) 4, 0, 15, 10, 25, 16,…

For explanation I would say: Consider the coefficients of each x^n term. So a0=4, since the COEFFICIENT of x0 is 4 (x0=1 so this is the constant term). Since 15 is the coefficient of x^2, so 15 is the term a2 of the sequence. To find a1 check the coefficient of X1 which in this CASE is 0. So a1=0. Continuing with these we have a2=15, a3=10, a4=25, and a5=16. So we have the sequence 4, 0, 15, 10, 25, 16,…

44.

A jar containing 8 marbles of which 4 red and 4 blue marbles are there. Find the probability of getting a red given the first one was red too.(a) \(\frac{4}{13}\)(b) \(\frac{2}{11}\)(c) \(\frac{3}{7}\)(d) \(\frac{8}{15}\)I have been asked this question in unit test.My doubt is from Discrete Probability in chapter Discrete Probability of Discrete Mathematics

Answer» CORRECT choice is (c) \(\frac{3}{7}\)

To explain: Suppose, P (A) = getting a red marble in the FIRST TURN, P (B) = getting a black marble in the second turn. P (A) = \(\frac{4}{8}\) and P (B) = \(\frac{3}{7}\) and P (A and B) = \(\frac{4}{8}*\frac{3}{7} = \frac{3}{14}\) P(B/A) = \(\frac{P(A \,and \,B)}{P(A)} = \frac{\frac{3}{14}}{\frac{1}{2}} = \frac{3}{7}\).
45.

A bin contains 4 red and 6 blue balls and three balls are drawn at random. Find the probability such that both are of the same color.(a) \(\frac{10}{28}\)(b) \(\frac{1}{5}\)(c) \(\frac{1}{10}\)(d) \(\frac{4}{7}\)The question was posed to me by my college professor while I was bunking the class.I'd like to ask this question from Discrete Probability topic in portion Discrete Probability of Discrete Mathematics

Answer»

Right option is (B) \(\frac{1}{5}\)

Best explanation: TOTAL no of balls = 10. Number of ways drawing 3 balls at random out of 10 = ^10C3 = 120. Probability of drawing 3 balls of same colour = ^4C3 + ^6C3 = 24. HENCE, the required probability is \(\frac{24}{120} = \frac{1}{5}\).

46.

Suppose a fair eight-sided die is rolled once. If the value on the die is 1, 3, 5 or 7 the die is rolled a second time. Determine the probability that the sum of values that turn up is at least 8?(a) \(\frac{32}{87}\)(b) \(\frac{12}{43}\)(c) \(\frac{6}{13}\)(d) \(\frac{23}{64}\)This question was posed to me during an interview.Enquiry is from Discrete Probability topic in division Discrete Probability of Discrete Mathematics

Answer» CORRECT choice is (d) \(\frac{23}{64}\)

Easy explanation: Sample space CONSISTS of 8*8=64 events. While (8) has \(\frac{1}{8}\) probability of occurrence, (1,7) has only \(\frac{1}{64}\) probability. So, the required probability = \(\frac{1}{6} + (9 * \frac{1}{64}) = \frac{69}{192} = \frac{23}{64}\).
47.

A family has two children. Given that one of the children is a girl and that she was born on a Monday, what is the probability that both children are girls?(a) \(\frac{13}{27}\)(b) \(\frac{23}{54}\)(c) \(\frac{12}{19}\)(d) \(\frac{43}{58}\)I have been asked this question in a job interview.This is a very interesting question from Discrete Probability in chapter Discrete Probability of Discrete Mathematics

Answer»

The correct option is (a) \(\frac{13}{27}\)

The explanation is: We let Y be the event that the family has one CHILD who is a girl born on Tuesday and X be the event that both children are boys, and apply Bayes’ Theorem. Given that there are 7 days of the week and there are 49 possible combinations for the days of the week the two GIRLS were born on and 13 of these have a girl who was born on a Monday, so P(Y|X) = \(\frac{13}{49}\). P(X) remains unchanged at \(\frac{1}{4}\). To calculate P(Y), there are 142 = 196 possible ways to select the gender and the day of the week the child was born on. There are 132 = 169 ways which do not have a girl born on Monday and which 196 – 169 = 27 which do, so P(Y) = \(\frac{27}{196}\). This GIVES is that P(X|Y) = \(\frac{\frac{13}{19}*\frac{1}{4}}{\frac{27}{196}} = \frac{13}{27}\).

48.

A meeting has 12 employees. Given that 8 of the employees is a woman, find the probability that all the employees are women?(a) \(\frac{11}{23}\)(b) \(\frac{12}{35}\)(c) \(\frac{2}{9}\)(d) \(\frac{1}{8}\)I had been asked this question in a national level competition.This interesting question is from Discrete Probability topic in division Discrete Probability of Discrete Mathematics

Answer»

The correct ANSWER is (c) \(\frac{2}{9}\)

To explain I would say: Assume that the probability of an EMPLOYEE being a man or WOMAN is (\(\frac{1}{2}\)). By using Bayes’ theorem: LET B be the event that the meeting has 3 employees who is a woman and let A be the event that all employees are WOMEN. We want to find P(A|B) = \(\frac{P(B|A)*P(A)}{P(B)}\). P(B|A) = 1, P(A) = \(\frac{1}{12}\) and P(B) = \(\frac{8}{12}\). So, P(A|B) = \(\frac{1*\frac{1}{12}}{\frac{8}{12}} = \frac{1}{8}\).

49.

Naina receives emails that consists of 18% spam of those emails. The spam filter is 93% reliable i.e., 93% of the mails it marks as spam are actually a spam and 93% of spam mails are correctly labelled as spam. If a mail marked spam by her spam filter, determine the probability that it is really spam.(a) 50%(b) 84%(c) 39%(d) 63%The question was asked during an interview.This key question is from Discrete Probability in portion Discrete Probability of Discrete Mathematics

Answer»

Correct choice is (a) 50%

Best explanation: 18% email are SPAM and 82% email are not spam. Now, 18% of mail MARKED as spam is spam and 82% mail marked as spam are not spam. By Bayes theorem the probability that a mail marked spam is really a spam = (Probability of being spam and being detected as spam)/(Probability of being detected as spam)= (0.18 * 0.82)/(0.18 * 0.82) + (0.18 * 0.82) = 0.5 or 50%.

50.

A single card is drawn from a standard deck of playing cards. What is the probability that the card is a face card provided that a queen is drawn from the deck of cards?(a) \(\frac{3}{13}\)(b) \(\frac{1}{3}\)(c) \(\frac{4}{13}\)(d) \(\frac{1}{52}\)I have been asked this question by my college professor while I was bunking the class.I would like to ask this question from Discrete Probability in portion Discrete Probability of Discrete Mathematics

Answer»

Right answer is (b) \(\frac{1}{3}\)

BEST explanation: The probability that the card drawn is a queen = \(\frac{4}{52}\), since there are 4 QUEENS in a standard deck of 52 cards. If the event is “this card is a queen” the prior probability P(queen) = \(\frac{4}{52} = \frac{1}{13}\). The POSTERIOR probability P(queen|face) can be calculated USING Bayes theorem: P(king|face) = P(face|king)/P(face)*P(king). Since every queen is ALSO a face card, P(face|queen) = 1. The probability of a face card is P(face) = (\(\frac{3}{13}\)). [since there are 3 face cards in each suit (Jack, Queen, King)]. Using Bayes theorem gives P(queen|face) = \(\frac{13}{3}*\frac{1}{13} = \frac{1}{3}\).