week11-q
2 Pages

week11-q

Course Number: CPE 1002, Fall 2009

College/University: Allan Hancock College

Word Count: 608

Rating:

Document Preview

Monash University School of Network Computing CPE1002- Computer Organisation Topic User Interfaces Key Terms. Add the following terms, acronyms and names to your personal glossary of computing key terms: API BIOS CLI Context Switching dispatcher Embedded controller Event driven GUI IPL IPC JCL Nonpreemptive dispatch Relocation Shell Single-Job processing Time-Slicing VPN Windows Scripting Host 1) For each of...

Unformatted Document Excerpt
Coursehero >> California >> Allan Hancock College >> CPE 1002

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

University Monash School of Network Computing CPE1002- Computer Organisation Topic User Interfaces Key Terms. Add the following terms, acronyms and names to your personal glossary of computing key terms: API BIOS CLI Context Switching dispatcher Embedded controller Event driven GUI IPL IPC JCL Nonpreemptive dispatch Relocation Shell Single-Job processing Time-Slicing VPN Windows Scripting Host 1) For each of the following commands in UNIX, a) identify the type of operating system service that is provided, b) identify the basic modules that are involved. c) Which commands are memory resident (ie internal) and which are loaded as required (ie external programs)? ls la cd <dir> wc l <file> pwd ps ef sort <ifile >ofile mkdir <dir> ln s x y ps ef | grep <user> 2) Describe each of the operating system functions provided by MS-DOS. Why does MS-DOS not provide scheduling and memory management functions? 3) Take the PseudoCode description of a Command Interpreter, as described in lecture and modify it so that commands can be started and continue to run in the background while the user enters more Commands. (Hint: the command program being executed would need to be able to run concurrently with the Command Interpreter) 4) Most modern operating systems provide concurrent operation of multiple processes a) What are the advantages of concurrent process operation? b) Describe two methods that are used to provide concurrent operation of multiple processes. c) What are the advantages of each method? 5) An operating System is described as an "event-driven" program. a) What is meant by "event-driven"? b) Explain how the Dispatching operation fits this description. 6) Nearly every modern operating system separates the function of File System from I/O services. What is the advantage of doing so? 7) Windows 3.1 did not support true pre-emptive multitasking. the Instead, designers of Windows 3.1 provided something they called "cooperative multitasking" in which each program was expected to give up control of the CPU at reasonable time intervals, so that the Windows dispatcher could provide execution time to other waiting programs. Describe the disadvantages of this method. 8) Clearly explain the differences between Multi-Programming, Multi-User and Multi-Processing. 9) Consider the following commands in MS-DOS or a Unix system and explain how each task would be performed in a graphical user system such as Macintosh or Windows. a) Create a file and enter some text b) Execute an application program (eg a web browser) c) Format a diskette d) Install some new software 10) There are some capabilities that are easy to achieve with a GUI, but much more difficult with a CLI. Describe a few of these capabilities. 11) Start the Windows Command Interpreter by using the Run option in the Start button menu to run the CMD program. When the Command window appears, type help and press Enter to see a list of Windows CMD commands. 12) The for command is used to repeat a command and each time a parameter will be set to the next value from a list. This command is used to process all the items in a list (eg a list of filenames). In the CMD window, enter help for and read about it. Also consult the Help facility and look up "MS-DOS Command Reference". 13) Using a notepad window, create a file called mtype.cmd containing the following, and explain what it does: FOR %%Name IN ( %1 ) DO TYPE %%Name 14) Create a batch file called back.bat that will create a directory called BAK and copy all the files that match a template parameter from the current directory to BAK. Eg the command back *.java will copy all java files 15) Using the Windows Help Facility look up "Window Script Host". Could this be used as a User Command Interface? (end)
MOST POPULAR MATERIALS FROM CPE
MOST POPULAR MATERIALS FROM Allan Hancock College