Answer:
b. (userInput < 10)
Explanation:
The piece of code that will accomplish this would be (userInput < 10). The code will first ask the user to "Enter a number greater than 10:" then it will compare the value of userInput to 10, if it is less than 10 it will redo the loop over and over again until the userInput is greater than 10. Once the userInput is greater than 10 it will break out of the do-while loop and continue whatever code is written under and outside the do-while loop
Answer:
A generalized class used only to create related derived classes
Explanation:
An abstract class is a class which cannot be instantiated on its own. It is defined using an abstract keyword. However, an abstract class can be inherited from and the derived class can actually be instantiated. For example:
abstract class A{
}
class B extends A{
void test(){
}
}
Here class A is an abstract class, while class B inherits from A. Now we can create an instance of class B as follows:
B b = new B();
b.test();
Answer:
It can be repaired with disk utility / recovery algorithms
In UNIX it can be done by scanning
In FAT file scan the FAT looking for free entries
Explanation:
When the crash happens, it is not a problem for UNIX and FAT file system
It can be repaired with disk utility/recovery algorithms.
The recovery algorithm is a list of all blocks in all files and takes a compliment as new free file.
In UNIX scanning can be done at all I-nodes.
In FAT file problem cannot occur because there is no free list .If there was any problem than it would have to be done to recover it to scan the FAT looking for free entries.
Maybe fix the grammar first. Then give suggestions that are similar but not the same to what the boss wrote.
-hope this helped