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 3738
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 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
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 3735
Q:

Reuptake refers to the

A) reabsorption of excess neurotransmitter molecules by a sending neuron B) release of hormones into the bloodstream
C) movement of neurotransmitter molecules across a synaptic gap D) inflow of myelin through an axon membrane
 
Answer & Explanation Answer: A) reabsorption of excess neurotransmitter molecules by a sending neuron

Explanation:

Reuptake refers to the process in the brain of neurons to retrieve chemicals that were not received by the next neuron. Neurons are cells in the brain that have miniscule spaces between them. They communicate with each other by sending chemicals across the space to the next neuron.

Report Error

View Answer Report Error Discuss

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

2 3734