Monthly Archives: August 2013

Test Phase in the Software Life Cycle

The software life cycle is made by several phases, namely analysis, design, implementation, test, maintenance. Those phases can be combined in sequences, i.e. waterfall or in iterations, i.e. spiral, agile. Considering the importance that the quality of software has, the test phase is rising in importance. The objective of testing is to certify the correctness, completeness and reliability of the software. The software test is influenced by 5 parameters: the development model, knowledge of the code, the time of development, the level of automation and the granularity. Example of test code with Android are useful to go in depth of this concept.

Development model

The waterfall development model considers the realization of software through different stages at the end of each there is a test. If the test is passed, it is possible to proceed to the next phase. This process has drawback such as:

  • if development takes more than planned, the test phase can be much shorter (possibly nothing);
  • it is possible the tests are not included at all;
  • if the time between the error detection and error solving grows, it becomes more difficult and costly to solve.

For this reason in the 90’s the test driven model grew in popularity. With this approach, the requirements are completed with test cases; the software is written together with tests to automatized the process and to further check if new software can generate problems to the existing one. In this way, test and source code are seen as a unique part of the implementation.

The other test parameters

Depending on the maturity of the software, the test phase could be Alpha, Beta etc. The Alpha test is the first one to the whole software, it is the first to have done and it is generally internal to the organization and made by the developers themselves. If the product is reasonably stable, it is launched to the market and users are invited to give feedback about it. That is the Beta version of the software.

The granularity of the test saves a great quantity of time. Testing the final version of a big product can give errors that are then difficult to solve. Therefore the best approach is to divide the software in elements with different granularity and test them from the smallest to the biggest. The smallest elements to test are the classes of the software. Only if each class is performing as expected, is possible to proceed with more complex test. Unit test are elementary tests focused on that. The bigger element of software after the class is the module, where more than one class is combined together. To test modules, other modules are created: these are the stub. If also the module test is performing fine, the system test is finally required.

Knowledge of the code divides type of tests into white and black box. The white box tests are made by the individuals who have knowledge of the code and can see into the code itself to correct error and test every functionality. It has a deep level of details and easier to automatize. On the other side, the software can be seen externally, without knowledge about its operation: black box test. Those kind of test can be made by users or not code experts.

Type of test

Type of test are performance, load/volume and stress. Those are executed accordingly to the objective of the software. The performance test is about correctness and efficiency of the product. Every requirements must be met. The load/volume testconcerns the use of a lot of resources for the software. It could a high number of users, a big file, a big job to a printer, or a zero-volume testing with empty tasks to stress this limit case. It aims to test the management of the memory during the activities. Thestress test is an attempt to break the system introducing non predictable elements that generate chaos. It could be done using double users all at once; turning off some devices via SNMP; using resources.


The test phase of the software life cycle is part of the development blueprints. It is so important to make adopting a different software development model. Other elements that create a robust software concerns the granularity of the test, knowledge of the source code and the type of test to execute. Putting all together the goal is produce a software that has good quality and positive impact on the users.


Source link

Create My Own Web Page – You Need a HTML Editor to Bring the Dream to Life


Great, we have a domain name and a hosting company. We have an address to give out and somewhere for our web site to live.

The Internet is not as confusing as people make it to be. An HTML editor is a piece of software that enables you and I to create our own web page. The great new is that as the Internet has grown so have the resources around it. No longer do we have to write using confusing and difficult codes to make a website. The HTML editor does all that stuff in the background.

There are numerous HTML editors online. And the old adage of research, research, and research is the key here. There are lots of fancy expensive products out there for which you can part with a large portion of your cash.

Features of HTML editors to look for are;

o Budget: The price of HTML editors range from free to hundred of dollars. Your choice will depend on your budget and whether you have the level of understanding of deal with the high end level of HTMl editors. If you are staring out a fresh the free products will serve you very well.

o Features: The basic editors have great features which allow you to add images, video clips and great design to your website. The more you spend the greater the features and scope of the products will be. The top end products are excellent and they have a magnitude of features but also a user manual at the similar end of the Richter scale.

o WYSIWYG: Ensure your HTML editor has the ability to easily switch between WYSIWYG and HTML code.

WYSIWYG stands for what you see is what you get. This will allow you to design your own web page in basic form like a word document. It is always a good idea to view the page in the HTML code so you can start to get an understanding of how this works.

When I create my own web page I find this stage to be of one of most fun. Like anything its takes a bit of time to learn and understand how to use an HTML editor but you can really produce a good looking site with just a basic, free piece of software.

This is the part when you can be creative and add your personality to the site. Do not over do it with too much content. What ever the message is for your site, make it clear and simple to understand.


