Presentation

concepcionsockΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 4 χρόνια και 11 μήνες)

206 εμφανίσεις

Operating Systems

Simulator

Jessica Craddock

Kelvin Whyms

CPSC 410

Overview


Executive Summary


System Selection


System Analysis


System Design


Operating System Principles


Significant Points


Solutions


Problems Encountered


Methodology


Questions



Executive Summary


Operating System simulator that simulates
four major principles of operating systems.


GUI that allows user to pick different
principles to execute and display.


System Selection


A program which simulates the behavior of
an operating system.


Clearly show how the principles work.


Helps create a better understanding of the
Operating System.

System Analysis


A console based program that requires all
parameters to be entered into the console at the
time of execution.


Ex. java deadlock a 2 1 >a.log


Only had GUI interfaces for memory
management and deadlock.


For scheduling results are printed to a text file
and not to the console.

System Analysis (continued)

System Analysis (continued)

System Analysis (continued)


Scheduling, Memory Management, and
Deadlock all require text files for set up.


System Design


Added a GUI that allows the separate
projects to be run from one central
location.

Operating System Principles


Deadlock Detection


Memory Management


Scheduling Simulator


File System

Significant Points


Memory Management uses First Come
First Serve to determine which page to
replace.


Scheduling is Non
-
preemptive and uses
First Come First Serve to schedule
processes.

Solutions


Scheduling and Memory Management
should also allow the option to run other
replacement algorithms.


Round Robin


Least Recently Used

Problems Encountered


Understanding how the classes worked.


Interpreting the output.


Running the program in Netbeans instead
of on the console.


Errors saying the files did not exist when
executing program.


Fixing the imports.

Methodology


Commenting out imports that were not
necessary since the classes were already
in the project folder.


Experimented with the data inputs to
determine what was changing in the
output.


Change where the program was looking
for the files by specifying the path.

Questions


Any questions, concerns, or suggestions?