Complete Question:
Part A: Write the QuartsToGallons Java class that declares a named constant to hold the number of quarts in a gallon (4). Also declare a variable to represent the number of quarts needed for a painting job, and assign an appropriate value—for example, 18. Compute and display the number of gallons and quarts needed for the job. Display explanatory text with the values, for example:
A job that needs 18 quarts requires 4 gallons plus 2 quarts.
Answer:
The complete code is given in the explanation section
Explanation:
import java.util.Scanner;
public class QuartsToGallons {
public static void main(String[] args) {
final int NUMBER_OF_QUARTS = 4;
int numJobs;
Scanner in = new Scanner(System.in);
System.out.println("Enter number of paint in quarts for the painting job?");
numJobs = in.nextInt();
int numGallons = numJobs / NUMBER_OF_QUARTS;
int numQuarts = numJobs % NUMBER_OF_QUARTS;
System.out.println("The painting Job of " + numJobs + " quarts requires "
+ numGallons + " gallons and " + numQuarts + " quarts of paint.");
}
}
Answer: The difference between the UML state diagram and state transition diagram are as follow:-
- State-transition diagrams display the states of the object where the change takes place whereas the UML(Unified modeling language) state diagrams are representation of parts of system at certain time instance.
- State-transition diagram requires the condition to be accomplished before the transition happens whereas the dynamic behavior of the states are expressed by transitions in UML state diagrams.
C) Debugging. Debugging is when you fix the errors in your code
Answer:
Option(A) i.e "Security information and event management (SIEM)" is the correct answer for the given question.
Explanation:
The security information and event management (SIEM) is the product of the software and it gives the service of security.The security information and event management (SIEM) is the combination of security information management and security event management (SEM). The main advantage of Security information and event management (SIEM) provides real-time security alerts.
The Issac uses Security information and event management (SIEM) and perform the log review for his organization. The Security information and event management review the massive amount of data and also provide better security
Following are the description why the others options are incorrect
- Intrusion prevention system (IPS) is used for the threating purpose it checks the threats in the network flow so according to question this option is incorrect.
- Data loss prevention (DLP) is used for the purpose of data loss so according to question this option is incorrect.
- A virtual private network (VPN) is used to connect the network virtually so according to question this option is incorrect.
Answer: dependent
Explanation:
A Cells containing formulas which refer to other cells are known as dependents.
These are cells that depend on values in the selected cell.
A dependents cell can either contain a formula or a constant value.
(Ctrl + ] ) Is used as a shortcut when selecting dependents cells in an active cell.
Another option is to make use of you (Tools > Formula Auditing > Trace Precedents).