Questions

Q:

How many times the following program would print 'Jamboree'?

main()

{

     printf ( "\nJamboree");

     main ();

}

Answer

Till the stack doesn't overflow

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

2 3739
Q:

Which is not associated with areas of karst topography?

A) flowing rivers B) sinkholes
C) sinking streams D) caverns
 
Answer & Explanation Answer: A) flowing rivers

Explanation:

A karst topography is that which composes of limestone and its associated features and structures. Karst topography and caves develop in limestone rocks due to their solubility in dilute acidic groundwater. The solubility of limestone in water and weak acid solutions leads to karst landscapes.

 

Flowing rivers, can be found in areas away from karst topography.

Report Error

View Answer Report Error Discuss

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

17 3739
Q:

Which of the following is true?

A) It is appropriate to use assertions to validate arguments to methods marked public B) It is appropriate to catch and handle assertion errors
C) It is NOT appropriate to use assertions to validate command-line arguments D) None
 
Answer & Explanation Answer: C) It is NOT appropriate to use assertions to validate command-line arguments

Explanation:

A is incorrect. It is acceptable to use assertions to test the arguments of private methods.

 

B is incorrect. While assertion errors can be caught, Sun discourages you from doing so.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

0 3737
Q:

What was the name of India's first ever micro-drama festival that was held recently in New Delhi ?

A) Thanes Hare B) Taapsi
C) Thespis D) Ankulrama
 
Answer & Explanation Answer: C) Thespis

Explanation:

India's first ever micro-drama festival, named Thespis, was held recently in New Delhi. 

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

2 3737
Q:

Which American artist's most famous portrait is that of his mother?

A) Rembrant B) Whistler
C) Vincent Van Gough D) Salava dor Dali
 
Answer & Explanation Answer: B) Whistler

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

8 3736
Q:

Which forests are called "Lungs of the Earth"?

A) Tongass B) Congo
C) Nile D) Amazon
 
Answer & Explanation Answer: D) Amazon

Explanation:

The world’s largest tropical rainforest Amazon rain forests are called "Lungs of the Earth". It is so called because it produces 20% of the Earth's oxygen, and is also a vast carbon sink, absorbs more than 1 billion tons of atmospheric carbon which is emitted by the burning of fossil fuels annually.

Report Error

View Answer Report Error Discuss

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

9 3736
Q:

Which is highest dam in world ?

Answer

Jinping-I Dam  in China at 305 m (1,001 ft) high

Report Error

View answer Workspace Report Error Discuss

15 3736
Q:

If I use the following printf() to print a long int why I am not warned about the type mismatch?

printf ("%d",num );

Answer

When a function accepts a variable number of arguments , its prototype cannot provide any information about the number of arguments and type of those variable arguments. Hence the compiler cannot warn about the mismatches. The programmer must make sure that arguments match or must manually insert explicit typecast.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3736