For 1.
Positive correlation means if you plot a country's population and land size on a graph. There would be a linear regression line that's sloping upwards.
Since it's a scatterplot, there will be some that fall out of the line, but most of them should be on the line.
It's (A)
For 2.
An outlier is a datapoint that's far, FAR away from the others, so it's (B)
For 3. (A), it's a single line-of-best fit that runs through the middle of the cluster of data points.
<u>Answer:</u>
<em>int fNumber,scndNumber = -1, </em>
<em>dup = 0;
</em>
<em>do {
</em>
<em>cin >> fNumber;
</em>
<em>if ( scndNumber == -1) {
</em>
<em>scndNumber = fNumber;
</em>
<em>}
</em>
<em>else {
</em>
<em>if ( scndNumber == fNumber )
</em>
<em>duplicates++;
</em>
<em>else
</em>
<em>scndNumber = fNumber;
</em>
<em>}
</em>
<em>} while(fNumber > 0 ); </em>
<em>cout << dup;
</em>
<u>Explanation:</u>
Here three variables are declared to hold the first number which is used obtain all the inputs given by the user, second number to hold the value of <em>last encountered number and “dup” variable to count the number of duplicate values.</em>
<em>“Do-while”</em> loop help us to get the input check whether it is same as previous input if yes then it <em>adds to the duplicate</em> value otherwise the new previous value if stored.
Answer:
a) Yes
b) Yes
c) Yes
d) No
e) Yes
f) No
Explanation:
a) All single-bit errors are caught by Cyclic Redundancy Check (CRC) and it produces 100 % of error detection.
b) All double-bit errors for any reasonably long message are caught by Cyclic Redundancy Check (CRC) during the transmission of 1024 bit. It also produces 100 % of error detection.
c) 5 isolated bit errors are not caught by Cyclic Redundancy Check (CRC) during the transmission of 1024 bit since CRC may not be able to catch all even numbers of isolated bit errors so it is not even.
It produces nearly 100 % of error detection.
d) All even numbers of isolated bit errors may not be caught by Cyclic Redundancy Check (CRC) during the transmission of 1024 bit. It also produces 100 % of error detection.
e) All burst errors with burst lengths less than or equal to 32 are caught by Cyclic Redundancy Check (CRC) during the transmission of 1024 bit. It also produces 100 % of error detection.
f) A burst error with burst length greater than 32 may not be caught by Cyclic Redundancy Check (CRC) during the transmission of 1024 bit.
Cyclic Redundancy Check (CRC) does not detect the length of error burst which is greater than or equal to r bits.
You have an object declared in the function which has a undeclared value.
Explanation:
if you will make a variable of class or object in JAVA or other reference typed languages and will not assign the value to it this error occurs.
For example :
obj object; // this line declares a object named variable of type obj class
Here it will cause same error iff i will do it like :
obj = object = new obj();