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

Which is the most beautiful animal in the cat family?

Answer

Snow Leopard

Report Error

View answer Workspace Report Error Discuss

32 4573
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 4573
Q:

karl Landsteiner discovered

A) Blood corpuscles B) Blood groups
C) Blood vessels D) Proteins in Blood
 
Answer & Explanation Answer: B) Blood groups

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

12 4573
Q:

A bond formed by sharing of electrons between atoms of the element is called

A) ionic bond B) covalent bond
C) co ordinate bond D) none
 
Answer & Explanation Answer: B) covalent bond

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

11 4571
Q:

Moortidevi Award is presented for contribution to _____

A) Literature B) Arts
C) Science D) Peace
 
Answer & Explanation Answer: A) Literature

Explanation:

The Moortidevi Award is an annual literary award in India presented by the Bharatiya Jnanpith organization for a work which emphasizes Indian philosophy and culture. In 2003, the prize included an amount of Rs. 1 lakh (US$1,500), a plaque, a statue of Saraswati, and a shawl. The cash prize was raised to Rs. 2 lakh (US$3,000) in the year 2011 and to Rs.4 lakh (US$5,900) in the year 2013.L

Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

6 4570
Q:

The Cholas were the only known rulers in the history of india to have undertaken successful overseas naval expeditions. Who of the following Chola rulers successfully invaded Laccadives, Maldives, Sri Lanka and Sumatra?

A) Parantaka - I B) Rajaraja - I
C) Rajendra - I D) Both (b) and (c)
 
Answer & Explanation Answer: C) Rajendra - I

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

3 4569
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 4569