Answer:
Following are the code:
Code:
total = 0; //assign value to total variable.
for (int i=0; i<x.length; i++) //for loop
{
total=total+x[i]; //add all array elements in total variable.
}
Explanation:
In the following question, it is defined that x and total is variable. Where variable x is an integer type array and total is an integer variable. we define some code for calculating the sum of the array element. In the above code, we use for loop that calculates sum of array elements that can be described as:
- To calculate the sum we use the total variable. In total variable, we assign value 0.
- Then we define for loop in loop we use total variables that add all array (x[]) elements.
Answer:
Tunneling
Explanation:
A networking protocol that is used to send data from one network to another network by encapsulation process.
It is the more secured method as it secures the data with the help of encapsulation process. Rest of the protocols are not helpful in security of data.
Answer:
DoS attack
Explanation:
A Denial of Service attack involves the sending of maliciously formatted data packets to a server. The packet can be larger than the allowed IP size such that when it arrives at the server, the server cannot identify the headers in the data packet for it to process and extract data. The server can either freeze or crash, denying allowed users access to its resources and making it unavailable.
Answer:
The correct option is;
Since information is based on data and data is just the facts, the knowledge gained from the information is always correct
Explanation:
In the of epistemological discipline that focuses on partial knowledge, a domain of information cannot be exhaustively understood, therefore, knowledge is said to be always partial or incomplete. Information can therefore be misleading as it can be made from a premise that is false even where the bearer of the information truly believes in the source of the data as being justified reason for the information, the bearer may not actually know the cause of the information. Knowledge gotten from information is therefore not always correct.