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

What lives in the winter dies in the summer?

A) Plants B) Animals
C) Icycle D) None of the above
 
Answer & Explanation Answer: C) Icycle

Explanation:

An icycle, a hanging spike of ice formed by the freezing of dripping water forms due to cool in winter and dies in summer due to hot.

Report Error

View Answer Report Error Discuss

4 4611
Q:

Name the only US president who also served as the Chief Justice of the US Supreme Court.

 

A) John Quincy Adams B) William Howard Taft
C) Lyndon B. Johnson D) Zachary Taylor
 
Answer & Explanation Answer: B) William Howard Taft

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities
Exam Prep: Bank Exams

0 4610
Q:

Yeast used in making bread is a

A) Fungus B) Bacteria
C) Seed D) Plant
 
Answer & Explanation Answer: A) Fungus

Explanation:

Yeast used in making bread is a Fungus.

Report Error

View Answer Report Error Discuss

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

7 4608
Q:

The flow of information through MIS is

A) organization dependent B) information dependent
C) management dependent D) need dependent
 
Answer & Explanation Answer: D) need dependent

Explanation:

The flow of information through MIS - Management Information System is Need dependent.

The backbone of any organization is Information. The information of MIS comes from both internal and external sources.

Report Error

View Answer Report Error Discuss

5 4607
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 4607
Q:

"Welcome Each Rebuff"  is the autobiography of 

A) MC Chagla B) Khushwant Singh
C) Saleem Peeradina D) Maudi Ali Mirza
 
Answer & Explanation Answer: D) Maudi Ali Mirza

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

3 4606
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 4604