Answer:
B.
Explanation:
In Javascript, the if should have a condition attached to it with parenthesis and curly braces.
Answer:
Each array position holds the position from which the information is going to be retrieved. After the code is run, each position will have the information retrieved from that position.
Explanation:
The best way to solve this problem is working as if we had a very small array. Then we can generalize for the large array.
For example
int a[3];
a[0] = 1; a[1] = 2; a[2] = 0;
for(i = 0; i < 3; i++)
a[i] = a[a[i]];
When i = 0, we have:
a[i] = a[a[i]] = a[a[0]] = a[1] = 2;
When i = 1, we have
a[i] = a[a[i]] = a[a[1]] = a[2] = 0;
When i = 2, we have
a[i] = a[a[i]] = a[a[2]] = a[0] = 1;
Basically, in our small example, each array position holds the index from which we are going to retrieve the information. The same is going to happen in the array of length 99. After the code is run, each position will have the information retrieved from that position
Answer:
•Determine your IP address.
•Verify physical connectivity to the network.
•Check that you have a logical connection to the network.
•Find out what path network traffic takes to get to its destination.
Translate from DNS names to IP addresses.
Answer:
False
Explanation:
The revenue has to be considered when commercializing technology. Social, political and market support determine whether there will be customers or not. So when applying scenario logic to technology commercialization we have to consider if there is market for the technology, if the society is willing ot pay for the technology anf if politics of the region will allow the business to operate.
Answer:
C++.
Explanation:
#include <iostream>
using namespace std;
////////////////////////////////////////////////////////////////
void printPrime(int n) {
if (n > 0) {
cout<<2<<endl;
for (int i=3; i<=n; i++) {
bool isPrime = true;
for (int j=2; j<i; j++) {
if (i % j == 0) {
isPrime = false;
break;
}
}
if (isPrime == true)
cout<<i<<endl;
}
}
else {
cout<<"Invalid input";
}
}
int main() {
int n;
cout<<"Enter positive integer: ";
cin>>n;
printPrime(n);
return 0;
}
Explanation:
The given question statement has been referenced from c h12_Osscan.pcapng document
The answers to the questions are;
Q1_Answer ; The host name that has been resolved is win7_03
Q2_Answer ; The likely IPv6 address of the attacker is 10.1.0.103
Q3_Answer ; The likely IPv6 address of the attacker is 10.1.0.102
Q4_Answer ; According to the document, it has been mentioned that the IP's stated above have been the top talkers meaning that there was significant communication or exchange of information between them
Answer:
The answer is below
Explanation:
1. Lack of password enforcement
2. Outdated third party applications: this includes outdated software such as Apache, PHP, MySQL, OpenSSL, and VNC
3. General lack of patch management for the OS
4. General lack of system hardening:
5. Lack of backups
Ways to hardened the Linux/Unix based computer system is do the following:
1. Perform minimal Installation: this involves, installing softwares that are necessary, and limiting the number of admin users on the computer system.
2. Carry out Code Auditing: this is a means of preventing security issues, by withing more secure softwares to prevent variable declarations, or otherwise unexpected logic.
3. Ensure there is a Traffic filter firewall: this will helps to attacks from external users or hackers. Install, Web Applicatio firewall, which helps to filter out traffic.
4. Carry out Softwares updates: a software update can help prevent or guide against security leaks in a software
5. Install security updates only: this is done by filtering out the security-related programs and only upgrade packages which are referred to in the custom file.