- An
attempt is made for accessing the page.
- If
page is present in the memory the usual instructions are followed.
- If
page is not there i.e., is invalid then a page fault is generated.
- Memory
reference to a location in the virtual memory is checked if it is valid or
not. If it’s an illegal memory access then the process is terminated. If
not the requested page has to be paged in.
- The
disk operations are scheduled for reading the requested page in to the
physical memory.
- Restarting
the instruction that raised the page fault trap.
Tuesday, June 25, 2013
Explain about demand paging and page replacements
Posted by
Sunflower
at
6/25/2013 11:49:00 AM
0
comments
Labels: Algorithms, Data, Demand Paging, Logical, Management, Memory, Operating System, Page Replacement, Page table, pages, Paging, Physical, Process, Request, Strategy, Systems, Techniques, Virtual Memory
![]() | Subscribe by Email |
|
Monday, July 9, 2012
List out the technical details of mock object?
What are Mock Objects?
Posted by
Sunflower
at
7/09/2012 04:07:00 PM
0
comments
Labels: Application, Behavior, Conditions, Data, Details, Developers, Fake, Functionality, Information, Methods, Mock objects, Objects, Requirements, Simulate, Software testing, Stubs, Systems, Technical
![]() | Subscribe by Email |
|
Monday, May 21, 2012
What is the use of a mock object in test driven development?
What are Mock Objects?
Use of Mock Object in TDD
Posted by
Sunflower
at
5/21/2012 04:47:00 PM
0
comments
Labels: Application, Behavior, Conditions, Data, Developers, Fake, Functionality, Information, Methods, Mock objects, Objects, Requirements, Simulate, Software testing, Systems, TDD, Test Driven Development, Unit Testing
![]() | Subscribe by Email |
|
Thursday, September 16, 2010
Types of Software Systems : Batch Systems, Event Control Systems, Process Control Systems, Advanced Mathematical Models, Message Processing Systems
The type of software system refers to the processing that will be performed by that system.
Batch systems:
These are a set of programs that perform activities which do not require any input from the user. For example, when you type something on word document, you press the key you require and the same gets printed on the monitor. This is performed by the batch systems. These systems contain on or more Application Programming Interface (API) which perform various tasks.
Event Control Systems:
These systems process real time data to provide the user with results for what command was given. For example, when something is typed on the word document and press Ctrl+S, it tells the computer to save the document. These real time command communications to the computer are provided by the event controls that are pre-defined in the system.
Process Control Systems:
There are two or more different systems that communicate to provide the end user a specific utility. When two systems communicate, the co-ordination or data transfer becomes vital. Process Control Systems are the one's that receive data from a different system and instructs the system which sends the data to perform specific tasks based on the reply sent by the system which received the data.
Advanced Mathematical Models:
Systems, which make use of heavy mathematics fall into the category of mathematical models. Usually, all the computer software make use of mathematics in some way or other. An example of advanced mathematical model is the simulation system which uses graphics and control the positioning of software on the monitor or decision and strategy making software.
Message Processing Systems:
A simple example of this type of system is SMS management system used by the mobile operator which handle incoming or outgoing messages. Another system which is noteworthy is the system used by the paging companies.
Posted by
Sunflower
at
9/16/2010 07:11:00 PM
0
comments
Labels: Advanced Mathematical Models, Batch Systems, computers, Event Control Systems, Message Processing Systems, Process Control Systems, Software, Software Systems, Systems, Types
![]() | Subscribe by Email |
|
Tuesday, August 31, 2010
Features of Software Reliability Testing and what are reliability techniques.
Computer systems are an important part of our society. Reliability refers to the consistency of a measure. A test is considered reliable if we get the same result repeatedly. Software Reliability is the probability of failure-free software operation for a specified period of time in a specified environment. Software Reliability is also an important factor affecting system reliability.
A completely different approach is “reliability testing”, where the software is subjected to the same statistical distribution of inputs that is expected in operation.
Reliability testing will tend to uncover earlier those failures that are most likely in actual operation, thus directing efforts at fixing the most important faults.
The fault-finding effectiveness of reliability testing to deliver on its promise of better use of resources, it is necessary for the testing profile to be truly representative of operational use.
Reliability testing is attractive because it offers a basis for reliability assessment.
Reliability testing may be performed at several levels. Complex systems may be tested at component, circuit board, unit, assembly, subsystem and system levels.
A key aspect of reliability testing is to define "failure".
Software Reliability Techniques
- Trending reliability tracks the failure data produced by the software system to develop a reliability operational profile of the system over a specified time.
- Predictive reliability assigns probabilities to the operational profile of a software system.
Posted by
Sunflower
at
8/31/2010 06:11:00 PM
0
comments
Labels: Effective, Failure, Fault, Operational, Reliability, Reliability testing, Reliable, Resources, Systems, Techniques
![]() | Subscribe by Email |
|
Friday, April 9, 2010
Overview of LocalTalk Protocol
LocalTalk refers to the physical networking -- that means the built-in controller in many Apple computers, the cables and the expansion cards required on some systems. The "official" Apple cabling system typically uses a "bus topology" where each device in the network is directly connected to the next device in a daisy chain. The illustration on the Farallon book cover below gives an idea of how a bus looks.
Ethernet is the most-used method of Macintosh networking and all new Macs sport an Ethernet port, but the longevity of Macs mean there's still a bunch out there with serial ports (i.e., LocalTalk support) but no Ethernet. New iMacs and G4s lack serial ports, so can't network directly with older LocalTalk Macs and printers.
LocalTalk implementation utilized the Mac's RS-422 printer port with twisted-pair cabling and 3-pin DIN connectors. Systems were daisy-chained together and required adapters to work with the Mac's onboard DB-9 or 8-pin DIN connectors. LocalTalk provided a fairly speedy 230.4 kbps networking speed, very useable for file sizes and traffic levels of the day - compare this to the still used 56 kbps modem.
A variation of LocalTalk, called PhoneNet used standard unshielded twisted pair telephone wire with 6 position modular connectors (same as used in the popular RJ11 telephone connectors) connected to a PhoneNet transceiver, instead of the expensive shielded twisted-pair cable. In addition to being lower cost, PhoneNet-wired networks were more reliable due to the connections being more difficult to accidentally disconnect.
A LocalTalk-to-Ethernet Bridge is a network bridge that joins the physical layer of the AppleTalk networking used by previous generations of Apple Computer products to an Ethernet network. Some LocalTalk-to-Ethernet Bridges only performed Appletalk bridging. Others were also able to bridge other protocols. For example: TCP/IP in the form of MacIP.
Posted by
Sunflower
at
4/09/2010 01:10:00 PM
0
comments
Labels: Bridges, Computer networks, Ethernet, Localtalk, Networks, Physical, physical design, Protocols, Systems
![]() | Subscribe by Email |
|
Monday, February 15, 2010
Overview Of Distributed Systems
A distributed system is a collection of processors that do not share memory or clock. Each of the process has its own clock and memory and the processors communicate with each other through various communication lines. These processors are referred to by different names such as sites, machines, hosts, nodes, computers and so on.
A distributed system provides the user with access to various resources that the system maintains. A distributed system must provide various mechanisms for process synchronization and communication, for dealing with the deadlock problem, and other failures which are not encountered in a centralized system.
There are 4 reasons for building distributed systems :
- Resource sharing : If a number of different sites are connected to one another, then a user at one site may be able to use the resources available at another.
- Computation speedup : If a computation can be partitioned into sub computations that can run concurrently, availability of a distributed system may allow us to distribute the computation among various sites, to run the computation concurrently.
- Reliability : If one site fails in distributed system, the remaining sites can potentially continue operating. The failure of the site must be detected by the system and the appropriate action may be needed to recover from failure.
- Communication : Information can be exchanged when several sites are connected to one another by a communication network.
The advantage of a distributed system is that these functions can be carried over great distances.
Posted by
Sunflower
at
2/15/2010 09:13:00 AM
0
comments
Labels: computers, Distributed systems, File systems, Machines, Operating Systems, Processes, Sites, Systems, User
![]() | Subscribe by Email |
|
Sunday, February 14, 2010
Hierarchical Storage Management (HSM)
Hierarchical Storage Management (HSM) is a data storage technique which automatically moves data between high-cost and low-cost storage media. HSM systems exist because high-speed storage devices, such as hard disk drive arrays, are more expensive (per byte stored) than slower devices, such as optical discs and magnetic tape drives. While it would be ideal to have all data available on high-speed devices all the time, this is prohibitively expensive for many organizations.
Instead, HSM systems store the bulk of the enterprise's data on slower devices, and then copy data to faster disk drives when needed. In effect, HSM turns the fast disk drives into caches for the slower mass storage devices. The HSM system monitors the way data is used and makes best guesses as to which data can safely be moved to slower devices and which data should stay on the fast devices.
A hierarchical storage system extends the storage hierarchy beyond primary memory and secondary storage to incorporate tertiary storage — usually implemented as a
jukebox of tapes or removable disks.
It usually incorporates tertiary storage by extending the file system.
* Small and frequently used files remain on disk.
* Large, old, inactive files are archived to the jukebox.
HSM is usually found in supercomputing centers and other large installations that have enormous volumes of data.
Posted by
Sunflower
at
2/14/2010 04:54:00 PM
0
comments
Labels: Computer storage devices, Devices, Disk Storage, disks, Hierarchical Storage Management, HSM, Memory, Storage, Systems, Tertiary Storage Devices
![]() | Subscribe by Email |
|
Tuesday, October 27, 2009
Overview to System Simulation Tools
System simulation tools provide the software engineer with the ability to predict the behavior of a real-time system prior to the time that it is built. In addition, these tools enable the software engineer to develop mock-ups of the real-time system, allowing the customer to gain insight into the function, operation, and response prior to actual implementation.
Tools in this category allow a team to define the elements of a computer-based system and then execute a variety of simulations to better understand the operating characteristics and overall performance of the system. Two broad categories of system simulation tools exist :
- General purpose tools that can model virtually any computer-based system.
- Special purpose tools that are designed to address a specific application domain.
REPRESENTATIVE TOOLS :
- CSIM : Developed by Lockheed Martin Advanced Technology labs, is a general purpose discrete-event simulator for block diagram-oriented systems.
- Simics : Developed by Virtutech, is a system simulation platform that can model and analyze both hardware and software-based systems.
- SIX : Developed by Wolverine Software, provides general purpose building blocks for modeling the performance of a wide variety of systems.
Posted by
Sunflower
at
10/27/2009 07:50:00 PM
0
comments
Labels: software engineering, System Simulation, Systems, Tools
![]() | Subscribe by Email |
|
Introduction to System Simulation
Systems simulation is a set of techniques for using computers to imitate, or simulate, the operations of various kinds of real-world facilities or processes.The computer is used to generate a numerical model of reality for the purposes of describing complex interaction among components of a system. The complexity of the system surges from the stochastic (probabilistic) nature of the events, from the rules for the interactions of the elements, and the difficulty to perceive the behavior of the systems as a whole with the passing of time.
When to use simulations?
Systems that change with time, such as a gas station where cars come and go (called dynamic systems) and involve randomness.Modeling complex dynamic systems theoretically need too many simplifications and the emerging models may not be therefore valid. Simulation does not require that many simplifying assumptions, making it the only tool even in absence of randomness.
System terminology:
- State: A variable characterizing an attribute in the system.
- Event: An occurrence at a point in time which may change the state of the system.
- Entity: An object that passes through the system.
- Queue: It is a task list.
- Creating: Creating is causing an arrival of a new entity to the system at some point in time.
- Scheduling: Scheduling is the act of assigning a new future event to an existing entity.
- Random variable: A random variable is a quantity that is uncertain.
- Random variate: A random variate is an artificially generated random variable.
- Distribution: A distribution is the mathematical law which governs the probabilistic features of a random variable.
Posted by
Sunflower
at
10/27/2009 07:37:00 PM
0
comments
Labels: Process, Simulation, software engineering, System Simulation, Systems
![]() | Subscribe by Email |
|
Sunday, October 25, 2009
Introduction to System Modeling
A model is a simplified representation of a system at some particular point in time or space intended to promote understanding of the real system. A system is understood to be an entity which maintains its existence through the interaction of its parts. A model is a simplified representation of the actual system intended to promote understanding. Whether a model is a good model or not depends on the extent to which it promotes understanding. Since all models are simplifications of reality there is always a trade-off as to what level of detail is included in the model. If too little detail is included in the model one runs the risk of missing relevant interactions and the resultant model does not promote understanding. If too much detail is included in the model the model may become overly complicated and actually preclude the development of understanding.
System modeling shows how the system should be working. To construct a system model, the system engineer should consider the following factors :
- Assumptions : It reduces the number of possible permutations and variations, thus enabling a model to reflect the problem in a reasonable manner.
- Simplifications : It enable the model to be created in a timely manner.
- Limitations : It helps to bound the system.
- Constraints : It will guide the manner in which the model is created and the approach taken when the model is implemented.
- Preferences : It indicates the preferred architecture for all data, functions, and technology. The preferred solution sometimes comes into conflict with other restraining factors.yet, customer satisfaction is often predicated on the degree to which the preferred approach is realized.
Posted by
Sunflower
at
10/25/2009 11:31:00 AM
0
comments
Labels: Factors, Models, System Modeling, Systems
![]() | Subscribe by Email |
|
Sunday, May 25, 2008
TYPES OF SOFTWARE SYSTEMS
BATCH SYSTEMS : They are a set of programs that perform certain activities which do not require any kind of input from the user. Batch systems contain one or more API which perform various tasks.
Ex: When something is typed on a word document by pressing a key, same is displayed on the monitor. The process of conversion of user input of the key to machine language and then displaying what you have typed on monitor is performed by batch system.
EVENT CONTROL SYSTEMS : These systems process real time data to provide the user with results for the command that has been given.
Ex: When you press Ctrl + S, it tells the computer to save the document. This communication is provided by the event controls that are pre-defined in the system.
PROCESS CONTROL SYSTEMS : When two systems communicate, the co-ordination or data transfer becomes vital. Process control systems are the one’s that receive data from a system and instruct the sending system to perform specific tasks based on the reply sent by the receiving system.
PROCEDURE CONTROL SYSTEMS : These systems are one’s which control the functions of another system.
MESSAGE PROCESSING SYSTEMS : A simple example to explain these kind of systems is the SMS management software used by the mobile operator which handles the incoming and outgoing messages.
DIAGNOSTIC SOFTWARE SYSTEMS : These systems help in diagnosing the computer hardware components.
Ex: The “NEW HARDWARE FOUND” dialogue seen when you plug in a new device to the computer is an example of these kind of systems.
SENSOR & SIGNAL PROCESSING SYSTEMS : In these systems the computer receives input in form of signals and then transforms the signals to a user understandable output.