Questions

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:

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

Which of the following is the tallest animal?

A) Giraffe B) Camal
C) Ostrich D) None
 
Answer & Explanation Answer: A) Giraffe

Explanation:
Report Error

View Answer Report Error Discuss

5 3736
Q:

What has triggered the need for multitasking in PCs?

Answer

1. Increased speed and memory capacity of microprocessors together with the support for virtual memory and


2. Growth of client server computing

Report Error

View answer Workspace Report Error Discuss

1 3736
Q:

Describe a time where customer wasn’t happy and what did you do to change it?

Answer

There’s no doubt that working in retail you will encounter an unhappy, disgruntled, or difficult customer.  Learning to hold in your personal feelings, addressing empathy for customers, and representing the company well in order to keep customers coming back are all important skills recruiters will look for when assessing how you deal with uncomfortable situations.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Retail

2 3734
Q:

Ryder Cup is related with which sports?

A) Football B) Golf
C) Badminton D) Cricket
 
Answer & Explanation Answer: B) Golf

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

4 3734
Q:

 In which sport Pankaj Advani won 7 world titles ?

A) Snooker B) Billiards
C) Badminton D) Chess
 
Answer & Explanation Answer: B) Billiards

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

11 3732