What is the difference between multiprogramming and


Assignment

Neatly write or type your answers to the following problems on a separate sheet of paper and submit a hard copy at the start of lecture.

For any problems involving mathematical calculations you must show all work to receive full credit.

Please clearly print or type your full name and Stony Brook ID # on your paper.

1. What is the difference between multiprogramming and multiprocessing? Between multiprogramming and multithreading?

2. What are the advantages of using a compiled language over an interpreted one? Under what circumstances would a person choose to use an interpreted language?

3. Why is the execution environment of a Java class called a virtual machine? How does this virtual machine compare to a real machine running code written in a compiled language, such as C?

4. The performance of a Java program running in the JVM cannot possibly match that of a regular compiled language. Explain why this is so.

5. Describe a situation in a seat reservation system (e.g., an airline reservation system) in which a race condition could arise if transactions are not properly synchronized.

Solution Preview :

Prepared by a verified Expert
Management Information Sys: What is the difference between multiprogramming and
Reference No:- TGS02541253

Now Priced at $55 (50% Discount)

Recommended (91%)

Rated (4.3/5)