Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// recursive function to find sum from 1 to n
int recur_Sum(int n)
{ // base condition
if (n <= 1)
return n;
// recursive call
return n + recur_Sum(n - 1);
}
// main function
int main()
{
// variables
int n;
cout<<"Enter a number:";
// read the number
cin>>n;
// print the sum
cout<<"Sum of first "<<n<<" integer from 1 to "<<n<<" is:"<<recur_Sum(n);
return 0;
}
Explanation:
Read a number from user and assign it to variable "n".Call function recur_Sum() with parameter "n".This function will recursively call itself and find the Sum of first n numbers from 1 to n.Then function will return the sum.
Output:
Enter a number:10
Sum of first 10 integer from 1 to 10 is:55
The object-oriented analysis method of developing systems produces code that is modular and reusable.
<h3>What is object oriented system analysis?</h3>
Object-oriented systems analysis and specification (OSA) is known to be a kind of a method that is often used in regards to systems analysis and this is known to be one that helps to create or builds on the strengths of former systems and, at also at the same time, look into their weaknesses.
Note that this is said to be the basic idea behind the OSA methodology that are known to be described. The framework of OSA system models is known to be object class.
Hence, The object-oriented analysis method of developing systems produces code that is modular and reusable.
Learn more about object-oriented tool from
brainly.com/question/11158544
#SPJ1
Answer:
Absolutely yes.
Explanation:
IoT is an acronym for Internet of Things. This is a system of network devices connected together in order to transmit data over the internet. And since communication of these devices is over the internet, there's a need for some protocols for control and moderation. Hence, the need for IoT governance frameworks.
Some of the aspects that should be governed by these frameworks are;
i. Data confidentiality:
Data such as Social Security Numbers, Bank Verification Numbers and Credit card details, that are being transmitted in an IoT system should be assured of protection from unwanted usage or access.
ii. Data integrity:
These data should also be assured of consistency and accuracy over a long period of time.
iii. Accountability:
When there is a breach or some sort of mishappening, there has to be a body that would be held accountable.
Answer: I would say it’s both good and bad. Firstly, it’s good because you’re able to communicate with people from all over the world, whether it’s a friend or family member. But on the other hand it’s bad too, because there are manny dangers of being online, such as having your personal information stolen, or being cyber-bullied. So while it is good for communication purposes, it does have it’s downsides.