UGC NET COMPUTER SCIENCE SOLVED PAPERS 2017-19 - UGC NET Computer Science November 2017 Paper 2

6. The Boolean function with the Karnaugh map

is:

  • Option : A
  • Explanation :
    To find the boolean function here we will use K-map Select neighboring Minterms as max as possible in powers of 2 ie 2,4,8 and so on.
    Nov2017 cs
    Here we have selected group of minterms: First we will take 8 minterms group which will give us B. Now take 4 minterms group it will give us CD. Another 4 minterms group will give us AD. We have the expression B + CD + AD. which can be reduced as B + D ( A + C )
    So, option (A) is correct.
Cancel reply
Cancel reply

7. The Octal equivalent of the binary number 1011101011 is :

  • Option : B
  • Explanation :
    First we will make pair of 3 bits from LSB : ie- 1 011 101 011 now convert these bits into decimal and that will be 1 - 1 011 - 3 101 - 5 011 - 3 so the answer will be 1353.
    So, option (B) is correct.
Cancel reply
Cancel reply

8. Let P and Q be two propositions, ¬ (P ↔ Q) is equivalent to:
(I) P ↔ ¬ Q
(II) ¬ P ↔ Q
(III) ¬ P ↔ ¬ Q (IV) Q → P

  • Option : A
  • Explanation :
    We know that ¬(P ↔ Q) = (¬P ↔ Q) = (P ↔ ¬Q) = ¬(¬P ↔ ¬Q) Only statement (I) and (II) are correct.
    So, option (A) is correct.
Cancel reply
Cancel reply

9. ‘ptrdata’ is a pointer to a data type. The expression *ptrdata++ is evaluated as (in C++) :

  • Option : A
  • Explanation :
    Here ++ (unary operator) have high precedence than * (unary operator). So ++ will be evaluated first then * will be in action. So A is the correct option. So, option (A) is correct.
Cancel reply
Cancel reply

10. The associativity of which of the following operators is Left to Right, in C++ ?

  • Option : C
  • Explanation :
    Array element access has left to right associativity in C++.
    So, option (C) is correct.
Cancel reply
Cancel reply