Assume you want to use a featurethat is optional for systems to support. Describe three potential strategies to dealing with the possibility that the featuremight not be present on a system on which you want to run your program.

What will be an ideal response?

Use sysconf to determine if the feature is supported. If it is, use it. Otherwise, potential approaches are: 1. Reduce your program to use the least common denominator—whatever featurethat is supported universally that allows you to accomplish the task at hand.
2. If this is insuf?cient, consider providing your own implementation of the featurefor the platforms missing it.
3. If all else fails, you could run your program in a virtual machine using a guest operating system that provides the desired feature. You can communicate with the processes running in the host (native) operating system with sockets, if necessary

Computer Science & Information Technology

You might also like to view...

How can giving users control of the data they will see, like in a parameter query or report, be helpful? When can using a parameter query or report not be helpful? Are there times when this might be more of a hindrance than a help to the user?

What will be an ideal response?

Computer Science & Information Technology

What version of the dynamic routing protocol RIP is supported on Windows Server 2016?

A. RIPv1 B. RIPv2 C. RIPng D. RIPv4

Computer Science & Information Technology