Answer:
It provides detailed information about particular tasks within the program
Import csv
fileIn = open("data/bags.txt","r")
countPurse = 0
textFile= csv.reader(fileIn)
for bag in textFile:
if bag[ 1 ] == 'purse':
countPurse = countPurse + int(bag[6])
fileIn.close()
print("Number of purses:",countPurse)
Answer:
Explanation:
In digital image processing, degradation is a process of introducing defects to the image. Understanding the degradation function will allow restoration of the original image.
There are many different causes for image degradation such as motion blur, digital noise and lens off-focus. In cases like motion blur, it is possible to come up with an very good estimate of the actual blurring function and "undo" the blur to restore the original image. For digital noise, a statistical model can be set up to compensate for the degradation it caused. Similarly lens focus can be compensate by an optical model if the mis-focus is known.
The above are three degradations that I could find. A lot more information can be found about restoration functions. If you search for image degradation online, you will find a discussion on Quora and an interesting introduction from Rice University. Good luck!
Answer: (D) Distributed denial- of- service (DDoS)
Explanation:
The distributed denial of service attack is one of the type of attack that occur when the multiple system are basically flooded with the resources and the bandwidth.
- Botnet is one of the example of DDoS as it caused the DOS (denial of service) for the users.
- This type of attack is more substantial as compared to the DoS attack as they use the multiple system for attack the single target simultaneously.
Therefore, Option (D) is correct.
Answer: Parameters
Explanation:
Whenever a call to a recursive function is made, then the function has its own code and its own set of parameters with local variables. These parameters are within the scope of the recursive function. For example while finding the factorial of a number we are given the function with parameter such as int recursive(int n) where int n is a parameter passed into the function.