With Suitable diagram, describe state transition diagram.

1 Answer

Answer :

image

An active process is normally in one of the five states in the diagram. The arrows show how the process changes states. A process is running if the process is assigned to a CPU. A process is removed from the running state by the scheduler if a process with a higher priority becomes runnable. A process is also pre-empted if a process of equal priority is runnable when the original process consumes its entire time slice. A process is runnable in memory if the process is in primary memory and ready to run, but is not assigned to a CPU. A process is sleeping in memory if the process is in primary memory but is waiting for a specific event before continuing execution. For example, a process sleeps while waiting for an I/O operation to complete, for a locked resource to be unlocked, or for a timer to expire. When the event occurs, a wakeup call is sent to the process. If the reason for its sleep is gone, the process becomes runnable. When a process' address space has been written to secondary memory, and that process is not waiting for a specific event, the process is runnable and swapped. If a process is waiting for a specific event and has had its whole address space written to secondary memory, the process is sleeping and swapped. If a machine does not have enough primary memory to hold all its active processes, that machine must page or swap some address space to secondary memory. When the system is short of primary memory, the system writes individual pages of some processes to secondary memory but leaves those processes runnable. When a running process, accesses those pages, the process sleeps while the pages are read back into primary memory. When the system encounters a more serious shortage of primary memory, the system writes all the pages of some processes to secondary memory. The system marks the pages that have been written to secondary memory as swapped. Such processes can only be scheduled when the system scheduler daemon selects these processes to be read back into memory. 

OR

image 

During the lifespan of a process, its execution status may be in one of four states: (associated with each state is usually a queue on which the process resides) 

New: The process being created is available in the new state. It is the new state because the system is not permitted it to enter the ready state due to limited memory available in the ready queue. If some memory becomes available, then the process from the new state will go to ready state.

Ready State: The process which is not waiting for any external event such as I/O operation and which is not running is said to be in ready state. It is not in the running state because some other process is already running. It is waiting for its turn to go to the running state. 

Running State: The process which is currently running and has control of the CPU is known as the process in running state. In single user system, there is only one process which is in the running state. In multiuser system, there are multiple processes which are in the running state.

Blocked State: The process is currently waiting on external event such as an I/O operation is said to be in blocked state. After the completion of I/O operation, the process from blocked state enters in the ready state and from the ready state when the process turn will come it will again go to running state. 

Terminated / Halted State: The process whose operation is completed, it will go the terminated state from the running state. In halted state, the memory occupied by the process is released. 

Related questions

Description : . Consider the above state transition diagram of a switch.Which of the following represents an invalid state transition? a) OFF to ON b) ON to OFF c) FAULT to ON Q15. Peer Reviews are also called as :- a) Inspection b) Walkthrough

Last Answer : c) FAULT to ON

Description : Describe how memory is allocated to objects of class with suitable diagram.

Last Answer : Description: The memory space for object is allocated when they are declared and not when the class is specified. Actually, the member functions are created and placed in memory space only once when ... variables will hold different data values for different objects this is shown in fig:  

Description : With suitable diagram describe structure of C++ program.

Last Answer : General C++ program has following structure. INCLUDE HEADER FILES CLASS DECLARATION MEMBER FUNCTIONS DEFINITIONS MAIN FUNCTION PROGRAM   Description:-  ... Function Program In this section programmer creates objects and calls various functions writer within various class. 

Description : Describe the operation of transistor as a switch with suitable diagram.

Last Answer : In Bipolar Transistor as a Switch the biasing of the transistor, either NPN or PNP is arranged to operate the transistor at both sides of the I-V characteristics curves. The areas of operation for a transistor ... . OR Open switch Table indicating transistor as switch

Description : Describe galvanizing process with suitable diagram.

Last Answer : It is the process of coating iron or steel sheets with a thin coat of zinc to prevent it from rusting. Process: The iron or steel sheet to be galvanized is first cleaned with dilute ... rollers to remove excess zinc and in order to get uniform coating. Finally it is annealed at 6500C. 

Description : Describe amplitude shift keying (ASK) modulation with suitable circuit diagram.

Last Answer : Explanation:- ASK MODULATOR: The process where a binary information signal directly modulates the amplitude of an analog carrier. The digital signal is used to switch the carrier between amplitude levels is ... Block diagram of ASK Transmitter / ASK modulator:-  Waveforms:- 

