Answer:
import java.util.Scanner;
public class Supermarket
{
public static void main (String[] args)
{
String item;
double pounds, ounces, price,
total, unit;
Scanner scn = new Scanner(System.in);
System.out.print("Please enter the name of item ");
item = scn.nextLine();
System.out.print("Please enter the price of " + "the item per pound : ");
price = scn.nextDouble();
System.out.print("Enter the weight of " + "the item in pounds and " + "ounces respectively : ");
pounds = scn.nextDouble();
ounces = scn.nextDouble();
unit = price/16;
total = price * (pounds + ounces/16);
System.out.print("The unit price of " + "the products sold is : " + unit);
System.out.print("\nThe total cost of the " + "amount purchased is : " + total);
}
}
Explanation:
- Ask the user to enter the price of the item and the weight.
- Calculate the unit and the total price.
- Display the unit and the total price.
False any critical thinking shouldn’t involve emotions
Answer:
One gigabyte (GB) is about 1 billion bytes, or 1 thousand megabytes. A computer might have 4 GB of RAM. A flash memory card used in a camera might store 16 GB.
Answer:
Correct answer of the following question is dropping packets.
Explanation:
Dropping of the packets is wastes the network resources that used for the carrying the packet from source to router for experiencing the congestion.
The purpose of the intrusions detection is to single misbehaving nodes, they deny them the network resources. Node may be the maliciously dropping packets or may be have the genuine problem which prevents them from the forwarding packets.
Answer: Confidentiality, Integrity and availability.
Explanation:
The three security goals that align and prioritize security efforts to the business goals include confidentiality, Integrity and availability.
Data confidentiality simply has to do with the protection of data against theft or unauthorized access. Information is about accuracy and trustworthiness of the information while availability means that the people authorised should be able to access it.