Source link

Computer Programming For Beginners – The Right Approach

Computer programming is one of the most interesting subjects on earth if you will just take the right approach. Unlike those major subjects in schools, programming should be treated differently. Programming for beginners require that the wannabe programmer has full understanding on how it is done and what the basics of are.

What is Computer Programming?

Programming is simply telling a computer to do a task. It is very much like teaching a toddler how to add numbers. In programming individuals, we usually employ several languages the person can understand like English or French. In the same way, writing a computer program requires humans to employ languages that can be read by the computer such as C, Pascal, Java, and Python.

Human languages are very complex, however human beings learn to use them because of our intelligence. On the other hand, computers are not so smart; the language used in instructing them is quite simple. This is the reason why it’s fun and easy for a human being like you to learn one or several computer programming languages. Once you become familiar with even one computer language, it will be much easier for you to learn another.

Things to Consider When Writing a Computer Program

1. Set up the logic of the program.

Logic is considered the backbone of any program. It needs to be prepared based on the resources your chosen programming language allow. Preparing the logic must be done prior to the real coding process. You should make a flow chart for your program, or write its algorithm before you start with the process of writing the program.

2. Split the programs into functions.

The majority of the programs let you break the program into functions. These functions need to be written with the least number of instructions. They must be designed in such a way that they can be reused over and over again.

3. Study the syntax of every command you’ll use.

One of the reasons for most programming errors is improper use of syntax. There are many programs that have features that can be used to check the syntax of each command as well as integral functions that you want to utilize.

4. Make sure your code is short.

The fewer the number of instructions the faster the rate of execution of the program. Most of the time, we use complex logic in getting a task done. Little do we know that this task can easily be performed if we utilize the built-in functions of the programming language. To avoid these problems, you should have enough knowledge of all the inbuilt functions available in the program.

5. Be sure that variable names and functions are logical.

Proper names used in functions and variables make the coding process simpler. While using illogical variable names won’t impede the program’s functionality, it will make it harder for you to enhance or modify this code afterwards.

Aside from learning various programming languages, computer programming for beginners involves familiarization of the above-mentioned tips. So you better put these things in mind if you want to pursue a career in programming.


Source link

Computer Programming Concepts For Beginners – The Basic Procedures Involved

The process of instructing or telling a computer what to do is called computer programming. It involves writing valuable, sustainable, extensible commands that can be read by a computing system to do a significant task. Programming can be achieved using one or some of the different languages dubbed as programming languages. Since one instruction is not enough for a computer to perform something substantial, you need to come up with a set of instructions, known as programs, and submit it to the computer to be able to complete a task. For beginners, learning programming concepts as well as the processes in making computer programs isn’t a piece of cake; it requires know-how and programming skills.

The lowest form of coding a novice programmer like you can do is the machine code. This code is written in binary and it uses a series of “0’s” and “1’s”. But just because it is know as the lowest form of code doesn’t mean it is the easiest to do. Higher code forms like Java, C, and C are made to make it easier for anyone to learn and use compared the machine code.

For the newbies to know what they should expect from their chosen field, here are the procedures involved in computer programming:

1. Developing a program

In this stage, the programmer, whether novice or experienced, usually work with internet marketers, sociologists, or other individuals to find out the program needed by the market to be able to work better at home or in the workplace. The features of the programs are then created from the suggestions of the other people involved. It is the programmer who’ll determine the feasibility of the suggested features.

2. Choosing the Right Language

Depending on the programs you need to develop and your knowledge of the language, you now need to select the right language you will use. Hyper Text Markup Language (HTML) and Hypertext Preprocessor (PHP) are the two Internet languages commonly used by programmers. HTML is ideal if you are developing a basic web page while PHP are for the applications or things that you actually don’t see happening. Other languages you can use are CSS, Visual Basic, MySQL, C, C, Java, and many others. Programmers frequently use different languages in a single program since each of them has unique functions.

3. Writing the script or coding the program

Once the features of a certain program are made final, the programmer should now start working on it. This involves coding the program or writing the script to perform particular actions by means of a computer language.

4. Testing the program

After coding the program, it needs to be tested before it will be released. Programmers usually apply this program in various operating systems to test its ability to function. If the program works well, it will then be released in beta version.

5. Troubleshooting errors

Along with the release of the program’s beta version, is a request for users to report any bugs or errors they encounter so they can be fixed right away.

Computer programming is by no mean easy. You need to be armed first with the basics before you should move on to the next and more crucial step. The best way to learn the ins and outs of computer programming and programming concepts for beginners is to go to schools or to take programming tutorials.


Source link