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:

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:

Which of the statements given below are correct?

 

A) In 2018 IPL auctions, Sunrisers Hyderabad retained Steve Smith.

B) Lewis Hamilton won the Formula One 2017 Japanese Grand Prix.

C) Ma Long won the 2017 San Marino and Rimini's Coast Motorcycle Grand Prix.

 

A) Only A B) Only B
C) A and C D) A and B
 
Answer & Explanation Answer: B) Only B

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

1 4617
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 among the following is/are the unitary feature(s) of Indian Constitution?

 

I. Single Constitution for State and Centre

II. Single Citizenship

III. Integrated Judiciary

 

A) Only I B) Only II
C) Both I and II D) All I, II and III
 
Answer & Explanation Answer: D) All I, II and III

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

1 4612
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