Answer:
C. Post-incident activity.
Explanation:
An incident is a event of intrusion or attack or violation of an attempt of an attack. An incident response is an opposing response to an attack or violation.
An incident response life cycle are stages followed to mitigate a current attack or violation. The stages of the incident response life cycle are, preparation, detection and analysis, containing and eradicating and recovery, and post incident activity.
Answer:
\n
Explanation:
readline() method is used to read one line from a file. It returns that line from the file.
This line from the file is returned as a string. This string contains a \n at the end which is called a new line character.
So the readline method reads text until an end of line symbol is encountered, and this end of line character is represented by \n.
For example if the file "abc.txt" contains the lines:
Welcome to abc file.
This file is for demonstrating how read line works.
Consider the following code:
f = open("abc.txt", "r") #opens the file in read mode
print(f.readline()) # read one line from file and displays it
The output is:
Welcome to abc file.
The readline() method reads one line and the print method displays that line.
Answer
Procedural programming, Object-oriented programming
Explanation
Procedural programming is a type of computer programming language that specifies a series of well structured steps and procedures within its development period of time. It contains a systematic order of statements, functions and commands to complete a computational task or program. It is centered on creating procedures. While object oriented programming is a programming language that is centered on creating objects rather that actions and data rather than logic.. It has four principles which are inheritance, polymorphism, abstraction and Encapsulation