Searching for "NO"

Q:

Which kind of inheritance is not supported directly through classes in java?

A) Multilevel B) Multiple
C) Single D) Hirarcheal
 
Answer & Explanation Answer: B) Multiple

Explanation:

Multiple inheritance is not supported directly but it is achieved through the concept of Interface

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Software Architect

Q:

Which among the following are not the c++ tokens

A) Identifiers B) keywords
C) Strings D) None
 
Answer & Explanation Answer: D) None

Explanation:

All the above listed options are c++ tokens .They  include:

             - keywords

             - Identifiers

             - Constants

             - Strings

             - operators

Report Error

View Answer Report Error Discuss

Filed Under: C++
Exam Prep: GATE

Q:

All the six members of a family A, B, C, D, E and F are travelling together. B is the son of C but C is not the mother of B. A and C are a married couple. E is the brother of C. D is the daughter of A. F is the brother of B. How is E related to D? 

A) Father B) Brother
C) Uncle D) Cannot be determined
 
Answer & Explanation Answer: C) Uncle

Explanation:

B is the son of C but C is not the mother of B means C is the father of B A is marned to C means A is the mother of B. F is brother of B means F is son of A and C. D is daughter of A means D is daughter of A and C 

E is the brother of C who is the father of D. So. E is the uncle of D. 

Report Error

View Answer Report Error Discuss

Filed Under: Blood Relations

Q:

All the six members of a family A, B, C, D, E and F are travelling together. B is the son of C but C is not the mother of B. A and C are a married couple. E is the brother of C. D is the daughter of A. F is the brother of B.  Which of the following is a pair of females ? 

A) AE B) BD
C) DF D) AD
 
Answer & Explanation Answer: D) AD

Explanation:

B is the son of C but C is not the mother of B means C is the father of B A is marned to C means A is the mother of B. F is brother of B means F is son of A and C. D is daughter of A means D is daughter of A and C.

Clearly, the females are only the mother A and the daughter D 

Report Error

View Answer Report Error Discuss

Filed Under: Blood Relations

Q:

All the six members of a family A, B, C, D, E and F are travelling together. B is the son of C but C is not the mother of B. A and C are a married couple. E is the brother of C. D is the daughter of A. F is the brother of B.  How many children does A have ? 

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: C) 3

Explanation:

B is the son of C but C is not the mother of B means C is the father of B A is marned to C means A is the mother of B. F is brother of B means F is son of A and C. D is daughter of A means D is daughter of A and C

A has son B, son F and daughter D it three children. 

Report Error

View Answer Report Error Discuss

Filed Under: Blood Relations

Q:

All the six members of a family A, B, C, D, E and F are travelling together. B is the son of C but C is not the mother of B. A and C are a married couple. E is the brother of C. D is the daughter of A. F is the brother of B.  Who is the mother of B ? 

A) D B) F
C) B D) A
 
Answer & Explanation Answer: D) A

Explanation:

B is the son of C but C is not the mother of B means C is the father of B. A is marned to C means A is the mother of B. F is brother of B means F is son of A and C. D is daughter of A means D is daughter of A and C

Clearly. A is the mother of B. 

Report Error

View Answer Report Error Discuss

Filed Under: Blood Relations

Q:

All the six members of a family A, B, C, D, E and F are travelling together. B is the son of C but C is not the mother of B, A and C are a married couple. E is the brother of C. D is the daughter of A. F is the brother of B.  How many male members are there in the family ? 

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: D) 4

Explanation:

B is the son of C but C is not the mother of B means C is the father of B. A is marned to C means A is the mother of B. F is brother of B means F is son of A and C. D is daughter of A means D is daughter of A and C

A is the mother and hence female. B is the son and hence male. C is the husband and hence male.

 

D in the daughter and hence female. E is the brother and hence male F is the son and hence male.

 

So, there are four males. 

Report Error

View Answer Report Error Discuss

Filed Under: Blood Relations

Q:

P is the brother of Q and R. S is R's mother. T is P's father. Which of the following statements cannot be definitely true ? 

A) T is Q's father B) S is P's mother
C) P is S's son D) Q is T's son
 
Answer & Explanation Answer: D) Q is T's son

Explanation:

P, Q, R are children of same parents. So. S who is R's mother and T, who is R's father will be mother and father of all three. 

However, it is not mentioned whether Q is male or female So, D cannot be definitely true. 

Report Error

View Answer Report Error Discuss

Filed Under: Blood Relations