Answer:
def max_list(a):
return max(a)
def max2(a,b):
return max(a,b)
s=max2(2,3)
print('max of two number is:')
print(s)
a=[1,2,3,4,5,6,7,8,9,10]
max_in_list = max_list(a)
print('\n max element in whole list is:')
print(max_in_list)
Explanation:
Above program is written in python:
Function max2 accept two parameters and return one which is greatest of both and funtion max_list accept a parameter list and returns the greatest number in list.
Note: take care of indentation of function while pasting this code on your compiler or ide
Answer:
f. Configure the speed 100 and duplex full interface subcommands
Explanation:
Answer:
Dropper.
Explanation:
A rootkit can be defined as a collection of hidden malicious computer software applications that gives a hacker, attacker or threat actor unauthorized access to parts of a computer and installed software. Some examples of rootkits are trojan, virus, worm etc.
The dropper code of a rootkit gets the rootkit installation started and can be activated by clicking on a link to a malicious website in an email or opening an infected PDF file such as phishing.
Hence, the dropper code of a rootkit launches and installs the loader program and eventually deletes itself, so it becomes hidden and not be noticed by the owner of the computer.
A rootkit can affect the performance of a computer negatively causing it to run slowly.
Answer:
The answer is "4".
Explanation:
In this code, on line number 4, it will give the error message, and its correct solution can be defined as follows:
In this code, a variable "score" is declared, that holds a value that is 0, and in the next step, a method "onEvent" is declared that uses a method, and in the if block, it checks the "score" value that is less than 5 and it will print the message.