Answer:
1. Declaration: the return type, the name of the function, and parameters (if any)
2. Definition: the body of the function (code to be executed)
Explanation:
Answer:
C. 14.4 kwhr.
Explanation:
To calculate the energy used by appliance first calculate the power. The formulae for calculating power(<em>P</em>) is
, where V stands for voltage and I stands for current.
In the given problem, V = 240 volts and I = 15 amp. Therefore,

Now, formulae for calculating energy used i.e. work(W) is
, where <em>t</em> is the time.
In the given question time is 4 hr. Therefore energy used will be,
Energy used (W) =
.
Answer:
7
Explanation:
Because the q.length is a inbuilt function in the programming which used to get the length of the array. In the array, there are 7 values are store. Therefore, the size 7 store in the variable z.
For example:
int[] array={1,2};
int x = array.length;
the answer of above code is 2, because the elements present in the array is 2.
Answer:
The Operating System allocates resources when a program need them. When the program terminates, the resources are de-allocated, and allocated to other programs that need them