An example of when a file should not be used is:

a) to save the status of a video game for another session.
b) to save the value of a variable at runtime.
c) to log errors in the execution of a program.
d) these are all good examples of when files should be used.

b. To save the value of a variable at runtime.

Computer Science & Information Technology

You might also like to view...

When you await a Task, if that Task has already completed, execution simply continues. Otherwise, control returns to ________ until the result of the Task is available. Once the Task completes, the async method continues execution.

a) the async method b) the await clause c) the async method’s caller d) the await method’s caller

Computer Science & Information Technology

When you define a C++ class, which of the following should be part of the implementation?

a. all declarations of private member variables b. all declarations for public member functions c. all explanatory comments for public member declarations. d. all declarations for private member functions (auxiliary or helping functions) e. all member function definitions, public and private (implementations of functions).

Computer Science & Information Technology