Answer:
public static double average(int num1, int num2){
return (num1+num2)/2;
}
public static double average(int num1, int num2, int num3, int num4){
return (num1+num2+num3+num4)/2;
}
Explanation:
- In the first instance, the method average() accepts two parameters and returns their average
- In the second instance the method accepts four parameters and returns their average
- The concept of method overloading allows a program to have more than method with the the same name but with different parameters list like we find in this example
Answer:
a) Custom AppExchange-app for product-pricing
Explanation:
We can find a solution in AppExchange for this product-pricing, surfing in the option, we could get solutions like BoonPlus, and easy pricing Opportunity, this App has a free trial.
With this option is easy to choose a book price, add new products, select pricing rule, we can get an order's product, and calculate pricing, just we must download the app and install it.
Answer:
True
Explanation:
An opcode is the part of instruction which specifies the operation to be performed by the instruction.
In general, the opcode also provides information about the number and type of operands.
For example, let us consider the MIPS instructions for addition.
- ADD reg_dest, reg_src1, reg_src2
This instruction adds the contents of registers reg_src1 and reg_src2 and stores the result in reg_dest.
- Whereas, ADDI reg_src, reg_dest, value
This instruction adds the value to the content of reg_src and stores the result in reg_dest.
As we can see the opcode type indicates the operand type, number and semantics.