I know of four,
Left-aligned
Center-aligned
right-aligned
justified
Answer:
<em>C++</em>
///////////////////////////////////////////////////////////////////////////////////////////
#include <iostream>
using namespace std;
//////////////////////////////////////////////////////////////////
class QuadraticEquation {
int a, b, c;
public:
QuadraticEquation(int a, int b, int c) {
this->a = a;
this->b = b;
this->c = c;
}
////////////////////////////////////////
int getA() {
return a;
}
int getB() {
return b;
}
int getC() {
return c;
}
////////////////////////////////////////
// returns the discriminant, which is b2-4ac
int getDiscriminant() {
return (b*2)-(4*a*c);
}
int getRoot1() {
if (getDiscriminant() < 0)
return 0;
else {
// Please specify how to calculate the two roots.
return 1;
}
}
int getRoot2() {
if (getDiscriminant() < 0)
return 0;
else {
// Please specify how to calculate the two roots.
return -1;
}
}
};
//////////////////////////////////////////////////////////////////
int main() {
return 0;
}
D. They provide a platform for collaboration
You manage small LAN for a branch office. The branch office has three file servers and few client workstations. You want to use Ethernet device and offer guaranteed bandwidth to each server. You design the network by <u>connecting all network devices to a switch. Connect each server to its own switch port.</u>
<u></u>
Explanation:
- A local-area network (LAN) is a computer network that spans a relatively small area.
- Most often, a LAN is confined to a single room, building or group of buildings, however, one LAN can be connected to other LANs over any distance via telephone lines and radio waves.
- The LAN is the networking infrastructure that provides access to network communication services and resources for end users and devices spread over a single floor or building.
- Designing a LAN for the campus use case is not a one-design-fits-all proposition.
- If there is a single 48-port switch, 47 devices can be supported, with only one port used to connect the switch to the rest of the network, and only one power outlet needed to accommodate the single switch