It is called vulnerabilities
Asymmetric digital subscriber line (ADSL)
Answer:
#include<iostream>
#include <vector>
#include <list>
using namespace std;
int main(){
int a[10]={0,1,2,3, 4, 5, 6, 7, 8, 9 };
std::vector<int> v (&a[0],&a[0]+10);
std::list<int> l (&a[0],&a[0]+10);
int b[10];
for(int i=0;i<10;i++){
b[i]=a[i];
}
std::vector<int> v2(v);
std::list<int> l2(l);
for(int i=0;i<10;i++){
b[i]+=2;
}
for(int i=0;i<10;i++){
v2[i]+=3;
}
for (std::list<int>::iterator it = l2.begin(); it != l2.end(); it++)
*it=*it+5;
cout<<"Each containers value are: "<<endl;
cout<<"1st array: "<<endl;
for(int i=0;i<10;i++){
cout<<a[i]<<" ";
}
cout<<"\n 1st vector: \n";
for(int i=0;i<10;i++){
cout<<v[i]<<" ";
}
cout<<"\n 1st List is:\n";
for (std::list<int>::iterator it = l.begin(); it != l.end(); it++)
cout << *it << ' ';
cout<<"\n 2nd array: "<<endl;
for(int i=0;i<10;i++){
cout<<b[i]<<" ";
}
cout<<"\n 2nd vector:\n";
for(int i=0;i<10;i++){
cout<<v2[i]<<" ";
}
cout<<"\n 2nd list:\n";
for (std::list<int>::iterator it = l2.begin(); it != l2.end(); it++)
cout << *it << ' ';
return 0;
}
Explanation:
- Initialize an array, a vector and a list of type integer
.
- Create a 2nd array, vector, and list as a copy of the first array, vector, and list.
- Increase the value of each element in the array by 2
, vector by 3 and list by 5.
- Finally display the relevant results.
Answer:
8.22 × 10²⁰ years
Explanation:
Given that:
Total frequency = 100 million per record
The length of the key used for the encryption = 112 bit key
To calculate the number of seconds in a year, we have:
= 365 × 24 × 60 × 60
= 3.1536 × 10⁷ seconds
Thus, on average, the number of possible keys that is required to check for the decryption should be at least 2¹¹¹ keys.

Thus, it will take a total time of about 8.22 × 10²⁰ years on average.
Answer:
public class num8 {
public static void main(String[] args) {
System.out.println("Average Temperature in New York is 85 degrees fahrenheit");
System.out.println("Average Temperature in Denver is 88 degrees fahrenheit");
System.out.println("Average Temperature in Phoenix is 106 degrees fahrenheit");
// Calculating the new average Temperatures
System.out.println("The New Average Temperature in New York " +
"is "+ ((0.02*85)+85 )+ " degrees fahrenheit");
System.out.println("The New Average Temperature in Denver " +
"is " +((0.02*88)+88 )+ " degrees fahrenheit");
System.out.println("The New Average Temperature in Phoenix " +
"is "+((0.02*106)+106 )+ " degrees fahrenheit");
}
}
Explanation:
- Using Java first display the previous average temperatures for the three cities as given in the question
- Then calculates the new average temperature by multiplying by 0.02, because of a 2 percent increase in the average temperature
- Display the new temperature using the System.out,println