Software writing is a science. It requires expertise, knowledge and careful attention. When software is produced engineers and writers have to be thoughtful about possible mistakes whereby viruses could arise. Errors generally come on our way in any field. When we make errors it is always advisable to find the cause(s) for errors and prevent recurrence of them. Errors through which viruses are formed in software writing may be fatal. Viruses otherwise known as Bugs cause total destruction or collapse of computer programs or even the whole computer mechanism. Most bugs derive from the mistakes and errors made by software engineers, writers and designers. Compilers also make viruses by giving wrong code.
Software viruses are so numerous and they can cause bad effects as to confuse the software writer as well as the user of the program. Certain bugs may stay undetected for sometime but they attempt to create problems whereas more powerful bugs can lead to denial of access to programs and results are extremely fatal. A bug in code controlling machine in a hospital in USA had caused death to some patients in 1980s. US $ one billion rocket split into pieces in 1996 on account of a bug in the on board guidance computer program, no sooner than it was launched. A study revealed that software errors had cost US economy about US $ 59 billion annually
It was in 1842 the concept of software viruses was first invented to describe mechanical faults of computer engineering data that was used by the engineers. Here below is photo of the first real bug found in a computer.
Viruses are an inadvertent human product. When engineers or writers create software, mistakes do happen. Why do errors arise? They can be results arising from oversights made by computer programmers during designing, coding and entering data. Misinterpretation of one iota, or hyphen for example may cause failure of a program. When converting the abstract design into the selected computer language there can be virus caused errors made perhaps without knowledge. At last but not the least when typing the resulting program into the computer, one might accidentally type a '<' where a '>' was intended. Some times more complicated viruses can arise from unintended interactions between different parts of a computer program. This frequently occurs because computer programs can be complex - millions of lines long in some cases - often having been programmed by many people over a great length of time, so that programmers are unable to mentally track every possible way in which parts can interact. Verbosity is another factor that can cause viruses due to lengthy and unnecessary wording that will end up with unintended results.
Immediate action must be taken to eliminate Software viruses on detection at first sight. The easy way to locate a virus or a bug is finding a path to reproduce it. On recognizing the bug reproduced, the programmer can use a tool to monitor working of the program in the area at which it became defective. Methods of preventing programmers or designers falling into inadvertent introduction of software viruses, have to be found. These include in the style of programming; technique of programming; language programming; code formation, compiling and even the development of software already written. Often locating the virus affected part of any program is difficult but when the virus is found it is easy to take steps to eliminate it. Presence of viruses can be prevented or minimized by careful analysis of software programs.