Answer: streams can send data in only one direction either input or output.
Explanation:
An application must have two network streams in order to send and receive data.
for example if we want to send data from A to B we must have one stream similarly in order to receive data from B to A we must have another network stream.
Answer:
The correct answer to the following question will be "Trojan programs".
Explanation:
- A trojan is a kind of software often identified as legal applications. Internet-thieves and hackers will hire Trojans and they were trying to access to consumer programs. Users are usually fooled into launching and operating Trojans on their devices by a certain form of economic manipulation.
- It's a kind of malicious software that express themselves as helpful applications and programs.
Therefore, the Trojan program is the right answer.
Answer:
c) Access Control.
Explanation:
The term which describes the security domain best that relates to how the data is valued and classified is Access Control.
Access Control :It is the restriction of access of a resource or a place that is selective.Permission to access a resource is called authorization.It is an important term in the field of information security and physical security.
Answer:
def calculate_pay(total_worked_hours, rate_per_hour):
if total_worked_hours > 40:
return (40 * rate_per_hour) + ((total_worked_hours - 40) * 2 * rate_per_hour)
else:
return total_worked_hours * rate_per_hour
Explanation:
- Create the calculate_pay function that takes 2 parameters.
- Inside the function check whether the total_worked_hours is greater than 40 and then return the pay by calculating with the help of formula for work over 40 hours.
- Otherwise return the pay by multiplying the total_worked_hours with rate_per_hour.