4.1 Provide two programming examples in which multithreading does not provide better performance than a single-threaded solutionAnswer: (1) Any kind of sequential program is not a good candidate to be threaded. An example of this is a program that calculates an individualtax return. (2) Another example is a shell program such asthe C-shell or Korn shell. Such a program must closely monitor its own working space such as open files, environment variables, and current working directory.4.2 De