Description : Which type of flow is measured by hot wire anemometer and describe its working principle with suitable diagram. 

Last Answer : Heat transfer flowmeters this type of flowmeter measures the rise in temperature of the fluid after a known amount of heat has been added to it. Its theory is based upon the specific heat equation ... a supply so as to maintain the wire temperature constant, when the amount of heat transfer varies

Description : Describe the importance of three wire and four wire configuration for RTD with suitable circuit diagram.

Last Answer : Three wire RTD: Four wire RTD: Three wire configurations is used to help the circuit compensate for lead wire resistance, and thus provide a truer indication of the measured ... the leads. To get the optimum performance, it is generally best to specify the RTD configuration. 

Description : Explain the architecture of Bluetooth technology with suitable diagram.

Last Answer : Bluetooth is short range wireless technology. Range of Bluetooth is 10 meters. Bluetooth Architecture defines 2 types of networks. 1)Piconet 2)Scatternet Piconet: - It is a Bluetooth network that ... . This node is called bridge slave. This node cannot be the master of two piconets.

Description : Explain PAN with suitable diagram. Differentiate between PAN and CAN.

Last Answer : A personal area network(PAN) is a network organized around an individual person. A PAN can also be used for communication among personal devices themselves(interpersonal communication).PAN network can be ... used for personal communication. 4. CAN is mainly used for corporate campuses.

Description : Discuss hybrid topology with suitable diagram. 

Last Answer : Discuss hybrid topology with suitable dig. Hybrid topology is one that uses two or more basic topologies together Fig.1 depicts this. In this case, the bus, star & ring topologies are used to ... many networks are quite complex but they can be reduced to some form of hybrid topology.

Description : Describe working of RAID-0 and RAID-1 with suitable example.

Last Answer : RAID 0 (Striped Disk Array Without Fault Tolerance):  This level strips the data into multiple available drives equally giving a very high read and write performance but offering no fault tolerance or redundancy.  ... No. of Disk: 2 Size of each disk: 100GB Usable Disk size: 100GB

Description : State what is the significance of conducting phasing out test on a 3-phase transformer? Explain its procedure with a suitable connection diagram.

Last Answer : -Short primary & secondary winding of other phases expect the one under test. -Connect voltmeter to secondary winding. -A small DC current is circulated through the primary winding through ... . -The test repeated for finding out remaining concerned secondary windings in the same manner.

Description : Explain working of pressure switch with suitable diagram. State the function of differential setting in pressure switch.

Last Answer : Pressure switch is used to turn on/off when specified pressure is reached. It consists of a pressure port and bellows. When pressure is applied, bellows expand and actuate the snap action ... pressure setting i.e. hysteresis setting. This prevents chattering of pressure switch contacts.

Description : What transition between continental shelf and ocean basin describe?

Last Answer : What is the answer ?

Description : The creation of motion from still pictures is called: a) Animation b) Transition c) A Presentation d) None of These

Last Answer : a) Animation

Description : What do you do to start the slide show: a) Click on Go b) Click on Slide Show Icon c) Turn on Transition d) None of These

Last Answer : b) Click on Slide Show Icon

Description : Explain ideal voltage source with suitable diagram.

Last Answer : A voltage source is a two terminal device which can maintain a fixed voltage. An ideal voltage source can maintain the fixed voltage independent of the load resistance or the output current. ... the terminal voltage remains constant equal to V volts without load (RL = ∞) or with load

Description : Explain the working of Half wave rectifier with suitable diagram

Last Answer : The half-wave rectifier circuit using a semiconductor diode (D) with a load resistance RL but no smoothing filter is given in the figure. The diode is connected in series with the secondary of the ... . Since only half-cycles of the input wave are used, it is called a half wave rectifier. 

Description : Explain how CRO is used for measurement of frequency & amplitude with suitable diagram

Last Answer : Voltage measurement/Amplitude: The most direct voltage measurement that can be made with the help of oscilloscope is the peak to peak value. The RMS value can be calculated from peak to peak value. ... is the time between two identical points of successive cycle of the waveform.

Description : Explain 3-2-1 principle of locations with suitable example and neat diagram

