Answer:
// A optimized school method based C++ program to check
// if a number is composite.
#include <bits/stdc++.h>
using namespace std;
bool isComposite(int n)
{
// Corner cases
if (n <= 1) return false;
if (n <= 3) return false;
// This is checked so that we can skip
// middle five numbers in below loop
if (n%2 == 0 || n%3 == 0) return true;
for (int i=5; i*i<=n; i=i+6)
if (n%i == 0 || n%(i+2) == 0)
return true;
return false;
}
// Driver Program to test above function
int main()
{
isComposite(11)? cout << " true\n": cout << " false\n";
isComposite(15)? cout << " true\n": cout << " false\n";
return 0;
}
Explanation:
It really is hard to say because there are many slots and we do not know what your teacher is teaching. I have seen a lot of teachers teaching out of date material. With that said, here is a list from best to worst.
PCI Express x16
PCI Express x1
AGP
PCI
This is list is based on greatest to least and base on the bandwidth read and write speed.
<em>The answer is: your GPS unit cannot send signals to the satellite when it cannot reach it by line of sight.
</em>
<em>
</em>
<em>GPS signals are based on frequencies that can be blocked by solid objects (like walls and roofs). A GPS device is using a series of satellites to detect and see where it is physically located. These frequencies are sent from these plates (satellites) and we cannot expect it to go through all kinds of barriers. When you use a GPS inside a building, a wide variety of physical barriers and potential interference sources make it difficult for the device to detect your location accurately.
</em>
<em>
</em>
<em />
Answer:
3
Explanation:
= 1 + (int) (4*(63 - 51)/(71-51)))
= 1 + (int) (4*12/20)
= 1 + (int) (48/20)
= 1 + (int)2.4
= 1 + 2
= 3