Subscribe by Email


Showing posts with label Procedures. Show all posts
Showing posts with label Procedures. Show all posts

Thursday, May 17, 2012

Explain nested loops in detail?



Why Loops are Important?


- Loops are an extremely important entity when it comes to the programming in languages like C and C++ i.e., to say the object orient languages. 
Loops are used to handle many other program constructs and execute the same statement or a block of statement as many times as required by the program or as specified by the user.
- Loops are either manually included in to the source code of the program or are generated in to the code by the state machine code generators or by an optimizing compiler. 

There are various types of loops but this article is limited only to the discussion regarding the nested loops. Let us see what the nested loops in detail are.
What the phrase “to nest” means?  
It means to keep one object inside the other object.  This holds good when it comes to the context of the loops also. All the types of loops can be nested in to the similar types of loops irrespective of their type.

What are Nested Loops?


- Nested loops are the loops that have been declared inside another loop which may or may not be of the same type as that of the nested loop.
- The loop which is placed inside the another loop is called the nested loop and the loop which holds this nested loop is called the parent loop.
- It is not necessary that the nested loop and the parent loop should be of similar types.
- Nesting the loops falls under the context of combining the looping procedures.
- Whenever a loop is nested, its parent loop is said to take the control of it that is the parent loop decides how many times the inner loop is to be executed. 
- Although the nesting holds good for all the types of loop, it is the for loop that dominates the line. - Once the parent loop has been iterated once, the control is transferred to the inner loop.
- After this the parent loop iterates for a second time only when the execution and iteration of the inner loop is wholly complete. 
- To say it other way round, the inner or the nested loop is triggered by the first pass of the outer or parent loop which is then executed to completion. 
- Then, the inner loop is again triggered by the second pass of the parent loop which is then executed till its complete iteration.
- This process continues till the test condition for the outer parent loop is evaluated to a false value. - If a break statement has been incorporated inside the inner loop then it may come out of the loop before all the iterations of the outer loop are complete. 
- The continue and the break commands are the two commands affecting the behavior of the both nested loops and the outer parent loops. 

Basically the nested loops find their use in the problems that involve working with matrices. Let us illustrate the working of nested with the help of the code written below:

// this code has been written to accept elements in to a 3 x 3 matrix
For ( int r = 0; r < 3; r++)
{
For (int c = 0; c < 3; c++)
{
Scanf(“%d”, &A [r] [c]);
}
}
In the above written c code two loops have been used to accept the elements for a matrix among which one is nested in to the another. The variables r and c denote the rows and columns respectively. Nested loops can be thought of as a logical structures which consist of two repeating statements are placed in the nested that is one inside the other. 


Monday, February 27, 2012

What is the difference between conventional and unconventional testing?

Conventional testing and unconventional testing are a less heard testing methodology. Before we discuss about these two methods, let's discuss about the “quality management system” or QMS as it is called in its short form.

QUALITY MANAGEMENT SYSTEM
- Quality management system can be thought of as an organizational structure which states and manages the processes, procedures and resources to be implemented for better quality management.
- Earlier random sampling and simple statistics were used for predicting the output of a test in production line.
- But eventually by the end of the 19th century the entering the data manually for these test cases was considered to be a costly method.
- Later in the 21st century the quality management system succeeded in overcoming this problem.
- It came with a new transparent and sustainable technology which gradually achieved a wide customer satisfaction.

CONVENTIONAL AND UNCONVENTIONAL TESTING
- Conventional testing is nothing but a similar initiative of quality management system.
- Conventional testing is entirely based up on the standards and conventions of the testing as defined by the quality management system.
- It is a way of maintaining the testing standards.
- Since the conventional testing is guided by some conventions, hence it was named so.
- Unconventional testing, we can say just by looking at the name that it doesn’t follow any conventions.

DIFFERENCES BETWEEN CONVENTIONAL & UNCONVENTIONAL TESTING

DIFFERENCE #1:
- In conventional testing, only features and functionality of a software system or application are tested by the engineer in charge of the testing cycle.
- In unconventional testing, only the documentation is verified on the basis of the quality assurance principles.

