<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6324759446589632880</id><updated>2011-07-08T04:27:07.122-07:00</updated><category term='O.S 9'/><category term='OS 8'/><category term='OS 3'/><category term='OS 5'/><category term='OS 6'/><category term='OS 4'/><category term='QUIZ # 3'/><category term='OS 2'/><title type='text'>MICHAEL RHYAN JAVIER</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-1144390870091784563</id><published>2010-05-14T00:08:00.000-07:00</published><updated>2010-05-14T01:59:54.889-07:00</updated><title type='text'>Exception</title><content type='html'>1.ArithmeticException ----- Arithmetic error, such as divide-by-zero. &lt;br /&gt;2.ArrayStoreException ----- Assignment to an array element of an incompatible type.   &lt;br /&gt;3.ClassCastException  ----- Invalid cast. &lt;br /&gt;4.llegalArgumentException ----- Illegal argument used to invoke a method.&lt;br /&gt;5.IllegalMonitorStateException ----- Illegal monitor operation, such as waiting on an&lt;br /&gt;unlocked thread.    &lt;br /&gt;6.IllegalStateException ----- Environment or application is in incorrect state. &lt;br /&gt;7.IllegalThreadStateException ----- Requested operation not compatible with current &lt;br /&gt;thread state.   &lt;br /&gt;8.IndexOutOfBoundsException ----- Some type of index is out-of-bounds. &lt;br /&gt;9.NegativeArraySizeException ----- Array created with a negative size. &lt;br /&gt;10.StringIndexOutOfBounds ----- Attempt to index outside the bounds of a string.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-1144390870091784563?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/1144390870091784563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2010/05/exception.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/1144390870091784563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/1144390870091784563'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2010/05/exception.html' title='Exception'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-8801482376770310621</id><published>2010-04-22T01:53:00.000-07:00</published><updated>2010-04-22T18:09:37.451-07:00</updated><title type='text'>Inheritance,Polymorphism,Interface</title><content type='html'>&lt;strong&gt;Inheritance&lt;/strong&gt;&lt;br /&gt;--inheritance is a way to form new classes (instances of which are called objects) using classes that have already been defined. Inheritance is employed to help reuse existing code with little or no modification&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Super Class&lt;/strong&gt;&lt;br /&gt;-- superclass allows for a generic interface to include specialized functionality through the use of virtual functions&lt;br /&gt;--a superclass, base class, or parent class is a class from which other classes are derived. The classes that are derived from a superclass are known as child classes, derived classes, or subclasses.&lt;br /&gt;--The superclass mechanism is extensively used in object oriented programming due to the reusability that can be achieved: common features are encapsulated in modular objects. Subclasses that wish to implement special behavior can do so via virtual methods, without having to duplicate (reimplement) the superclass's behavior.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Subclass&lt;/strong&gt;&lt;br /&gt;--subclass is a class that inherits some properties from its superclass.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Benefits of inheritance&lt;/strong&gt;&lt;br /&gt;--1. Code reusebility.&lt;br /&gt;2. Minimise the amount of duplicate code.&lt;br /&gt;3. Sharing common code amongst several subclasses.&lt;br /&gt;4. Smaller, simpler and better organisation of code.&lt;br /&gt;5. Make application code more flexible to change.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Overriding Methods&lt;/strong&gt;&lt;br /&gt;--The ability of a subclass to override a method in its superclass allows a class to inherit from a superclass whose behavior is "close enough" and then override methods as needed. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Polymorphism&lt;/strong&gt;&lt;br /&gt;--The ability of a reference variable to change behavior according to what object it is holding.–This allows multiple objects of different subclasses to be treated as objects of a single superclass, while automatically selecting the proper methods to apply to a particular object based on the subclass it belongs to.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Abstract Classes&lt;/span&gt;&lt;br /&gt;--a class that cannot be instantiated. –often appears at the top of an object-oriented programming class hierarchy, defining the broad types of actions possible with objects of all subclasses of the class&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Interface&lt;/strong&gt;&lt;br /&gt;--is a special kind of block containing method signatures (and possibly constants) only. –defines the signatures of a set of methods, without the body. –defines a standard and public way of specifying the behavior of classes. –allows classes, regardless of their locations in the class hierarchy, to implement common behaviors. –NOTE: interfaces exhibit polymorphism as well, since program may call an interface method, and the proper version of that method will be executed depending on the type of object passed to the interface method call.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-8801482376770310621?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/8801482376770310621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2010/04/inheritancepolymorphisminterface.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/8801482376770310621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/8801482376770310621'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2010/04/inheritancepolymorphisminterface.html' title='Inheritance,Polymorphism,Interface'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-1824158637550006697</id><published>2010-04-19T02:07:00.000-07:00</published><updated>2010-04-19T02:32:16.182-07:00</updated><title type='text'>Working with the java class</title><content type='html'>&lt;strong&gt;Object Oriented Programming&lt;/strong&gt;&lt;br /&gt;--A type of programming in which programmers define not only the data type of a data structure, but also the types of operations (functions) that can be applied to the data structure. In this way, the data structure becomes an object that includes both data and functions. In addition, programmers can create relationships between one object and another. For example, objects can inherit characteristics from other objects. &lt;br /&gt;One of the principal advantages of object-oriented programming techniques over procedural programming techniques is that they enable programmers to create modules that do not need to be changed when a new type of object is added. A programmer can simply create a new object that inherits many of its features from existing objects. This makes object-oriented programs easier to modify. &lt;br /&gt;Object-oriented programming (OOP) is a programming paradigm that uses "objects" – data structures consisting of datafields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, modularity, polymorphism, and inheritance. It was not commonly used in mainstream software application development until the early 1990s&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Encapsulation&lt;/strong&gt;&lt;br /&gt;--In programming, the process of combining elements to create a new entity. For example, a procedure is a type of encapsulation because it combines a series of computer instructions. Likewise, a complex data type, such as a record or class, relies on encapsulation. ObjectOriented ProgrammingLanguages rely heavily on encapsulation to create high-level objects. Encapsulation is closely related to abstraction and information hiding. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Classes And Objects&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Class Variables&lt;/strong&gt;&lt;br /&gt;--A class variable is the opposite of instance variable. It is a special type of class member.&lt;br /&gt;In C++ and C#, class variables are declared with the storage class keyword static, and may therefore be referred to as static member variables.&lt;br /&gt;The same dichotomy between instance and class members applies to methods ("member functions") as well; a class may have both instance methods and class methods. Again, C++ and C# use the keyword static to indicate that a method is a class method ("static member function").&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Class instantiation&lt;/strong&gt;&lt;br /&gt;--is the creation of a real instance or particular realization of an abstraction or template such as a class of objects or a computer process. To instantiate is to create such an instance by, for example, defining one particular variation of object within a class, giving it a name, and locating it in some physical place.&lt;br /&gt;In object-oriented programming with classes, a class variable is a variable defined in a class (i.e. a member variable) of which a single copy exists, regardless of how many objects of the class exist.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Method&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Method Declaration&lt;/strong&gt;&lt;br /&gt;--A method's declaration provides a lot of information about the method to the compiler, the runtime system and to other classes and objects. Besides the name of the method, the method declaration carries information such as the return type of the method, the number and type of the arguments required by the method, and what other classes and objects can call the method. &lt;br /&gt;While this may sound like writing a novel rather than simply declaring a method for a class, most method attributes can be declared implicitly. The only two required elements of a method declaration are the method name and the data type returned by the method. For example, the following declares a method named isEmpty() in the Stack class that returns a boolean value (true or false): &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Static Methods&lt;/strong&gt;&lt;br /&gt;--use no instance variables of any object of the class they are defined in. If you define a method to be static, you will be given a rude message by the compiler if you try to access any instance variables. You can access static variables, but except for constants, this is unusual. Static methods typically take all they data from parameters and compute something from those parameters, with no reference to variables. This is typical of methods which do some kind of generic calculation&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Parameter Passing&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Pass by value&lt;/strong&gt;&lt;br /&gt;--- In this method value of the variable is passed. Changes made to formal will not affect the actual parameters. &lt;br /&gt;- Different memory locations will be created for both variables&lt;br /&gt;&lt;strong&gt;Pass by reference&lt;/strong&gt;&lt;br /&gt;--In Pass by reference address of the variable is passed to a function. Whatever changes made to the formal parameter will affect to the actual parameters &lt;br /&gt;- Same memory location is used for both variables.(Formal and Actual)- &lt;br /&gt;- it is useful when you required to return more then 1 values&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-1824158637550006697?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/1824158637550006697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2010/04/working-with-java-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/1824158637550006697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/1824158637550006697'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2010/04/working-with-java-class.html' title='Working with the java class'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-7786594524129144609</id><published>2010-04-14T00:40:00.000-07:00</published><updated>2010-04-14T02:19:08.227-07:00</updated><title type='text'>topics discussed in java1</title><content type='html'>1.&lt;strong&gt;topics discussed in java 1 .provide brief description per topic&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;-&lt;strong&gt;CONTROL STRUCTURES&lt;/strong&gt;&lt;br /&gt;--1.&lt;strong&gt;Decision control structures&lt;/strong&gt;&lt;br /&gt;     -allows us to select specific section of code&lt;br /&gt;--2.&lt;strong&gt;Repition control structures&lt;/strong&gt;&lt;br /&gt;     -allow us to execute specific sections of the code a number of times&lt;br /&gt;&lt;strong&gt;DECISION CONTROL STRUCTURES&lt;/strong&gt;&lt;br /&gt;Types:&lt;br /&gt;if - boolean expression or variable&lt;br /&gt;   -will be executed if and only if a certain boolean statement is true&lt;br /&gt;example:&lt;br /&gt;   - if (boolean_expression)-syntax&lt;br /&gt;      statement;&lt;br /&gt;or&lt;br /&gt;   -if (boolean_expression){&lt;br /&gt;     statement1;&lt;br /&gt;     statement2;&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;if-else - used when we want to execute a certain statement if a condition is true, and a different statement if the condition is false.&lt;br /&gt;example:&lt;br /&gt;    -if(boolean_expression){&lt;br /&gt;      statement1;&lt;br /&gt;      statement2;&lt;br /&gt;}&lt;br /&gt;else{&lt;br /&gt;      statement3;&lt;br /&gt;      statement4;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if-else-if - in the else clause of an if- else block can be another if-else structure&lt;br /&gt;                - this cascading of structure allows us to make more complex structures&lt;br /&gt;example:&lt;br /&gt;      -if(boolean_expression1)&lt;br /&gt;           statement1;&lt;br /&gt;       else if(boolean_expression2)&lt;br /&gt;           statement2;&lt;br /&gt;       else&lt;br /&gt;            statement3;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ARRAYS&lt;/strong&gt;- stores multiple data item of the same data type&lt;br /&gt;   --index/subscripts-used in access array elements&lt;br /&gt;        --begin with zero and progress sequentially by whole numbers to the end of array.&lt;br /&gt;   --declaration- int number [];&lt;br /&gt;   --instantiate- number = new int [3];&lt;br /&gt;                    or - int number [] = new int [3];&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Two Dimensional Array&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;int [][]number new int [2][5];&lt;br /&gt;[2] - number of rows&lt;br /&gt;[5] - number of columns&lt;br /&gt;number.length = # of rows&lt;br /&gt;number[0]length = # of columns  &lt;br /&gt;&lt;strong&gt;METHODS&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;1.concat()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;2.length()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;3.IndexOf()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;4.LastIndexOf()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;5.CharAt()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;6.equals()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;7.equalsIgnoreCase()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;8.StartsWith()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;9.endswith()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;10.toUpperCase()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;11.toLowerCase()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;12.replace()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;13.Substring()&lt;/strong&gt;                  &lt;br /&gt;&lt;strong&gt;2.Introduction to java programming&lt;/strong&gt;&lt;br /&gt;a.&lt;strong&gt;HISTORY&lt;/strong&gt;&lt;br /&gt;   -Object Oriented Programming that is receiving wide attention from both industry and academe&lt;br /&gt;   -based on c and c++&lt;br /&gt;   -originally intended for writting programs&lt;br /&gt;   -james gosling at sun microsystem in california in year 1991&lt;br /&gt;   -original name of java is "&lt;strong&gt;OAK&lt;/strong&gt;" the name oak come from a tree&lt;br /&gt;b.&lt;strong&gt;JAVA TECHNOLOGY&lt;/strong&gt;&lt;br /&gt;-a.&lt;strong&gt;programming language&lt;/strong&gt;&lt;br /&gt;     --can create all kinds of application,create using any conventional programming language&lt;br /&gt;-b.&lt;strong&gt;development environment&lt;/strong&gt;&lt;br /&gt;     --provides you w/ a large suite of tools&lt;br /&gt;         --computer,interpreter,document generator,class file packaging tool&lt;br /&gt;     --2 main development environment&lt;br /&gt;       --sdk(software development kit)-basic language,gui componet classes&lt;br /&gt;       --web browser-most commercial browser&lt;br /&gt;-c.&lt;strong&gt;application environment&lt;/strong&gt;&lt;br /&gt;     --general purpose programs that run at any machine program&lt;br /&gt;-d.&lt;strong&gt;deployment environment&lt;/strong&gt;&lt;br /&gt;c.&lt;strong&gt;JAVA FEATURES&lt;/strong&gt;&lt;br /&gt;-a.&lt;strong&gt;java virtual machine&lt;/strong&gt;&lt;br /&gt;    --imaginary machine that is implemented by emulating software on a real machine&lt;br /&gt;-b.&lt;strong&gt;garbage collection&lt;/strong&gt;&lt;br /&gt;    --responsible for freeing any memory that can be freed&lt;br /&gt;-c.&lt;strong&gt;code security&lt;/strong&gt;    --special machine language that can be understood by the java virtual machine&lt;br /&gt;&lt;br /&gt;d.&lt;strong&gt;PHASES OF JAVA PROGRAMS&lt;/strong&gt;&lt;br /&gt;-a.write  - making a program or codes&lt;br /&gt;-b.compile - compiling the program using compiler&lt;br /&gt;-c.run  - runs the program or debugging the program&lt;br /&gt;&lt;br /&gt;e.&lt;strong&gt;difference bet. java application and java applets&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; JAVA APPLICATION&lt;/strong&gt; - stand alone program that does not require a web browser&lt;br /&gt; &lt;strong&gt;JAVA APPLETS&lt;/strong&gt;- run w/ in a web browser and it is not stand alone&lt;br /&gt;f.&lt;strong&gt;what makes java as a oop?&lt;/strong&gt;&lt;br /&gt;    --it received wide attention from both industry and academe&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-7786594524129144609?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/7786594524129144609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2010/04/topics-discussed-in-java1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7786594524129144609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7786594524129144609'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2010/04/topics-discussed-in-java1.html' title='topics discussed in java1'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-3749315363805766990</id><published>2009-09-17T03:15:00.000-07:00</published><updated>2009-09-17T03:31:34.399-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='O.S 9'/><title type='text'>INSTALLATION PROCESS OPEN SOURCE</title><content type='html'>&lt;p&gt;&lt;strong&gt;                                                                  &lt;span style="font-family:verdana;"&gt;    &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;"&gt;Install Ubuntu&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Start computer and boot from CD. &lt;/p&gt;&lt;p&gt;Select Install to hard drive. &lt;/p&gt;&lt;p&gt;Select your language, country, and keyboard layout (i.e. English, United States, American English) &lt;/p&gt;&lt;p&gt;Select manually configure and set an IP address (or autoconfig if you don't know). &lt;/p&gt;&lt;p&gt;Enter your servername (i.e. moodletest) &lt;/p&gt;&lt;p&gt;Select to manually edit the partition table. I’m doing my testing on a standard 40GB harddrive and will modify these sizes for production. &lt;/p&gt;&lt;p&gt; /boot ext3 200MB bootable (may need to be under cylinder 1024 on your harddrive to be bootable)&lt;br /&gt; / ext3 10GB  (files are relatively static)&lt;br /&gt; swap  4GB  (4xRAM if you don't have much memory, down to 1xRAM if you have gobs of memory)&lt;br /&gt; /var ext3 26GB  (variable content – uses rest of the drive)&lt;br /&gt;&lt;br /&gt;Select your timezone. (i.e. Central) &lt;/p&gt;&lt;p&gt;Set clock to Universal Time. &lt;/p&gt;&lt;p&gt;Enter Administrators full name. (i.e. Joe Smith) &lt;/p&gt;&lt;p&gt;Enter account name. (i.e. joesmith) &lt;/p&gt;&lt;p&gt;Enter a secure password. (‘abcde’ is not a good one!) &lt;/p&gt;&lt;p&gt;Let the computer restart. &lt;/p&gt;&lt;p&gt;Log in your account. &lt;/p&gt;&lt;p&gt;Edit the /etc/apt/sources.list file. Remove the # mark on lines 22 and 38 to enable access to the universe package source and universe security updates. You will need to re-enter your account password when sudo asks for it. &lt;/p&gt;&lt;p&gt;sudo nano /etc/apt/sources.list &lt;br /&gt;Now to get all the security updates. &lt;/p&gt;&lt;p&gt;sudo apt-get update&lt;/p&gt;&lt;p&gt;sudo apt-get dselect-upgrade&lt;br /&gt;Normally you would just use sudo apt-get upgrade. &lt;/p&gt;&lt;p&gt;And reboot to run on the new kernel! &lt;/p&gt;&lt;p&gt;sudo reboot&lt;br /&gt;Install MySQL (skip Postgresql)&lt;br /&gt;At this point we'll need to log in again to the server and type: &lt;/p&gt;&lt;p&gt;sudo apt-get install mysql-server php5-mysql&lt;br /&gt;Press Y to continue the install. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;Replace the following string NewRootDatabasePassword with a secure password of your own choosing. &lt;/p&gt;&lt;p&gt;There is no space between the -p and the password on the second command. &lt;/p&gt;&lt;p&gt;mysqladmin -u root password NewRootDatabasePassword&lt;/p&gt;&lt;p&gt;mysqladmin -u root -h localhost password NewRootDatabasePassword -pNewRootDatabasePassword&lt;br /&gt;We now need to create the Moodle database and Moodle user in MySQL. &lt;/p&gt;&lt;p&gt;The mysql command will prompt for your NewRootDatabasePassword (from above). Replace NewMoodleDatabasePassword with a secure password of your own choosing. &lt;/p&gt;&lt;p&gt;mysql -u root -p&lt;br /&gt;&gt; CREATE DATABASE moodle DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;&lt;br /&gt;&gt; GRANT ALL PRIVILEGES ON moodle.* TO &lt;a href="mailto:moodleuser@localhost"&gt;moodleuser@localhost&lt;/a&gt; IDENTIFIED BY 'NewMoodleDatabasePassword';&lt;br /&gt;&gt; GRANT SELECT,LOCK TABLES on moodle.* TO &lt;a href="mailto:moodlebackup@localhost"&gt;moodlebackup@localhost&lt;/a&gt; IDENTIFIED BY 'MoodleBackupPassword';&lt;br /&gt;&gt; FLUSH PRIVILEGES;&lt;br /&gt;&gt; QUIT&lt;br /&gt;The above also creates a backup user moodlebackup so that you can use mysqldump to make database backups without accident. &lt;/p&gt;&lt;p&gt;Install Postgresql (skip MySQL)&lt;br /&gt;At this point we'll need to log in again to the server and type: &lt;/p&gt;&lt;p&gt;sudo apt-get install postgresql-8.1 php5-pgsql&lt;br /&gt;Press Y to continue the install. &lt;/p&gt;&lt;p&gt;We now need to create the database user 'moodleuser'. &lt;/p&gt;&lt;p&gt;sudo -u postgres createuser -D -A -P moodleuser&lt;br /&gt;Enter in a NewMoodleDatabasePassword here, then answer 'N' to the question. &lt;/p&gt;&lt;p&gt;We now need to create the database 'moodle' for the user 'moodleuser'. You'll need to enter the password that you just created. &lt;/p&gt;&lt;p&gt;sudo -u postgres createdb -E utf8 -O moodleuser moodle&lt;br /&gt;Let's now secure the postgresql database with an admin password. &lt;/p&gt;&lt;p&gt;sudo -u postgres psql template1&lt;br /&gt;# ALTER USER postgres WITH PASSWORD 'NewAdminDatabasePassword';&lt;br /&gt;# \q&lt;br /&gt;Edit the file '/etc/postgresql/8.1/main/pg_hba.conf' and on line 79 change the words ident sameuser to md5. &lt;/p&gt;&lt;p&gt;sudo nano /etc/postgresql/8.1/main/pg_hba.conf&lt;br /&gt;Restart the database so everything is fine. &lt;/p&gt;&lt;p&gt;sudo /etc/init.d/postgresql-8.1 restart&lt;br /&gt;Install Apache&lt;br /&gt;The following mod-security, ldap, and odbc libraries are optional. &lt;/p&gt;&lt;p&gt;sudo apt-get install apache2 libapache2-mod-php5 php5-gd&lt;/p&gt;&lt;p&gt;sudo apt-get install libapache2-mod-security php5-ldap php5-odbc&lt;br /&gt;Restart Apache &lt;/p&gt;&lt;p&gt;sudo /etc/init.d/apache2 restart&lt;br /&gt;Note: To install Moodle 2.0 for the current ubuntu, you need to install PHP from an external repository --Olli Savolainen 19:28, 10 April 2009 (UTC) &lt;/p&gt;&lt;p&gt;Install other software&lt;br /&gt;On the command line, type: &lt;/p&gt;&lt;p&gt;sudo apt-get install openssh-server unattended-upgrades&lt;/p&gt;&lt;p&gt;sudo apt-get install unzip zip aspell-en aspell-fr aspell-de aspell-es&lt;/p&gt;&lt;p&gt;sudo apt-get install curl php5-curl php5-xmlrpc&lt;/p&gt;&lt;p&gt;sudo apt-get install clamav-base clamav-freshclam clamav&lt;br /&gt;Press Y to continue the install after each of these apt-get commands. &lt;/p&gt;&lt;p&gt;The clamav package will support virus checking on file uploads into Moodle. May have to run it again to configure properly. &lt;/p&gt;&lt;p&gt;Additional languages are available for aspell. &lt;/p&gt;&lt;p&gt;Install Moodle&lt;br /&gt;On the command line, type: &lt;/p&gt;&lt;p&gt;cd /var/www&lt;/p&gt;&lt;p&gt;sudo wget &lt;a href="http://download.moodle.org/stable19/moodle-latest-19.tgz"&gt;http://download.moodle.org/stable19/moodle-latest-19.tgz&lt;/a&gt;&lt;/p&gt;&lt;p&gt;sudo tar -zxf moodle-latest-19.tgz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;----&lt;br /&gt;in ubuntu 8.04 it should be:&lt;br /&gt;sudo tar zxf moodle-latest-19.tgz&lt;br /&gt;----&lt;/p&gt;&lt;p&gt;sudo mkdir /var/moodledata&lt;/p&gt;&lt;p&gt;sudo chown -R www-data:www-data /var/moodledata&lt;br /&gt;where www-data is whatever user/group was created automatically when apache was installed.&lt;br /&gt;We now need to edit the location of the default web site. On lines five and ten, replace /var/www/ with /var/www/moodle/. Restart Apache. (See page comments for more details on this instruction.) &lt;/p&gt;&lt;p&gt;sudo nano /etc/apache2/sites-available/default  &lt;/p&gt;&lt;p&gt;sudo /etc/init.d/apache2 restart&lt;br /&gt;Configure Moodle website&lt;br /&gt;ifconfig (look for your server’s ip address on the 2nd line). &lt;/p&gt;&lt;p&gt;On another computer open a web browser and put in your server address. Make sure your web browser is set to accept cookies. &lt;/p&gt;&lt;p&gt;Complete the Moodle install using a secure username and password. &lt;/p&gt;&lt;p&gt;Go to a bar for a few hours. &lt;/p&gt;&lt;p&gt;Come back and tell your boss that you FINALLY got the test server running. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-3749315363805766990?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/3749315363805766990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/09/installation-process-open-source_17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/3749315363805766990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/3749315363805766990'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/09/installation-process-open-source_17.html' title='INSTALLATION PROCESS OPEN SOURCE'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-2566728415519466229</id><published>2009-09-17T03:09:00.000-07:00</published><updated>2009-09-17T03:13:14.526-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='O.S 9'/><title type='text'>INSTALLATION PROCESS OPEN SOURCE</title><content type='html'>LINUX &lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;INSTALLATION&lt;/p&gt;This is a step-by-step installation procedure for Linux, specifically Ubuntu 8.04. This is only for those who are doing this for the first time. And those who have installed any other OS before will feel this really useless. But for the “others” who have not installed any OS, I hope this will be useful. All those who have previous experience in installation please go through this and point out the mistakes. I am trying to explain the installation procedure by which your can use dual booting, i.e. you can use both windows and Linux in the same computer. For that the computer should already have windows installed in it. You can’t install windows after linux and then use linux because Windows doesn’t detect Linux. But there is a procedure to do that too. By using SuperGRUB, you can do that. But I have not used it and knows nothing about how to do it. So its better to leave it at that. I heard its not that difficult. Arrange for a CD/DVD of Ubuntu 8.04 or the latest version available. It is sent for free to home for personal use by Canonical.Search “Ubuntu ShipIt” in Google for more details. Or download the image of Ubuntu 8.04 from net. Again search in Google for image links. I would recommend using torrent for downloading. Write the image to a CD/DVD. Turn on the computer and start the BIOS edit. Usually its DEL,F1,F2,… key to start the BIOS. There change the BOOT device priority and set CD Drive as NO.1. In most computers it will be the default setting. Save and quit BIOS, insert the CD and restart. The black screen with a choice for language appears. Select English or use others only if you are very comfortable with that language. I recommend english.&lt;br /&gt;&lt;br /&gt;The computer will now boot from the CD/DVD. Now the black screen below will come. Click on the Install Ubuntu button.&lt;br /&gt;&lt;br /&gt;&lt;p style="TEXT-ALIGN: left"&gt;Wait for some time while the Linux Kernel loading box cruises to 100%. Then the real installation procedures.begin. Its a 7 step process.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;STEP 1:- The first step is the language selection. As usual select the English option. The click on the forward button to proceed.&lt;/p&gt;STEP 2:- In this step you see a world map with a lots of dot and a question “Where are you”. They are asking for the time zone of your location. You just got to click on the the red dot near your place or on the drop down menu select it. For Indians the only option is Kolkatta GMT+5:30. Proceed FORWARD.&lt;br /&gt;&lt;br /&gt;STEP 3:- The third step is the keyboard layout. Just click on your keyboard layout. In India we use the USA layout. If yours is different, you just got to select it and type on the box given below and see whether the same key as you press is appearing on the screen. Its another of the silly steps. Again FORWARD.&lt;br /&gt;&lt;p&gt;STEP 4:-If you ask me, this is the only difficult step of the whole installation procedure. But its not that difficult. After you do this once, its a piece of cake. Its a bit dangerous step because one mistake and you can lose your complete data in the hard disk. You get an option Guided or Manual. In guided they help you do it, but I would recommend you to take Manual because you get more flexibility here. When you press forward they scan the disk and the partition table comes. This table has the Device partitions, its type, mount point, format option and size used. Linux’s file system is ext3 and windows use fat32 and NTFS. Linux detects all these file systems. But windows doesn’t detect ext3. So for dual use its always good to use ext3 for only one partition in which Linux is installed and to use fat32 for all other partitions. Leave the partition where Windows is installed as such if you wish to facilitate dual boot. You can remove the rest of partitions and create new partitions. Create one partition in ext3 format and set the mount point as ‘/’ backslash. Its better to give around 5 GB for this partition. A swap area is also needed. The size of this should be around double of the size of your RAM. For most computers 1GB swap area would be sufficient. Create that partition, set its type as Swap area. This should be enough. Now press the FORWARD. &lt;/p&gt;&lt;p&gt;STEP 5:- This is again another of the simple step. “Who are you”. Give here your name, the login name and password for your account in the computer and a computer name, which is the name of your computer as seen by other computers in your network. Now click on Forward. &lt;/p&gt;&lt;p&gt;STEP 6:- Step 6 unfortunately has no screenshots. But again, this too is a very simple step. They ask whether you want to migrate your user settings like user accounts from your existing OS which would be Windows in most cases. I never select this option. But if its needed you can do it.&lt;br /&gt;&lt;/p&gt;&lt;p style="TEXT-ALIGN: left"&gt;STEP 7:- “Ready to Install”. The most beautiful step of them all. You see all the selections you have made in the first six method and see an install button. You can verify them, change them if needed by going back. When all changes have been made, press on INSTALL button. &lt;/p&gt;&lt;p style="TEXT-ALIGN: left"&gt;This should be it. Now they start the installation procedures. They set up the partitions, format it. Copies the necessary OS files into the / directory or root directory. It should take some time, around 15 min in the computer in which I installed. &lt;/p&gt;When it reaches 100% you see this screen given below. ITS NOW TIME FOR CELEBRATIONS &lt;p style="TEXT-ALIGN: left"&gt;Hang on!! Just a moment before the celebrations. They ask you to restart the machine before that. So click on the Restart now option and wait for restarting. You can remove the CD/DVD this time before booting because CD/DVD drive is&lt;br /&gt;&lt;br /&gt;given the first priority. The booting up procedures can be seen now. Unlike in windows where you see a loading windows screen, here you see all the steps that are being done. There is also an option of booting like windows too. The login screen comes now. Login using the username and password given during installation. &lt;/p&gt;The linux screen appears. The mind blowing beauty is bound to leave you speechless for a little while. But don’t be so for long. &lt;p style="TEXT-ALIGN: left"&gt;START ENJOYING THE WONDERFUL OS. AND REMEMBER INSTALLATION SHOULD NOT BE TAKEN AS A HARD JOB. ITS QUITE AN INTERESTING JOB. WHENEVER NEW VERSIONS GET RELEASED TRY IT. Debian, Ubuntu, Mandriva, Red Hat, Kubuntu, Mint etc. are some of the mostly used Linux versions. From my limited knowledge I have felt Ubuntu as the most user-friendly linux OS, especially for those who are new to Linux. For programmers and computer students I would recommend Debian. “WELCOME TO THE FREE WORLD”.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-2566728415519466229?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/2566728415519466229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/09/installation-process-open-source.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2566728415519466229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2566728415519466229'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/09/installation-process-open-source.html' title='INSTALLATION PROCESS OPEN SOURCE'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-1507401090864102599</id><published>2009-09-17T02:45:00.000-07:00</published><updated>2009-09-17T03:09:37.139-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='O.S 9'/><title type='text'>INSTALLATION PROCESS</title><content type='html'>&lt;p&gt;                                                  WINDOWS VISTA INSTALLATION&lt;/p&gt;&lt;p&gt;The best way to install Windows Vista is to do a clean install. It is not difficult to perform a clean installation. Before you perform the installation I recommend that you check &lt;a href="http://www.microsoft.com/windows/products/windowsvista/editions/systemrequirements.mspx"&gt;&lt;span style="color:#999999;"&gt;Windows Vista System Requirments list &lt;/span&gt;&lt;/a&gt;to ensure that your hardware is supported by Vista. If you dont have Windows Vista drivers for all your hardware, it is a good idea to download all the drivers from the hardware manufacturers website and save all the necessary drivers on a CD-R before you start the installation. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Windows Vista DVD is bootable. In order to boot from the DVD you need to set the boot sequence. Look for the boot sequence under your BIOS setup and make sure that the first boot device is set to CD-ROM/DVD-ROM.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt; - Place Windows Vista DVD in your dvd-rom drive and start your PC. Windows Vista will start to boot up and you will get the following progress bar. &lt;/p&gt;&lt;strong&gt;Step 2&lt;/strong&gt; - The next screen allows you to setup your language, time and currency format, keyboard or input method. Choose your required settings and click next to continue.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 3&lt;/strong&gt; - The next screen allows you to install or repair Windows Vista. Since we are doing a fresh install we will click on "install now".&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 4 &lt;/strong&gt;- You can now type the product key that came with your Windows vista.&lt;br /&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;strong&gt;Step 5&lt;/strong&gt; - If you do not enter the product key you can still proceed with the installation in which case Windows will ask you which version of Vista you have purchased. Windows Vista Home Basic, Home Premium, Ultimate, Business etc. Select the version you have purchased and click next. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="left"&gt;Please note, although you can select any version of Windows and proceed to next stage. It is not good idea to select a different version to the one you have purchased becuase you will not be able to activate Windows at a later stage. Windows Vista can detect which version you have purchased once you enter your product key. &lt;/p&gt;&lt;p align="left"&gt;&lt;strong&gt;Step 6&lt;/strong&gt; - Tick "I accept the licence terms" and press next.&lt;/p&gt;&lt;p align="left"&gt;&lt;strong&gt;Step 7&lt;/strong&gt; - Choose the type of installation you want to perform. You will notice that upgrade option is disabled as we have booted from the DVD-R. Therefore we can only select Custom (advanced) option which basicly installs a clean copy of Windows from scratch.&lt;/p&gt;&lt;strong&gt;Step 8&lt;/strong&gt; - Choose where you would like to install Windows Vista. If you have a new upartitioned hard drive you would get your hard drive listed as shown on the image below. If have have an old hard drive with data or other partitions it will show up as logical drives. You can select the drive options (advaced) to format, delete, or create new partions. Because I am using a single new hard drive i will select next to continue. Windows will create a partition and format it using NTFS files system.&lt;br /&gt;&lt;p align="left"&gt;&lt;strong&gt;Step 9&lt;/strong&gt; - Windows starts the installation process and starts copying all the necessary files to your hard drive as shown on the image below. It will go through various stages of the setup and will reboot your system few times. When your PC reboots it attempts to boot from CD as its the first boot device. Do not press any key during the boot prompt so Windows Vista will continue with the installation by booting from your hard drive. &lt;/p&gt;&lt;p align="left"&gt;&lt;br /&gt;&lt;strong&gt;Step 10 &lt;/strong&gt;- After installation copy process is complete you are presented with the Setup Windows dialogue box as show below. At this stage you need to choose a user name, password and a picture for your user account. The account you create here is the Administrator account which is the main account for your Windows Vista that has all the privilages. Click next continue. &lt;/p&gt;&lt;strong&gt;Step 11&lt;/strong&gt; - Now you need to choose your computer name and desktop background. Click next to continue.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 12&lt;/strong&gt; - Choose wether your want to Help protect Windows automatically. Select "Use recommened settings" to continue&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 13&lt;/strong&gt; - Review your time and date settings. Select your time zone, correct the date and time and click next to continue.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 14&lt;/strong&gt; - Windows now runs a benchmark type of application which checks the performance of your system. You will see a status bar at bottom which shows the progress. Once the process is complete you will be presented with the logon screen.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 15&lt;/strong&gt; - Finally you have the logon screen. Just type your password and press enter or click on the arrow to logon to Windows Vista for the first time.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 16&lt;/strong&gt; - Soon as you logon you will be presented with welcome centre. You can use the welcome centre to configure, customise, and update Windows vista. &lt;br /&gt;&lt;p align="left"&gt;&lt;strong&gt;Step 17&lt;/strong&gt; - Finally you need to check if all your hardware has been detected correctly. You can do so by checking your device manager. To access device manager click Start menu -&gt; Control panel -&gt; System -&gt; Device manager. You will see all your hardware listed as shown below. You need to check if you have any yellow exclamtion marks next to the name of the device similar to "USB 10/100 LAN" on image below. This indicates the driver has not been installed for this device. &lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;At this stage you need to install Windows Vista drivers by double clicking on "USB 10/100 LAN" or your device. The properties dialog box will appear. Click on Reinstall Driver. Then you can choose wether you want to install the driver from the internet (if available) or install manually from a CD or other media &lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;Once you have removed all the yellow exclamtion marks from the device manager your Windows Vista configuration would be fully complete.&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-1507401090864102599?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/1507401090864102599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/09/installation-process_17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/1507401090864102599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/1507401090864102599'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/09/installation-process_17.html' title='INSTALLATION PROCESS'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-7871245372491780346</id><published>2009-09-17T01:51:00.000-07:00</published><updated>2009-09-17T02:22:51.376-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='O.S 9'/><title type='text'>INSTALLATION PROCESS</title><content type='html'>ASC Windows 2000 Installation Process&lt;br /&gt;Prerequisites for installation:&lt;br /&gt;CD and floppies:&lt;br /&gt;To install Windows 2000, the installation CD is needed. The instructions below list how to boot directly from the CD. However, if desired or necessary, the four floppies can be created by opening &lt;cd&gt;:\bootdisk\makeboot from the install CD and following the on screen instructions.&lt;br /&gt;Cards and Drivers&lt;br /&gt;During the installation process, a number of machine dependant drivers will be needed. Given the relative newness of Windows 2000, native drivers for most hardware exists. Other hardware drivers or updates to native drivers are available through Windows Update. Before beginning, though, make sure to know what kind of cards and drivers are necessary for the computer's&lt;br /&gt;Ethernet Card&lt;br /&gt;Video Card&lt;br /&gt;Sound Card&lt;br /&gt;Hard Drive Controller Card&lt;br /&gt;For most new computers, these drivers will be included on CD or floppy. For reconditioned machines, finding the type of card may involve calling Micron or opening up the machine and searching for the drivers on the internet.&lt;br /&gt;Computer name&lt;br /&gt;The install will request a name for the computer. The current ASC convention is to name computers AAS####, with the numbers running sequentially. Before installing, call Hannah or Blaine at the ASC help desk 660-3186 to get the next name on the list.&lt;br /&gt;Nonstandard Issues&lt;br /&gt;Most of the instructions for installations involve accepting the defaults. An attempt will be made to point out these non-standard or ASC specific instructions by displaying them in red.&lt;br /&gt;----------------------------------------------------------------------------------------------&lt;br /&gt;1.BIOS Settings&lt;br /&gt;&lt;br /&gt;Plug and Play needs to be enabled in the BIOS for Windows 2000 to function correctly.&lt;br /&gt;For most machines, Plug and Play will be enabled by default. However, machines being upgraded from Windows NT should have had Plug and Play disabled. All machines should be checked, but these machines in particular.&lt;br /&gt;To do this, turn on the computer and enter Setup by pressing some key, usually Delete or F2. Some very old machines will not display a key to press to enter Setup. In these cases, boot to DOS and try CTRL-ALT-S or ALT-S.&lt;br /&gt;Once in, from the CMOS Setup, find the toggle for Plug and Play OS. Most machines can enable Plug and Play or not. In this case, set it to Yes. On the newer Microns or laptops, this toggle will display a list of operating systems. Choose the one corresponding to Windows 2000.&lt;br /&gt;The install will proceed from CD, so the boot order needs to include CDROM.&lt;br /&gt;The boot order also can be found in the BIOS settings, usually the BIOS Features Setup.&lt;br /&gt;Ideally, the order should be A, CDROM, C. In practice, as long as the floppy and CD come before the hard drive, this will be sufficient for installation.&lt;br /&gt;Note: The newest Microns have an option for choosing the boot device by pressing Esc at the Micron splash screen. Otherwise, if a bootable CD is in the drive, and boot from CD comes before the hard drive in the order, the message "Press any key to boot from CD" will appear for a few seconds.&lt;br /&gt;After setting Plug and Play and boot order, save the changes to the BIOS.&lt;br /&gt;&lt;br /&gt;2.Booting from CD&lt;br /&gt;&lt;br /&gt;After saving changes to BIOS, insert the Windows 2000 Professional Installation CD and boot the computer from the CD.&lt;br /&gt;After a few seconds of inspecting hardware, a blue, text-based "Windows 2000 Setup" screen will appear.&lt;br /&gt;At the bottom, the message Press F6 if you need to install a third party SCSI or RAID driver... will appear. Press F6 if necessary, and install the drivers.&lt;br /&gt;Note: This F6 step is necessary to install the Ultra driver.&lt;br /&gt;If the computer contains no SCSI devices, the message will disappear after a few seconds and setup will begin loading files.&lt;br /&gt;After finishing loading, a "Welcome to Setup" screen will appear, listing three installation options. Hit Enter to begin setting up Windows 2000.&lt;br /&gt;The "Licensing Agreement" will appear. Click F8 to accept.&lt;br /&gt;Note: Unlike Windows NT, it is not necessary to scroll to the bottom before accepting the agreement.&lt;br /&gt;&lt;br /&gt;3.Disk Partitions&lt;br /&gt;&lt;br /&gt;After accepting the licensing agreement, a list of partitions will appear.&lt;br /&gt;Delete the existing partitions one at a time by highlighting the partition and pressing D, Enter then L. Repeat until all partitions have been deleted and only unpartitioned space remains.&lt;br /&gt;Note: NTFS for Windows 2000 is different from NTFS for Windows NT. So even existing NTFS partitions need to be deleted and recreated.&lt;br /&gt;Press Enter to choose the unpartitioned space for Windows 2000 installation. With this option, the partition will be made as large as possible in the unpartitioned space.&lt;br /&gt;Note: Unlike Windows NT, there is not a 2GB limit on the boot partition in Windows 2000.&lt;br /&gt;A "Formatting the partition..." screen will appear. Unlike Windows NT, the NTFS file system will be the default. Press Enter to begin formatting the partition with NTFS.&lt;br /&gt;Note: *** We use NTFS instead of the FAT for security reasons. ***&lt;br /&gt;After formatting, a "Setup is copying files..." screen appears as installation files are written to the hard drive.&lt;br /&gt;Once finished copying, the installer will begin a 15 second countdown to automatic reboot.&lt;br /&gt;&lt;br /&gt;4.Workstation Setup Part 2&lt;br /&gt;&lt;br /&gt;After restarting, allow the machine to boot to the hard drive. This may require removing the CD.&lt;br /&gt;After rebooting, a "Windows 2000 Professional Setup" window will appear. Click Next, or wait a few seconds for the Setup Wizard to begin on its own&lt;br /&gt;After begining the wizard, an "Installing Devices" window will appear. Using its native drivers, the installer will begin installing the devices it finds.&lt;br /&gt;Once the devices install, a "Regional Settings" window appears. Click Next to select the default US English locale and keyboard.&lt;br /&gt;A "Personalize Your Software" window appears. Under "Name:" enter A&amp;amp;S Computing and under "Organization:" enter Duke University. Click Next.&lt;br /&gt;A "Your Product Key" window will appear. Under "Product Key:" enter the 25 character key on the Installer jewel case. Then click Next.&lt;br /&gt;A "Computer Name and Administrator Password" window appears.&lt;br /&gt;Microsoft will attempt to provide a name. Instead, next to "Computer Name:" enter the name AAS#### you were given before beginning the 2000 installation.&lt;br /&gt;Next to "Administrative password:" type the standard administrative password and again next to "Confirm password."&lt;br /&gt;Click Next to continue.&lt;br /&gt;A "Date and Time Settings" window will appear.&lt;br /&gt;Next to "Date &amp;amp; Time," the date and time can be set if incorrect.&lt;br /&gt;Next to "Time Zone," select (GMT - 5:00) Eastern Time (US&amp;amp;Canada) from the drop down menu.&lt;br /&gt;Click Next to continue.&lt;br /&gt;&lt;br /&gt;5.Networking Setup&lt;br /&gt;&lt;br /&gt;A "Network Settings" window will appear while the installer installs the Windows 2000 native network card drivers.&lt;br /&gt;After the drivers install, a "Choose settings" window will appear. Select Custom settings and click Next.&lt;br /&gt;A "Network Components" window will appear. Highlight Internet Protocol (TCP/IP) and click Properties.&lt;br /&gt;An "Internet Protocol (TCP/IP) Properties" window will appear.&lt;br /&gt;Click Use the following IP address:. The options below will blacken in.&lt;br /&gt;Next to "IP Address:" enter a temporary test IP. The computer's eventual permanent IP will be entered upon delivery to the user. Test IP's differ from subnet to subnet. For a list of test IP's in a given subnet call ASC at 660-3186.&lt;br /&gt;Next to "Subnet Mask:" enter 255.255.255.0.&lt;br /&gt;Next to "Default Gateway:" enter 152.3.XX.250 where XX is the subnet of the test IP. Again this will probably change upon delivery.&lt;br /&gt;Click Advanced to enter other networking information.&lt;br /&gt;An "Advanced TCP/IP Settings" window appears.&lt;br /&gt;Click the DNS tab.&lt;br /&gt;Under "DNS Service Addresses" click Add.&lt;br /&gt;A "TCP/IP DNS Server" window appears. Enter 152.3.250.1 and click Add&lt;br /&gt;Repeat and add 152.3.250.2 and 128.109.131.40.&lt;br /&gt;Next to "DNS suffix for this connection:" enter aas.duke.edu.&lt;br /&gt;Uncheck Register this connection's addresses in DNS.&lt;br /&gt;Click the WINS tab.&lt;br /&gt;Under "WINS Addresses" click Add.&lt;br /&gt;A "TCP/IP WINS Server" window appears. Enter 152.3.10.232 and click Add&lt;br /&gt;Repeat and add 152.3.28.232.&lt;br /&gt;Uncheck Enable LMHOSTS Lookup.&lt;br /&gt;Nothing needs changing under the "Options" tab. Click OK to close the Advanced TCP/IP Properties window.&lt;br /&gt;The "Internet Protocols (TCP/IP) Properties" window will reappear. Click OK to finish TCP/IP properties.&lt;br /&gt;The "Network Components" window will reappear.&lt;br /&gt;Optional install: The IPX/SPX protocol can be installed at this time. IPX is only necessary for Novell, and the Novell Client installer will install it automatically, if it is not present. Whenever IPX is installed, however, the frame type needs to be changed to Ethernet II.&lt;br /&gt;Click Next to finish installing and configuring Network Components.&lt;br /&gt;&lt;br /&gt;6.Machine Domain Account&lt;br /&gt;&lt;br /&gt;A "Workgroup or Computer Domain" window will appear. Eventually, ASC would like all NT and W2K machines to belong to the AASNT domain. This leaves a couple of options at this juncture:&lt;br /&gt;If you have the capability to create domain accounts, and the machine is a one-time set up, create a computer account in the domain.&lt;br /&gt;Click Yes, make this computer a member of the following domain:.&lt;br /&gt;Below Workgroup or computer domain enter AASNT.&lt;br /&gt;Click Next.&lt;br /&gt;A "Join Computer to AASNT Domain" window will appear. Enter your NT domain user name and password and click OK.&lt;br /&gt;If you do not have the capability to create domain accounts, or if multiple machines will be imaged from this one machine, leave the machine in a workgroup.&lt;br /&gt;Click No, this computer is ... on a network without a domain.&lt;br /&gt;Below Workgroup or computer domain enter AASNT.&lt;br /&gt;Click Next.&lt;br /&gt;&lt;br /&gt;7.Final Tasks&lt;br /&gt;&lt;br /&gt;An "Installing Components" window will appear.&lt;br /&gt;After the last networking components install, a "Performing Final Tasks" window will appear.&lt;br /&gt;A checklist will mark the final tasks before installation of Windows 2000 completes.&lt;br /&gt;A "Completing the Windows 2000 Setup Wizard" window appears. Remove any floppies and CDs and click Finish.&lt;br /&gt;&lt;br /&gt;8.Network Identification Wizard&lt;br /&gt;&lt;br /&gt;After reboot, a "Network Identification Wizard" window will appear.&lt;br /&gt;Click Next to continue with the Wizard.&lt;br /&gt;Different options will appear, depending on the machine's AASNT domain status.&lt;br /&gt;Domain: A "User Account" window will appear.&lt;br /&gt;Click Do not add a user at this time.&lt;br /&gt;Click Next.&lt;br /&gt;Workgroup: A "Users of this computer" window will appear.&lt;br /&gt;Check Users must enter a user name and password....&lt;br /&gt;Click Next.&lt;br /&gt;A "Completeing the Network Identification Wizard" window will appear. Click Finish&lt;br /&gt;&lt;br /&gt;9.Logging In&lt;br /&gt;&lt;br /&gt;A "Welcome to Windows" window will appear. Click ctrl-alt-delete to bring up the login screen.&lt;br /&gt;The login screen will default to Administrator as the user. Unlike Windows NT, even if the machine is a member of the AASNT domain, the default login will be to AAS#### (this computer). To change this, if desired, click Options.&lt;br /&gt;Log into the machine as Administrator using the password selected during setup.&lt;br /&gt;A "Getting Started with Windows 2000" window will appear. Uncheck Show this screen at startup and click Exit to begin using Windows 2000&lt;br /&gt;&lt;br /&gt;10.Changing Virtual Memory&lt;br /&gt;&lt;br /&gt;Under the "Start" menu, go to Settings and click Control Panel. Under the "Control Panel" window, open System.&lt;br /&gt;A "System Properties" window will appear. Click the Advanced tab, then click Performance Options.&lt;br /&gt;A "Performance Options" window will appear. Click Change.&lt;br /&gt;A "Virtual Memory" window will appear. The C: drive will probably be the only disk. If not, under "Drive" select the C: drive.&lt;br /&gt;Under "Paging file size for selected drive" change Initial Size to match Maximum Size. Then click Set.&lt;br /&gt;Click OK to close the "Virtual Memory" window, OK to close the "Performance Options" window, then OK to close the "System Properties" window. Unlike NT, a reboot should not be necessary.&lt;br /&gt;&lt;br /&gt;11.Internet Explorer 5.5&lt;br /&gt;&lt;br /&gt;Windows 2000 installs with Internet Explorer (IE) 5.0. For security reasons, IE needs to be upgraded to 5.5 SP1. Fortunately, IE contains a Windows Update tool to make this easy, so open Internet Explorer&lt;br /&gt;Running IE for the first time causes the Internet Connection Wizard to begin.&lt;br /&gt;A "Welcome to the Internet Connection Wizard" window will appear. Check I want to set up my Internet connection manually... and click Next.&lt;br /&gt;A "Setting up your Internet connection" window will appear. Check I connect through a local area network (LAN) and click Next.&lt;br /&gt;A "Local area network Internet configuration" window will appear. Check Automatic discovery... and click Next.&lt;br /&gt;A "Set Up Your Internet Mail Account" window will appear. Check No and click Next.&lt;br /&gt;A "Completing the Internet Connection Wizard" window will appear. Click Finish to start IE. The "Connect to the Internet" shortcut should disappear from the desktop.&lt;br /&gt;Once IE starts, under Tools, click Windows Update.&lt;br /&gt;A "Security Warning" window appears like below: (the date may change as Windows Update writes new packages.)&lt;br /&gt;Let your own paranoia guide you about "Always trust content from Microsoft." Click Yes to continue.&lt;br /&gt;After checking for available updates, a list of updates will appear. By default the "Critical Updates Package" will be checked. Scroll down and click Internet Explorer 5.5 Service Pack 1 and Internet Tools.&lt;br /&gt;The following message will appear&lt;br /&gt;Click OK.&lt;br /&gt;This will check "Internet Explorer 5.5" and uncheck and gray out every other option. Click Download to select IE5.5.&lt;br /&gt;A "Download Checklist" frame will appear in the browser window. Scroll down and click Start Download.&lt;br /&gt;A "License Agreement" window will appear. Click Yes to accept the agreement and begin the download of the installer.&lt;br /&gt;A "Welcome to Setup for Internet Explorer..." window will appear. Check I accept the agreement and click Next.&lt;br /&gt;After initializing, a "Windows 2000 Install" window will appear. Click Next to begin installing the only option available. The program will begin downloading and installing.&lt;br /&gt;A reboot prompt will appear. Click Yes to reboot and complete the installation&lt;br /&gt;&lt;br /&gt;12.Windows 2000 Service Pack 1 (SP1)&lt;br /&gt;&lt;br /&gt;Once Internet Explorer 5.5 (IE 5.5) is installed, restart IE 5.5 and click Windows Update under the Tools menu again.&lt;br /&gt;The "Windows Update" home page will appear. In the left hand frame, under Windows Update Homepage click Product Updates.&lt;br /&gt;After checking for available updates, a list of updates will appear. By default the "Critical Updates Package" will be checked. Scroll down and click Windows 2000 Service Pack 1.&lt;br /&gt;The following message will appear:&lt;br /&gt;Click OK.&lt;br /&gt;This will check "Windows 2000 Service Pack 1" and uncheck and gray out every other option. Click Download to select SP1.&lt;br /&gt;A "Download Checklist" frame will appear in the browser window. Scroll down and click Start Download.&lt;br /&gt;A "License Agreement" window will appear. Click Yes to accept the agreement and begin the download of the installer.&lt;br /&gt;A "Windows 2000 Service Pack Setup" window will appear. Click Accept the Licensing Agreement.&lt;br /&gt;The "Install" button will blacken in. Click Install to start.&lt;br /&gt;An "Installation complete" window will appear when files have finsihed copying. Click Exit.&lt;br /&gt;A reboot prompt will appear. Click Yes to reboot and complete the installation.&lt;br /&gt;&lt;br /&gt;13.Critical Updates&lt;br /&gt;&lt;br /&gt;Once Service Pack 1 (SP1) for Windows 2000 is installed, again go to Product Updates, under Tools, Windows Update in IE5.5.&lt;br /&gt;By default, the Critical Updates Package will be checked. Scroll down and also select Windows 2000 Compatibility Issues and High Encryption Pack for Windows 2000.&lt;br /&gt;The bottom of the list will include any updated drivers for the hardware detected on the machine. Click these updated drivers, if they exist.&lt;br /&gt;Click Download to select all the checked packages for download.&lt;br /&gt;A "Download Checklist" frame will appear in the browser window. Scroll down and click Start Download.&lt;br /&gt;A "License Agreement" window will appear. Click Yes to accept the agreement and begin the download of the installer.&lt;br /&gt;After the files download, a reboot prompt will appear. Click Yes to reboot and complete the installation.&lt;br /&gt;Note: Windows Update is the main way to update and install patches for Windows 2000 and other Microsoft products. Critical updates and other security measures come out from time to time, thus Windows Update will need to be run periodically to ensure the securest possible machine.&lt;br /&gt;&lt;br /&gt;14.Other Hardware Drivers&lt;br /&gt;&lt;br /&gt;Once Windows 2000 and Internet Explorer have been patched, install other hardware controllers. These include software like WinDVD player, Iomega Tools for Jaz and Zip drives, and EZ CD Creator for Rewritable CD players.&lt;br /&gt;Next, install any audio, video, or controller card drivers for Windows 2000 that came with the machine that may be newer than the native drivers and not included in Window Update.&lt;br /&gt;&lt;br /&gt;15.Install Applications&lt;br /&gt;&lt;br /&gt;Standard applications as well as user specified applications need to be installed.&lt;br /&gt;Note: Shortcuts on the desktop need to be accessable to everyone. Some installation programs create a desktop shortcut, but place it in the Administrator desktop folder. If the shortcut is not in the All Users desktop folder, it probably does not have the proper permissions for all users to see and execute it. To ensure everyone can see and use the shortcut, or any time a shortcuts is created, right click on the executable program. From the menu that appears, click Create Shortcut. Then copy the Shortcut to ... to the directory C:\Documents and Settings\Profiles\All Users\Desktop and rename it, if desired.&lt;br /&gt;These standard applications need installing and configuring:&lt;br /&gt;Novell 4.8, WinZip 8.0, McAfee 4.5 w/SP, NS4.76+Real Player, Teraterm, WS_FTP, Acrobat Reader 4.05, stunnel, VNC.&lt;br /&gt;Note: Many of these involve changing permissions or other attention to function correctly with Windows 2000. Check the individual application installation instructions (coming soon!) for W2K peculiarities.&lt;br /&gt;These optional applications may need to be installed, depending on the user needs:&lt;br /&gt;MS Office, Word Perfect, Meeting Maker, Filemaker, Dreamweaver, PageMaker, PhotoShop, mail clients.&lt;br /&gt;&lt;br /&gt;16.Post Installation Tips and Tricks&lt;br /&gt;&lt;br /&gt;After installation, these post-installation processes need to run:&lt;br /&gt;Manipulating domain users and groups.&lt;br /&gt;Setting up security and auditing policies.&lt;br /&gt;Optional Windows 2000 installs, including TCP/IP printing alternative.&lt;br /&gt;Registry hacks, backing up registry, ERD.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-7871245372491780346?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/7871245372491780346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/09/installation-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7871245372491780346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7871245372491780346'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/09/installation-process.html' title='INSTALLATION PROCESS'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-7424066435105242144</id><published>2009-08-27T02:12:00.000-07:00</published><updated>2009-08-27T03:45:15.659-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 8'/><title type='text'>RESOURCE ALLOCATION GRAPH</title><content type='html'>RESOURCE ALLOCATION GRAPH&lt;br /&gt;&lt;br /&gt;1) A RESOURCE ALLOCATION GRAPH&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 138px; DISPLAY: block; HEIGHT: 200px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5374569544966440082" border="0" alt="" src="http://2.bp.blogspot.com/_LBNtXLtTobI/SpZOhoRbhJI/AAAAAAAAAA8/oVMKo2dY0uc/s200/Picture1.png" /&gt;&lt;br /&gt;--resource 2 holding an instance of process 2 and process 1&lt;br /&gt;&lt;br /&gt;--process 1 request instances of resource 1 and process 2 request instance of resource 3.&lt;br /&gt;&lt;br /&gt;--resource 1 is holding an instance of process 2&lt;br /&gt;&lt;br /&gt;--resource 3 is holding an instance of process 3&lt;br /&gt;&lt;br /&gt;--and resource 4 is a resource type with 3 instances.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2)RESOURCE ALLOCATION GRAPH WITH A DEADLOCK&lt;/p&gt;&lt;p&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 138px; DISPLAY: block; HEIGHT: 200px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5374589154118781426" border="0" alt="" src="http://3.bp.blogspot.com/_LBNtXLtTobI/SpZgXCDqyfI/AAAAAAAAABc/WBGQ141AXTw/s200/Picture2.png" /&gt;&lt;/p&gt;&lt;p&gt;--resourse 2 is holding an instances of process 1 and process 2&lt;/p&gt;&lt;br /&gt;&lt;p&gt;--process 1 request instance of resource 1&lt;/p&gt;&lt;br /&gt;&lt;p&gt;--resource 1 is holding an instances of process 2&lt;/p&gt;&lt;br /&gt;&lt;p&gt;--process 2 request instance of resource 3&lt;/p&gt;&lt;br /&gt;&lt;p&gt;--resource 3 is holding an instance of process 3&lt;/p&gt;&lt;br /&gt;&lt;p&gt;--process 3 request instance of resource 2&lt;/p&gt;&lt;br /&gt;&lt;p&gt;--and resource 4 is a resource type with a 3 intances &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;3) RESOURCE ALLOCATION GRAPH WITH A CYCLE BUT NO DEADLOCK&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 247px; DISPLAY: block; HEIGHT: 227px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5374574081549509762" border="0" alt="" src="http://2.bp.blogspot.com/_LBNtXLtTobI/SpZSpsXHpII/AAAAAAAAABM/tl_jqiXUo20/s200/Picture3.png" /&gt;--process 1 request instances of resource 1&lt;br /&gt;&lt;br /&gt;--resource 1 is holding an instance of process 2 and process 3&lt;br /&gt;&lt;br /&gt;--process 3 is request instance of resource 2&lt;br /&gt;&lt;br /&gt;--and resource 2 request instance of process 4&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4) RESOURCE ALLOCATION GRAPH FOR DEADLOCK AVOIDANCE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_LBNtXLtTobI/SpZT6m02l-I/AAAAAAAAABU/rmMuPrLncW0/s1600-h/Picture4.png"&gt;&lt;img style="MARGIN: 0px 0px 10px 10px; WIDTH: 217px; FLOAT: right; HEIGHT: 199px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5374575471633012706" border="0" alt="" src="http://1.bp.blogspot.com/_LBNtXLtTobI/SpZT6m02l-I/AAAAAAAAABU/rmMuPrLncW0/s200/Picture4.png" /&gt;&lt;/a&gt;&lt;br /&gt;--resource 1 is holding an instance of process 1&lt;br /&gt;&lt;/p&gt;&lt;p&gt;--process 2 request an instance of resource 1&lt;br /&gt;&lt;/p&gt;&lt;p&gt;--process 1 and process 2 request instance of resource 2&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;5) UNSAFE STATE IN RESOURCE ALLOCATION GRAPH&lt;/p&gt;&lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_LBNtXLtTobI/SpZhlVHzmNI/AAAAAAAAABk/79KgjcNbum4/s1600-h/Picture5.png"&gt;&lt;img style="MARGIN: 0px 0px 10px 10px; WIDTH: 200px; FLOAT: right; HEIGHT: 200px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5374590499266205906" border="0" alt="" src="http://1.bp.blogspot.com/_LBNtXLtTobI/SpZhlVHzmNI/AAAAAAAAABk/79KgjcNbum4/s200/Picture5.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;--resource 1 is holding an instance of process 1&lt;/p&gt;&lt;p&gt;--process 2 request an instance of resource 1&lt;/p&gt;&lt;p&gt;--process 1 request instance of resource 2&lt;/p&gt;&lt;p&gt;--resource 2 is holding an instance of process 2&lt;br /&gt;&lt;/p&gt;&lt;a href="http://1.bp.blogspot.com/_LBNtXLtTobI/SpZT6m02l-I/AAAAAAAAABU/rmMuPrLncW0/s1600-h/Picture4.png"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-7424066435105242144?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/7424066435105242144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/resource-allocation-graph_27.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7424066435105242144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7424066435105242144'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/resource-allocation-graph_27.html' title='RESOURCE ALLOCATION GRAPH'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_LBNtXLtTobI/SpZOhoRbhJI/AAAAAAAAAA8/oVMKo2dY0uc/s72-c/Picture1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-2676656531745350759</id><published>2009-08-27T01:44:00.000-07:00</published><updated>2009-08-27T02:11:51.484-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 8'/><title type='text'>RESOURCE ALLOCATION GRAPH</title><content type='html'>RESOURCE ALLOCATION GRAPH-&lt;br /&gt;-a set of vertices V and a set of edges E.&lt;br /&gt;   --v is partitioned into two types:&lt;br /&gt;         -P={P1,P2....Pn},the set consisting of all the processes in the system,&lt;br /&gt;         -R={R1,R2....Rm},the set consisting of all resource types in the system.&lt;br /&gt;   --requests edge-directed edge P1-&gt;R1&lt;br /&gt;   --assignment edge-directed edge R1-&gt;P1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;how would you know if there's a deadlock based on the resource allocation graph?&lt;br /&gt;&lt;br /&gt;-if the graph contains no cycle=&gt;no deadlock&lt;br /&gt;-if the graph contains a cycle-&lt;br /&gt;      ---if only one instance per resource type,then deadlock.&lt;br /&gt;      ---if several instance per resource type.possibility of deadlock.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-2676656531745350759?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/2676656531745350759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/resource-allocation-graph.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2676656531745350759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2676656531745350759'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/resource-allocation-graph.html' title='RESOURCE ALLOCATION GRAPH'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-5770871978058930204</id><published>2009-08-20T03:56:00.001-07:00</published><updated>2009-08-20T03:58:24.635-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 8'/><title type='text'>DEADLOCK</title><content type='html'>&lt;a name="SECTION00070000000000000000"&gt;Deadlock Recovery&lt;/a&gt;-&lt;br /&gt;Abort all deadlock processes and release resource - too drastic - will lead to loss of work&lt;br /&gt;Abort one process at a time - releasing resources until no deadlock How do we determine which process to abort first ? - priority ordering, process which has done least work&lt;br /&gt;Selectively restart processes from a previous checkpoint i.e. before it claimed any resources difficult to achieve - sometimes impossible&lt;br /&gt;Successively withdraw resources from a process and give to another process until deadlock is broken. How to choose which processes and which resources ?&lt;br /&gt;1.Complex decisions due to the large number of processes present within a system&lt;br /&gt;2.Difficult to automate&lt;br /&gt;3.Use Operator to resolve conflicts - BUT this requires the operator to have skill and understanding of what processes are actually doing&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-5770871978058930204?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/5770871978058930204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/deadlock_5132.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/5770871978058930204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/5770871978058930204'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/deadlock_5132.html' title='DEADLOCK'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-4497387125675020884</id><published>2009-08-20T03:49:00.000-07:00</published><updated>2009-08-20T03:56:44.745-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 8'/><title type='text'>DEADLOCK</title><content type='html'>DEADLOCK DETECTION-&lt;br /&gt;&lt;br /&gt;The system may enter a deadlock state.&lt;br /&gt;The system needs:&lt;br /&gt;    -an algorithm that periodically determines  whether a deadlock has occured in the system.&lt;br /&gt;    -a procedure to recover from a deadlock.&lt;br /&gt;&lt;br /&gt;TWO algorithms:&lt;br /&gt;   -One instance per resource type.&lt;br /&gt;   -Multiple instances per resource type.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-4497387125675020884?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/4497387125675020884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/deadlock_6724.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4497387125675020884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4497387125675020884'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/deadlock_6724.html' title='DEADLOCK'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-4099722701627771369</id><published>2009-08-20T03:48:00.000-07:00</published><updated>2009-08-20T03:49:30.626-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 8'/><title type='text'>DEADLOCK</title><content type='html'>Deadlock prevention&lt;br /&gt;• Attack mutual exclusion– we always want to minimize the number ofnon-sharable resources, but it is notusually possible to eliminate all of them.&lt;br /&gt;• Attack the no preemption condition– cannot usually take a resource away froma process.&lt;br /&gt;• Attack hold and wait&lt;br /&gt;– require each process to request and beallocated all resources before it beginsexecuting&lt;br /&gt;– before requesting a new resource releaseall locks on other resources and reacquire&lt;br /&gt;– Problems: low resource utilization,starvation&lt;br /&gt;• Attack circular wait.&lt;br /&gt;– This is where most of the effort ofdeadlock prevention is focused.&lt;br /&gt;– Design a hierarchy of lock acquisition suchthat there are no cycles.&lt;br /&gt;– A great idea in theory, but difficult toimplement in practice because theunderlying code does not usually follow anacyclic hierarchy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-4099722701627771369?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/4099722701627771369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/deadlock_1381.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4099722701627771369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4099722701627771369'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/deadlock_1381.html' title='DEADLOCK'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-2964085044545919462</id><published>2009-08-20T03:47:00.003-07:00</published><updated>2009-08-20T03:47:58.164-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 8'/><title type='text'>DEADLOCK</title><content type='html'>Methods for Handling Deadlock&lt;br /&gt;• Prevent– write code such that the necessary conditions cannever hold simultaneously&lt;br /&gt;• Avoid– dynamically ensure that a deadlock state is notreachable.&lt;br /&gt;• Detect and recover– allow deadlock but provide mechanisms to detectit and recover (e.g., kill a process)&lt;br /&gt;• Ignore (ostrich approach)– pretend they cannot occur and reboot if they do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-2964085044545919462?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/2964085044545919462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/deadlock_20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2964085044545919462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2964085044545919462'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/deadlock_20.html' title='DEADLOCK'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-8667761914802394619</id><published>2009-08-20T03:34:00.000-07:00</published><updated>2009-08-20T03:46:46.566-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 8'/><title type='text'>DEADLOCK</title><content type='html'>Deadlock Characterization&lt;br /&gt;Necessary conditions:&lt;br /&gt;1) Mutual exclusion:&lt;br /&gt;• at least one shared resource is held&lt;br /&gt;2) Hold and wait:&lt;br /&gt;• a process must be holding at least one resource andwaiting for another&lt;br /&gt;3) No preemption:&lt;br /&gt;• cannot steal a resource away from a process&lt;br /&gt;4) Circular wait:&lt;br /&gt;• E.g., A is waiting for B who is waiting for C who iswaiting for A.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-8667761914802394619?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/8667761914802394619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/deadlock.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/8667761914802394619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/8667761914802394619'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/deadlock.html' title='DEADLOCK'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-4106915935547050536</id><published>2009-08-13T04:21:00.000-07:00</published><updated>2009-08-13T04:25:56.070-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 6'/><title type='text'>REAL-TIME SCHEDULING</title><content type='html'>&lt;strong&gt;&lt;u&gt;REAL-TIME SCHEDULING&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;--Static table-driven approach&lt;br /&gt;For periodic tasks.&lt;br /&gt;Input for analysis consists of : periodic arrival time, execution time, ending time, priorities.&lt;br /&gt;Inflexible to dynamic changes.&lt;br /&gt;General policy: earliest deadline first.&lt;br /&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;--Static priority-driven preemptive scheduling&lt;br /&gt;For use with non-RT systems: Priority based preemptive scheduling.&lt;br /&gt;Priority assignment based on real-time constraints.&lt;br /&gt;Example: Rate monotonic algorithm&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;--Dynamic planning-based scheduling&lt;br /&gt;After the task arrives before execution begins, a schedule is prepared that includes the new as well as the existing tasks.&lt;br /&gt;If the new one can go without affecting the existing schedules than nothing is revised.&lt;br /&gt;Else schedules are revised to accommodate the new task.&lt;br /&gt;Remember that sometimes new tasks may be rejected if deadlines cannot be met. &lt;/u&gt;&lt;br /&gt;&lt;p&gt;&lt;u&gt;--Dynamic best-effort scheduling: yused in most commercial RTs of today ytasks are aperiodic, no static scheduling is possible ysome short-term scheduling such as shortest deadline first is used. yUntil the task completes we do not know whether it has met the deadline. &lt;/p&gt;&lt;/u&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-4106915935547050536?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/4106915935547050536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/real-time-scheduling_13.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4106915935547050536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4106915935547050536'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/real-time-scheduling_13.html' title='REAL-TIME SCHEDULING'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-3214384420973179891</id><published>2009-08-13T04:08:00.000-07:00</published><updated>2009-08-13T04:19:35.243-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 6'/><title type='text'>REAL-TIME SCHEDULING</title><content type='html'>&lt;p&gt;&lt;strong&gt;&lt;u&gt;MULTI-PROCESSOR SCHEDULING&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;• Why use a multiprocessor?&lt;/p&gt;&lt;p&gt;-To support multiprogramming&lt;/p&gt;&lt;p&gt;- Large numbers of independent processes&lt;/p&gt;&lt;p&gt;-Simplified administration&lt;/p&gt;&lt;p&gt;-E.g. CDF wolves, compute servers&lt;/p&gt;&lt;p&gt;• To support parallel programming&lt;/p&gt;&lt;p&gt;- “job” consists of multiple cooperating/communicating threads and/or processes&lt;/p&gt;&lt;p&gt;-Not independent!&lt;/p&gt;&lt;p&gt;• Given a set of runnable threads, and a set of CPUs, assign threads to CPUs&lt;/p&gt;&lt;p&gt;• Same considerations as uniprocessorscheduling&lt;/p&gt;&lt;p&gt;• Fairness, efficiency, throughput, response time…&lt;/p&gt;&lt;p&gt;• But also new considerations&lt;/p&gt;&lt;p&gt;-- Ready queue implementation&lt;/p&gt;&lt;p&gt;--Load balancing&lt;/p&gt;&lt;p&gt;-- Processor affinity&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-3214384420973179891?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/3214384420973179891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/real-time-scheduling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/3214384420973179891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/3214384420973179891'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/real-time-scheduling.html' title='REAL-TIME SCHEDULING'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-691427544957696516</id><published>2009-08-13T03:57:00.000-07:00</published><updated>2009-08-13T04:07:22.897-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 6'/><title type='text'>THREAD SCHEDULING</title><content type='html'>&lt;strong&gt;&lt;u&gt;Thread Scheduling&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;In our introduction to &lt;a href="http://www.javamex.com/tutorials/threads/how_threads_work.shtml"&gt;how threads work&lt;/a&gt;, we introduced the thread scheduler, part of the OS (usually) that is responsible for sharing the available CPUs out between the various threads. How exactly the scheduler works depends on the individual platform, but various modern operating systems (notably Windows and Linux) use largely similar techniques that we'll describe here. We'll also mention some key varitions between the platforms.&lt;br /&gt;Note that we'll continue to talk about a single thread scheduler. On multiprocessor systems, there is generally some kind of scheduler per processor, which then need to be coordinated in some way. (On some systems, switching on different processors is staggered to avoid contention on shared scheduling tables.) Unless otherwise specified, we'll use the term thread scheduler to refer to this overall system of coordinated per-CPU schedulers.&lt;br /&gt;&lt;br /&gt;Across platforms, thread scheduling1 tends to be based on at least the following criteria:&lt;br /&gt;.a &lt;strong&gt;priority&lt;/strong&gt;, or in fact usually multiple "priority" settings that we'll discuss below;&lt;br /&gt;.a &lt;strong&gt;quantum&lt;/strong&gt;, or number of allocated&lt;strong&gt; timeslices&lt;/strong&gt; of CPU, which essentially determines the amount of CPU time a thread is allotted before it is forced to yield the CPU to another thread of the same or lower priority (the system will keep track of the remaining quantum at any given time, plus its default quantum, which could depend on thread type and/or system configuration);&lt;br /&gt;.a &lt;strong&gt;state&lt;/strong&gt;, notably "runnable" vs "waiting";&lt;br /&gt;.a &lt;strong&gt;metrics&lt;/strong&gt; about the behaviour of threads, such as recent CPU usage or the time since it last ran (i.e. had a share of CPU), or the fact that it has "just received an event it was waiting for".&lt;br /&gt;Most systems use what we might dub &lt;strong&gt;priority-based round-robin scheduling&lt;/strong&gt; to some extent. The general principles are:&lt;br /&gt;a thread of &lt;strong&gt;higher priority&lt;/strong&gt; (which is a function of base and local priorities) will preempt a thread of lower priority;&lt;br /&gt;otherwise, threads of &lt;strong&gt;equal priority&lt;/strong&gt; will essentially &lt;strong&gt;take turns&lt;/strong&gt; at getting an allocated slice or &lt;strong&gt;quantum&lt;/strong&gt; of CPU;&lt;br /&gt;there are a few extra "tweaks" to make things work.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;States&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;Depending on the system, there are various &lt;strong&gt;states&lt;/strong&gt; that a thread can be in. Probably the two most interesting are:&lt;br /&gt;&lt;strong&gt;runnable&lt;/strong&gt;, which essentially means "ready to consume CPU"; being runnable is generally the &lt;strong&gt;minimum&lt;/strong&gt; requirement for a thread to actually be scheduled on to a CPU;&lt;br /&gt;&lt;strong&gt;waiting&lt;/strong&gt;, meaning that the thread currently cannot continue as it is waiting for a resource such as a lock or I/O, for memory to be paged in, for a signal from another thread, or simply for a period of time to elapse (sleep).&lt;br /&gt;Other states include terminated, which means the thread's code has finished running but not all of the thread's resources have been cleared up, and a new state, in which the thread has been created, but not all resources necessary for it to be runnable have been created. Internally, the OS may distinguish between various different types of wait states2 (for example "waiting for a signal" vs "waiting for the stack to be paged in"), but this level of granularity is generally not available or so important to Java programs. (On the other hand, Java generally exposes to the programmer things the JVM can reasonly know about, for example, if a thread is waiting to acquire the lock on a Java object— roughly speaking, "entering a synchronized&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-691427544957696516?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/691427544957696516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/thread-scheduling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/691427544957696516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/691427544957696516'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/thread-scheduling.html' title='THREAD SCHEDULING'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-2759746284706191098</id><published>2009-08-10T22:41:00.000-07:00</published><updated>2009-08-10T22:52:12.623-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 6'/><title type='text'>DIFFERENT CPU SCHEDULING ALGORITHMS</title><content type='html'>&lt;strong&gt;First Come, First Served (FCFS)&lt;br /&gt;&lt;/strong&gt;-Non-preemptive&lt;br /&gt;-Treats ready queue as FIFO.&lt;br /&gt;-Simple, but typically long/varying waiting time.&lt;br /&gt;&lt;strong&gt;Shortest Job First (SJF)&lt;/strong&gt;&lt;br /&gt;-Give CPU to the process with the shortest next burst&lt;br /&gt;-If equal, use FCFS&lt;br /&gt;-Better name: shortest next cpu burst first&lt;br /&gt;&lt;strong&gt;Round-Robin (RR)&lt;/strong&gt;&lt;br /&gt;-FCFS with Preemption&lt;br /&gt;-Time quantum (or time slice)&lt;br /&gt;-Ready Queue treated as circular queue&lt;br /&gt;&lt;strong&gt;Shortest Remaining Time (SRT)&lt;br /&gt;&lt;/strong&gt;-Preemptive version of shortest process next policy&lt;br /&gt;-Must estimate processing time&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-2759746284706191098?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/2759746284706191098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/different-cpu-scheduling-algorithms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2759746284706191098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2759746284706191098'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/08/different-cpu-scheduling-algorithms.html' title='DIFFERENT CPU SCHEDULING ALGORITHMS'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-5243729655042900184</id><published>2009-07-30T04:07:00.001-07:00</published><updated>2009-07-30T04:09:07.411-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 5'/><title type='text'>Threads</title><content type='html'>Threads&lt;br /&gt;Modern OSes (Mach, Chorus, NT, modern Unix)&lt;br /&gt;separate the concepts of processes and threads&lt;br /&gt;◆ The thread defines a sequential execution stream within a&lt;br /&gt;process (PC, SP, registers)&lt;br /&gt;◆ The process defines the address space and general process&lt;br /&gt;attributes (everything but threads of execution)&lt;br /&gt;A thread is bound to a single process&lt;br /&gt;◆ Processes, however, can have multiple threads&lt;br /&gt;Threads become the unit of scheduling&lt;br /&gt;◆ Processes are now the containers in which threads execute&lt;br /&gt;◆ Processes become static, threads are the dynamic entities&lt;br /&gt;&lt;br /&gt;&gt;SINGLE THREADED PROCESS&lt;br /&gt;&lt;br /&gt;Single threaded programs have one path of execution,can perform only one task at a time, and have to finish each task in sequence before they can start another, For most programs, one thread of execution is all you need, but sometimes it makes sense to use multiple threads in a program to accomplish multiple simultaneous tasks.&lt;br /&gt;&lt;br /&gt;&gt;MULTI-THREADED PROCESS&lt;br /&gt;&lt;br /&gt;have two or more paths of execution, Multiple threads can be executed in parallel across many computer systems. This is multithreading, and generally occurs by time slicing (similar to time-division multiplexing) across the computer systems&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-5243729655042900184?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/5243729655042900184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/threads.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/5243729655042900184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/5243729655042900184'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/threads.html' title='Threads'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-7068166449486690530</id><published>2009-07-30T02:07:00.000-07:00</published><updated>2009-07-30T02:52:40.605-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 4'/><title type='text'>INTERPROCESS COMMUNICATION</title><content type='html'>•&lt;strong&gt;INTERPROCESS COMMUNICATION&lt;/strong&gt;-&lt;span style="color:#ffffff;"&gt;Interprocess communication (IPC) is a set of programming &lt;/span&gt;&lt;a class="inline" href="http://searchcio-midmarket.techtarget.com/sDefinition/0,,sid183_gci212363,00.html"&gt;&lt;span style="color:#ffffff;"&gt;interface&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#ffffff;"&gt;s that allow a programmer to coordinate activities among different program &lt;/span&gt;&lt;a class="inline" href="http://whatis.techtarget.com/definition/0,,sid9_gci212832,00.html"&gt;&lt;span style="color:#ffffff;"&gt;process&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#ffffff;"&gt;es that can run concurrently in an &lt;/span&gt;&lt;a class="inline" href="http://searchcio-midmarket.techtarget.com/sDefinition/0,,sid183_gci212714,00.html"&gt;&lt;span style="color:#ffffff;"&gt;operating system&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#ffffff;"&gt;. This allows a program to handle many user requests at the same time. Since even a single user request may result in multiple processes running in the operating system on the user's behalf, the processes need to communicate with each other. The IPC interfaces make this possible. Each IPC method has its own advantages and limitations so it is not unusual for a single program to use all of the IPC methods.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&gt;••&lt;strong&gt;DIRECT COMMUNICATION&lt;/strong&gt;&lt;br /&gt;• Sender/receiver refer to each other, as seen before&lt;br /&gt;• Properties of communication link&lt;br /&gt;– Link is established automatically between communicating processes&lt;br /&gt;– Link is associated with exactly two processes&lt;br /&gt;– Exactly one link for every pair of processes&lt;br /&gt;• Communication is symmetric (above) or asymmetric&lt;br /&gt;– send(P,m) // send a message to P&lt;br /&gt;– receive(&amp;amp;id, m) // receive from any process, set id to sender&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&gt;••&lt;strong&gt;INDIRECT COMMUNICATION&lt;/strong&gt;&lt;br /&gt;• Communication via mailboxes (or ports)&lt;br /&gt;• Processes communicate by putting and taking messages in/from mailboxes&lt;br /&gt;– send(A, m) and receive(A,m)&lt;br /&gt;• Properties of communication link&lt;br /&gt;– A link is established between two processes, if they share a mailbox&lt;br /&gt;– Link maybe associated with more than two processes&lt;br /&gt;– A number of different links may exist between any pair of processes; each one a separate mailbox&lt;br /&gt;&lt;br /&gt;&gt;••&lt;strong&gt;SYNCHRONIZATION&lt;/strong&gt;&lt;br /&gt;Message passing maybe blocking or non-blocking(synchronous or asynchronous)&lt;br /&gt;&lt;br /&gt;&gt;&gt;••&lt;strong&gt;BLOCKING SEND&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;sender blocked until message is received by receiver (or by mailbox)&lt;br /&gt;&gt;&gt;••&lt;strong&gt;NONBLOCKING SEND&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;sending process resumes operation right after sending&lt;br /&gt;&gt;&gt;••&lt;strong&gt;BLOCKING RECEIVE&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;receiver blocks until message is available&lt;br /&gt;&gt;&gt;••&lt;strong&gt;NONBLOCKING RECEIVE&lt;/strong&gt;&lt;br /&gt;receiver retrieves a valid message or returns an error code&lt;br /&gt;&gt;••&lt;strong&gt;BUFFERING&lt;/strong&gt;&lt;br /&gt;• The mechanism that buffers messages (a.k.a. queue) may have the following properties&lt;br /&gt;– Zero capacity: queue has length 0, no messages can be outstanding on link, sender blocks for message exchange&lt;br /&gt;– Bounded capacity: queue has length N, N messages can be in queue at any point in time, sender blocks if queue is full, otherwise it may continue to execute&lt;br /&gt;– Unbounded capacity: queue has infinite length, sender never blocks&lt;br /&gt;&lt;br /&gt;&gt;&gt;••&lt;strong&gt;ZERO CAPACITY&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;queue has length 0, no messages can be outstanding on link, sender blocks for message exchange&lt;br /&gt;&gt;&gt;••&lt;strong&gt;BOUNDED CAPACITY&lt;/strong&gt;&lt;br /&gt;queue has length N, N messages can be in queue at any point in time, sender blocks if queue is full, otherwise it may continue to execute&lt;br /&gt;&gt;&gt;••&lt;strong&gt;UNBOUNDED CAPACITY-&lt;/strong&gt;&lt;br /&gt;queue has infinite length, sender never blocks&lt;br /&gt;&lt;br /&gt;&gt;••&lt;strong&gt;PRODUCER-CONSUMER EXAMPLE&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&gt;&gt;••&lt;strong&gt;PRODUCER-&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;Producer picks up an empty message/slotand send back an item produced&lt;br /&gt;&gt;&gt;••&lt;strong&gt;CONSUMER-&lt;/strong&gt;&lt;br /&gt;Consumer sends N empty messages (i.e., slots)&lt;br /&gt;Consumer receives an item and sends back an emptymessage (i.e., a slot)&lt;br /&gt;Messages sent, but not received are buffered by OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-7068166449486690530?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/7068166449486690530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/interprocess-communication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7068166449486690530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7068166449486690530'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/interprocess-communication.html' title='INTERPROCESS COMMUNICATION'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-348425000798367051</id><published>2009-07-16T03:25:00.000-07:00</published><updated>2009-07-16T03:28:48.306-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 4'/><title type='text'>INTER PROCESS COMMUNICATION</title><content type='html'>&lt;strong&gt;INTER PROCESS COMMUNICATION-&lt;/strong&gt;Interprocess Communication (IPC)Mechanism for processes to communicate and to synchronize their actions&lt;br /&gt;:&lt;strong&gt;Message system&lt;/strong&gt;– processes communicate with each other without resorting to shared variables.&lt;br /&gt;:&lt;strong&gt;IPC facility provides two operations&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;    &gt;&gt;send(message)&lt;/strong&gt; –message size fixed or variable&lt;br /&gt;    &gt;&gt;receive(message)&lt;br /&gt;:If P and Q wish to communicate, they need to&lt;br /&gt;&gt;&gt; establish a communication link between them&lt;br /&gt; &gt;&gt; exchange messages via send/receive&lt;br /&gt;:Implementation of communication link&lt;br /&gt; &gt;&gt; physical (e.g., shared memory, hardware bus) considered later&lt;br /&gt; &gt;&gt; logical (e.g., logical properties) now&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-348425000798367051?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/348425000798367051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/inter-process-communication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/348425000798367051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/348425000798367051'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/inter-process-communication.html' title='INTER PROCESS COMMUNICATION'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-2907678954622345679</id><published>2009-07-16T03:21:00.000-07:00</published><updated>2009-07-16T03:25:02.443-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 4'/><title type='text'>COOPERATING PROCESS</title><content type='html'>&lt;strong&gt;COOPERATING PROCESS&lt;/strong&gt;-&lt;br /&gt;:Independent process cannot affect or be affected by the execution of another process.&lt;br /&gt;:Cooperating process can affect or be affected by the execution of another process&lt;br /&gt;: Advantages of process cooperation&lt;br /&gt;&gt;Information sharing&lt;br /&gt;&gt;Computation speed-up&lt;br /&gt;&gt;Modularity&lt;br /&gt;&gt;Convenience&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-2907678954622345679?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/2907678954622345679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/cooperating-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2907678954622345679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2907678954622345679'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/cooperating-process.html' title='COOPERATING PROCESS'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-3651346949752045822</id><published>2009-07-16T02:05:00.000-07:00</published><updated>2009-07-16T02:09:33.909-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 4'/><title type='text'>OPERATION'S ON PROCESSESS</title><content type='html'>&lt;strong&gt;PROCESS CREATION&lt;/strong&gt;&lt;br /&gt;:Parent process creates children processes, which, in turn create other processes, forming a tree of processes.&lt;br /&gt;:Resource sharing&lt;br /&gt;&gt; Parent and children share all resources.&lt;br /&gt;&gt; Children share subset of parent’s resources.&lt;br /&gt;&gt; Parent and child share no resources.&lt;br /&gt;: Execution&lt;br /&gt;&gt;Parent and children execute concurrently.&lt;br /&gt;&gt; Parent waits until children terminate.&lt;br /&gt;:Address space&lt;br /&gt;&gt; Child duplicate of parent.&lt;br /&gt;&gt; Child has a program loaded into it.&lt;br /&gt;: UNIX examples&lt;br /&gt;&gt; fork system call creates new process&lt;br /&gt;&gt; fork returns 0 to child , process id of child for parent&lt;br /&gt;&gt; exec system call used after a  fork to replace the process’ memory space with a new program.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PROCESS TERMINATION&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;:Process executes last statement and asks the operating system to delete it (exit).&lt;br /&gt;&gt;Output data from child to parent (via wait).&lt;br /&gt;&gt; Process’ resources are deallocated by operating system.&lt;br /&gt;: Parent may terminate execution of children processes (abort).&lt;br /&gt;&gt; Child has exceeded allocated resources.F&lt;br /&gt;&gt;Task assigned to child is no longer required.&lt;br /&gt;&gt; Parent is exiting.&lt;br /&gt;        &gt;&gt;Operating system does not allow child to continue if its parent terminates.&lt;br /&gt;        &gt;&gt; Cascading termination.&lt;br /&gt;: In Unix, if parent exits children are assigned init as parent&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-3651346949752045822?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/3651346949752045822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/operations-on-processess.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/3651346949752045822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/3651346949752045822'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/operations-on-processess.html' title='OPERATION&apos;S ON PROCESSESS'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-5873069990365765404</id><published>2009-07-16T01:57:00.000-07:00</published><updated>2009-07-16T02:04:58.863-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 4'/><title type='text'>PROCESS SCHEDULING</title><content type='html'>&lt;strong&gt;SCHEDULING QUEUE'S&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;:&lt;strong&gt;Job queue &lt;/strong&gt;– set of all processes in the system.&lt;br /&gt;: &lt;strong&gt;Ready queue&lt;/strong&gt; – set of all processes residing in main memory, ready and waiting to execute. &lt;strong&gt;:Device queues&lt;/strong&gt; – set of processes waiting for an I/O device.&lt;br /&gt;: &lt;strong&gt;Processes migrate between the various queues.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;SCHEDULERS&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;:Long-term scheduler (or job scheduler)&lt;/strong&gt; – selects which processes should be brought into the ready queue&lt;br /&gt;:&lt;strong&gt;Short-term scheduler (or CPU scheduler)&lt;/strong&gt; – selects which process should be executed next and allocates CPU.&lt;br /&gt;:&lt;strong&gt;Short&lt;/strong&gt;-&lt;strong&gt;term scheduler&lt;/strong&gt; is invoked very frequently (milliseconds) =&gt; (must be fast).&lt;br /&gt;: &lt;strong&gt;Long-term scheduler&lt;/strong&gt; is invoked very infrequently (seconds, minutes)=&gt; (may be slow). The long-term scheduler controls the &lt;em&gt;degree of multiprogramming&lt;/em&gt;.&lt;br /&gt;Processes can be described as either:&lt;br /&gt;&lt;strong&gt;&lt;em&gt;I/O-bound process&lt;/em&gt;&lt;/strong&gt; – spends more time doing I/O thancomputations, many short CPU bursts.&lt;br /&gt;&lt;strong&gt;&lt;em&gt;CPU-bound process&lt;/em&gt;&lt;/strong&gt; – spends more time doing computations; few very long CPU bursts.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CONTEXT SWITCH&lt;/strong&gt;&lt;br /&gt;:When CPU switches to another process, the system must save the state of the old process and load the saved state for the new process.&lt;br /&gt;: Context-switch time is overhead; the system does no useful work while switching.&lt;br /&gt;:Time dependent on hardware support.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-5873069990365765404?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/5873069990365765404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/process-scheduling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/5873069990365765404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/5873069990365765404'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/process-scheduling.html' title='PROCESS SCHEDULING'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-6315634102630080985</id><published>2009-07-16T01:45:00.000-07:00</published><updated>2009-07-16T01:57:34.870-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 4'/><title type='text'>THE CONCEPTS OF PROCESS IN O.S.</title><content type='html'>&lt;strong&gt;PROCESS CONCEPTS&lt;/strong&gt;- An operating system executes a variety of programs:&lt;br /&gt; Batch system – jobs&lt;br /&gt; Time-shared systems – user programs or tasks&lt;br /&gt;Textbook uses the terms  job and process almost interchangeably.&lt;br /&gt; Process – a program in execution; process execution must progress in sequential fashion.&lt;br /&gt; A process includes:&lt;br /&gt;&lt;strong&gt;: program counter &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;: stack&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;:data section&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PROCESS STATE&lt;/strong&gt;- As a process executes, it changes STATES&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;new: &lt;/strong&gt; The process is being created.&lt;br /&gt;&lt;strong&gt;running&lt;/strong&gt;:  Instructions are being executed.&lt;br /&gt;&lt;strong&gt;waiting:&lt;/strong&gt;  The process is waiting for some event to occur.&lt;br /&gt;&lt;strong&gt; ready:&lt;/strong&gt;  The process is waiting to be assigned to a processor&lt;br /&gt;&lt;strong&gt;terminated:&lt;/strong&gt;  The process has finished execution.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PROCESS CONTROL BLOCK-Process Control Block (PCB)&lt;/strong&gt;&lt;br /&gt;Information associated with each process.&lt;br /&gt;&lt;strong&gt;: Process ID &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;:Process state &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;:Program counter &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;:CPU registers &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;:CPU scheduling information &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;:Memory-management information&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;: Accounting informationn&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;:I/O status information&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;TRENDS-&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-6315634102630080985?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/6315634102630080985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/concepts-of-process-in-os.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/6315634102630080985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/6315634102630080985'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/concepts-of-process-in-os.html' title='THE CONCEPTS OF PROCESS IN O.S.'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-7016443962391647532</id><published>2009-07-09T03:59:00.000-07:00</published><updated>2009-07-09T04:17:03.082-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='QUIZ # 3'/><title type='text'>QUIZ NUMBER 3</title><content type='html'>1.) WHAT ARE THE MAJOR ACTIVITIES OF THE OPERATING SYSTEM WITH REGARDS TO PROCESS MANAGEMENT.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;     PROCESS CREATION AND DELETION&lt;/li&gt;&lt;li&gt;     PROCESS SUSPENSION AND RESUMPTION&lt;/li&gt;&lt;li&gt;     PROVISION OF MECHANISM FOR:&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;                   -PROCESS SYNCHRONIZATION&lt;/p&gt;&lt;p&gt;                   -PROCESS COMMUNICATION&lt;/p&gt;&lt;p&gt;                   -DEADLOCK HANDLING&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;2.)WHAT ARE THE MAJOR ACTIVITIES OF THE OPERATING SYSTEM WITH REGARDS TO MEMORY MANAGEMENT.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;KEEP TRACK OF W/C PARTS OF MEMORY ARE CURRENTLY BEING USED AND BY WHOM.&lt;/li&gt;&lt;li&gt;DECIDE W/C PROCESSES TO LOAD WHEN MEMORY SPACES BECOMES AVAILABLE.&lt;/li&gt;&lt;li&gt;ALLOCATE AND DEALLOCATE MEMORY SPACE AS NEEDED.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;3.)WHAT ARE THE MAJOR ACTIVITIES OF THE OPERATING SYSTEM WITH REGARDS TO SECONDARY STORAGE  MANAGEMENT.&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;FREE SPACE MANAGEMENT&lt;/li&gt;&lt;li&gt;STORAGE ALLOCATION&lt;/li&gt;&lt;li&gt;DISK SCHEDULING&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;4.)WHAT ARE THE MAJOR ACTIVITIES OF THE OPERATING SYSTEM WITH REGARDS TO FILE MANAGEMENT.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;FILE CREATION AND RELATION&lt;/li&gt;&lt;li&gt;DIRECTORY CREATION AND DELETION&lt;/li&gt;&lt;li&gt;SUPPORT OF PRIMITIVES FOR MANIPULATING FILES AND DIRECTORIES&lt;/li&gt;&lt;li&gt;MAPPING FILES ONTO SECONDARY STORAGE&lt;/li&gt;&lt;li&gt;FILE BACKUP ON STABLE(VOLATILE)STORAGE MEDIA&lt;/li&gt;&lt;/ul&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;5.)WHAT ARE THE PURPOSE OF COMMAND INTERPRETER&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;-IT SERVES AS THE INTERFACE BETWEEN THE USER AND THE O.S&lt;/p&gt;&lt;p&gt;-ITS FUNCTION IS TO GET AND EXECUTE THE NEXT COMMAND STATEMENTS.&lt;/p&gt;&lt;p&gt;-IT DEALS WITH: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;PROCESS CREATION AND MANAGEMENT&lt;/li&gt;&lt;li&gt;I/O HANDLING&lt;/li&gt;&lt;li&gt;SECONDARY-STORAGE MANAGEMENT&lt;/li&gt;&lt;li&gt;MAIN-MEMORY MANAGEMENT&lt;/li&gt;&lt;li&gt;FILE-SYSTEM ACCESS&lt;/li&gt;&lt;li&gt;PROTECTION&lt;/li&gt;&lt;li&gt;NETWORKING&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;-   PROGRAM THAT READ AND INTERPRETS CONTROL STATEMENTS IS CALLED VARIOUSLY:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;COMMAND LINE INTERPRETER&lt;/li&gt;&lt;li&gt;SHELL IN (UNIX)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;                 &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;     &lt;/p&gt;&lt;p&gt;    &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-7016443962391647532?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/7016443962391647532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/quiz-number-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7016443962391647532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7016443962391647532'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/quiz-number-3.html' title='QUIZ NUMBER 3'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-9164649417373740283</id><published>2009-07-07T04:06:00.001-07:00</published><updated>2009-07-07T04:08:28.385-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 3'/><title type='text'>SYSTEM BOOT</title><content type='html'>&gt;SYSTEM BOOT---&gt;&lt;br /&gt;One of the most important functions that the BIOS plays is to boot up the system. When the PC is first turned on, its main system memory is empty, and it needs to find instructions immediately to tell it what to run to start up the PC. These it finds within the BIOS program, because the BIOS is in read-only permanent memory and so is always available for use, even when the rest of system memory is empty.&lt;br /&gt;This section takes a look at what is involved in booting the PC, including a discussion of the steps in the system boot process, and a look at the power-on self-test (POST) that is conducted whenever the system starts up&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-9164649417373740283?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/9164649417373740283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/system-boot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/9164649417373740283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/9164649417373740283'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/system-boot.html' title='SYSTEM BOOT'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-5259031478661450027</id><published>2009-07-07T04:04:00.001-07:00</published><updated>2009-07-07T04:07:28.017-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 3'/><title type='text'>SYSTEM GENERATION</title><content type='html'>- Operating systems are designed to run on any of a class of machines; the system must be configured for each specific computer site- SYSGEN program obtains information concerning the specific configuration of the hardware system- Booting&lt;br /&gt;– starting a computer by loading the kernel- Bootstrap program&lt;br /&gt;– code stored in ROM that is able to locate the kernel, load it into memory, and start its execution&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-5259031478661450027?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/5259031478661450027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/system-generation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/5259031478661450027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/5259031478661450027'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/system-generation.html' title='SYSTEM GENERATION'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-188013229224873515</id><published>2009-07-07T03:24:00.000-07:00</published><updated>2009-07-07T04:04:10.433-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 3'/><title type='text'>Virtual Machine</title><content type='html'>&gt;Virtual Machine---&gt;A virtual machine, simply put, is a virtual computer running on a physical computer. The virtual machine emulates a physical machine in software. This includes not only the processor but the instruction set, the memory bus, any BIOS commands and critical machine hardware such as the system clock and and DMA hardware. Depending upon the machine peripheral devices are generally virtualized including storage devices like floppy drives, hard drives and CD drives. Video, keyboard and mouse support are also common. A virtual machine must look and act just like the real thing so standard software, like operating systems and applications, can run without modification.&lt;br /&gt;&lt;br /&gt;&gt;Benefits---&gt;Virtual machines have been around for a long time but they really have not become common place in many development shops. It is unfortunate since virtual machines provide so many benefits to developers and testers alike. This article will discuss some of the benefits of virtual machines and review two of the most popular virtual machine software packages available for Windows.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&gt;Examples---&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-188013229224873515?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/188013229224873515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/virtual-machine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/188013229224873515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/188013229224873515'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/virtual-machine.html' title='Virtual Machine'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-693549551563290733</id><published>2009-07-02T04:17:00.001-07:00</published><updated>2009-07-07T03:56:49.171-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 3'/><title type='text'>SYSTEM STRUCTURES</title><content type='html'>Simple Structure&lt;br /&gt;--&gt;View the OS as a series of levels&lt;br /&gt;--&gt;Each level performs a related subset of functions&lt;br /&gt;--&gt;Each level relies on the next lower level to perform more primitive functions&lt;br /&gt;--&gt;This decomposes a problem into a number of more manageable subproblems&lt;br /&gt;Layred Approach&lt;br /&gt;The operating system is divided into a number of layers (levels), each built on top of lower layers. The bottom layer (layer 0), is the hardware; the highest (layer N) is the user interface.With modularity, layers are selected such that each uses functions (operations) and services of only lower-level layers.A process is a program in execution. A process needs certain resources: CPU time, memory (address space), files, and I/O devices, to accomplish its task.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-693549551563290733?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/693549551563290733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/system-structures.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/693549551563290733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/693549551563290733'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/system-structures.html' title='SYSTEM STRUCTURES'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-8756801027406138840</id><published>2009-07-02T04:05:00.000-07:00</published><updated>2009-07-07T03:53:16.063-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 3'/><title type='text'>SYSTEM CALLS</title><content type='html'>&gt;PROCESS CONTROL---&gt; is a statistics and engineering discipline that deals with architectures, mechanisms, and algorithms for controlling the output of a specific process. See also control theory.For example, heating up the temperature in a room is a process that has the specific, desired outcome to reach and maintain a defined temperature (e.g. 20°C), kept constant over time. Here, the temperature is the controlled variable. At the same time, it is the input variable since it is measured by a thermometer and used to decide whether to heat or not to heat. The desired temperature (20°C) is the setpoint. The state of the heater (e.g. the setting of the valve allowing hot water to flow through it) is called the manipulated variable since it is subject to control actions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&gt;FILE MANAGEMENT---&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5353818377457022770" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 262px; CURSOR: hand; HEIGHT: 193px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_LBNtXLtTobI/SkyVctRItzI/AAAAAAAAAAw/-1IUzvb7_rQ/s200/2.bmp" border="0" /&gt;&lt;/p&gt;&lt;p&gt;Also referred to as simply a file system or filesystem. The &lt;a href="http://www.webopedia.com/TERM/F/system.html"&gt;system&lt;/a&gt; that an &lt;a href="http://www.webopedia.com/TERM/F/operating_system.html"&gt;operating system&lt;/a&gt; or &lt;a href="http://www.webopedia.com/TERM/F/program.html"&gt;program&lt;/a&gt; uses to organize and keep track of &lt;a href="http://www.webopedia.com/TERM/F/file.html"&gt;files&lt;/a&gt;. For example, a &lt;a href="http://www.webopedia.com/TERM/F/hierarchical.html"&gt;hierarchical&lt;/a&gt; &lt;a href="http://www.webopedia.com/TERM/F/file_management_system.html"&gt;file system &lt;/a&gt;is one that uses &lt;a href="http://www.webopedia.com/TERM/F/directory.html"&gt;directories&lt;/a&gt; to organize files into a &lt;a href="http://www.webopedia.com/TERM/F/tree_structure.html"&gt;tree structure&lt;/a&gt;.&lt;br /&gt;Although the operating system provides its own file management system, you can buy separate file management systems. These systems interact smoothly with the operating system but provide more &lt;a href="http://www.webopedia.com/TERM/F/feature.html"&gt;features&lt;/a&gt;, such as improved &lt;a href="http://www.webopedia.com/TERM/F/backup.html"&gt;backup&lt;/a&gt; &lt;a href="http://www.webopedia.com/TERM/F/procedure.html"&gt;procedures&lt;/a&gt; and stricter file protection. &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&gt;DEVICE MANAGEMENT---&gt;Device Management is a set of technologies, protocols and standards used to allow the remote management of &lt;a title="Mobile device" href="http://en.wikipedia.org/wiki/Mobile_device"&gt;mobile devices&lt;/a&gt;, often involving updates of &lt;a title="FOTA (technology)" href="http://en.wikipedia.org/wiki/FOTA_(technology)"&gt;firmware over the air&lt;/a&gt; (FOTA). The &lt;a title="Mobile network operator" href="http://en.wikipedia.org/wiki/Mobile_network_operator"&gt;network operator&lt;/a&gt;, handset &lt;a title="Original equipment manufacturer" href="http://en.wikipedia.org/wiki/Original_equipment_manufacturer"&gt;OEM&lt;/a&gt; or in some cases even the end-user (usually via a web portal) can use Device Management, also known as Mobile Device Management, or MDM, to update the handset firmware/&lt;a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system"&gt;OS&lt;/a&gt;, install applications and fix bugs, all over the air. Thus, large numbers of devices can be managed with single commands and the end-user is freed from the requirement to take the phone to a shop or service center to refresh or update.&lt;br /&gt;For companies, a Device Management system means better control and safety as well as increased efficiency, decreasing the possibility for device downtime. As the number of smart devices increases in many companies today, there is a demand for managing, controlling and updating these devices in an effective way. As mobile devices have become true computers over the years, they also force organizations to manage them properly. Without proper management and security policies, mobile devices pose threat to security: they contain lots of information, while they may easily get into wrong hands. Normally an employee would need to visit the IT / Telecom department in order to do an update on the device. With a Device Management system, that is no longer the issue. Updates can easily be done "over the air". The content on a lost or stolen device can also easily be removed by "wipe" operations. In that way sensitive documents on a lost or a stolen device do not arrive in the hands of others.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&gt;INFORMATION MAINTENANCE---&gt; Information management (IM) is the collection and management of information from one or more sources and the distribution of that information to one or more audiences. This sometimes involves those who have a stake in, or a right to that information. Management means the organization of and control over the structure, processing and delivery of information.Throughout the 1970s this was largely limited to files, file maintenance, and the life cycle management of paper-based files, other media and records. With the proliferation of information technology starting in the 1970s, the job of information management took on a new light, and also began to include the field of Data maintenance. No longer was information management a simple job that could be performed by almost anyone. An understanding of the technology involved, and the theory behind it became necessary. As information storage shifted to electronic means, this became more and more difficult. By the late 1990s when information was regularly disseminated across computer networks and by other electronic means, network managers, in a sense, became information managers. Those individuals found themselves tasked with increasingly complex tasks, hardware and software. With the latest tools available, information management has become a powerful resource and a large expense for many organizations.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-8756801027406138840?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/8756801027406138840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/system-calls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/8756801027406138840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/8756801027406138840'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/system-calls.html' title='SYSTEM CALLS'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_LBNtXLtTobI/SkyVctRItzI/AAAAAAAAAAw/-1IUzvb7_rQ/s72-c/2.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-9168470971659228516</id><published>2009-07-02T04:04:00.001-07:00</published><updated>2009-07-07T03:41:51.182-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 3'/><title type='text'>OPERATING SYSTEM SERVICE</title><content type='html'>&gt;program execution – system capability to load a program into memory and to run it.&lt;br /&gt;&gt;I/O operations – since user programs cannot execute I/O operations directly, the operating system must provide some means to perform I/O.&lt;br /&gt;&gt;File-system manipulation – program capability to read, write, create, and delete files.&lt;br /&gt;&gt;Communications – exchange of information between processes executing either on the same computer or on different systems tied together by a network. Implemented via shared memory or message passing.&lt;br /&gt;&gt;Error detection – ensure correct computing by detecting errors in the CPU and memory hardware, in I/O devices, or in user programs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-9168470971659228516?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/9168470971659228516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/operating-system-service_02.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/9168470971659228516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/9168470971659228516'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/operating-system-service_02.html' title='OPERATING SYSTEM SERVICE'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-5607237104711984863</id><published>2009-07-02T03:47:00.000-07:00</published><updated>2009-07-07T03:21:54.323-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 3'/><title type='text'>SYSTEM COMPONENTS</title><content type='html'>&gt;OPERATING SYSTEM PROCESS MANAGEMENT---&gt;In operating systems, process is defined as “A program in execution”. Process can be considered as an entity that consists of a number of elements, including: identifier, state, priority, program counter, memory pointer, context data, and I/O request. The above information about a process is usually stored in a data structure, typically called process block. &lt;br /&gt;&lt;br /&gt;&gt;MAIN MEMORY MANAGEMENT---&gt;Memory management is the act of managing &lt;a title="Computer memory" href="http://en.wikipedia.org/wiki/Computer_memory"&gt;computer memory&lt;/a&gt;. In its simpler forms, this involves providing ways to allocate portions of memory to programs at their request, and freeing it for reuse when no longer needed. The management of main memory is critical to the computer system.&lt;br /&gt;&lt;a title="Virtual memory" href="http://en.wikipedia.org/wiki/Virtual_memory"&gt;Virtual memory&lt;/a&gt; systems separate the memory addresses used by a process from actual physical addresses, allowing separation of processes and increasing the effectively available amount of RAM using &lt;a title="Virtual memory" href="http://en.wikipedia.org/wiki/Virtual_memory"&gt;disk swapping&lt;/a&gt;. The quality of the virtual memory manager can have a big impact on overall system performance.&lt;br /&gt;&lt;a title="Garbage collection (computer science)" href="http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)"&gt;Garbage collection&lt;/a&gt; is the automated allocation, and deallocation of computer memory resources for a program. This is generally implemented at the programming language level and is in opposition to &lt;a title="Manual memory management" href="http://en.wikipedia.org/wiki/Manual_memory_management"&gt;manual memory management&lt;/a&gt;, the explicit allocation and deallocation of computer memory resources.&lt;br /&gt;&lt;br /&gt;&gt;TITLE MANAGEMENT---&gt;&lt;br /&gt;&lt;br /&gt;&gt;I/O SYSTEM MANAGEMENT---&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The I/O system consists of:&lt;br /&gt;ô&gt;A buffer-caching system &lt;/p&gt;&lt;p&gt;ô&gt;A general device-driver interface &lt;/p&gt;&lt;p&gt;ô&gt;Drivers for specific hardware devices&lt;br /&gt;&lt;br /&gt;&gt;SECONDARY STORAGE MANAGEMENT---&gt; Since main memory (primary storage) is volatile and too small to accommodate all data and programs permanently, the computer system must provide secondary storage to back up main memory.&lt;br /&gt;Most modern computer systems use disks as the principle on-line storage medium, for both programs and data.&lt;br /&gt;The operating system is responsible for the following activities in connection with disk management:&lt;br /&gt;Free space management&lt;br /&gt;Storage allocation&lt;br /&gt;Disk scheduling&lt;br /&gt;&lt;br /&gt;&gt;PROTECTION SYSTEM---&gt;Protection System is rather anyware, i.e commercial software that applies extremely annoying ads to convince users of the need to buy it (buying Protection System means registering this program for at least one year period). We have to stress on that registering Protection System is no escape from its alerts as the hackers’ design is to get endless cashflow from user who once agreed to pay. That is, registered Protection System will ask for updates and extended registration. There is thus ho way to get rid of Protection System’s noisy ads but to remove Protection System entirely. to detect the infections harming your computer system and to remove Protection System automatically.&lt;br /&gt;&lt;br /&gt;&gt;COMMAND INTERPRETER SYSTEM---&gt;A hardware accelerated I/O data processing engine to execute a minimum number of types of I/O data processing commands in response to a stimulus from a host computer. The data processing engine, referred to as a command interpreter includes a command queue, a logic unit, a multiple purpose interface, at least one memory, and a controlling state machine, that each operate in concert with each other and without software control. The types of commands executed by the command interpreter can include, but are not limited to, an Initialize, Copy, DMA Read, DMA Write, Cumulative Exclusive OR, Verify, Compare, and ECC Check. The execution of commands that specify a source data location and a destination data location are characterized by a plurality of reads to an internal cache from the source data location for each bulk write from the internal cache to the destination data location. The locations of the data operated on by the command interpreter include a local I/O controller memory and a non-local I/O controller memory accessible to the command interpreter by way of an I/O bus.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-5607237104711984863?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/5607237104711984863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/system-components.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/5607237104711984863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/5607237104711984863'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/07/system-components.html' title='SYSTEM COMPONENTS'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-2015353762781472390</id><published>2009-06-25T02:50:00.000-07:00</published><updated>2009-06-25T03:07:35.460-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 2'/><title type='text'></title><content type='html'>11.Hardware Protection&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_q_POLaRgWB4/SkM9wc-VWtI/AAAAAAAAAC4/j00Dwzmdteo/s400/12.JPG"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 400px; CURSOR: hand; HEIGHT: 182px" alt="" src="http://4.bp.blogspot.com/_q_POLaRgWB4/SkM9wc-VWtI/AAAAAAAAAC4/j00Dwzmdteo/s400/12.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&gt;when executing in monitor mode,the operating system has unrestricted access to both monitor and user's memory.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&gt;the load instructions for the base and limit registers are privileged instructions.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&gt;I/O Protection- must ensure that a user program could never gain control of the compute in monitor mode.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&gt;Memory Protection- must provide memory protection at least for the interrupt vector and the interrupt service routines.&lt;/div&gt;&lt;div&gt;-in order to have memory protection, add two registers that determine the range of legal addresses a program may access;&lt;/div&gt;&lt;div&gt;-base register-holds the smallest legal physical memory address.&lt;/div&gt;&lt;div&gt;-limit register-contains the size of a range.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&gt;CPU Protection-to prevent a user programs gets stuck in infinite loop and never returning back to the os&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-2015353762781472390?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/2015353762781472390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2015353762781472390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/2015353762781472390'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/11.html' title=''/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_q_POLaRgWB4/SkM9wc-VWtI/AAAAAAAAAC4/j00Dwzmdteo/s72-c/12.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-3582666599597930448</id><published>2009-06-23T04:10:00.000-07:00</published><updated>2009-06-25T02:49:54.307-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS 2'/><title type='text'></title><content type='html'>1.Bootstrap program …&lt;br /&gt;&lt;br /&gt;In computing, bootstrapping (from an old expression "&lt;a title="wikt:pull oneself up by one's bootstraps" href="http://en.wiktionary.org/wiki/pull_oneself_up_by_one%27s_bootstraps"&gt;to pull oneself up by one's bootstraps&lt;/a&gt;") is a technique by which a simple computer program activates a more complicated system of programs. In the start up process of a &lt;a title="Computer system" href="http://en.wikipedia.org/wiki/Computer_system"&gt;compute&lt;/a&gt;&lt;a title="Computer system" href="http://en.wikipedia.org/wiki/Computer_system"&gt;r system&lt;/a&gt;, a small program such as &lt;a title="BIOS" href="http://en.wikipedia.org/wiki/BIOS"&gt;BIOS&lt;/a&gt;, initializes and tests that &lt;a title="Computer hardware" href="http://en.wikipedia.org/wiki/Computer_hardware"&gt;hardware&lt;/a&gt;, &lt;a title="Peripherals" href="http://en.wikipedia.org/wiki/Peripherals"&gt;peripherals&lt;/a&gt; and &lt;a title="External memory" href="http://en.wikipedia.org/wiki/External_memory"&gt;external memory&lt;/a&gt; devices are connected, then loads a program from one of them and passes control to it, thus allowing loading of larger programs, such as an &lt;a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system"&gt;operating system&lt;/a&gt;.&lt;br /&gt;A different use of the term bootstrapping is to use a &lt;a title="Compiler" href="http://en.wikipedia.org/wiki/Compiler"&gt;compiler&lt;/a&gt; to compile itself, by first writing a small part of a compiler of a new &lt;a title="Programming language" href="http://en.wikipedia.org/wiki/Programming_language"&gt;programming language&lt;/a&gt; in an existing language to compile more programs of the new compiler written in the new language. This solves the "&lt;a title="Chicken and egg" href="http://en.wikipedia.org/wiki/Chicken_and_egg"&gt;chicken and egg&lt;/a&gt;" causality dilemma.&lt;br /&gt;&lt;br /&gt;2. Difference of interrupt and trap and their use . . .&lt;br /&gt;&lt;br /&gt;&lt;a name="_Trap_is_actually_a_software_generated_i"&gt;Trap is actually a software generated interrupt caused either by an error (for example division by zero, inval&lt;/a&gt;&lt;a name="_Trap_is_actually_a_software_generated_i"&gt;id memory acces&lt;/a&gt;&lt;a name="_Trap_is_actually_a_software_generated_i"&gt;s etc.), or by an specific request by an operating system service generated by a user program. Trap is sometimes called Exception. The hardware or software can generate these interrupts. When the interrupt or trap occurs, the hardware therefore, transfer control to the operating &lt;/a&gt;&lt;a name="_Trap_is_actually_a_software_generated_i"&gt;system which first preserves the current state of the system by saving the current CPU registers contents and program counter's value. after this, the focus shifts to the determination of wh&lt;/a&gt;&lt;a name="_Trap_is_actually_a_software_generated_i"&gt;ich type of interrupt has occured. For each type of interrupt, separate segmants of code in the operating system determine what action should be taken and t&lt;/a&gt;hus the system keeps on functioning by executing coputational instruction, I/O instruction,storage instruction etc.&lt;br /&gt;a trap is a type of PDU used to report an alert or other asynchronous event about a managed subsystem. While interrupt is an asynchronous signal indicating the need for attention or a synchronous event in software indicating the need for a change in execution.&lt;br /&gt;&lt;br /&gt;3.Monitor mode&lt;br /&gt;&lt;br /&gt;Monitor mode, or RFMON (Radio Frequency Monitor) mode, allows a computer with a &lt;a title="Wireless network interface card" href="http://en.wikipedia.org/wiki/Wireless_network_interface_card"&gt;wireless network interface card&lt;/a&gt; (NIC) to monitor all traffic received from the wireless network. Unlike &lt;a title="Promiscuous mode" href="http://en.wikipedia.org/wiki/Promiscuous_mode"&gt;promiscuous mode&lt;/a&gt;, which is also used for &lt;a title="Packet sniffer" href="http://en.wikipedia.org/wiki/Packet_sniffer"&gt;packet sniffing&lt;/a&gt;, monitor mode allows packets to be captured without having to associate with an &lt;a title="Access point" href="http://en.wikipedia.org/wiki/Access_point"&gt;access point&lt;/a&gt; or &lt;a title="Ad-hoc network" href="http://en.wikipedia.org/wiki/Ad-hoc_network"&gt;ad-hoc network&lt;/a&gt; first. Monitor mode only applies to wireless networks, while promiscuous mode can be used on both wired and wireless networks. Monitor mode is one of the six modes that &lt;a title="802.11" href="http://en.wikipedia.org/wiki/802.11"&gt;802.11&lt;/a&gt; wireless cards can operate in: Master (acting as an access point), Managed (client, also known as station), Ad-hoc, Mesh, Repeater, and Monitor mode.&lt;br /&gt;&lt;br /&gt;4. User Mode&lt;br /&gt;&lt;br /&gt;Every process started by Windows (with the exception of the System "process") runs in user mode. In this mode, programs cannot modify paging directly and so have no way of accessing other programs' memory except through API functions. Programs in user mode also cannot interfere with interrupts and context switching.&lt;br /&gt;&lt;br /&gt;5. Device status table&lt;br /&gt;&lt;br /&gt;Is there a way to get any third-party devices that are regularly sending SNMP traps to CIM7 to show up in the Device Status field relating to the trap severity? I am getting plenty of major error messages from one of my switches, but the device is still showing as normal. The status for systems on IM7 is determined by polling that system, not by events from it. For ProLiant systems this works well because we can get detailed status from them. For devices like switches, all we have is that it responded, so for that system the status will always be either green (its up) or red (its down.)&lt;br /&gt;&lt;br /&gt;6. Direct memory access (DMA)&lt;br /&gt;&lt;br /&gt;Direct memory access is system that can control the memory system without using the CPU. On a specified stimulus, the module will move data from one memory location or region to another memory location or region. While it is limited in its flexibility, there are many situations where automated memory access is much faster than using the CPU to manage the transfers. Systems like the ADC, DAC and PWM capturing all require frequent and regular movements of memory out of their respective systems. The DMA can be configured to handle moving the collected data out of the peripheral module and into more useful memory locations (like arrays). Only memory can be accessed this way, but most peripheral systems, data registers, and control registers are accessed as if they were memory. The DMA is intended to be used in low power mode because it uses the same memory bus as the CPU and only one or the other can use the memory at the same time.&lt;br /&gt;The DMA system is organized into three largely independent parts. Though the three compete for the same memory bus, they have can be configured for independent triggers and memory regions.&lt;br /&gt;&lt;br /&gt;7. Difference of RAM and DRAM&lt;br /&gt;&lt;br /&gt;These terms all refer to different types of computer memory, or RAM - Random Access Memory. The "random" part means that any area of the memory can be communicated with while; DRAM is a computer's main memory that holds onto information for the mictorprocessor. The "D" stands for dynamic, meaning the RAM needs to have the information its holding continuously renewed or "refreshed".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8. Main memory&lt;br /&gt;&lt;br /&gt;Refers to &lt;a href="http://www.webopedia.com/TERM/M/physical.html"&gt;physical&lt;/a&gt; &lt;a href="http://www.webopedia.com/TERM/M/memory.html"&gt;memory&lt;/a&gt; that is internal to the &lt;a href="http://www.webopedia.com/TERM/M/computer.html"&gt;computer&lt;/a&gt;. The word main is used to distinguish it from external &lt;a href="http://www.webopedia.com/TERM/M/mass_storage.html"&gt;mass storage&lt;/a&gt; &lt;a href="http://www.webopedia.com/TERM/M/device.html"&gt;dev&lt;/a&gt;&lt;a href="http://www.webopedia.com/TERM/M/device.html"&gt;ices&lt;/a&gt; such as &lt;a href="http://www.webopedia.com/TERM/M/disk_drive.html"&gt;disk drives&lt;/a&gt;. Another term for main memory is &lt;a href="http://www.webopedia.com/TERM/M/RAM.html"&gt;RAM&lt;/a&gt;.&lt;br /&gt;The computer can manipulate only &lt;a href="http://www.webopedia.com/TERM/M/data.html"&gt;data&lt;/a&gt; that is in main memory. Therefore, every &lt;a href="http://www.webopedia.com/TERM/M/program.html"&gt;program&lt;/a&gt; you &lt;a href="http://www.webopedia.com/TERM/M/execute.html"&gt;execute&lt;/a&gt; and every &lt;a href="http://www.webopedia.com/TERM/M/file.html"&gt;file&lt;/a&gt; you &lt;a href="http://www.webopedia.com/TERM/M/access.html"&gt;access&lt;/a&gt; must be &lt;a href="http://www.webopedia.com/TERM/M/copy.html"&gt;copied&lt;/a&gt; from a &lt;a href="http://www.webopedia.com/TERM/M/storage_device.html"&gt;storage device&lt;/a&gt; into main memory. The amount of main memory on a computer is crucial because it determines how many programs can be executed at one time and how much data can be readily available to a program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9. Storage Structure&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;One of the first decisions in designing a server is what persistent storage structures to use. This section discusses how we organized storage structures for the grid example. There are numerous ways to organized storage. The primary decision is where to store the information about each item on the grid. We first discuss the implemented design and then present a couple alternatives.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&gt; Main memory- Refers to &lt;a href="http://www.webopedia.com/TERM/M/physical.html"&gt;physical&lt;/a&gt; &lt;a href="http://www.webopedia.com/TERM/M/memory.html"&gt;memory&lt;/a&gt; that is internal to the &lt;a href="http://www.webopedia.com/TERM/M/computer.html"&gt;computer&lt;/a&gt;. The word main is used to distinguish it from external &lt;a href="http://www.webopedia.com/TERM/M/mass_storage.html"&gt;mass storage&lt;/a&gt; &lt;a href="http://www.webopedia.com/TERM/M/device.html"&gt;devices&lt;/a&gt; such as &lt;a href="http://www.webopedia.com/TERM/M/disk_drive.html"&gt;disk drives&lt;/a&gt;. Another term for main memory is &lt;a href="http://www.webopedia.com/TERM/M/RAM.html"&gt;RAM&lt;/a&gt;.&lt;br /&gt;The computer can manipulate only &lt;a href="http://www.webopedia.com/TERM/M/data.html"&gt;data&lt;/a&gt; that is in main memory. Therefore, every &lt;a href="http://www.webopedia.com/TERM/M/program.html"&gt;program&lt;/a&gt; you &lt;a href="http://www.webopedia.com/TERM/M/execute.html"&gt;execute&lt;/a&gt; and every &lt;a href="http://www.webopedia.com/TERM/M/file.html"&gt;file&lt;/a&gt; you &lt;a href="http://www.webopedia.com/TERM/M/access.html"&gt;access&lt;/a&gt; must be &lt;a href="http://www.webopedia.com/TERM/M/copy.html"&gt;copied&lt;/a&gt; from a &lt;a href="http://www.webopedia.com/TERM/M/storage_device.html"&gt;storage device&lt;/a&gt; into main memory. The amount of main memory on a computer is crucial because it determines how many programs can be executed at one time and how much data can be readily available to a program.&lt;br /&gt;Because computers often have too little main memory to hold all the data they need, computer engineers invented a technique called &lt;a href="http://www.webopedia.com/TERM/M/swap.html"&gt;swapping&lt;/a&gt;, in which portions of data are copied into main memory as they are needed. Swapping occurs when there is no room in memory for needed data. When one portion of data is copied into memory, an equal-sized portion is copied (swapped) out to make room.&lt;br /&gt;Now, most &lt;a href="http://www.webopedia.com/TERM/M/PC.html"&gt;PCs&lt;/a&gt; come with a minimum of 32 &lt;a href="http://www.webopedia.com/TERM/M/megabyte.html"&gt;megabytes&lt;/a&gt; of main memory. You can usually increase the amount of memory by inserting extra memory in the form of &lt;a href="http://www.webopedia.com/TERM/M/chip.html"&gt;chips&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&gt;Magnetic Disk- magnetic disk - (computer science) a memory device consisting of a flat disk covered with a magnetic coating on which information is stored&lt;br /&gt;&lt;br /&gt;&gt;Moving head disk mechanism &lt;a href="http://www.cs.uic.edu/~i385/CourseNotes/images/Chapter12/12_01_DiskMechanism.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 358px; CURSOR: hand; HEIGHT: 368px" alt="" src="http://www.cs.uic.edu/~i385/CourseNotes/images/Chapter12/12_01_DiskMechanism.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dataclinic.co.uk/data-recovery/HDD7.gif"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10. Storage Hierarchy&lt;br /&gt;&lt;a href="http://cs-people.bu.edu/stevec/cs101/01f/hier.gif"&gt;&lt;/a&gt;• Storage systems organized in hierarchy.&lt;br /&gt;– Speed&lt;br /&gt;– Cost&lt;br /&gt;– Volatility&lt;br /&gt;&lt;br /&gt;&gt;Caching – copying information into faster storage system; main memory can be viewed as a cache for secondary storage. &gt;Coherence and Consistency-Transactional Coherence and Consistency (TCC) offers a way to simplify parallel programming by executing all code in transactions. In TCC systems, transactions serve as the fundamental unit of parallel work, communication and coherence. As each transaction completes, it writes all of its newly produced state to shared memory atomically, while restarting other processors that have speculatively read from modified data. With this mechanism, a TCC-based system automatically handles data synchronization correctly, without programmer intervention. To gain the benefits of TCC, programs must be decomposed into transactions. Decomposing a program into transactions is largely a matter of performance tuning rather than correctness, and that a few basic transaction programming optimization techniques are sufficient to obtain good performance over a wide range of applications with little programmer effort.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-3582666599597930448?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/3582666599597930448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/3582666599597930448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/3582666599597930448'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/1.html' title=''/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-6678395186812384061</id><published>2009-06-18T03:46:00.001-07:00</published><updated>2009-06-18T03:46:12.188-07:00</updated><title type='text'>7. Diffferentiate the design issues of OS between a stand-alone PC and a workstation connected to a network.</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-6678395186812384061?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/6678395186812384061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/7-diffferentiate-design-issues-of-os.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/6678395186812384061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/6678395186812384061'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/7-diffferentiate-design-issues-of-os.html' title='7. Diffferentiate the design issues of OS between a stand-alone PC and a workstation connected to a network.'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-988008327287761774</id><published>2009-06-18T03:45:00.001-07:00</published><updated>2009-06-18T03:45:55.663-07:00</updated><title type='text'>6. Differentiate client-server systems and peer-to-peer systems.</title><content type='html'>With client to server, many people are downloading data from one central location - a one to many relationship.&lt;br /&gt;With peer to peer, many people are downloading data from many locations - a many to many relationship.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-988008327287761774?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/988008327287761774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/6-differentiate-client-server-systems.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/988008327287761774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/988008327287761774'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/6-differentiate-client-server-systems.html' title='6. Differentiate client-server systems and peer-to-peer systems.'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-4017839426811380864</id><published>2009-06-18T03:44:00.002-07:00</published><updated>2009-06-18T03:45:15.374-07:00</updated><title type='text'>5. Differentiate symmetric multiprocessing and asymmetric multiprocessing</title><content type='html'>In the &lt;a title="Symmetrical multiprocessing" href="http://en.wikipedia.org/wiki/Symmetrical_multiprocessing"&gt;symmetric multiprocessing&lt;/a&gt; design, each processor is able to access the entire memory map; there are no master or slave processors. In this case each processor is non-unique and has equal power. This means that they can share memory between themselves and can interact with each other directly, regardless of how many there are in the system. People commonly confuse these architectures and as such it is important to define the differences. while asymmetric multiprocessing or ASMP allows applications to run specific subtasks on processors separate from the "master" processor. ASMP computers are comprised of multiple physical processors that are unique, and thus not symmetrical. These processors are defined as either master or slave: master processors are more capable than slaves and are given full control over what the slave processors do. ASMP is not in use in the modern world as it was overtaken by &lt;a title="Symmetric multiprocessing" href="http://en.wikipedia.org/wiki/Symmetric_multiprocessing"&gt;symmetric multiprocessing&lt;/a&gt; (SMP), which became common.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-4017839426811380864?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/4017839426811380864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/5-differentiate-symmetric.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4017839426811380864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4017839426811380864'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/5-differentiate-symmetric.html' title='5. Differentiate symmetric multiprocessing and asymmetric multiprocessing'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-4140090348774693878</id><published>2009-06-18T03:44:00.001-07:00</published><updated>2009-06-18T03:44:38.503-07:00</updated><title type='text'>4. Advantages of parallel systems.</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-4140090348774693878?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/4140090348774693878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/4-advantages-of-parallel-systems.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4140090348774693878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4140090348774693878'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/4-advantages-of-parallel-systems.html' title='4. Advantages of parallel systems.'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-6986059512812620227</id><published>2009-06-18T03:43:00.000-07:00</published><updated>2009-06-18T03:44:14.961-07:00</updated><title type='text'>3. What’s the difference between batch systems, multiprogrammed systems and time-sharing systems?</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-6986059512812620227?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/6986059512812620227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/3-whats-difference-between-batch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/6986059512812620227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/6986059512812620227'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/3-whats-difference-between-batch.html' title='3. What’s the difference between batch systems, multiprogrammed systems and time-sharing systems?'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-4280440725920678008</id><published>2009-06-18T03:42:00.000-07:00</published><updated>2009-06-18T03:43:17.305-07:00</updated><title type='text'>2. Explain the goals of O.S.</title><content type='html'>The goals of operating system is to execute user programs and make solving user problem easier and make computer system convenient to use.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-4280440725920678008?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/4280440725920678008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/2-explain-goals-of-os.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4280440725920678008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/4280440725920678008'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/2-explain-goals-of-os.html' title='2. Explain the goals of O.S.'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6324759446589632880.post-7398064259305867815</id><published>2009-06-18T03:41:00.000-07:00</published><updated>2009-06-18T03:42:18.564-07:00</updated><title type='text'>1. What is the difference of OS in terms of user's view and system's view?</title><content type='html'>In users view PC are designed for ease of use and they are terminal connected to a mainframe that is designed to minimize resource utilization. And the workstation compromise between individual usability and resource utilization. While in system view as operating system as resource allocator and operating system as a control program.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6324759446589632880-7398064259305867815?l=alchemistmichael.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alchemistmichael.blogspot.com/feeds/7398064259305867815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/1-what-is-difference-of-os-in-terms-of_18.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7398064259305867815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6324759446589632880/posts/default/7398064259305867815'/><link rel='alternate' type='text/html' href='http://alchemistmichael.blogspot.com/2009/06/1-what-is-difference-of-os-in-terms-of_18.html' title='1. What is the difference of OS in terms of user&apos;s view and system&apos;s view?'/><author><name>michael_javier</name><uri>http://www.blogger.com/profile/18007559765923126075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_LBNtXLtTobI/SkxsueQnjLI/AAAAAAAAAAQ/-BLSm8NvPBw/S220/michael.jpg'/></author><thr:total>0</thr:total></entry></feed>
