Answer:
The answer of the the following question are 0(n^2)
The total number of multiplication is 2
And the total number of addition is 1
Explanation:
Let the size of the input is the degree of the polynomial = "n"
Than the number of the multiplications depends on "n"
Let the number of multiplication = M(n)
Let the number of addition = A(n)
1): Solution-
M(n) = n∑_{i=0} i∑_{j=1} 2
= 2 n∑_{i=0} i∑_{j=1}
= 2 n∑_{i=0} i-1+1
= 2 n∑_{i=0} i
= 2 * n*(n+1)/2 = n*(n+1)
= n^2 + n ∈ 0(n^2)
2): Solution for addition-
A(n) = n∑_{i=0} i∑_{j=1} 1
= by solving this from the same way it leads to
= n^2 + n and n^2 + n ∈ 0(n^2)
Answer:
David L. Smith
Explanation:
Around March 26, 1999, the Melissa virus was released by David L. Smith
‘Melissa.A’ used social engineering techniques, since it came with the message “Here is the document you asked me for… do not show it to anyone”. In just a few days, she starred in one of the most important cases of massive infection in history, causing damage of more than 80 million dollars to American companies. Companies like Microsoft, Intel and Lucent Technologies had to block their Internet connections due to its action.
How it Works
When opening a document infected with the ‘Melissa.A’, the virus creates an e-mail with the following features:
Subject: Important Message From “sender name”
Text: Here is that document you asked for … do not show anyone else
Attachments: a file with a DOC.
The recipients of this message were the first 50 addresses ‘Melissa.A’ found in the address book in Outlook. This was the first macro virus that used this technique, until this moment there hadn’t been a virus that affected users by sending a Word document within an email.
What Happened
The creator of ‘Melissa.A’, David L. Smith, pleaded guilty but said he did not expect such high economic damage. This malware was created in memory of a topless dancer in Florida with whom he had fallen in love with.
Smith was sentenced to 10 years in prison.
Presentation :)))))))))))))
Pseudocode:
import random
fetch user input on a lucky number
insert input into variable - "response"
new variable, random = randint
condition to check wheather random is our response
display results
Python Code:
import random
def main():
response = int(input("Guess my lucky number, its between 1 and 100: "))
lucky_number = random.randint(1,100)
if response == lucky_number:
print(f"Wow you're right, it is {lucky_number}")
else:
print("Sorry, Try Again")
main()
Reminder:
intended for python3 as i included the format f
also it could be done without the import, just manually insert a number
i'll leave the post mortum to you
To keep a desktop computer or a server powered up when the electricity goes off in addition to protection against power fluctuations, an <u>uninterruptible power supply (UPS)</u>, which contains a built-in battery, can be used.
<u>Explanation</u>:
An uninterruptible power supply (UPS) is a device that allows a computer or server powered up for a short time, when the electricity goes off. UPS device also provides uninterrupted service during power fluctuation.
A battery is inbuilt in the UPS and provides power for few minutes to the computer to shut down it in a proper manner.
UPS is available at affordable cost and can be maintained at low cost compared to generators.