Answer:
<h3><u><em>
A function</em></u> is a group of statements that exist within a program for the purpose of performing a specific task.</h3>
Explanation:
Answer:
Following are the complete code to this question:
import os #import package
def parent_directory():#defining a method parent_directory
dir = os.getcwd()#defining dir that stores the getcwd method value
relative_parent = os.path.join(dir) #defining relative_parent variable that uses join method to adds directory
return os.path.dirname(relative_parent)#use return keyword to return directory name
print(parent_directory())#use print method to call parent_directory method
Output:
/
Note:
This program is run the online compiler that's why it will return "/"
Explanation:
In the given Python code, we import the "os" package, after that a method "parent_directory" is defined, which uses the dir with the "getcwd" method that stores the current working directory.
- After that "relative_parent" variable is declared, which uses the join method to store the directory value and use the return keyword to returns its value.
- In the next step, the print method is used, which calls the method.
B the services provided by the provider
Answer:
Security
Explanation:
The SDLC or system development life cycle is a process of which all systems must go through from planning to the end of the system.
Implementation of system requires creating the system based on the planned design, once it is implemented, it is verified by testing the system. The security of the system prevent intruders from accessing the system from the verification of the functionality to the end of the system's life cycle.