Answer:
The code written in python and fully commented for this question is given below:
# Create the function shampoo_instructions with the num_cycles parameter input
def shampoo_instructions(num_cycles):
# Condition if is less than 1, print too few
if num_cycles < 1:
print("Too few.")
# Condition if is greater than 4, print too many
elif num_cycles > 4:
print("Too many.")
# If is in inclusive range [1,4], print the Lather and rinse cycle
else:
# Create a for loop to print rinse cycle
for i in range(num_cycles):
print("{}: Lather and rinse.".format(i+1))
# Print an end string for each execution
print("End-------------------------------------")
# Call the function with all the conditions tested
shampoo_instructions(3)
shampoo_instructions(0)
shampoo_instructions(4)
shampoo_instructions(5)
Explanation:
I attach an image that contains the output of the execution and the source code.
Answer:
A. Domain-level group policies
Explanation:
Because domain-level polices are automatically implement all users that are login on the PC and PC is connect to the domain. From domain polices you can set what user can open and what can not open, Joe Windows PC he is using automatically locks also through domain policy, Administrator set the time when any end-user leave their PC automatically after the time set administrator screen saver run and asked password of that user to return back in the windows.
Answer:
Policy manual
Explanation:
A written document that is designed by the company to decide the rules and regulations for the employee to guide them about attendance and evaluation to achieve the desired goals is called Policy manual.
A handbook is provided to the employee at the time of joining of Job. All the policies related to employee such as dress code, attendance policy and evaluation policy. All the rules and regulations related to office are also present in this document.
The purpose of this document is to inform the new employees about guidelines of the company.