Posts

Showing posts from May, 2022

UGC NET Practice questions with Solutions

  Q.1 An and and gate has 7 input how many input words arein truth table? 64 32 16 128 solution: To represent 7 inputs, 2^7 input words are required in truth table. 2^7=128 Thus the correct option is D. Q.2 A combinational logic circuit which is used to send data coming  a single source to two or more separate destinations is called  A. decoder  B. encoder  C. multiplexer D. Demultiplexer Solution: Multiplexer is a data selector which takes several inputs and gives a single output. Demultiplexer is a data distributor which takes a single input and gives several outputs. Q.3 In 2NF  No functional dependencies exist  No multivalued dependencies exist  No partial functional dependencies exist  No partial multivalued dependencies exist Solution: A relation that is in 2NFmust be in 1 NF.  For 1NF,  their should be no atomic value in the relation. For 2NF, their should be no partial functional dependency. thus the correct option is C. Q.4...

UGC NET computer science practice questions and answer

Image
  UGC NET computer science P ractice questions and answers set-2 Q.1 A counting semaphore is initialized to 8. 3 wait() operations and 4 signal() operations are applied. Find the current value of semaphore variable. (1) 9                 (2) 5             (3) 1             (4) 4 Answer: 1 Solution: wait() operation decrements the value of a semaphore. signal() operation increments the value of a semaphore. 3 wait() implies -3 to value of semaphore. 4 signal() implies +4 to value of semaphore. So, 8-3+4=9 is the value of semaphore after  3 wait() and 4 signal() operations. Q.2 Which tag is used to enclose any number of javascript statements in HTML document? (1) <code>      (2) <script> (3) <title>        (4) <body> Answer:2 Q.3 In which file the compiler manage the various objects, which are used in windows programming? ...