Here's the Computer Hardware Servicing NC2 Reviewer.
It's been a long time since I've post here in my Blog, I've been busy for a while, but now I have the time and been able to post a new content.
This post is part of Our Reports in our OSC subjects ( Operating System Concepts )
Subjects in the reports are :
- Installing Windows XP
- Peer to Peer Netwroking
- File Sharing
- Printer Sharing
- Configuring Net Meeting
Ok, here's a pdf file for people looking for printable resources of conversion table from Decimal to Hexadecimal, Octal and Binary values.
The table covered decimal from 0 to 255, you can download and then print this as you wish. thanks.
Here's the download links
Here's additional resources for Hexadecimal Multiplication table
A loop that executes when the number of iteration is explicit in the problem. The printing of numbers 1 to 10 is an example of this type of loop.
Problem: Print the first five even numbers.
We know that the first five even numbers are the numbers 2, 6, 4, 8, 10. The problem simply says that we need to print these even numbers. If we look closer to the numbers, we will notice that there is a step of 2 from every other number. To take this step in the program, the counter function should use 2 as incrementing step to produce the even numbers.
The solution shown is the same solution in printing the numbers 1 to 10 or 1 to 1000. The things new in this solution are the incrementing step used, and the condition set to terminate the loop.
The terminating condition not only checks if the curent value is less than 10 but also cheks if they are the same. The flowchart terminates, if the current value of ctr greater than 10.
Note that the incrementing step set in the counter function is not limited to 1. The counter step differs as the problem calls for it.
A loop that runs without end. It is due to mistakes in the logical operation or expression or variables used to control the termination of the loop. Others call this logical error. Often this type of error is the hardest type of error to debug.
Learning Example : Print the first 10 counting numbers
We know that the solution is simply to print numbers 1 to 10. If we made use of wrong variables and or logical expression, then we might end up in having infinite loop.
The following flow chart is a classic example of infinite loop that should be avoided.
Take note of what happened if the programmer accidentally initialized variable to 0 instead of 10.
Worst if the comparison used in the decision symbol to terminate the loop in satisfying the problem is also illogical ( wrong logical operations > instead of <, etc ). This will lead to infinite loops and can give us headache in identifying the problem. Simulation is the best way to debug this error.