Please find the answers in attached file.
Answer:
It goes like:
public class Program
{
public static void main(String[] args)
{
int j=18;
int sum=0;
for (int i =1; i<7; i++)
{
sum=sum+(i*(j-2));
j=j-2;
}
System.out.println(sum);
}
}
Explanation:
<u>Variables used: </u>
j : controls the first number in product and decreases by 2 each time the loop runs.
sum: saves the values of addition as the loop runs.
Answer:
This is a python program that counts the number of divisors of a given number and calculates the sum of the divisors.
Explanation:
The first line defines a function "sum_divisors" with an argument "n". The square root of the argument is converted to integer and assigned to the variable "x", then a for loop is used to iterate through the range 2 to the calculated nth number of divisors in the argument.The return keyword returns the sum value.
The function is called with several arguments and printed with the print function.
Answer:
Firewalls, Antiviruses, Malware, Antispyware,
Explanation:
The technological tools that can be considered important for storing critical files are battery backup systems and drives. These devices can be used to store data and supply energy.
<h3>Battery backup systems</h3>
A home battery backup system is a device used to keep the electrical system working in the event when the electrical source goes down.
In computation, there are three major classes of batteries systems: Lead-Acid, Nickel-Cadmium, and Lithium-Ion.
An uninterruptible power supply (UPS) can be considered as a battery backup supply capable of charging when the power is on.
Learn more about battery backup systems here:
brainly.com/question/7125266