Answer:
All these can be done using PKI.
Explanation:
PKI or the private key infrastructure is a new way to encrypt the data transfer or the retrieval along with the network among various terminals. The communication can be single node, hierarchical, bridge, mesh and hybrid. In the case of mesh, the connection can be established between each terminal. However, the connection can be established in between each pair via a network which can be a private network or it can be via the internet. However, the channel is required to be encrypted, or else the data can be hacked and attacks like a man in the middle attacks are quite on cards certainly. And this can be done using the PKI, which can be installed using the Certificate Authority and Public-private key pair generator. Suppose a connection is to be established between each node. And for this, you need to generate the certificate, which is generated by the Certificate Authority. And this is generally a third party like Godaddy, Verisign, etc. You can make use of the CSFFL as well. The free certificate authority Let’s Encrypt makes use of the CSFFL. And you must be using a web server as well like Apache that comes with services like OpenSSL that can be used to generate the certificate, and you can have your root Certificate Authority. That issues the certificate to the issuing certificate authority and the issuing certificate authority after registration confirmation by a person or a Robot, issues the certificate to the node which is requesting access to another node. And this certificate has the personal details of the requesting node and information about the webserver or node to which the requesting node is opting for a secure connection. The Certificate, when received by the webserver, is then matched with the certificate copy kept at the Root Certificate Authority. These days we also have the certificate revocation authority and Google has come up with Certificate transparency. So we can build our certificate authority, or we can have online certificate authority. These certificates also have the digital signature, which can be decrypted via the private key that is kept with the sender. The public key is sent to the certificate authority, and it decrypts it with the public key. And certificates are distributed among various types of trusts, which can be single, hierarchical, bridge, mesh and hybrid. And for each application, we have different certificates. Thus issues like non-repudiation, check over unauthorized access, restrict access to the resources, etc, can be ensured with the help of the PKI. And thus, we can secure the whole network at various levels like application level, transport-level, etc. Also, the company network can be bridged with the client or the business partner company if required using bridge level trust. However, we can also have a hierarchical level of trust. And thus we can secure the network using PKI and also confirm all the issues mentioned in the question are resolved. However, certificates are also being generated by Windows server 2012, and we can make use of it as well.
Answer:
The code to this question can be given as:
Code:
int lastVector = newScores.size() -1; //define variable lastVector that holds updated size of newScores.
newScores = oldScores; //holds value.
for (i = 0; i < SCORES_SIZE - 1; i++) //define loop.
{
newScores.at(i) = newScores.at(i+1); //holds value in newScores.
}
newScores.at(lastVector) = oldScores.at(0); //moving first element in last.
Explanation:
- In the given C++ program there are two vector array is defined that are "oldScores and newScores". The oldScores array holds elements that are "10, 20, 30, 40".
- In the above code, we remove the array element at first position and add it to the last position. To this process, an integer variable "lastVector" is defined.
- This variable holds the size of the newScores variable and uses and assigns all vector array elements from oldScores to newScores. In the loop, we use the at function the removes element form first position and add in the last position.
- Then we use another for loop for print newScores array elements.
Answer:
// The Scanner class is imported to allow the program receive user input
import java.util.Scanner;
// The class is defined called Solution
public class Solution {
// The main method is defined which begin program execution
public static void main(String args[]) {
// Scanner object 'scan' which receive user input from the keyboard
Scanner scan = new Scanner(System.in);
// the userInput variable is initially set to 1 (true) to allow the program continue prompting the user for input
int userInput = 1;
// while loop which continue execution as long as the userInput is greater than 0 and less than 10
while (userInput > 0 && userInput < 10){
// Prompts is displayed to the user to enter number below 10
System.out.println("Enter a positive integer under 10:__________");
// the next input is assigned to userInput
userInput = scan.nextInt();
}
}
}
Explanation:
The above code continue prompting the user to input an integer as long as the input is greater than 0 and less than 10.
Answer: Architecture
Explanation:
A career cluster can be defined as the group of careers in which professionals are related to common features or occupational tasks are related based on the common features. One person in a career cluster may like more than one job profiles in the same career cluster.
In architecture a person may like to design, build and destroy things to redesign them again. This involves knowledge, skills, mental and physical labor. Building and road constructions are the tasks performed by the architectures.