DIFFERENCE #2:
- In unconventional testing, the documentation is tested from the starting phase of SDLC (systems development life cycle) by the testers of quality assurance.
- Conventional testing comes into play only during the testing phase of the systems development life cycle.

DIFFERENCE #3:
- In conventional testing, the developed components of the application are checked by the tester for whether they are working according to the expectations of the consumers or not.
- A typical unconventional testing starts from the coding phase of the systems development life cycle.

DIFFERENCE #4:
- Unconventional testing keeps a track of the whole software development process on the basis of the quality assurance principles i.e. whether or not the software has been developed according to the guidelines and specifications provided by the client company.
- The conventional testing is focused more up on the functionality of the software system or application.

USES & LIMITATIONS OF CONVENTIONAL TESTING
- Conventional testing is being used in migration projects these days.
- It sometimes happens that the testers performing the conventional testing have a very little knowledge about that particular application software which they are testing. In that the comparison testing is employed.
- This is preferred because here it is not required that the tester should know what will be the outcome.
- This problem can be solved also if the development team has already prepared the test scripts for the tester.
- Conventional testing is a bit expensive as it requires a lot of time to test, verify and validate each and every test script.
- There will be a certain number of errors in a program that is of course obvious and depends up on the degree of complexity of the program
- Errors also depend on the kind of migration process being followed in the project.
- The aspects of the software system or application failing these tests have to be corrected and retested accordingly.


Wednesday, January 25, 2012

What are different characteristics of Certified Association in Software Quality (CASQ)?

CASQ is the abbreviated form of Certified Association in Software Quality. Day by day the competition is increasing in the market. Therefore it becomes necessary to incorporate ability in the management by virtue of which it can easily distinguish the skilled individuals and professionals. CASQ certification lays down a basic foundation for understanding of principles of quality assurance as well as the practices.

- Whenever software attains the certification of CASQ it attains a level of professionalism with regard to the principles and practices of software quality assurance in the field of information technology.

- The software becomes a member of an acclaimed group of professionalism and receives the recognition for its competency by professional and business associates.

- It is guaranteed with fast career advancement.

OBJECTIVE OF CASQ
This certified association of software quality is aimed at establishing the standards of the qualification. Its objective is to continue the advancement in the professional competence.

CASQ BENEFITS

- It defines the tasks and skills associated with the quality of the software in an appropriate order to determine the level of skill mastery.

-It brings out the will of an individual to make a professional improvement.

- It acknowledges the attainment of an standard of professional competency which is duly acceptable.

- It aids the other organizations in the process of selection and promotion of the individuals who qualify successfully.

- It motivates the skilled individuals and professionals to maintain their professional competency and also take up their software quality responsibilities effectively.

- It assists the skilled individuals and professionals in enhancing and improving the software quality assurance programs that are carried out by their organizations.

WHAT CERTIFIED CANDIDATES SHOULD DO?
- To accept the responsibility is a distinguishing mark of professional competency.

- The certified individuals must maintain their standards with regard to their conduct.

- This helps them in discharging their responsibilities effectively.

- If an individual wants to apply for certified association of software quality certification than he/ she has to strictly abide by the policy of the code of ethics that guide the principles and practices of software quality assurance.

- This software certification program comprises of procedures for monitoring the individuals’ behaviour and whether they are sticking to the certification policies and ethics or not.

- If a certified individual or a professional later fails to adhere to these policies, than he is subjected to de-certification.

There are some common principles that one needs to adhere to and these have been mentioned below:

1. Principles
2. Quality concepts
3. Quality assessments
4. Quality models
5. Quality baselines
6. Quality practices
7. Quality planning
8. Quality assurance
9. Define
10.Build
11.Implement
12.Quality work
13.Quality metrics and measurements
14.Security
15.Internal control
16.COTS and contracting quality
17.Out sourcing