Last Answer : 3-2-1 Principle of Location used in Jig & Fixtures: It is also known as six pin or six point location principle. In this, the three adjacent locating surfaces of the blank (work piece) are ... [7] Another pin F in the second vertical face of the fixed body, arrests degree of freedom 9.

Description : List different types of inheritance with suitable diagram.

Last Answer : Types of inheritance: 1) Single inheritance: A derived class is derived from only one base class. Diagram: 2) Multiple inheritance: A derived class is derived from more ... ) Hybrid inheritance: Combination of single, multiple, multilevel and hierarchical inheritance.  Diagram:

Description : Explain working of envelope detector with suitable diagram and waveform.

Last Answer : Envelope Detector: An Envelope Detector is an electronic circuit that takes a high frequency signal as input and provides an output which is as envelopes of the original signal. The capacitor ... decreases the responsiveness thus, real-world designs must be optimized for the application.

Description : What kind of mechanism is to be taken into account for converting a weak entity set into strong entity set in entity-relationship diagram ? (A) Generalization (B) Aggregation (C) Specialization (D) Adding suitable attributes

Last Answer : (D) Adding suitable attributes

Description : Explain with neat sketch block diagram of optical fiber communication system and list out sources and detectors suitable for it.

Last Answer : OR 1. The light source is normally an infrared LED or LASER device which is driven by the current value from the V to I convertor. It emits light which is proportional ... optical energy electrical signal. The light detectors which are used as PIN photodiode and avalanche photo diode.

Description : Explain the working of MTI radar with the help of block diagram and with suitable waveforms.

Last Answer : Explanation : The echo pulse from the target is received by MTI radar antenna. If echo is due to moving target, the echo pulse undergoes a Doppler frequency. The received echo pulses then pass ... for fixed target magnitude and polarity of output will remain the same as shown in figure.

Description : Show the difference between hydraulic gradient line & total energy line with the help of suitable diagram.

Last Answer : Show the difference between hydraulic gradient line & total energy line with the help of suitable diagram.

Description : Explain Process framework with a suitable diagram.

Last Answer : A process framework establishes the foundation for a complete software process by identifying a small number of framework activities that are applicable to all software projects; In addition, the ... the customer who evaluates the delivered product and provides feedback based on the evaluation.

Description : Explain incremental process model using suitable diagram.

Last Answer : 1. Incremental model is also called as iterative enhancement model. 2. In this model the software is built in an incremental fashion. 3. Fig shows the project is divided into ... and it should be noted that the process flow for any increment can incorporate the prototyping paradigm. 

Description : With the help of suitable diagram, explain how humidity is measured with dry and wet bulb thermometer.

Last Answer : Explanation:- 1. A psychrometer, or wet-and-dry-bulb thermometer, consists of two thermometers, one that is dry and one that is kept moist with distilled water on a sock or ... , and in the HVAC industry for proper refrigerant charging of residential and commercial air conditioning systems. 

Description : How range of A.C. ammeter & A.C. voltmeter is extended? Draw suitable diagram.

Last Answer : Extension of A.C. Ammeter Range: The range of a.c. ammeter can be extended by using CT, the arrangement is shown in figure. The CT is current transformer having less number of primary turns carrying high ... high magnitude of source voltage. In this way range of a.c. voltmeter can be extended.

Description : Explain memory write ability and storage permanence with suitable diagram.

Last Answer : Write ability and storage permanence of memories: Write ability is the manner and speed at which memory can be written. Storage permanence is the ability of memory to hold stored bits ... Holds bits after power is no longer supplied. High end and middle range of storage permanence.

Description : State the methods of task synchronization. Describe semaphore with suitable example.

Last Answer : The methods of task synchronization are: Semaphore Message queue. Mutual exclusion.  Dead lock. Mailboxes. Message Queues. Semaphores: It is a system of sending message by using flags. Multiple concurrent threads of execution ...   signal(Sem);  }  in process P2  {  wait(Sem);  S2;  }

Description : (a) Describe activity with labelled diagram to show that a current carrying conductor experience a force in a magnetic field. (b) State the rule to determine the direction of force. -Science

Last Answer : (a) Without using a magnet, magnetic field can be produced by flowing the current through a straight conductor or a solenoid. Aim : To show that magnetic field exerts a force on a current carrying ... current, then the thumb will point in the direction of motion or the force acting on the conductor.

