Answer:
Following are the program in the C++ Programming Language:
#include <iostream>//header file
using namespace std;//namespane
//set main method
int main() {  
int a[100]; //set integer type array variable
int value, i = 0; //set integer variables
cout<<"Enter less than 0 to exit:"<<endl; //message for exit
cout<<"Enter the integer numbers:"<<endl; //message to enter numbers
do{ //set do while
cin>>value; //get input from the user
a[i++] = value; //append elements in array
}while(value>=0);
i--;  
cout<<"\nArray are:"<<endl;//message for array
for(int k = 0;k<i;k++){ //set for loop
cout<<a[k]<<" "; //print array
}
return 0;
}
<u>Output</u>:
Enter less than 0 to exit:
Enter the integer numbers:
1
2
3
4
5
-1
Array are:
1 2 3 4 5
Explanation:
Here, we set the integer data type main method "main()" and inside it:
- we set integer type array variable with index value 100.
- we set two integer type variable "value" and "i" initialize value 0.
- we set the do-while loop in which we get the input from the user and and append in the array and pass condition if the value is greater then equal to 0.
- Finally, set for loop and print the elements of an array.
  
 
        
             
        
        
        
Answer: Point-to-point topology
Explanation:Point-to-point topology is the connection between the nodes in a simple/regular manner by establishing only one path for the communication with each other.The flow that occurs in this type of topology are of two types - bidirectional(two-way)  and unidirectional(one-way) .
 Thus the topology for the communication of the routers through a single communication path is done with the help of point-to-point pattern , considering each router as a point/node.
 
        
             
        
        
        
Answer: Network access control (NAC)
Explanation:
The solution that should be used is the network access control. Network access control helps in keeping devices and users that are unauthorized out of ones private network. 
In this case, since one will like to prevent the laptops from connecting to the network unless anti-virus software and the latest operating system patches are installed, then the network access control can be used. One can only give access to the device that it wants to give access to and prevent others from connecting.
 
        
             
        
        
        
Hello there! 
They already gave you the answer just by saying "while serving his or her nation". So, the only way you can serve your nation is when you join the military. 
So, the correct missing word is Joining the military. 
I hope this helps! 
        
             
        
        
        
Answer:
Explanation:
(a) aaAbb (b) bBab (c) aaAbB b
The parse tree and phases are shown in the attached diagram below