Questions

Q:

Rewrite the following set of statements using conditional operators.

int a =1, b ;

if ( a > 10 )

b = 20; 

Answer

int a = 1, b , dummy;


a > 10 ? b = 20 : dummy =1;


 


Note that the following would not have worked:


a > 10 ? b = 20 : ;;


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

3 5042
Q:

Which is the oldest tennis tournament in the world and also prestigious?

A) Wimbledon B) US Open
C) French Open D) Australian Open
 
Answer & Explanation Answer: A) Wimbledon

Explanation:

Wimbledon Tournament in the city London, is the prestigious and the oldest tournament in the world.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO

4 5041
Q:

Give the iupac name for the following compound?

che1530787063.jpg image

A) Sec-Butylcyclohexine B) Isopropylcyclohexane
C) 2-Cyclohexybutane D) None of the above
 
Answer & Explanation Answer: B) Isopropylcyclohexane

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

3 5041
Q:

Logical puzzle

You have 10 coins….arrange them in 4 straight lines such that each line contains 4 coins.

Report Error

View answer Workspace Report Error Discuss

27 5039
Q:

When is International Mother's Day is observed?

A) December 11 B) November 29
C) 2nd Sunday of May D) Second Wednesday of October
 
Answer & Explanation Answer: C) 2nd Sunday of May

Explanation:
Report Error

View Answer Report Error Discuss

4 5038
Q:

National Institute of Nutrition is located at which of the following places?

A) Pune B) Bangalore
C) Mumbai D) Hyderabad
 
Answer & Explanation Answer: D) Hyderabad

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Places

14 5036
Q:

Answer the Following Puzzle.

Number Puzzles Questions and Answers

A) 4 B) 7
C) 9 D) 11
 
Answer & Explanation Answer: A) 4

Explanation:

Working in columns, the sum of the numbers in each column is always 14

 

Working in columns, the sum of the numbers in each column is always 14. - See more at: https://www.theonlinetestcentre.com/number-puzzles2.html#1
Report Error

View Answer Report Error Discuss

Filed Under: Number Puzzles

25 5036
Q:

Okhla Bird Sanctuary is located in

A) Rajasthan B) West Bengal
C) Maharashtra D) Uttar Pradesh
 
Answer & Explanation Answer: D) Uttar Pradesh

Explanation:

Okhla Bird Sanctuary is located in Uttar Pradesh.

Okhla Bird Sanctuary is a bird sanctuary at the Okhla barrage over Yamuna River. It is situated in Noida, Gautam Buddh Nagar district, on Delhi-Uttar Pradesh state border and known as a haven for over 300 bird species.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank PO

10 5036