One attraction of virtual memory is that users no longer have to restrict the size of their programs to make them fit into physical memory. Programming style becomes a freer form of expression.Discuss the effects of such a free programming style on performance in a multiprogramming virtual memory environment. List both positive and negative effects.
What will be an ideal response?
A negative effect is that users might tend to write programs that are larger than they
need to be, and this reduce performance.A positive effect is that programmers writing in a
natural programming style would tend to avoid the kind of “shoehorning” that creates awkward
branching patterns. Natural programming styles would tend to group chunks of the program
logically.
You might also like to view...
The proper sequence of steps needed to correct invalid statements and reexecute a program is:
a. Enter the editor, make corrections, link the program, reload the program, and save the program. b. Enter the editor, compile, load the program, correct statements, link the program, and save the program. c. Enter the editor, insert corrected statements, load, compile, and execute the program. d. Enter the editor, correct invalid statements, save the program, compile, link, load, and execute the program. e. none of the above
In a UML class diagram, the sharp (#) indicates:
a. public access b. protected access c. private access d. package access
When you put your computer into sleep mode, Windows keeps all your work ____ and puts your computer in a low-power, energy-saving state.
A. in the hard drive B. on a DVD C. in memory D. on a USB flash drive
What is the basic sequence of steps to do in JDBC (all the basic steps that involve interacting with database, e.g., making connection) if a computation involves doing an SQL query or update?
What will be an ideal response?