Answer:
The method is as follows:
double square(int num){
return num*num;
}
Explanation:
Written in C++
This first line defines the method
double square(int num){
This line returns the square of num
return num*num;
}
<em>I've added the full program as an attachment where I include the main method</em>
Answer:
Excel MIN Function
Explanation:
Excel MIN Function is used to get the smallest value which means, it returns the smallest value in the array(a set of data).
syntax is =MIN (number1, [number2], ...)
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.
Answer:
<u>First generation are</u>
a)they are unreliable
b)they are very costly and
c)huge in size
<u>Second generation are</u>
a)they use a transistor
b)smaller in size compared to first generation
c)they are faster than the first generation
<u>Third generation are </u>
a)its more reliable than the first generation and the second generation
b)faster than first generation and the second generation
c)consume less electricity
<u>Fourth generation are</u>
a) they are very cheap
b)they are very small in size
c)they are portable and reliable
Explanation:
explanation is in the answer
Answer:
b.Information systems architecture
Explanation:
Information System Architecture defines a system in terms of its resources and how they interact with each other. Some aspects of the Information System Architecture include the data that is managed by the system and the architecture of the application software. Another aspect is configuration, which involves the hardware architecture of the system. The organization of the system takes a look at the maintenance of the system while the communication aspect architecture looks at the networks that link the different resources e.g topology diagrams.