Questions

Q:

Which Indian bank has signed pact with Indian Oil Corporation under its ‘e-Dealer’ scheme?

 

A) Yes Bank B) Axis Bank
C) Punjab National Bank D) HDFC Bank
 
Answer & Explanation Answer: C) Punjab National Bank

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

2 5186
Q:

What is the output after compile and run the following code ?

int Output = 10;
boolean b = false;
if((b == true) && ((Output += 10) == 20))
{
System.out.println("We are equal " + Output);
}
else
{
System.out.println("Not equal! " + Output);
}

A) Compilation and output of "We are equal 10" B) Compilation and output of "Not equal! 10"
C) Compilation error, attempting to perform binary comparison on logical data type D) Compilation and output of "Not equal! 20"
 
Answer & Explanation Answer: B) Compilation and output of "Not equal! 10"

Explanation:

The output will be "Not equal! 10". Please note that && is logical AND operator. If first operand before (&&) is false then the other operand will not be evaluated. This illustrates that the Output +=10 calculation was never performed because processing stopped after the first operand was evaluated to be false. If you change the value of b1 to true, processing occurs as you would expect and the output would be "We are equal 20".

Report Error

View Answer Report Error Discuss

Filed Under: Oracle Certification
Job Role: Analyst

6 5186
Q:

Which of the following is an endocrine gland?

A) Mammary glands B) Apocrine sweat glands
C) Reproductive glands D) Salivary glands
 
Answer & Explanation Answer: C) Reproductive glands

Explanation:

Endocrine glands are glands of the endocrine system that secrete their products, hormones, directly into the blood rather than through a duct.

 

The major glands of the endocrine system include:

pineal gland,

pituitary gland,

pancreas,

ovaries,

testes,

thyroid gland,

parathyroid gland,

hypothalamus and

adrenal glands.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

2 5186
Q:

Logical puzzle

 A boy and a girl are talking.
"I am a boy" - said the child with black hair.
"I am a girl"  - said the child with white hair.

At least one of them lied. Who is the boy and who is the girl?

Answer

Our Solution:


They both lied.
The child with the black hair is the girl, and the child with the white hair is the boy.
(If only one lied they would both be boys or both be girls)

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles

18 5184
Q:

For every relationship, how many possible types of actions are there when enforcing minimum cardinalities?

A) Two B) Three
C) Four D) Six
 
Answer & Explanation Answer: D) Six

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

3 5183
Q:

Select the odd term out of the following?

A) Internet B) Macintosh OSX
C) Linux Mint D) Windows 8.1
 
Answer & Explanation Answer: A) Internet

Explanation:

Internet is not an operating system.

Report Error

View Answer Report Error Discuss

17 5183
Q:

The last Mauryan king was

A) Pushyamitra Sunga B) Ashoka
C) Harsa D) Brihadratha
 
Answer & Explanation Answer: D) Brihadratha

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

5 5181
Q:

The purpose of the inclusion of Directive Principle of  State Policy in the Indian Constitution is to establish:

A) Political democracy B) Social democracy
C) Gandhian democracy D) Social and economic democracy
 
Answer & Explanation Answer: D) Social and economic democracy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

5 5179