Wednesday, December 8, 2010

C LANGUAGE (Second year)

 DEFINE A BUG AND DEBUGGING.
A error in a computer program is know as bug. The programmer can make different errors while writing programs. A program cannot be complied if it contains any syntax error. The compiler detects errors and displays errors message to describe the cause of error.
The errors mus be removed from the program before it can be compiled and executed. The process of finding and removing bugs is known as debugging.

COMPUTER CLOCK (First Year)

COMPUTER CLOCK
All operations inside the CPU are perfectly timed.A basic operation will take exactly the same time, whether it is done now or later, whether it is done once of repeated millions of times. The timing is controlled by an electronic clock, which emits millions of equally spaced electric pulses each second. The speed of processing depends on the speed of this clock, which is measured megahertz (million times per second). Clock speeds of PCs range from 8 to 25Mhz.