There are several ways, the prototype of an actual program can be represented; one of them, is by making use of flowcharts
Flowcharts show the steps taken to execute a task, graphically.
<u>(a) Area of a circle</u>
The flow of the flowchart, goes as thus:
- <em>Start</em>
- <em>Let Radius = 5</em>
- <em>Let PI = 3.14</em>
- <em>Calculate Area = PI * Radius * Radius</em>
- <em>Print Area</em>
- <em>Stop</em>
<em />
<u>(b) Area of a rectangle</u>
The flow of the flowchart, goes as thus:
- <em>Start</em>
- <em>Input l</em>
- <em>Input w</em>
- <em>Calculate Area = l * w</em>
- <em>Print Area</em>
- <em>Stop</em>
<em />
<u>(c) Area of a circle</u>
The flow of the flowchart, goes as thus:
- Start
- Input Gender
- If Gender == 'M"
- Print "You're a Male"
- else
- Print "You're a Female"
- Stop
See attachment for the required flowcharts
Read more about flowcharts at:
brainly.com/question/17373574
Shareder Is the answer I put.
Answer:
See explaination
Explanation:
An Academic Database deals with the information pertaining to the records of students of an institute. The various fields which can be associated with a student are Name, Unique Identification Number, Marks in various subjects, Grades, Courses Taken and so on. Most of the fields mentioned above have some or other form of validation that is required for the DB to be consistent and follow the basic properties of a database.
One field where range validation can be used is MARKS. In the marks field, the range of marks will be say 0 to 100 and anything below 0 or above 100 must be reported to the database administrator. Another field where we can apply a range validation is AGE in which the range of age allowed could greater than say 10, if it is a college and maximum age could be say 60. Thus, the range check on the AGE field is 10 to 60.
One field where choice validation can be used is GENDER. In the gender field, there could be multiple choices like Male, Female and Others. Thus, out of the available choices we have to select only the available choice and only one choice must be selected where we can apply choice validation. Another field is COURSE, where we can have a list of courses a student can opt for and out of the available courses can select one.
Thus, there are multiple fields where we can apply various types of validation and it is important to explore the area for which the DB has been created understanding all the scenarios and attributes of the problems that are associated with that area.