Tag: databases

Questions Related to databases

  1. A monitor program which dispatch the events to the callback of the one of the member

  2. Monitor object with it's own callback function

  3. A monitor program which dispatch the events to the callback of the member of

  4. None


Correct Option: B
  1. listener discards the labelled part of the message but process the data

  2. listener discards the Sequence no of the first message

  3. listener listens the labelled message and confirms it

  4. listener doesn't listen for the message at all


Correct Option: A
  1. Q1, Q2 will have one event each and Q3 don't have any events

  2. Q2, Q3 will have one events each and Q1 don't have any events

  3. Q1, Q2 won't have any events and Q3 will have 2 events

  4. the scenario is unpredictable


Correct Option: D

The callback function of a timer with an interval of 5 seconds, sleeps for a period of 20 seconds. The timer events are dispatched in three threads .A statement at the start of the callback function prints out a message to the screen. What is the time difference between two consecutive messages output to the screen ?

  1. 5s

  2. 20s

  3. 25s

  4. 10s


Correct Option: A
  1. poll and timed dispatch of 0

  2. dispatch and timed dispatch of –1

  3. poll and timed dispatch of –1

  4. dispatch and timed dispatch of 0


Correct Option: A,B