There are certain prerequisites that each candidate needs to qualify such as complete a course for a stipulated period of time from an accredited institution, and some experience in information science. The candidate needs to strictly follow the guidelines and commit to the code of ethics.

EXAMINATION FOR CASQ
- The examination for obtaining this kind of certification is available in many countries.

- The QAI global institute is famous for its professionalism in software quality assurance.

- It was established in 1980 and basically was a software quality assurance industry.

- The first certified association of software quality certification was carried out in the year of 1985. The company launched its first formal process in the year of 1990.

- These days, the QAI global institute has attained the multinational reach. The company has certified over 36,000 professionals in the IT sector in over 44 countries of the world.


Friday, December 2, 2011

What are different characteristics of regression testing?

The word regression means to relapse to an under develop or a less perfect state. So, we can deduce from this that the regression testing is a kind of testing that basically discovers and un-hide the hidden and new errors and flaws, after the modifications have been made in the functions, operations, patches etc. of the software system.

- Regression testing is also carried out after the software system has been configured after checking away the errors.
- Regression testing may seem like some kind of exploitation of the software system. But, it is aimed at a good objective of ensuring that any new modification or configuration did not cause some other new bugs and errors.

- It is very difficult for the software developer to figure out how a particular change that he is going to introduce will affect all the other parts of the software system. Therefore, the regression testing becomes quite necessary to maintain the quality and standard of the program.

- Sometimes, fixing an error causes some other error in some part of the software system and it will remain unattended and uncorrected until and unless regression testing is carried out.

- Regression testing can only trace and locate such hidden errors and bugs.

There are several methods for conducting regression testing.One of those methods includes re-running the tests again and again for a certain number of times and observe if the behavior, response and output of the software system has changed or not.

Regression testing is not as laborious as the other testing methodologies are.

- The hard work for regression testing can be reduced efficiently to minimum level by selecting an appropriate combination of minimum number of specified test cases for testing the software system.
- The tests should be selected as such as to give maximum coverage to the modification or the change that has to be tested.
- It has been observed that the software program being fixed leads to the re- emergence of the errors and bugs and sometimes new errors are also created.
- It happens so because the usage of the software system over the time leads to the loss of an error or a bug fix due to the poor software handling practices.

We can conclude that any fix is a bit fragile in the sense that it fixes a bug or an error temporarily but arises again after repeated usage of the program. Usually a bug fix in one part of the program causes more bugs in the other parts of the program. So more often, the software system is needs to be redesigned.

The testers require good coding skills and practices.
- Regression testing is followed through manual testing procedures and other programming methodologies.
- Regression testing is usually done by automated tools. Such an environment allows the regression testing to automatically run the test cases and report any errors and bugs.
- Extreme software programming considers regression testing as one of its most crucial integral part.
- During each stage of the cycle for software development, the design documentation is replaced by the automated testing of the whole software system. - Regression testing tests the scale of correctness of a software system and maintains its quality and keeps the output standard.
- A software development should always and compulsorily contain regression testing stage.


Tuesday, April 19, 2011

What are different programming standards and procedures?

Translating design can be a difficult task. Two problems can be encountered:
- The designer of the system might not able to address the specifics of the platform and programming environment.
- The codes should be written in away that is understandable not only to the programmer who did it but also by other programmers and testers.
- The programmer must take advantage of the characteristics of the design's organization, the data's structure and programming language constructs while still creating code that is easily maintainable and reusable.

What are different programming standards and procedures


Sometimes when writing a code,several people are involved. Thus,a great deal of cooperation and coordination is required. Programming standards and procedures are important for several reasons.
- Thoughts can be organized and mistakes can be avoided.
- How to document the source codes to make them clear?
- Faults can be located.
- It helps in the translation from the design code to the source code.
- It can assists other team members such as software testers, software integrators and software maintainers.
- Smooth ens the coordination and communication.

Implementation Specific Standards


- Platform where the software will be developed and used.
- Standards on the source code documentation.
- Standards for correspondence between design and source codes.
- Design characteristics such as low coupling, high-cohesion and well-defined interfaces.


Facebook activity