Answer:
Following are the program in python language the name of the program is factors.py
num= int(input("Please enter a positive integer: "))#Read the number by user
print("The factors of ",num,"are:")
for k in range(2,num): #iterating over the loop
if(num%k==0): #checking the condition
print(k)#display the factor
Output:
Please enter a positive integer: 12
The factors of 12 are:
2
3
4
6
Explanation:
Following are the description of the program
- Read the number by user in the "num" variable
- Iterating the for loop from k=2 to less then "num".
- In the for loop checking the factor of "num" variable by using % operator.
- Finally display the factor by using print function
- <em>Take stock. Know what personal information you have in your files and on your computers.</em>
- <em>Scale down. Keep only what you need for your business.</em>
- <em>Lock it. Protect the information that you keep.</em>
- <em>Pitch it. Properly dispose of what you no longer need.</em>
- <em>plan </em><em>ahead</em>
<em>hope </em><em>it</em><em> helps</em>
Answer:
TCP is a connection-oriented protocol, whereas UDP is a connectionless protocol. The speed for TCP is slower while the speed of UDP is faster.
• Installed a program containing ransomware/malware. (Do not accept downloaded without inferring it was installed)
• Opened an email attachment containing malware.
• Opened a file containing a malicious macro.
• Left his computer unsecure allowing someone else to install malware on it. (Should include an example, e.g. not logging off)