A symbol or set of characters in a programming statement whose value can be changed
Answer:
C. Mean
Explanation:
Mean = (∑
)/N
Median = central values when data is sorted
Mode = most repeated value
Standard deviation = 
In standard deviation, formula you may see that deviation is being calculated from the mean (central location). But here we take square of the value before adding all of them.
But if we just take
, it would be equal to zero.
<u>EXAMPLE</u>
Take 4, 9, 5 as data
mean = (4+9+5)/3 = 18/3 = 6
sum of deviations from mean = (4-6)+(9-6)+(5-6) = (-2)+(3)+(-1) = 0
Answer:
The code will be a java-script code
Explanation:
public abstract class Phone{
private String phoneNumber ;
public Phone (String thePhoneNumber) {
phoneNumber = thePhoneNumber ;
}
public String getPhoneNumber ( ) {
return phoneNumber ;
}
public String toString ( ) {
phoneNumber = "# (" + phoneNumber + ") " ;
return phoneNumber ;
}
public abstract boolean createConnection (Network status) ;
public abstract void closeConnection( ) ;
}
Answer:
The answer is "Option b"
Explanation:
In the given code three-class C1, C2, and C3 are declared, in which C2 and C3 extend the class C1. In the next line, C2 and C3 object are created, that is c2 and c3. and in the last line c2 class object holds two-class C2, C1, and one object c3 value, this code will give runtime error because it can't cast object from sibling class, and wrong choices can be defined as follows:
- In option a, It is not correct because it can't cast c3 object into c2 object.
- In option c, It is not correct because it performs multiple casting in nested forms.
- In option d, It is wrong because the statement is not correct.