Thursday, 1 June 2017

P, Q, R are three languages, if P and R are regular and if PQ = R, then

P, Q, R are three languages, if P and R are regular and if PQ = R, then

1.Q has to be regular
2.Q cannot be regular
3.Q need not be regular (Right Answer)
4.Q cannot be a CFL

Five leaders from undivided india - jawaharlal nehru, mahatma gandhi, rajendra prasad, subhash chandra bose and sardar patel participated during 2nd round table conference in london in 1930. it was noted that pt. nehru sat two seats to the left of rajendra prasad and mahatma gandhi sat two seats to the right of rajendra prasad. if subhash chandra bose didn't sit next to gandhi, then who sat between gandhi and subhash chandra bose?

Five leaders from undivided india - jawaharlal nehru, mahatma gandhi, rajendra prasad, subhash chandra bose and sardar patel participated during 2nd round table conference in london in 1930. it was noted that pt. nehru sat two seats to the left of rajendra prasad and mahatma gandhi sat two seats to the right of rajendra prasad. if subhash chandra bose didn't sit next to gandhi, then who sat between gandhi and subhash chandra bose?


  • Jawaharlal Nehru
  • Rajendra Prasad
  • Sardar Patel
  • Not possible to determine
Explain ---->

Which of the following is the closest in the meaning to the word quack ?

Which of the following is the closest in the meaning to the word quack ?


  • Victim
  • Dilemma
  • Pyromaniac
  • Charlatan  (Right Answer)
Explain ---->

act as a medical quack or a charlatan

How many Spanning Trees are possible from the graph given below?

How many Spanning Trees are possible from the graph given below?
(a) 24
(b) 34
(c) 44
(d) 54


Explain ---->
total 9 edges and 6 vertices..
for spanning tree we need 6 vertices and 5 edges..
no of graphs with 5 edges  : 9C5 
no of graph with 3 length cycle (may be disconnected) =  select any cycle of length  3 (select any small triangle) and then out of 6 vertices select any 2..
= (6C2)*3 +  12(for middle triangle) = 57

find no of 4 length cycle = select 4 length cycle and for rest 1 edge select those edges which doesn't  produces 3 length cycle..
= 4 + 4 + 4 = 12

no of 5 length cycle = 3

total spanning tree = 126 - (57 + 12 + 3)
                                  = 126 - 72
                                  = 54

what of the following is defined, when an object acts and reacts in terms of state changes and message passing?

what of the following is defined, when an object acts and reacts in terms of state changes and message passing?


  • identity of an object
  • behavior of an object  (Right Answer)
  • state of an object
  • attributes of an object
Explain--->

Behavior

The behavior of an object is how it acts and reacts to messages sent to it by other objects. Behavior is typically implemented within an object as methodsthat are defined in its class. "Behavior is how an object acts and reacts, in terms of its state changes and message passing; the outwardly visible and testable activity of an object"