Re: how to test this piece of C code



On Sat, 10 Mar 2007 02:22:10 -0600, subramanian100in@xxxxxxxxx, India
wrote
(in article <1173514930.551881.189210@xxxxxxxxxxxxxxxxxxxxxxxxxx>):

Thanks for the suggestion.

Kindly bear with me for the following question.

I am just learning C at present. So I may not need SIZE_MAX memory for
testing purpose now.
However, in real world applications ie in Job envorinment(I am
preparing for interview/skill test, etc), will they have more than 4GB
of RAM in order to test such code ?

It depends upon the company, how much budget they allocate toward
development and test hardware, and the expect usage model of their
products in the field. A lot will go cheap and only provide you with
equipment to match the bulk of their customer base, not the corner
cases.

The right answer is to test those cases, from an interview standpoint,
although it often does not happen in practice.

Still, who wants an app to chomp up SIZE_MAX memory?



--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw





.



Relevant Pages

  • Re: how to test this piece of C code
    ... I am just learning C at present. ... So I may not need SIZE_MAX memory for ... testing purpose now. ... preparing for interview/skill test, etc), will they have more than 4GB ...
    (comp.programming)
  • Re: A reply to Marvin Minsky.
    ... learning algorithm, without such substrate-like support, will do nothing. ... Just as brain uses a myriad of inputs (from ... memory for an example of where Cog. ... experiments should characterize more fully the beneficial impact of emotion ...
    (comp.ai.philosophy)
  • Re: On the relationship between teaching and virtuosity
    ... I really exerted myself and managed to memorize VL ... There is a delay while I bring up the memory. ... learning and forgetting. ... My "automatic segments controlled by the cerebellum" are certainly the same ...
    (rec.music.classical.guitar)
  • Cholesterol drug also helps memory
    ... Cholesterol drug also helps memory ... A cholesterol-lowering drug reversed learning and memory problems in a mouse ... The medicine, lovastatin, has a long record in lowering cholesterol. ...
    (alt.med.fibromyalgia)
  • Re: Reinforce learn this
    ... Are you talking about store in terms of memory? ... have the ability to consciously control your memory system? ... a capacity of about 7+-2 symbols, and the long term memory. ... Learning takes lots of repetions, ...
    (comp.ai.philosophy)