Answer:
public class sum{
public static void main(String []args){
int sum = 0;
int[] a = {9,2,8,4,0,6};
for ( int i = 0; i < a.length; i++ )
{
sum = sum + a[i];
}
System.out.println("The sum is: "+sum );
}
}
Explanation:
First create the class in java programming.
Then create the main function and declare the variable and array.
To calculate the sum of all element in array, first we have to traverse the array pick element one by one and then add,
so, we have to use loop for traversing and add with sum which inialize with zero.
suppose array element is 1,2,3,4
sum = sum +a[1] means sum = 0 +1=1
the sum = 1+2=3, sum = 3+4=7.
and then finally print the result store in sum.
Answer:
see explaination
Explanation:
State Diagram based on given in the problem and state table, k-map for j and k, based j and k expressions we can draw the (FSM )controller using j and j flip flop.
see attachment for this.
Outlook is a software program that provides for e-mail communication
Answer:
The answer is the point - to -point protocol, which allows user to set a secure VPN connection for client and server connectivity.
Explanation:
A virtual private network is a private-public network because of encryption and tunneling to ensure the integrity of the data. VPN requires a tunnel to work and encryption.
In VPNs, there are different protocols can be used, such as point- to - Point Tunneling Protocol (PPTP), IPSec, and L2TP.
Point to Point Protocol is a Microsoft protocol which allows user to set a connection and secure VPN destination. Point to point protocol is designed for client and server connectivity. It developed a connection between two computers. The data link layer that transmits over IP networks is used for point to point tunneling.
Such as option A is not correct because it is distracter and IPSecis primary tunneling protocol. It supports only IP networks. L2TP is not a VPN but extend VPN over the various network.