Answer:
#include <iostream>
using namespace std;
int main()
{
int myArray[] = {-11,3,-8,30,-2,0,5,7,-100,44};
int n = sizeof(myArray)/sizeof(myArray[0]);
for(int i=0;i<n;i++){
if(myArray[i]>=0){
cout<<myArray[i]<<endl;
}
}
return 0;
}
Explanation:
First include the library iostream in c++ programming for using the input/output function.
Then, create the main function and define the array with the elements which contain both positive element as well negative elements.
after, use the for loop for traversing the array and inside the loop take the conditional statement for check if element in the array is positive.. if it true then print the element on the screen with separate line.
A circuit-switched network would be more appropriate for this application.
<u>Explanation</u>:
The method of Circuit switching helps in the establishment of a network with the nodes that are in communication. The network will be established in the earlier stages before the two nodes starts to communicate with each other. The bandwidth that is essential fro the communication will be reserved and the communication will take place without any interruption.
The example that is given in the question requires a circuit switched network suiting its need. This is because long sessions are essential and there are some needs of bandwidth too. Circuit switched networks helps in this scenario reserving bandwidth for each session of the application and there wont be any wastage. There is also an advantage of ignoring he costs that are related with the setting and disconnecting the circuit connection even if an application has a session with longer time duration.
Answer:
The Internet service provider (ISP)
Explanation:
The internet service provider provides individuals and other companies access to the internet and other web services. The internet service provider looks through a huge database of internet addresses to find the exact web server that a website is hosted on when a query is sent.
Answer:
An online UPS
Explanation:
An online uninterrupted power supply (ups) can be defined as an electronic device that is designed to supply continuous power to a load that uses alternating current (AC), through the inverter and rectifier arrangement (combination) during normal operation of the device. Thus, an online UPS through its inverter supplies continuous AC power in the event of a power failure.
Hence, an online UPS power backup method is designed and developed to continually provide power to a server (load) if there is a power outage as a result of a thunderstorm.
In conclusion, an online uninterrupted power supply (ups) guarantees a 24 hour power supply when properly installed and connected to a load or end user device such as a server.