Description : State the different character generation methods. Describe any one with diagram.

Last Answer : Character Generator Methods: 1) Stroke Method 2) Bitmap Method 3) Starburst Method 1) STROKE METHOD Stroke method is based on natural method of text written by human being. In this method ... Character A : 0011 0000 0011 1100 1110 0001 Character M:0000 0011 0000 1100 1111 0011

Description : Draw neat labelled constructional diagram of INKJET printer. Describe the function of each block. State two advantages.

Last Answer : It is a non-impact printer. It provides letter quality printout than dot matrix printer. Its output is sharper than Dot matrix though its output quality is not to the same level of laser printer ... is compatible in quality to that of a laser printer. Faster when compared to Dot Matrix printers.

Description : With the help of neat diagram, describe the procedure to carry out phasing out test on a 3 phase transformer. Also state the purpose of conducting this test on 3 phase transformer.

Last Answer : i) This test is carried out on 3-ph transformer to identify primary & secondary winding belonging to the same phase. ii) As shown in fig above all primary & secondary phases ... of this test is to check the respective phases of primary & secondary windings in 3-ph transformer

Description : Which transition metal is in liquid state? -General Knowledge

Last Answer : The answer is 'Mercury'

Description : Which transition metal is in liquid state? -General Knowledge

Last Answer : answer:

Description : Which transition metal is in liquid state? -General Knowledge

Last Answer : answer:

Description : What is the state of transition ?

Last Answer : Transition state is when reactive molecules collide with each other and start breaking old bonds and forming new bonds . This transition state of reaction is also called activated complex .

Description : A gas is pale blue in colour on liquifaction, the colour arises from electronic transitions. This transition is forbidden in gaseous state. The gas do

Last Answer : A gas is pale blue in colour on liquifaction, the colour arises from electronic transitions. This ... combustion. Given the molar mass of this gas.

Description : A gas is pale blue in colour on liquifaction, the colour arises from electronic transitions. This transition is forbidden in gaseous state. The gas do

Last Answer : A gas is pale blue in colour on liquifaction, the colour arises from electronic transitions. This ... combustion. Given the molar mass of this gas.

Description : (A) `S_(N^(2))` reactioin takes place in single step. (R) `S_(N^(2))` reaction involves transition state intermediate.

Last Answer : (A) `S_(N^(2))` reactioin takes place in single step. (R) `S_(N^(2))` reaction involves transition ... . D. IF (A) is incorrect but (R) is correct.

Description : A hydrogen like atom (atomic number `z`) is in a higher excited state of quantum number `n`. This excited atom can make a transition to the first exci

Last Answer : A hydrogen like atom (atomic number `z`) is in a higher excited state of quantum number `n`. This ... eV` respectively. Determine the value of `(n+z)`

Description : A hydrogen atom in a state of binding energy 0.85 eV makes a transition to a state of excitation energy of 10.2 eV . Find the energy and wavelength of

Last Answer : A hydrogen atom in a state of binding energy 0.85 eV makes a transition to a state of ... . Find the energy and wavelength of photon emitted.

Description : A hydrogen like atom (atomic number Z) is in a higher excited state of quantum number n. The excited atom can make a transition to the first excited s

Last Answer : A hydrogen like atom (atomic number Z) is in a higher excited state of quantum number n. The excited ... . (lonization energy of H-atom = 13.6 eV)

Description : Consider a hydrogen-like atom whose energy in nth excited state is given by `E_(n) = (13.6 Z^(2))/(n^(2))` When this excited makes a transition from e

Last Answer : Consider a hydrogen-like atom whose energy in nth excited state is given by `E_(n) = (13. ... number of atom and the intial state or excitation.

Description : A hydrogen atom in a having a binding of `0.85eV`makes transition to a state with excited energy `10.2eV`(a) identify the quantum number n of theupper

Last Answer : A hydrogen atom in a having a binding of `0.85eV`makes transition to a state with excited ... (b) Find the wavelength of the emitted radiation

Description : Find the quantum number `n` corresponding to the excited state of `He^(+)` ion, if on transition to the ground state that ion emits two photons in suc

Last Answer : Find the quantum number `n` corresponding to the excited state of `He^(+)` ion, if on transition to the ... with wave lengths `108.5` and `30.4 nm`.