- Internally defined
priorities: These priorities make use of some quantities that can be
measured for computing a process’s priority. These quantities include
memory requirements, time limits, ration of the I/O burst and CPU burst,
number of files and so on.
- Externally defined
priorities: These priorities are defined by some criteria that are
external to the operating system. Such factors include political factors,
department leading the work; importance of the process, amount of money
paid and so on.
Wednesday, June 19, 2013
Explain the Priority CPU scheduling algorithm
Posted by
Sunflower
at
6/19/2013 01:18:00 PM
0
comments
Labels: Algorithm, CPU, Execution, Non-preemptive, Operating System, Preemptive, Priority, Priority CPU Scheduling Algorithm, Process, Processor, Resources, Schedule, Scheduling, Shortest Job First, Waiting
|
| Subscribe by Email |
|
Monday, May 6, 2013
What is a Safe State and what is its use in deadlock avoidance?
Safe state plays a great role in avoiding the deadlocks. In this article we discuss in detail the concept of this safe state.
When do we call a state safe?
It is when even if the system allocates resources to all the processes and no deadlock occurs. This allocation is to the maximum limits and can be done in any preferred order. To put it down more formally, we can say that a system is considered to be in a safe state only if a safe sequence exists. This would become clearer from the following example:
Consider the following sequence of processes:
- Now this sequence is considered to be a safe one for the current state of the allocation if the resource requests made by each of the processes Pi can be satisfied by resources that are currently available including the resources held by some another process that precedes Pi.
- In this case, if the resources required by the Pi are not presently available, then it can wait till the preceding process completes its executions and releases the resources.
- Once it finishes, the resources it held, now can be utilized by the Pi for completing the task assigned to it and then it also releases back the resources to be used by succeeding processes.
- It then finally terminates.
- If there exists no sequence like this, then the system is said to be in an unsafe state.
- A deadlock cannot occur in a safe state and so this state cannot be called a deadlocked one.
- But on the other side, a state is unsafe if it has a deadlock.
- However, it is not necessary that the reason for all states being unsafe is the deadlock.
- An unsafe state can however lead to a deadlock.
- It is in the safe states, that the operating system is capable of avoiding the deadlocks.
- When the operating system falls in an unsafe state, it is no more in a position to prevent the requests of the processes that would cause a deadlock to occur.
- It is the behavior of the processes by which the unsafe states of the system are controlled.
- Another major difference between the safe and the unsafe states is that in a safe state it is guaranteed by the operating system that the execution of the processes will be completed in expected time but in the case of unsafe states it gives no such guarantee.
- If the concept of the safe state is predefined, then algorithms can be designed that would make sure that no deadlocks occur.
- The idea behind these algorithms would be to ensure the following things:
1. The system does not come out of the safe state.
2. The system is kept in a safe state initially.
3. The system must be able to determine if a resource requested by a process can be allocated immediately to it or it requires waiting.
4. The system grants the request of the process if and only if after finishing it, the system would still be in a safe state.
- One disadvantage of such algorithms is low resource utilization. It is because the process would still have to wait for the resource even if it is available.
- A deadlock occurs when two or more processes that are competing with one another to wait for each other to finish and neither of them do so.
- The deadlock which involves only two processes is called a deadly embrace.
- This may also occur if one process is waiting for the other to finish which in turn is waiting for some other process to finish and so on.
Posted by
Sunflower
at
5/06/2013 09:45:00 PM
0
comments
Labels: Algorithms, Allocation, Control, Current, Deadlock, Execution, Operating System, Process, Processes, Requests, Resources, Safe, Safe State, States, System, Tasks, Unsafe, Utilize
|
| Subscribe by Email |
|
Saturday, May 4, 2013
What is Context Switch?
Potential Triggers for a Context Switch
Posted by
Sunflower
at
5/04/2013 08:35:00 PM
0
comments
Labels: Context Switch, Execution, Hardware, Interrupt handling, Interrupts, Kernel, Multitasking, Operating System, Process, program, Restore, Scheduling, state, Storing, Switching, Triggers, User
|
| Subscribe by Email |
|
Thursday, February 21, 2013
Explain Janova - Web Functional/Regression Test Tool
About Janova Testing Tool
How Janova actually works?
- Janova application
- Broker
- Workers
- Secure
access
- Results
Posted by
Sunflower
at
2/21/2013 11:30:00 AM
0
comments
Labels: Applications, Automated, Code, Errors, Execution, Features, files, Janova, pages, Requirements, Security, Software, Stages, Testers, Testing tools, Tests, Tools, Web, Web Application, Web testing
|
| Subscribe by Email |
|
Saturday, February 9, 2013
What are the main features of TOSCA? What are its benefits and limitations?
About TOSCA
- The modules can be dragged and dropped for creating new tests.
- This in turn makes it possible for having a business – based description of the test cases.
- With such a description it becomes for the non – technical users to design and automate the test cases.
Features of TOSCA
- Main features of TOSCA include:
- This also enables the TOSCA to provide detailed reports about the impact that the existing technical weakness have on the fulfillment of the requirements.
- A software called Fecher uses TOSCA for the development of data base and application migration projects.
Limitations of TOSCA
Because of its various features TOSCA is so famous among the testers. A total of 300 customers have been recorded worldwide. The software is being used in numerous tasks such as:
- Banks
- Insurance
- Telecommunication
- Industrial
companies and so on.
Posted by
Sunflower
at
2/09/2013 01:16:00 PM
0
comments
Labels: Application, Automated, Benefits, Components, Design, Execution, Features, Functional, Limitations, Model, Regression, Requirements, Technology, Test cases, Test Suite, Testing, Tests, Tools, TOSCA, Users
|
| Subscribe by Email |
|
Friday, January 18, 2013
Explain Cucumber Testing Tool?
About Cucumber Testing Tool
Posted by
Sunflower
at
1/18/2013 02:34:00 PM
0
comments
Labels: Application, Browser, Cucumber Testing Tool, Development, Execution, Features, Framework, Keywords, Language, pages, Software, Software System, Target, Test cases, Testing, Testing tools, Tools, Web automation
|
| Subscribe by Email |
|
Sunday, November 25, 2012
How is test management done by the test director?
- Specification of the
requirements
- Planning the tests
- Execution of the
tests
- Tracking the defects
Phase I - specification of Requirements
- Examination of the
documentation of the software system or application for the determining
the testing scope i.e., test goals, strategies, objectives etc.
- Building of a
requirements tree for defining overall testing requirements.
- Creation of a list
of detailed testing requirements for each topic mentioned in the requirements
tree.
- Writing a
description for each requirement, assigning a priority level to it and
adding attachments if required.
- Generation of the
reports and graphs for providing assistance in the analyzation of the
testing requirements.
- Carrying out a review
of the requirements to check if they meet the specifications.
Phase II - Planning the Tests
- Examination of the
application, testing resources and system requirement for determining the
test goals.
- Division of the application
in to modules to be tested and building of a test plan tree to divide the
application in to testing units hierarchically.
- Determination of the
type of tests that are required for each module and adding a basic
definition of each test to the test plan tree.
- Linking each test to
the corresponding testing requirement.
- Developing manual
tests where each test step describes the test operations and expected
outcome. Deciding which tests are to be automated.
- Creation of the test
scripts for the tests that are to be automated using a custom testing tool
such as mercury interactive testing tools.
- Generation of the
graphs and reports for the analyzation of the test planning data.
- Reviewing the tests
for determining their suitability to the testing goals.
Phase III - Execution of tests
- Defining the tests
in to groups so as to meet various testing goals of the project. This may
involve testing a new version of the application or a specific function in
it.
- Deciding which all
tests are to be included in the test set.
- Scheduling the
execution of the tests and assigning tasks to different application
testers.
- Execution of the
tests either manually or automatically.
- Viewing the results
of the test runs for determining if a detect was detected in the application
under test and generation of the reports and graphs for analyzation of the
results.
Phase IV - Tracking the Defects
- Submitting new
defects detected in the software system or application. Defects can be
added during any phase by QA testers, project managers and developers etc.
- Carrying out a
review of the new defects and determining which ones are to be fixed.
- Correcting the
defects that were decided to be fixed.
- Testing the new
build of the software system or application and repeating the whole
process until all the defects are fixed.
- Generation of the
graphs and reports to provide assistance in the analyzation of the
progress of the defect fixes and determining the date when the application
is to be released.
Posted by
Sunflower
at
11/25/2012 02:18:00 PM
0
comments
Labels: Application, Bugs, Defects, Descriptions, Execution, Phases, Planning, Reports, Requirements, Scope, Software System, Software testing, Specification, Steps, Test Director, Test management, Testers, Tests, Tracking
|
| Subscribe by Email |
|
Saturday, November 24, 2012
How do you schedule and run tests in Test Director?
Steps to schedule tests in test Director
- Firstly, make sure that the test module is in the view mode and if it is not then first enable it.
- Second
step involves creation of a new test. Click on the execution flow tab in
the test lab module. Choose a folder in the test sets tree and click on
the ‘new test set’ option. You will get a ‘new test set’ dialog box. Type
in the following details:
- Add
a test that you want to add to the test set created in the previous step. Using
the ‘select tests’ button to make
the test director display the test plan tree in the right pane. Then, type
the name of the test to be searched for in the find box in the test plan
tree and click find button. Select the searched test and add it to the
test set using the ‘add tests to test set’ button.
- Any
number of tests can be added to the test set. To add the tests to the
execution flow either simply drag them in to the execution flow area or
double click on them.
- Add conditions using
conditions tab. When you will click on the new button a ‘new execution
condition’ dialog box will pop up. Select the required test and then
passed option. This will instruct the test director to execute the next
test only after the successful execution of the previous test. Click OK once done with this and the condition will be added to the run schedule of
by the test director in the test dialog box.
- You can even add a
dependency condition to the tests by clicking on the time dependency tab. You
will get a field titled ‘run at specified time’, in that specify the date
of execution and click OK. Clicking on OK will close the run schedule. The
conditions will be displayed by the test director in the execution flow
area.
- Further, if required, some execution condition can also be added to the tests.
- For rearranging the
tests in a hierarchical way, click on the perform layout option. You can
then view the dependencies between the tests clearly.
How the tests are run in Test Director?
- Click on the test
lab module to display the test lab module.
- From the test sets
select the required test set.
- From the execution
grid select the required test.
- Clicking on the run
will open up a manual runner dialog box.
- To begin the test
run click on the test run. Parameter values dialog box will open up.
- Assign the parameter
values for the test.
- Click OK and test director
will show up the manual runner. The step details dialog box will open up. Perform
the execution process step by step.
- After running all
the steps return to the default manual runner display. End the test run by
clicking on the end of run button.
Posted by
Sunflower
at
11/24/2012 02:50:00 PM
0
comments
Labels: Add, Automate, Automation, Conditions, Creation, Dependencies, Dialog, Execution, Modes, Modules, Name, Run, Schedule, Scheduled, Steps, Test cases, Test Director, Test Module, Test Plan tree, Tests
|
| Subscribe by Email |
|
Friday, November 23, 2012
How to run a test automatically in Test Director?
How are tests run?
- Clicking
on the test lab tab will display the test lab module. This is a must for
the automation of the tests.
- The
test set you want to execute automatically should be displayed in the
execution grid. For doing this click on the execution grid tab and select
the required test from the test sets tree.
- Select
a test. For running the winrunner test select the required test or if you
want to run an astra quick test or QTP test select the required one. Next
clicking on the run button will open up the execution dialog box and the
test will be displayed.
- Configure
the test run settings and select the ‘run all tests locally’ option for
running the tests on the local machine.
- For
running the tests click on run tests and the tool will be opened
automatically by the test director and the tests will be run. The execution
progress can be viewed in the status column.
- Once
the execution of the test is complete close the execution dialog box by
clicking on the exit option.
- Also
the summary of the test results can be viewed in the execution grid.
Posted by
Sunflower
at
11/23/2012 09:51:00 PM
0
comments
Labels: Automate, Automatic, Controls, Creation, Defects, Execute, Execution, Goals, Quality, Results, Run, Settings, Software testing, System, Test Director, Test sets, Tester, Testing tools, Tests, Tools
|
| Subscribe by Email |
|