Answer:
def recurSquare(n):
if n == 0:
return 0
return recurSquare(n-1) + n + n-1
print(recurSquare(2))
Explanation:
Programming language used is Python.
The recursive function is defined as recurSquare(n)
The IF statement checks the argument that is passed to the function to ensure it is not equal to zero.
The function is a recursive function, which means it calls itself.
In the return statement the function calls itself and the argument is reduced by 1.
The function keeps calling itself until n is equal to zero (n == 0) it returns zero and the function stops.
Answer:
System software.
Explanation:
The system software is the software which has system need to running Without the system software the computer system will not start and work simply means to interact with the computer system we need system software.
- Briley needs system software to connects the different parts and input-output devices, and it provides the ensuring that the computer system has a power supply available.
- So without the System software, Briley will not interact with the computer system.