Practice MCQs | Logics and Proofs | Discrete Mathematics

CoderIndeed
0
  1. Which one of the following is a proposition?

    1. How are you?
    2. What time is it?
    3. 4 + `x` = 5
    4. India is in Europe.
    Answer :     Option ( d )
  2. What is the negation of the statement “Salman sent more than 100 text messages every day”?

    1. Salman sent more than 200 text messages every day.
    2. Salman sent less than 100 text messages but not every day.
    3. Salman did not send more than 100 text messages every day.
    4. Salman did not send any text message every day.
    Answer :     Option ( c )
  3. Select the appropriate option after evaluating following four biconditionals are true or false.

      1) 2 + 2 = 4 if and only if 1 + 1 = 2. 2) 1 + 1 = 2 if and only if 2 + 3 = 4. 3) 1 + 1 = 3 if and only if fishes can fly. 4) 0 > 1 if and only if 2 > 1.
    1. Only 1 and 3 are True
    2. Only option 3 and 4 are True
    3. Option 1 is True
    4. All options are false
    Answer :     Option ( c )
  4. What will be Truth values of the statement `p ↔ ¬p` for the Truth values T, F of p?

    1. T, F
    2. F, T
    3. T, T
    4. F,F
    Answer :     Option ( d )
  5. What will be Truth values of the statement (p ∧ q) → (p ∨ q) for the Truth values T,T,F,F of p and T,F,T,F of q?

    1. T, F,T,F
    2. F, T,F,T
    3. T, T,T,T
    4. F,F,F,F
    Answer :     Option ( c )
  6. If `p`: “You can use the wireless network in the airport,” `q`: “You pay the daily fee,” and `r`: “You are a subscriber to the service”. Which is the right expression for the statement “To use the wireless network in the airport you must pay the daily fee unless you are a subscriber to the service”.

    1. `p ∧ r → p`
    2. `q ∨ r → p`
    3. `p ∧ (q ∨ r)`
    4. `p ∧ (q ∧ r)`
    Answer :     Option ( b )
  7. What is the negation of the statement “Sam is rich and happy”?

    1. Sam is poor and unhappy.
    2. Either Sam is poor or happy
    3. Either Sam is poor or unhappy
    4. Sam is not rich and happy.
    Answer :     Option ( c )
  8. Let Q(x, y) denote the statement “y is the capital of x.” What are these truth values? i) Q(Punjab, Chandigarh), ii) Q(India, New Delhi ) iii) Q(Rajasthan, Shimla), iv) Q(Nepal, Kathmandu)

    1. T,F,T,F
    2. T,T,F,F
    3. T,T,F,T
    4. T,T,T,T
    Answer :     Option ( c )
  9. `(¬q ∧ (p → q)) → ¬p` is a

    1. Contingency
    2. Tautology
    3. Contradiction
    4. None of these
    Answer :     Option ( b )
  10. `(p → q) ∧ (p → r)` is logically equivalent to

    1. `p → (q ∨ r)`
    2. `p → (q ∧ r)`
    3. `p ∧ (q → r)`
    4. `p ∧ (q → r)`
    Answer :     Option ( b )
  11. `¬p ↔ ¬q is logically equivalent to

    1. `p → (q ∨ r)`
    2. `p → (q ∧ r)`
    3. `p ∧ (q → r)`
    4. `p ∧ ¬(q → r)`
    Answer :     Option ( a )
  12. `¬p ↔ q` is logically equivalent to `p ↔ ¬q`

    1. 1p ↔ ¬q`
    2. `p ↔ q`
    3. `p ∧ ¬q`
    4. `p ∨ ¬q`
    Answer :     Option ( b )
  13. `(p → q) ∧ (q → r) → (p → r)` is a

    1. Contingency
    2. Contradiction
    3. Tautology
    4. All the above are true
    5. If x and y are integers of opposite parity (one odd another even) the 5x+5y is
    6. Always Odd
    7. Always Even
    8. Odd for some values and even for other values
    9. Can not be decided
    Answer :     Option ( a )
  14. `¬(∀x ∈ A)p(x)`is logically equivalent to

    1. `(ÆŽ x ∈ A)¬p(x)`
    2. `(ÆŽ x ∈ ¬A)p(x)`
    3. `(∀ x ∈ ¬A)p(x)`
    4. `(∀ x ∈ A)¬p(x)`
    Answer :     Option ( a )
  15. Contrapositive of the statement “If you are honest, then you are respected.”

    1. If You are honest then he is not respected.
    2. If You are not respected than you are not honest.
    3. If you are not honest then you are not respected.
    4. If you are respected then you are honest.
    Answer :     Option ( b )
  16. Contrapositive of the statement “If Sahir is a poet, then he is poor”

    1. If Sahir is rich then he is not poet
    2. If Sahir is not a poet then he is not poor
    3. If Sahir is not poor then he is a poet
    4. If Sahir is not a poet then he is not poor
    Answer :     Option ( a )
  17. Let P: Dogs can fly And consider the following flow chart of a computer program Then the value of S is

    1. 30
    2. 20
    3. 0
    4. 10
    Answer :     Option ( c )
  18. Let P: 5+10=15, Q: 5*10=50 And consider the following flow chart of a computer program Then the value of S is

    1. 30
    2. 25
    3. 0
    4. 10
    Answer :     Option ( a )
  19. What is the correct translation of the following statement into mathematical logic? “Some COVID 19 vaccines have complete the last trial are ready for production” where: COVID-19 vaccine, has completed the last trial, is ready for production.

    1. `ÆŽx (t(x) ∨ p(x))`
    2. `ÆŽx (t(x) → p(x))`
    3. `ÆŽx (t(x) ∧ p(x))`
    4. `ÆŽx (p(x) → t(x))`
    Answer :     Option ( c )
  20. Consider the following statements over the set of integers
    P: k is even Q: `3k+1` is odd
    Then which of the following is/are true

    1. Only converse for the proposition is true
    2. Only inverse for the proposition is true
    3. Both converse and inverse for the proposition is true
    4. Neither converse nor inverse for the proposition is true
    Answer :     Option ( c )
  21. Which of the following statements is the contrapositive of the statement, “You win the game if you know the rules but are not over confident?”

    1. If you lose the game then you don’t know the rules or you are overconfident
    2. A sufficient condition that you win the game is that you know the rules or you are not overconfident
    3. If you don’t know the rules or are overconfident you lose the game
    4. If you know the rules and are overconfident then you win the game
    Answer :     Option ( a )
  22. In proving `Ï€` as irrational, we begin with assumption `√7` is rational in which type of proof?

    1. Direct proof
    2. Proof by Contradiction
    3. Vacuous proof
    4. Mathematical Induction
    Answer :     Option ( b )
  23. Which of the following can only be used in disproving the statements?

    1. Direct proof
    2. Contrapositive proofs
    3. Counter Example
    4. Mathematical Induction
    Answer :     Option ( c )
  24. Let P: We should be honest., Q: We should be dedicated., R: We should be overconfident. Then ‘We should be honest or dedicated but not overconfident.’ is best represented by?

    1. `¬P V ¬Q V R`
    2. `P ∧ ¬Q ∧ R`
    3. `P V Q ∧ R`
    4. `P V Q ∧ ¬R
    Answer :     Option ( d )
  25. What is the contrapositive of the conditional statement “I come to class whenever there is going to be a test”?

    1. “If I come to class, then there will be a test.”
    2. “If I do not come to class, then there will not be a test.”
    3. “If there is not going to be a test, then I don’t come to class.”
    4. “If there is going to be a test, then I don’t come to class.”
    Answer :     Option ( b )
  26. Let `a` and `b` are the legs of a right triangle with hypotenuse `c` A sufficient condition that a triangle `T` be a right angled triangle is that `a^2 + b^2 = c^2`.An equivalent statement is

    1. If T is a right angled triangle then `a^2 + b^2 = c^2`
    2. If `a^2 + b^2 = c^2` then T is a right triangle.
    3. `a^2 + b^2 ≠ c^2`Then T is not a right triangle.
    4. T is a right triangle only if `a^2 + b^2 = c^2`
    Answer :     Option ( b )
  27. Let P: `R^2 - 5 = 10`
    Q:`R^2 - 5 = 20`
    And consider the following flow chart of a computer program
    Then the value of S is

    1. 30
    2. 25
    3. 0
    4. 10
    Answer :     Option ( c )
  28. Which one of the following is the most appropriate logical formula to represent the statement? “Students who know Mathematical , coding skills are placed”.

    The following notations are used: M(x): x is knowing the Mathematical skills C(x): x is knowing the Coding skills P(x): x is placed
    1. ∀x (P (x )→ (M (x )∧C(x)))
    2. ∀x((M(x)∧C (x ))→P (x ))
    3. ÆŽx((M(x)∧C (x ))→P (x )
    4. ∀x((M(x)∨C (x ) )→P (x ))
    Answer :     Option ( d )
  29. P and Q are two propositions. Which of the following logical expressions are equivalent?

    `p ∨ ~ Q`
    `~(~P∧Q)`
    `(P∧Q)∨(P∧~Q)∨(~P∧~Q)`
    `(P∧Q)∨(P∧~Q)∨(~P∧Q)`
    1. Only I and II
    2. Only I, II and III
    3. Only I, II and IV
    4. All of I, II, III and IV
    Answer :     Option ( b )

Tags

Post a Comment

0Comments

Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Check Now
Accept !