Explanation:
An application interface or user interface ,is the set of features an application provides so that user may supply input to and recieve output from,the program.
#include <iostream>
using namespace std;
class CarCounter {
public:
CarCounter();
CarCounter(const CarCounter& origCarCounter);
void SetCarCount(const int count) {
carCount = count;
}
int GetCarCount() const {
return carCount;
}
private:
int carCount;
};
CarCounter::CarCounter() {
carCount = 0;
return;
}
CarCounter::CarCounter(const CarCounter &p){
carCount = p.carCount;
}
void CountPrinter(CarCounter carCntr) {
cout << "Cars counted: " << carCntr.GetCarCount();
return;
}
int main() {
CarCounter parkingLot;
parkingLot.SetCarCount(5);
CountPrinter(parkingLot);
return 0;
}
Sample output:
Cars Counted: 5
Answer:
B. Use cross-platform tools to write code that will translate the existing Android app code into different native formats.
Explanation:
Cross-platform application development tools are tools that can be used tool generate applications of different platforms, by just writing a single type of code. It has the ability to automatically create an application of a different platform from another.
A developer can develop an application like Android and convert it to IOS for Apple. Xamarin, Appcelerator coroner etc, are all examples of cross-platform tools.
Answer:
C. 14.4 kwhr.
Explanation:
To calculate the energy used by appliance first calculate the power. The formulae for calculating power(<em>P</em>) is
, where V stands for voltage and I stands for current.
In the given problem, V = 240 volts and I = 15 amp. Therefore,

Now, formulae for calculating energy used i.e. work(W) is
, where <em>t</em> is the time.
In the given question time is 4 hr. Therefore energy used will be,
Energy used (W) =
.