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

The maximum number of action tokens that a fault tolerance member callback function can receive

  1. 1

  2. 2

  3. 3

  4. 5


Correct Option: C

If CM Sender sends message to a ordinary listener which of the following will happen?

  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

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 a single thread .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. 25s

  3. 10s

  4. 20s


Correct Option: D

Choose the two similar scenarios out of the following :

  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