Friday, 21 February 2014

 
Interrupts
 
What can interrupt a program?
A power failure can interrupt a program. A hardware malfunction can interrupt a program. A software interrupt can interrupt a program. A timer interrupt can interrupt a program.
 

 
Power failure is the highest priority and most serious of the interrupts. The hardware malfunction is also a serious interrupt. Software interrupts can be caused by any of the following: Division by zero, under or overflow detection and incorrect program calls. The system clock can interrupt operations at regular intervals. The last interrupt can be activated by pressing "Control, Alt and Delete" All at the same time, and the priority level for this interrupt is very low.

Thursday, 13 February 2014


Blog notes - How to convert numbers

1. To convert number into binary all you have to do is and write a table of the powers of two, after that you then have to get the number you wish to convert and see which of the powers of two adds up to the number you converted, but it has to be exact or otherwise it is false.

2. To convert a number into Hexadecimal you can only use the first 15 numbers as there are no more after that, the first nine numbers you want to change stay the same but if you want to go beyond that until 15, the numbers become letters up to "F". You cannot go farther than 15. The first nine numbers you want to change stay as the numbers 1-9 after that the number you wish to change becomes letters up to "F" and that is as far as you can go.

Wednesday, 5 February 2014


Computer Science Homework


1. Data transmission is the physical transmission of data over a point-to-point or a point-to-multipoint communication channel.

2. In serial communication, data is sent one bit at a time, sequentially, over a communication channel. Parallel transmits several streams of data simultaneously along multiple channels. 

3. You would use Serial when you wanted a file that took up a lot of space and you'd use Parallel when you wanted you send it quickly.

4.We need to check for errors because if we don't the data may get corrupted and also because it may not send as it may not have read it correctly.

5. A parity bit , is added to the end of a string of binary code that indicates whether the number of bits in the string with the value one is even or odd.