Some scientists decided to do the following experiments on a dog.
For the first experiment, they cut one of the dog's legs off, then they told the dog to walk. The dog got up and walked, so they they learned that a dog could walk with just three legs.
For the second experiment, they cut off a second leg from the dog, then they told the dog once more to walk. The dog was still able to walk with only two legs.
For the third experiment, they cut off yet another leg from the dog and once more they told the dog to walk. However, the dog wasn't able to walk with only one leg.
As a result of these three experiments, the scientists wrote in their final report that the dog had lost it's hearing after having three legs cut off.
The perfect son
A: I have the perfect son.
B: Does he smoke?
A: No, he doesn't.
B: Does he drink whiskey?
A: No, he doesn't.
B: Does he ever come home late?
A: No, he doesn't.
B: I guess you really do have the perfect son. How old is he?
A: He will be six months old next Wednesday.
B: Does he smoke?
A: No, he doesn't.
B: Does he drink whiskey?
A: No, he doesn't.
B: Does he ever come home late?
A: No, he doesn't.
B: I guess you really do have the perfect son. How old is he?
A: He will be six months old next Wednesday.
C Program to Find Factorial of a Number
#include <stdio.h>
int main()
{
int n, i;
unsigned int factorial = 1;
printf("Enter an integer: ");
scanf("%d",&n);
if (n < 0)
printf("Error! Factorial of a negative number doesn't exist.");
else
{
for(i=1; i<=n; i++)
{
factorial *= i;
}
printf("Factorial of %d = %u", n, factorial);
}
return 0;
}
Output
Enter an integer: 10
Factorial of 10 = 3628800
Quick Format Vs Full format
Quick format” and “full format” both belong to high-level formatting. As indicated by their name, they differ in the amount of time needed to complete a formatting.
A quick format will only erase the file table from the filesystem. The operating system will not locate any files without their index so when you look at the hard drive you would not see any data and assume the drive is erased. In fact, the files are actually still there untouched and can be accessed again with the right tool. This is how software like Hdata Recovery can recovery data from formatted disks. Their special algorithm enables you to scan, view and recovery any files you wish. Also the drive is not checked for bad sectors during quick format.
A Full format will write zero to the entire drive to overwrite (erase) the old data. The exact amount of time required to complete the process depends on the capacity of the HDD. The larger the capacity the longer it will take. As a Full Format would wipe your drives clean, the data stored on them will become unrecoverable. This is very useful when you are disposing of or recycling your hard drives containing senstive or personal information. Repeat the Full Format process serveral times to minimize data remanence (or ease paranoia). Additionally, A full format also checks the hard drive for bad sectors.
Subscribe to:
Comments (Atom)