Which of the following conditions will put the input filestream object into the fail state?

A. Opening a file which already exists and is in the same directory as the program.
B. Opening a file which does not already exist, or is not in the same directory as the
program.
C. Trying to read an integer when the next character in the file is the /n.
D. All of the above will put the file object into the fail state.


B. Opening a file which does not already exist, or is not in the same directory as the
program.

Computer Science & Information Technology

You might also like to view...

Which control statement which is best used when you know how many times to repeat the execution of a group of statements?

A. the do-while statement B. the for statement C. the switch statement D. the while statement

Computer Science & Information Technology

If your SQL query does not include a WHERE statement, then _______ records will be selected

Fill in the blank(s) with correct word

Computer Science & Information Technology

A (n) ________ is a flyer or small pamphlet

Fill in the blank(s) with correct word

Computer Science & Information Technology

A technician is troubleshooting a Windows 10 x64 desktop system with a Type 2 hypervisor that is hosting four VMs that must be run simultaneously. The technician suspects the sluggish performance is due to insufficient physical RAM in the host computer and has disabled dynamic RAM allocation in the hypervisor.   Assuming each operating system installed requires 2GB of RAM, what is the minimum amount of physical RAM that will need to be installed in the host system to meet the requirements of this scenario?

A. 2048MB B. 4096MB C. 8192MB D. 10240MB E. 12288MB

Computer Science & Information Technology