Answer:
Phishing
Explanation:
Phishing is a type of cyber attack in which the attacker masquerades as a trusted entity via e-mail and trick the recipient into clicking a malicious link that could steal user data including login details, credit card information e.t.c A phishing attack can have devastating effects such as Identity theft, Unauthorised purchase or stealing of funds on individuals.
The common types of phishing are<em>: Vishing, Smishing, Email Phishing, Search Engine Vishing, Whaling</em> e.t.c
Answer:
The Python code with the function is given below. Testing and output gives the results of certain chosen parameters for the program
Explanation:
def first_last(seq):
if(len(seq) == 0):
return ()
elif(len(seq) == 1):
return (seq[0],)
else:
return (seq[0], seq[len(seq)-1])
#Testing
print(first_last([]))
print(first_last([1]))
print(first_last([1,2,3,4,5]))
# Output
( )
( 1 , )
( 1 , 5 )