Answer:
The answer is "Option D".
Explanation:
In the given code an array that is "array1" is declared that stores double value because its data type is double. This array stores 10 element, that is equal, and between 0 to 9, because array indexing always starts from 0. In the given array declaration code all options are correct, that can be described as follows:
- In option A, It is correct, because all element stores double value.
- In option B, It is correct, because the size of the array is 10.
- In option C, It is also correct, because it ranges between 0 to 9.
You use ice to cool down your drinks, and ice is a mineral?
Answer:
True the output of the code snippet is Stoor
Explanation:
Let;s consider the code snippet line by line
Line 1: int count = 5; This declares an int variable and assigns 5 to it
Line 2: System.out.print("Sto"); This will print Sto and leave the cursor on same line
Line 3: do { System.out.print('o'); count--; } This do...while statement will print o, making the initial output to become Stor leaving the cursor on same line
Line 4: while (count >= 5); This will terminate the loop since count is not greater than 5.
Line 5: System.out.println('r'); This will print r making the initial output to become Stoor
Answer:
A Hard Reset. Aka a data wipe
Explanation:
a hard reset will allow you to completely clear all information on a device without having to log into it. It will set the phone back to factory defaults.
Answer: Following is a python code
def solveEquation(x,y,z):
res=z-y+(2*x) #stores expression's value
return res
solveEquation(2,1,4) #calls function
OUTPUT :
7
Explanation:
In the above code solveEquation is the function which takes three arguments x,y and z and their type is decided while calling the function and passing the values to these arguments. After the values are passed, an equation is written which is solved and the result is stored in variable res and then that variable's value is returned.