Answer:
A computer does not have brain of its own
Answer:
1. Clients and servers—how services such as e-mail and web pages connect using networks.
2. IP addresses—how devices on a network can be found.
3. Network hubs, switches and cables—the hardware building blocks of any network.
4. Routers and firewalls—how to organize and control the flow of traffic on a network.
Answer:
if ( name1 > name2) {
first = name1;
} else {
first = name2;
}
Explanation:
First you need take a decision for that reason you need and if - else structure to decide if asign the variable name1 or the variable name2 to the result. Later you can use an > or < to compare two strings because it use the ASCII code to compare wich one is larger than another.
if ( name1 > name2) {
first = name1;
} else {
first = name2;
}
Answer:
B. 1 6 3
Explanation:
Given function definition for calc:
void calc (int a, int& b)
{
int c;
c = a + 2;
a = a * 3;
b = c + a;
}
Function invocation:
x = 1;
y = 2;
z = 3;
calc(x, y);
cout << x << " " << y << " " << z << endl;
- Since x is passed by value, its value remains 1.
- y is passed by reference to the function calc(x,y);
Tracing the function execution:
c=3
a=3
b=c+a = 6;
But b actually corresponds to y. So y=6 after function call.
- Since z is not involved in function call, its value remain 3.
So output: 1 6 3
Answer:
Border Gateway Protocol is a protocol the routers use to determine the most optimal path to forward the traffic.
Explanation:
BGP is a path vector protocol which chooses the most optimal path. The protocol decides core routing decisions based on path, configuration and network.
This protocol gives all the notification about the status of the connection and router.
It is used to routing in an autonomous system and provides ways to measure the effectiveness of configuration.