Why would you randomize a program by using srand? Under what circumstances is it desirable not to randomize?

What will be an ideal response?

The sequence of numbers produced by the random number generator differ each time function srand is called. Not randomizing is useful for debugging purposes—the programmer knows the sequence of numbers.

Computer Science & Information Technology

You might also like to view...

Why did Microsoft create the XPS file format?

A) So that a document viewed in Print Preview would display exactly the same on all computers B) So that more of the formatting would transfer than the RTF standard would allow C) So that files could be password protected more securely D) So that additional security measures could be added to a document

Computer Science & Information Technology

____________________ is a version of BASIC that uses a visual programming environment to help programmers quickly and easily create programs.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology