Friday, April 19, 2013
What is Paging? Why it is used?
Posted by
Sunflower
at
4/19/2013 08:34:00 PM
0
comments
Labels: Address, Application, Data, Devices, Errors, Faults, Frames, Memory, Operating System, Page, Page Fault, Paging, Physical, Primary, Secondary, Storage, System, Techniques, Uses, Virtual
|
| Subscribe by Email |
|
Thursday, October 4, 2012
Explain the check points in QTP? In how many ways we can add check points to an application using QTP?
What is Check Point? How it is added to an application?
Types of Check Points
Posted by
Sunflower
at
10/04/2012 01:55:00 PM
0
comments
Labels: Accessibility, Application, Automated, Automated Software Testing, Automation, Bitmap, Check point, Current, Database, Expected, Image, Page, QTP, Quick Test Professional, Statement, Table, Text, Types, Value, XML
|
| Subscribe by Email |
|
Thursday, September 27, 2012
How will you check a web application for broken links using QTP?
- Usability testing
- Functionality testing
- Compatibility testing
- Interface testing
- Security testing
- Performance testing
- all the links in web pages
- data base connection
- forms in the web pages
- cookies
- out going links from a specific domain
- internal links
- links jumping on same page
- links for sending mails
- orphan pages and lastly
- broken links
What are broken links?
- via manual creation of a check point
- via automatic page check point
How a broken link be checked manually by creating a page check point?
Posted by
Sunflower
at
9/27/2012 03:50:00 PM
0
comments
Labels: Application, Automatic, Automation, Broken links, Browsing, Check point, Functionality, Links, Manual, Page, Properties, QTP, Quick Test Professional, Record, Testing, Testing tools, Users, Web page, Web site
|
| Subscribe by Email |
|
Sunday, July 15, 2012
Describe some Caching Issues?
What are different caching issues?
Monday, March 5, 2012
What are different HTML errors?
HTML or hyper text mark up language is perhaps one of the most used mark up languages for the web pages, sites and applications with which most of us are familiar. This language is written using the HTML elements which mainly constitute of the tags enclosed in the angle brackets like:
These elements are housed in the web page or site. Most of the HTML tags are implemented in pairs of two.
HTML ELEMENTS AND CONTENT
- Some tags are even empty and are commonly known as empty elements.
- These are usually unpaired unlike the filled elements which are paired.
- In the paired tags, the first tag is called the start tag and the second one is then called the end tag.
- Between these two tags, any text, comments, tags etc can be added by the designer of the web sites.
- The content that is to be added should only be of textual type.
- Due to some wrong designing principles often some errors are introduced in to the html of the web site or the page.
- One of the most common errors is the insertion of the graphical content in to the html.
- Such content is neither displayed nor is it interpreted.
- It simply causes the malfunctioning of the web site.
- Other elements of the html allow the addition of the graphical content and only these should be used whenever some graphics are to be inserted in to the page.
- Html elements provide a means for the creation of the structured documents that denote the structural semantics for textual content like:
1. Lists
2. Links
3. Paragraphs
4. Headings
5. Quotes and so on.
DIFFERENT HTML ERRORS AND THEIR IMPACT
- Html can also be embedded in to the scripts like javascript which also some times leads to errors when inserted incorrectly.
- Such errors affect the behaviour of the web sites and cause them to behave abnormally.
- Whenever the site is affected by an error or a bug is encountered, a set of error messages is generated by the business logic component which is then stored as a string in any of the available scopes.
- For using such functions, you need to define an application scope with the name of default attribute, because if such a scope is not found, then nothing is to be rendered by the business logic.
- Some designers forget to define such scopes and therefore end up with unnecessary errors in their web sites.
- Many more errors occur whenever a requested is generated by the client to the web server.
- In such cases the server responds with some status messages, few of which have been mentioned below along with the possible errors:
1. 400:
Bad syntax of the request is preventing the server to process it.
2. 401:
The request though being cannot be processed because of unavailability of the authentication processes.
3. 404 not found:
The page requested by the client is found to be unavailable at that moment.
4. 405 method not allowed:
The client made request in such a way that is not supported by that site.
5. 407 proxy authentication required:
The client has not authenticated its proxy.
6. 408 request time out:
The server’s request time expired while waiting for the client to generate one.
7. 409 conflict:
The server is not able to process the request because of the presence of some conflict in it.
8. 410 gone:
The page that was requested is no longer available on the web.
Posted by
Sunflower
at
3/05/2012 09:00:00 AM
0
comments
Labels: Authentication, Bugs, Client, Client Server, Content, Elements, Errors, Graphics, HTML, Languages, Page, Request, Respond, Semantics, Structural, Tags, Web Applications, Web page, WebApp, Website
|
| Subscribe by Email |
|
Tuesday, June 14, 2011
What are the important elements in search engine optimization Part I?
SEO web design is one of the most appropriate strategies to keep the competition.
A successful search engine optimization has few important elements includes a well targeted keyword focus, strong page element optimization and good quality content.
Keywords are most important element for search engines. These keywords are what search strings are matched against.The most crucial step is to find the correct keyword that can be used to optimize.
- Choosing the right keyword to optimize. It is best to focus on less competitive and highly specific keywords. The keyword should have the property of describing what is the purpose of your website. Also, check whether these keywords are relevant to your website or not.
- The website should be rich in keywords and have good keyword density. It is a measure to judge how relevant is the page.Keeping 5 to 10 keywords is termed as OK keyword density. Keyword stuffing should not be practiced.
- Quality of keywords and their position on the seb page is also very important. Keywords that appear in the heading, title are more effective than the keywords that are placed at the bottom.
- A balance has to be there between url keywords and site usability.
- The contents of page title tag are displayed during search so this is the special place where keywords can be given.
- From an SEO point of view, it is good to have as many headings with good keywords in it. The headings should not be very long as readability becomes difficult.
Posted by
Sunflower
at
6/14/2011 04:03:00 PM
1 comments
Labels: Effective, Elements, Focus areas, Headings, Keywords, Optimize, Page, Purpose, Search engine, Search Engine Optimization, SEO, Strategies, Usability, Web site
|
| Subscribe by Email |
|
Tuesday, January 12, 2010
Optimal Page Replacement Algorithm
Each page can be labeled with the number of instructions that will be executed before that page is first referenced. The optimal page algorithm simply says that the page with the highest label should be removed. If one page will not be used for 8 million instructions and another page will not be used for 6 million instructions, removing the former pushes the page fault that will fetch it back as far into the future as possible.
The only problem with this algorithm is that it is unrealizable. At the time of the page fault, the operating system has no way of knowing when each of the pages will be referenced next. Still, by running a program on a simulator and keeping track of all page references, it is possible to implement optimal page replacement on the second run by using the page reference information collected during the first run.
Despite this limitation, algorithms exist that can offer near-optimal performance — the operating system keeps track of all pages referenced by the program, and it uses those data to decide which pages to swap in and out on subsequent runs. This algorithm can offer near-optimal performance, but not on the first run of a program, and only if the program's memory reference pattern is relatively consistent each time it runs.
In short :
* Belady's optimal algorithm for the minimum number of page faults.
* Replace the page that will be referenced furthest in the future or not at all.
* Problem: we cannot implement it, because we cannot predict the future.
* This is the best case.
* Can use it to compare against other algorithms.
Posted by
Sunflower
at
1/12/2010 10:54:00 PM
0
comments
Labels: Algorithms, Limitations, Operating Systems, Optimal Page Replacement Algorithm, Page, Page Replacement
|
| Subscribe by Email |
|
Monday, January 11, 2010
Performance of Demand Paging
Advantages of Demand Paging :
* Only loads pages that are demanded by the executing process.
* As there is more space in main memory, more processes can be loaded reducing context switching time which utilizes large amounts of resources.
* Less loading latency occurs at program start-up, as less information is accessed from secondary storage and less information is brought into main memory.
* Does not need extra hardware support than what paging needs, since protection fault can be used to get page fault.
Disadvantages of Demand Paging :
* Individual programs face extra latency when they access a page for the first time. So demand paging may have lower performance than anticipatory paging algorithms such as pre-paging.
* Programs running on low-cost, low-power embedded systems may not have a memory management unit that supports page replacement.
* Memory management with page replacement algorithms becomes slightly more complex.
* Possible security risks, including vulnerability to timing attacks.
Performance Of Demand Paging :
Let p be the probability of a page fault (0<=p<=1). We would expect p to be close to zero i.e. there will be only few page faults. The effective access time is then :
effective access time = (1-p) * ma + p * page fault time
To compute the effective access time, we must know how much time is needed to service a page fault. A page fault causes the following sequence to occur :
- Trap to the operating system.
- Save the user registers and process state.
- Determine that the interrupt was a page fault.
- Check that the page reference was legal and determine the location of the page on the disk.
- Issue a read from the disk to a free frame.
- While waiting, allocate the CPU to some other user.
- Interrupt from the disk.
- Save the registers and process state for the other user.
- Determine that the interrupt was from the disk.
- Correct the page table and other tables to show that the desired page is now in memory.
- Wait for the CPU to be allocated to this process again.
- Restore the user registers, process state, and new page table, then resume interrupted instruction.
Posted by
Sunflower
at
1/11/2010 11:08:00 PM
0
comments
Labels: Advantages, CPU, Demand Paging, Disadvantages, Memory, Page, Paging, Process
|
| Subscribe by Email |
|
Overview of Demand Paging
Demand paging follows that pages should only be brought into memory if the executing process demands them. This is often referred to as lazy evaluation as only those pages demanded by the process are swapped from secondary storage to main memory. Contrast this to pure swapping, where all memory for a process is swapped from secondary storage to main memory during the process start-up.
In pure demand paging a page is never moved from the backing store into main memory until that page is referenced. It is the responsibility of the operating system to check where the page is in main memory and OS uses an internal table for this. Operating system reads that page after finding it, and in order to reflect change, the page table is updated. So by using this process it is possible to run a process even its entire memory image is not taken from backing store into main memory.
In this way demand paging is a better approach then paging and it also increases the degree of multiprogramming and allows a process to run even it exceed the physical space allocated for it.
An invalid page is one that currently resides in secondary memory. When a process tries to access a page, the following steps are generally followed:
- Attempt to access page.
- If page is valid (in memory) then continue processing instruction as normal.
- If page is invalid then a page-fault trap occurs.
- Check if the memory reference is a valid reference to a location on secondary memory. If not, the process is terminated (illegal memory access). Otherwise, we have to page in the required page.
- Schedule disk operation to read the desired page into main memory.
- Restart the instruction that was interrupted by the operating system trap.
Posted by
Sunflower
at
1/11/2010 10:44:00 PM
0
comments
Labels: Demand Paging, Invalid, Lazy evaluation, Memory, Page, Swapping, Valid
|
| Subscribe by Email |
|
Sunday, September 6, 2009
Overview of Shadow Paging
A computer system, like any other mechanical or electrical system is subject to failure. There are a variety of causes, including disk crash, power failure, software errors, a fire in the machine room, or even sabotage. Whatever the cause, information may be lost. The database must take actions in advance to ensure that the atomicity and durability properties of transactions are preserved. An integral part of a database system is a recovery scheme that is responsible for the restoration of the database to a consistent stage that existed prior to the occurrence of the failure.
Shadow paging is a technique used to achieve atomic and durable transactions, and provides the ability to manipulate pages in a database. During a transaction, the pages affected by the transaction are copied from the database file into a workspace such as volatile memory, and modified in that workspace. When a transaction is committed, all of the pages that were modified by the transaction are written from the workspace to unused pages in the database file. During execution of the transaction, the state of the database exposed to the user is that is which the database existed prior to the transaction, since the database file still contains the original versions of the modified pages, as they existed before being copied into the workspace if a user accesses the database before the transaction is complete, or upon recovery of failure, it will appear as though the transaction has not occurred.
- Shadow paging is an alternative to log-based recovery; this scheme is useful if transactions execute serially.
- Basic Idea: Maintain two page tables during the lifetime of a transaction – the current page table, and the shadow page table.
- Store the shadow page table in nonvolatile storage, such that state of the database prior to transaction execution may be recovered.
* Shadow page table is never modified during execution.
- Initially, both the page tables are identical. Only current page table is used for data item accesses during execution of the transaction.
- Whenever any page is about to be written for the first time
* A copy of this page is made onto an unused page.
* The current page table is then made to point to the copy.
* The update is performed on the copy.
Posted by
Sunflower
at
9/06/2009 02:58:00 PM
0
comments
Labels: Databases, Page, Recovery, Recovery Technique, Shadow Paging, Transaction
|
| Subscribe by Email |
|
Wednesday, July 1, 2009
Introduction: WWW - The Client Side
The Internet / World Wide Web consists of pages and each page contains links or pointers to other pages. Users follow the link by clicking on them. This process can be repeated indefinitely, possibly traversing hundreds of linked pages. Pages that point to other pages are said to use "hypertext".
Pages are viewed with a program called a browser. When a page is requested, the browser fetches, interprets the text and formats the commands that it contains and displays the page. Strings of text that are links to other pages are called hyperlinks.
Most browsers have numerous buttons and features to navigate the Web. In addition to having ordinary text and hypertext, web pages also contain icons, line drawings, maps and photographs. Some pages also consist of audio tracks, video clips, or both. When hypertext pages are combined with other media, the result is called hypermedia. Many Web pages consists of large images which take a long time to load.
Some browsers deal with slow loading of images by first fetching and displaying the text, then getting the images. Some Web pages contain forms that request the user to enter information. Some browsers use the local disk to cache pages that they have fetched. A check is made before a page is fetched to see if it is in the local cache. If so, check if it is up to date. If so,there is no need to load the page again.
To host a web browser, a machine must be directly connected to Internet or have a SLIP or PPP connection to a router or other machine that is directly on Internet.
Posted by
Sunflower
at
7/01/2009 04:55:00 PM
0
comments
Labels: Browsers, Client, Hypermedia, Hypertext, Internet, Page, Web Applications, World wide web, WWW
|
| Subscribe by Email |
|