Answer:
The object oriented software engineering approach is basically focus on the attention for capture the given structure and conduct the data frameworks in the form of small module which consolidates the information and the procedure.
The principle and aim of the Object Oriented Design (OOD) is that improving the quality of the system analysis and increase its productivity and more usable efficiently.
There are different phases in the object oriented software engineering approach are as follows:
- Firstly, we start analyze and define the particular system
- Then, construct the analysis model based on the above approach of the specific system.
- We verify the correctness of the system by using the testing.
An example of Context diagram that shows the Relevant system name and External Entities Input and output data flows is given in the image attached.
<h3>What is context diagram?</h3>
Context diagrams is known to be a depiction that is based on how external entities work together with a given system.
Note that it is said to be one of the most basic form of a data flow as it depicts a novel set of activities and also functions.
Therefore, An example of Context diagram that shows the Relevant system name and External Entities Input and output data flows is given in the image attached.
Learn more about Context diagram from
brainly.com/question/12972996
#SPJ6
Answer:
a)
for(x=0;x<20;x=x+2)
cout<< x << ' ';
cout<< endl ;
<u>Output</u>
0 2 4 6 8 10 12 14 16 18
In this code we are initialing x with 0, check if it is less than 20, then printing the value 0.
Then we increment x value with 2 and check and print again until the x value tends to be equal or more than 20.
<u>C++ program for verifying</u>
#include <iostream>
using namespace std;
int main()
{
int x;
for( x=0;x<20;x=x+2)
cout<< x << ' ';
cout<< endl ;
return 0;
}
<u>Output</u>
0 2 4 6 8 10 12 14 16 18
(You can check on any ide for confirmation)
b)
i=10;
for (;i>0; i =i/2;)
cout<< i;
This code will produce error expected ‘)’ before ‘;’ token
for(;i>0; i =i/2;)
because for loop consist three parameters and in this loop there are 4 parameters.
If we remove semicolon after i/2,
for(;i>0; i =i/2)
then it will produce an output.
10 5 2 1
<u>C++ program for verifying</u>
#include <iostream>
using namespace std;
int main() {
int i=10;
for(;i>0; i =i/2;)
cout<< i;
return 0;
}
<u>Output</u>
Error-expected ‘)’ before ‘;’ token
for(;i>0; i =i/2;)
Answer
He should adjust his seat and mirrors.
Explanation
The reason as to why i recommend the adjustment of the seat and the mirror that is the side mirrors is because he may be complaining of pain because he is not comfortable. And since driving with tour seat adjusted proper will make him more comfortable and also more safe. This will help him drive relaxed and his back rest in a proper position and will also help access his side mirrors with ease.