Answer:
software development is the conceiveing, specifying , designing, programing , texting, document and fix involved in creating and application frame work or other software components.
Answer:
The following are the code in the C++ Programming Language.
//define header file
#include <iostream>
// using namespace
using namespace std;
//define a class
class Accumulator
{
//set private access modifier
private:
//declare integer type variable
int sum;
//set public access modifier
public:
//define constructor
Accumulator (int sum)
{
//refer the same class as instance variable
this->sum = sum;
}
//define integer type function
int getSum()
{
//return the value of sum
return sum;
}
//define void type function
void add (int value)
{
//variable sum is increased by the argument value
sum += value;
}
};
Explanation:
<u>The following are the description of the code</u>.
- Firstly, set the required header file and namespace then, define a class 'Accumulator' and inside the class.
- Set private access modifier then, declare an integer data type variable 'sum'.
- Declare a class constructor whose name is the same as the class name 'Accumulator()' and pass integer data type argument 'sum' in its parameter that refers to the same class as instance variable.
- Define a integer data type function 'getSum()' that return the value of the variable sum.
- Finally, define a void type function 'add()' and pass the integer data type argument 'value' in its parameter in which the variable sum is increased by the argument value
.
Answer:
The Layer 4 (Transport layer)
Explanation:
The transport layer is the fourth layer of the OSI (Open Systems Interconnection) model that is responsible for transmitting data between networking devices. Some of its other functions are;
i. It maintains flow control so that the destination station does not receive more packets than it can handle or process at a particular time.
ii. it also maintains error control so that the entire message (data) sent arrives at the layer without any error due to incompleteness, loss, damage or duplication.
Answer:
950 Bc and 710 bc
Explanation:
They could of course have remained bare foot or perhaps have worn some sort of sock or boot over the false toe, but our research suggests that wearing these false toes made walking in a sandal more comfortable," she continued. The wood and leather toe was made for a woman that likely lived between 950 BC and 710 BC.Oct 2,
Answer:
Differences between arrays and linked list are as following:-
- Arrays store elements in contiguous memory location while the linked list does not store elements at contiguous memory location it connects nodes at different memory location.
- Array has index to directly access the elements there are no indexes in linked list to directly access the elements.
- Linked list contains Nodes which contains the data and the address of the next Node while the array contains only the data in the block.
- Traversal over the arrays is easy while the traversal over the linked list is difficult as compared to arrays.