The answer & explanation for this question is given in the attachment below.
Answer:
The method in C++ is as follows:
double calcPyramidVolume(double baseLength, double baseWidth, double pyramidHeight){
double baseArea = calcBaseArea(baseLength, baseWidth);
double volume = baseArea * pyramidHeight;
return volume;
}
Explanation:
This defines the calcPyramidVolume method
double calcPyramidVolume(double baseLength, double baseWidth, double pyramidHeight){
This calls the calcBaseArea method to calculate the base area of the pyramid
double baseArea = calcBaseArea(baseLength, baseWidth);
This calculates the volume
double volume = baseArea * pyramidHeight;
This returns the volume
return volume;
}
<em>See attachment for complete program that include all methods that is required for the program to function.</em>
Answer:
Explanation:
Freeware and shareware programs are softwares which are either free of charge or consist of a free version for a certain trial period. These programs pose a threat of habouring malware or viruses which could damage one's computer and important files and programs. Therefore, it is imperative that carefulness is maintained when trying to get these softwares.
Some of the necessary safety conditions that should be taken include;
1) Appropriate research about the software including taking more about the vendors and reviews.
2.) Once, a healthy review has been identified ; the download can begin with the Downloader ensuring that the download is from the recommended site.
3) Prior to installation the software should be scanned with an active anti-virus program to determine if there is possibility that a virus has creeped in.
4.) Some softwares may require that computer anti-virus be turned off during installation, this is not always a good idea as this act leaves the system vulnerable a d badly exposed.
Answer:
Advantages of hardware:
Physical existence
Multitasking
Speedy
Disadvantages:
Costly as different equipment cost differently
Time consuming
requires space
Privacy issues
Explanation:
Advantages of Software:
Less costly
Improved privacy controls
Requires no space
Disadvantages:
Does not have physical existence
hacking and cyber attacks may steal important information
Regular updates required
A bluetooth device in park/hold mode is part of the piconet but is in a low-power state. These are power saving modes of operation for Bluetooth devices which are connected to a piconet and are used when no data is to be transmitted.The hold mode is used when connecting several piconets or managing a low-power device such as temperature sensor. When the park mode is used t<span>he device is still synchronized to the piconet but does not participate in traffic.</span>