Answer:
Decision trees
Explanation:
Decision trees mainly include categorization and estimation. It is often used as a measure of selection. This also encourages the usage and choice of particular data within the overall structure.
In the given situation, we should choose Policy A has cost $150 as it has 100% repayment while on the other hand Policy B has cost $100 and the first $500 of loss would be paid by the owner
So for choosing the policy, we use the decision tree data mining technique as we have to take the decision with respect to minimizing the cost
Answer: Sole Proprietorship.
Explanation:
This question wants to know what type of business is described in the scenario.
In a Sole Proprietorship, the owner of the business is essentially the business itself. They control all aspects of the business from the operating activities to the financial activities of the firm. This is usually the first stage business type in an entrepreneurship.
The definition of a sole proprietorship above fits with what Doug does. Doug is the owner of the farming business and seems to be handling all aspects of it by himself. This would therefore make it a sole proprietorship.
Answer:
public class Main
{
public static void main(String[] args) {
int userNum = 40;
while(userNum > 1){
userNum /= 2;
System.out.print(userNum + " ");
}
}
}
Explanation:
*The code is in Java.
Initialize the userNum
Create a while loop that iterates while userNum is greater than 1. Inside the loop, divide the userNum by 2 and set it as userNum (same as typing userNum = userNum / 2;). Print the userNum
Basically, this loop will iterate until userNum becomes 1. It will keep dividing the userNum by 2 and print this value.
For the values that are smaller than 1 or even for 1, the program outputs nothing (Since the value is not greater than 1, the loop will not be executed).
Answer:
a. cd into the nested directories/ nested - level - 1 / directory using an absolute path
Explanation:
The directory is a location on the hard disk, which is also called a folder. It contains the files and also contains the other directories called sub directories.
A path to a file is merged with a slash and determines the file or directory in the operating system. An absolute path is the location file or directory from the actual file system
The directory's absolute path starts with a slash, and all slashed in the directory separates the directions.
All directions in the absolute path are written on the left side. The last name in the path may belong to the file, and the pwd command can determine the current directory.
The relative path is the location of the file. It begins with the working directory. An absolute path is unambiguous and working with deeply nested directories.
There are two commands which are used such as
- cd is used for changing directory
- pwd is used for the working directory
We easily navigate the file system with the help of an absolute path.