Answer:
Result is: 65
Explanation:
To analyze this code let us asign line numbers:
- public class Test {
- public static void main( String[] args )
- { int[] a; a = new int[ 10 ];
- for ( int i = 0; i < a.length; i++ )
- a[ i ] = i + 2;
- int result = 0;
- for ( int i = 0; i < a.length; i++ )
- result += a[ i ];
- System.out.printf( "Result is: %d\n", result );
- }
- }
On line 3, an array of ints is created of size 10
On line 4 and 5 a for loop is used to add values to the array. at the end of the execution of line 4 and 5, the array will contain the following elements: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
On line 6 an int variable result is created and initialized to 0
line 7 and 8 allows a for loop through the array adding up all the elements of the array and assigning them to result
Line 9 outputs the value of result (Which is the total sum)
Both 2 and 3
Your employer is able to contact the power companies for further protection.
Answer:
2 by 2 squares of data
Explanation:
If you have less than that it is not a chart.
Answer:
the goal is to understand what users and applications the network will support.
Explanation:
A traditional network design approach is said to follow the structured systems of analysis as well design process that is similar to that which is used in building such applications. The main goal of the application developers is understand and study the needs of the users and also the application which the network will support.
Answer:
Option (D) is the correct answer of this question.
Explanation:
Moore's Law relates to Moore's theory that the number of transistors on a microchip doubles every two years while device costs are halved.
Interpretations of Moore's law assert the computing power doubles every 18 months.The Moore's Law theory states that development is exponential.Moore's Law states that every couple of years we should expect our computers to increase their speed and capacity and we'll pay less for them.h
Option(A),Option(B) ,Option(c) and option(E) do not belongs to Moore's law so these options are incorrect options.