Answer:
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
char choice;
cout << setprecision(12) << endl;
while(true) {
int sign = 1;
double pi = 0;
cout << "Enter number of terms: ";
long n;
cin >> n;
for(long i = 1; i < n; i += 2) {
pi += sign/(double)i;
sign = -sign;
}
pi *= 4;
cout << "value of pi for n = " << n << " is " << pi << endl;
cout << "Do you want to try again(y or n)? ";
cin >> choice;
if(choice == 'n' || choice == 'N') {
break;
}
}
return 0;
}
Explanation:
Answer:
B. Application programming interface
Explanation:
An application programming interface (API) is an interface or communication protocol between different parts of a computer program intended to simplify the implementation and maintenance of software. An API may be for a web-based system, operating system, database system, computer hardware, or software library.
Answer:
face book is an interactive website, because you can interact with the content such as give a like or comment.
Answer:
Penetration monitoring is conducted based on the vulnerability evaluation (Were a susceptibility evaluated and mentioned).
Explanation:
Penetration Test
- Penetration testing is carried out from both within (the network or application) as well as outside that aims to gain access to the system to evaluate if any suspicious activity or improper behavior is likely within the device.
- When there are some other potential security vulnerabilities, they are all found in the integration check that involves vulnerability assessment for frameworks and checking for network management.
- Automation of penetration testing is used to make it work better.
- Penetration monitoring deals with the same risk evaluation correlated with a disadvantage.
Privilege escalation
- They need to think about known vulnerabilities as the system for network management works conditional on the privilege rates. Such that, increasing user has an article has highlighted and the consumer is only allowed to control or use the resources that should be used appropriately, depending on the level of privilege.
- If he gets elevated access then it will be a failure to have access control mechanism.
Leaving backdoors
- The creator uses backdoors to test the system's functionality during the designing processes.
- The loophole can be a workaround overriding the identification for all users, or a default password.
- They would need to worry about leaving the backdoor because the backdoor.which is performed either deliberately or involuntarily will circumvent the entire security mechanism.
- During the intrusion testing process, the both privilege increase and the escape from the gateway can be discovered due to the research being done both inside and outside the device.
- The tester's testing phase acts as various users so that any destabilization of access may be found.
- The tester will use all numerous methods to supersede the technique of official approval, but when there are certain backdoors, maybe he can start by pointing that out.