Bot. A program that performs a repetitive task on a network. Cybercriminals install malicous bots on unprotected computers to create a botnet. Zombie army. (also calledBotnet) groups of bots
Each kind of computer users have different knowledge, needs and requirements. For example there is a difference between the computer knowledge of developers and users without <span>technical experience. Because of this, but also why they need and use computers, and what tools they need, design consideration need to change for each kind of computer users.</span>
<span>
</span>
Answer:
Following are the program to this question:
#include <iostream>//defining header file
using namespace std;
int recurs(int x, int n)//defining a method recurs that accepts two parameter
{
if(n==0)//defining if block that checks n value
{
return 1;//return value 1
}
else//defining else block
{
return x*recurs(x,n-1);//use return keyword that retun value
}
}
int main()//defining main method
{
cout<<recurs(5,3); //use print method to call recurs method
return 0;
}
Output:
125
Explanation:
In the above-given program, the integer method "recurs" is declared which accepts, two integer variables, which are "x, n", inside the method the if conditional statement is used.
- In the if block, it checks the value of n is equal to "0" if this condition is true, it will return a value, that is 1.
- Otherwise, it will go to the else block, in this block, it will use the recursive method to print its value.
Answer:
A programming design communicates decisions about the programming approach and saves time, money, and effort.
Explanation:
It is important to decide upon a programming design before developing a software solution. Starting out with a design benefits a project because:
1. it communicates decisions about the programming approach to all project team members.
2. it helps to ensure that different parts of the code developed by different programmers will integrate properly.
3. it helps to ensure that code will be easy to read and maintain.
4. it saves time, money, and effort.