Answer:
Required code is given below:
Explanation:
def add_to_dict(dictt, key,value):
if key in dictt.keys():
print("Error. Key already exists.")
else:
dictt[key]=value
return dictt
def remove_from_dict(dictt,key):
try:
dictt[key]
dictt.pop(key, None)
return dictt
except KeyError:
print("No such key exists in the dictionary.")
def find_key(dictt,key):
try:
value=dictt[key]
print("Value: ", value)
except KeyError:
print("Key not found.")
Answer and Explanation:
Some of the negative aspects of robots at work place:
- Lesser flexibility
- Higher maintenance and installation cost
- Future insecurity and risk if the system malfunctions
- A decline in the opportunities for humans
- Unemployment as a result of automation and robot regulated work place.
Some of the positive aspects of robots at work place:
- Higher accuracy
- Higher speeds
- More work in less time
- Productivity and hence efficiency will increase
- Cost of some operations is reduced.
- Ease of employing in dangerous and hazardous fields by using specific robots for each task
Answer:
B. Role-based access controls
Explanation:
Roll-based access control is a way to control access to the network and to data which depends on the position of employees in a department. This way the permission to access information are granted according to roles that are assigned to employees. This type of access control allows access privileges to employees only to the folders and data files which they need in order to perform their tasks and it does not allow them to access the data or information which is not relevant to them. This helps the department to secure the sensitive information and data files and reduces the risk of data breaches.
Answer:
Find the attached picture
Explanation:
Attached picture contains the Python function which takes a list as argument and returns a new list with same size and elements in same order.