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 4619
Q:

The nomenclature of the Executives Head of the Government of Jammu and Kashmir was changed from Sadar-i-Riyasat to Governor in 1965 by:

A) a Lok Sabha Resolution B) the executive order of the Parliament
C) the 6th Amendment in the State Constitution of Jammu and Kashmir D) the State Government under Article 371
 
Answer & Explanation Answer: C) the 6th Amendment in the State Constitution of Jammu and Kashmir

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

9 4619
Q:

Where is the headquarters of the United Nations Economic and Social Council (ECOSOC)  ?

A) Berlin B) Spain
C) London D) New York
 
Answer & Explanation Answer: D) New York

Explanation:

The Economic and Social Council (ECOSOC) is one of the six principal organs of the United Nations for coordinating the economic, social and environmental issues, as well as for implementing internationally agreed development goals. Recently, it is in news because India has been re-elected to the United Nations ECOSOC for another 3-year term. India was among 18 nations to win election to the Economic and Social Council (ECOSOC). India obtained 183 votes, the second highest after Japan in the Asia Pacific category. The elected members of ECOSOC for a three-year term beginning 1 January, 2018 are Belarus, Ecuador, El Salvador, France, Germany, Ghana, India, Ireland, Japan, Malawi, Mexico, Morocco, Philippines, Spain, Sudan, Togo, Turkey and Uruguay. The headquarters of the ECOSOC is located in New York, Unites States.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank Clerk

22 4619
Q:

Logical puzzle

Dr.Will wants to operate for three different persons who were wounded. But he had only two surgical gloves. There is not any blood contact between the three persons. How can Dr.Will operate for the three people with two pair of surgical gloves?

Answer

First, Dr.Will wear both of the gloves, one above the other. He operate the first person. After finishing he remove the outer pair of gloves as inside out and place it in a tray. Then operate the second person. Now he will wear the first gloves as inside out above the second gloves. Operate the third person. At last he remove the gloves and dispose them.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles

25 4618
Q:

Which company has recently introduced 'Dura Technology' in building cars?

A) Ford B) Mitsubshi
C) GM D) Maruti-Suzuki
 
Answer & Explanation Answer: A) Ford

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

20 4618
Q:

 To drop a column that is used as a foreign key, first:

A) drop the primary key. B) drop the table containing the foreign key..
C) drop the foreign key constraint. D) All of the above must be done.
 
Answer & Explanation Answer: C) drop the foreign key constraint.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

0 4618
Q:

The cabinet minister of India who deals with Ministry of Defence in June 2017  ?

A) Shri Narendra Modi B) Shri Rajnath Singh
C) Shri Kalraj Mishra D) Shri Arun Jaitley
 
Answer & Explanation Answer: D) Shri Arun Jaitley

Explanation:

1. Shri Narendra Modi Prime Minister and also in-charge of:
– Ministry of Personnel
– Public Grievances and Pensions
– Department of Atomic Energy
– Department of Space

All important policy issues and all other
portfolios not allocated to any Minister.

2. Shri Raj Nath Singh         -       Minister of Home Affairs
3. Smt. Sushma Swaraj       -       Minister of External Affairs
4. Shri Arun Jaitley             –       Minister of Finance
                                        –       Minister of Corporate Affairs
5. Shri M. Venkaiah Naidu   –       Minister of Urban Development
                                        –       Minister of Housing and
                                                 Urban Poverty Alleviation
                                        –       Minister of Information & Broadcasting
6. Shri Nitin Jairam Gadkari –      Minister of Road Transport
                                                 & Highway
                                                – Minister of Shipping
7. Shri Arun Jaitley
(Additional Charge)             -      Minister of Defence
8. Shri Suresh Prabhu          -     Minister of Railways
9. D.V Sadananda Gowda    -      Minister of Statistics & Programme Implementation
10. Sushri Uma Bharati       -      Minister of Water Resources,
                                                River Development & Ganga Rejuvenation
11. Mukhtar Abbas Naqvi    -      Minister of Minority Affairs
12. Shri Ramvilas Paswan   -      Minister of Consumer Affairs, Food & Public Distribution
13. Shri Kalraj Mishra         -      Minister of Micro, Small & Medium Enterprises
14. Maneka Sanjay Gandhi  -     Minister of Women & Child Development
15. Shri Ananth Kumar       -     Minister of Chemicals & Fertilizers
16. Shri. Ravi Shankar Prasad – Minister of Law & Justice
                                            – Minister of Electronics & Information Technology
17. Shri Jagat Prakash Nadda  - Minister of Health & Family Welfare
18. Ashok Gajapathi Raju Pusapati -  Minister of Civil Aviation
19. Shri. Anant Geete            -          Minister of Heavy Industries & Public Enterprises
20. Smt. Harsimrat Kaur Badal -        Minister of Food Processing Industries
21. Shri Narendra Singh Tomar – Minister of Rural Development
                                              – Minister of Panchayati Raj
                                              – Minister of Drinking Water & Sanitation
22. Shri Chaudhary Birender Singh - Minister of Steel
23. Shri Jual Oram                   -      Minister of Tribal Affairs
24. Shri Radha Mohan Singh     -      Minister of Agriculture & Farmers Welfare
25. Shri Thawar Chand Gehlot   -      Minister of Social Justice & Empowerment
26. Smt. Smriti Irani                 -      Minister of Textiles
27. Dr Harsh Vardhan                –     Minister of Science & Technology
                                               –     Minister of Earth Sciences
28. Prakash Javadekar               -     Human Resource Development

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

13 4616
Q:

Which is the only snake that builds nests ?

A) King Cobra B) Anaconda
C) Python D) Viper
 
Answer & Explanation Answer: A) King Cobra

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: AIEEE , Bank Exams

20 4611