(solution) What is the difference between multiprogramming

(solution) What is the difference between multiprogramming

I need help completing this study guide.1.) What is the difference between multiprogramming and multi-threading?2.) a) Why should assembly language be avoided for general application development? b) Under what circumstances would you argue in favor of using assembly language for developing an assembly language program? c) What are the advantages of using a compiled language over an interpreted one? d) Under what circumstances would you choose to use an interpreted language?3. a) A RISC processor has 298 total registers with 10 designated as global registers. Each register window has 32 registers with 12 containing local variables.How many register windows are available for use? _______How many registers would be available for us by input variables? _______ How many registers would be available for use by output variables? _______Show your work b) Indicate whether each of the following applies to CISC or RISC by placing either a C (for CISC) or an R (for RISC) in the blank._ ____ Highly pipelined._ ____ Any instruction can reference memory._ ____ Instructions are interpreted by the microprogram.______ Fixed length, easily decoded instruction format._ ____ Highly specialized, infrequently used instructions.4.. Consider a CPU that implements two parallel fetch-execute pipelines for superscalar processing. Show the performance improvement over scalar pipeline processing and no-pipeline processing, assuming the instruction cycle below:a one clock cycle fetcha one clock cycle decodea three clock cycle executeand a 50 instruction sequence:a) No pipelining would require _____ clock cycles:b) A scalar pipeline would require ____ clock cycles:c) A superscalar pipeline with two parallel units would require ______ clock cycles: show your work5.) What is the difference between the superscalar and superpipelined approaches?6.) Does RISC provide better performance today than CISC?Provide the references you used to support your position.