PROBLEM NAME: THE STUDENT AVERAGE PROGRAM PROBLEM STATEMENT AND
REQUIREMENTS
Plan and design the algorithm logic of the “Student Average” program using IPO analysis and the Raptor tool. The following are the functional requirements: • The program shall allow the user to enter the student’s ID, student’s name, and student’s mid-term and final exams grades. • The program shall compute the student’s total • The program shall compute the student’s average grade. • The program shall display a report card showing the student ID, name, total, and average.
ASSUMPTIONS AND CONSTRAINTS
1. The maximum rating for each exam is 100 points.
2. The average is calculated by adding the two grades and then dividing them by 2.
3. The average must be displayed in percentage format
4. The assignments for which the average is calculated can vary in number and type; however, in
this version of the program, the program logic is limited to handling two assignments only and of
the same type (exams); a mid-term and final exams.
5. The report card shall not contain the student name.
6. The program may handle more than one student; however, in this version of the program the
program logic is limited to handling one student at a time.
7. The structure used to compose the computation is a sequence structure. Other structures will be
covered in subsequent assignments.
REQUIREMENTS
1. Algorithm analysis leading to an IPO Chart
2. Algorithm planning leading to a Pseudocode
3. Algorithm design and evaluation leading to Flowchart
DELIVERABLES AND FORMAT
1. Use the Solution template in word to document your algorithm analysis in a form of IPO chart.
2. Use the solution template in word to document your algorithm using Pseudocode.
3. The solution template must be named using the specified file name format for this class.
4. Use the Raptor tool to design and evaluate your algorithm using flowchart.
5. The Raptor file must be named using the specified file name format for this class.
NVCC CSC 110ͽ INTRO TO COMPUTING ͽ FALL 2012
ASSIGNMENT TEMPLATE
INTO TO PROGRAMMING II: ALGORITHM LOGIC AND SYSTEMATIC ANALYSIS
Due Date:
Name(s):
Section #:
EX 4.1: IPO Analysis
1.
IPO Chart: Brainstorming and Analysis Tool
Input (Data) |
Process (Algorithm) |
Output (Information/results) |
2.
PSEUDOCODE: Planning and Structuring Tool
Keywords:
(be consistent when you use keywords)
Declare, Display, Get, and Set
BEGIN
//Declare and initialize variables
Declare [variable type] [variable identifier] = [default value]
…
…
…
//Get the input or data
Display
“prompt”
Get
[variable identifier]
…
…
…
//Manipulate the data or perform certain calculations
Set [variable identifier] = [expression]
//Display the results
Display
“Pre-text”
+ [variable identifier]
…
…
…
END
3.
Flowchart: Design and Testing and Debugging Tool
[Insert the Raptor flowchart here]
OP
I
I
PI
1 | Page
NVCC CSC 110 ͽ INTRO TO COMPUTING ͽ FALL 2012
COURSE ASSIGNMENT
INTRO TO PROGRAMMINGII: ALGORITHM LOGI AND SYSTEMATIC ANALYSIS
Due Date: 10/03/2012
ASSIGNMENT (GROUP):
PROBLEM NAME: THE STUDENT AVERAGE PROGRAM
PROBLEM STATEMENT AND
REQUIREMENTS
Plan and design the algorithm logic of the “Student Average” program using IPO analysis and the Raptor
tool. The following are the functional requirements:
• The program shall allow the user to enter the student’s ID, student’s name, and student’s mid-term
and final exams grades.
• The program shall compute the student’s total
• The program shall compute the student’s average grade.
• The program shall display a report card showing the student ID, name, total, and average in
percentage.
ASSUMPTIONS AND CONSTRAINTS
1. The maximum rating for each exam is 100 points.
2. The average is calculated by adding the two grades and then dividing them by 2.
3. The average must be displayed in percentage format
4. The assignments for which the average is calculated can vary in number and type; however, in
this version of the program, the program logic is limited to handling two assignments only and of
the same type (exams); a mid-term and final exams.
5. The report card shall not contain the student name.
6. The program may handle more than one student; however, in this version of the program the
program logic is limited to handling one student at a time.
7. The structure used to compose the computation is a sequence structure. Other structures will be
covered in subsequent assignments.
REQUIREMENTS
1. Algorithm analysis leading to an IPO Chart
2. Algorithm planning leading to a Pseudocode
3. Algorithm design and evaluation leading to Flowchart
DELIVERABLES AND FORMAT
1. Use the Solution template in word to document your algorithm analysis in a form of IPO chart.
2. Use the solution template in word to document your algorithm using Pseudocode.
3. The solution template must be named using the specified file name format for this class.
4. Use the Raptor tool to design and evaluate your algorithm using flowchart.
5. The Raptor file must be named using the specified file name format for this class.
6. Submit your assignment via Blackboard using the appropriate submission link before class on the
due date.