Date post: | 30-Dec-2015 |
Category: |
Documents |
Upload: | barnaby-chambers |
View: | 221 times |
Download: | 6 times |
Ain Shams UniversityAin Shams UniversityFaculty Of Computers and InformationFaculty Of Computers and InformationDITE DiplomaDITE Diploma
Credit Hours SystemCredit Hours System
Presented By:-Wesam Nagi
Ayman Sayed
Mona Medhat
Mohammed Wael
Ahmed Fawzy
Credit Hours AgendaCredit Hours AgendaIntroduction Problem Statement
Objectives
Project Plan Methodology
Work Breakdown Structure
Requirements and specification Software Requirements
System Requirements
Non-Functional Requirements
Use Case Suite
Architecture and design Overview
Component
Entity Relationship Diagram
Tables Structure
Technologies and tools
Implementation and Testing Implementation
Testing
Conclusion Summary
Conclusion
IntroductionIntroduction
• Problem Statement
• Applying new system• Credit hours is a new system that college want to release
for the graduate students
• Applying from any where• Student needs to apply for new system (credit hours) online
by visiting the university website
Introduction (Continued)Introduction (Continued)• Objectives The objective of the credit hours system is to provide new features
to help the graduate students to have an easy way to have information of the credit hour studying system and apply online.
• Information Introduced• All information of the credit hours system is available to all
the graduate students.
• Administering system• Provide back end for customizing the credit hours system
• Applying Online• Apply online for available graduate studies according to
credit hours system in an easy way.
Project PlanProject Plan• Methodology
– The system pursues the Waterfall model as it performs well for products with clearly understood requirements and when working with wee understood technical tools, architectures and infrastructures.
– It Minimize the planning overhead and structure minimize wasted efforts
Project PlanProject Plan
Preparation Search and collecting information 10 Day
Understanding web concepts 7 Day
Learning required technologies 10 Days
Initiation Collecting requirements 5 Days
Requirements Specifications 2 Days
Requirements Validation 4 Days
Design Phase Logical Model 2 Days
Physical data Model 1 Days
Website data collection 3 Days
Object design 5 Days
User interface design 3 Days
Design review 2 Days
Construction System Implementation 5 Days
Documentation 7 Days
Documentation Review 2 Days
Testing Planning 2 Days
Test Code Implementation 4 Days
Implement Review 4 Days
•Work Breakdown Structure
Requirements and specificationsRequirements and specifications• Software RequirementsSoftware Requirements
– Graduate Student RequirementsGraduate Student Requirements• Graduate Student can browse the website and get any
information he need.• Graduate Student can fill his information and apply for
graduate studies.• Graduate Student can see the previous and current
researches for other graduate students. – Webmaster RequirementsWebmaster Requirements
• Website webmaster can administer the website from admin tool.
• Webmaster can add researches of the graduate student using admin tool.
• Webmaster can view the registered graduate student during the period of time he specify in order to contact them for completing their joining to graduate studies.
Requirements and specificationsRequirements and specifications• System RequirementsSystem Requirements
It’s consider as a starting point for the system design that It’s consider as a starting point for the system design that enable us to run the system and explain how the user enable us to run the system and explain how the user requirements provided by the system.requirements provided by the system.
There are two types of system requirements:There are two types of system requirements:– Software RequirementsSoftware Requirements
• Independent PlatformIndependent Platform• Dot Net Technology (ASP.NET 2.0)Dot Net Technology (ASP.NET 2.0)• Database Engine (SQL server 2005)Database Engine (SQL server 2005)
– Hardware requirementHardware requirement• Not Determined yetNot Determined yet
Requirements and specificationsRequirements and specifications• Non Functional requirements
The system should have some characteristics that are important as the functional requirements which are:
– Product requirements • Usability requirements
– Simple and attractive interface that will be easy to use by any user to encourage the graduate students to apply for studies
Requirements and specificationsRequirements and specifications
• Organizational requirements – Delivery requirement
• The software product and its document should be delivered at due date determined by the faculty
– Implementation requirements • The system will be built using Dot NET framework• C# and ASP 2.0 are used to implement the website
application
• External Requirements – Privacy Requirements: each user (Graduate
student, webmaster) has user name and password that enable him to do his activities
• Safety Requirements
Requirements and specificationsRequirements and specifications
• User Case Suite– (1) Login
Use Case IDUse Case ID 1
Use Case NameUse Case Name Login
ActorsActors Graduate Student, Administrator
PreconditionPrecondition User want to use one or more of Credit Hours functionality
Post ConditionsPost Conditions User Logged in and use the functionalities of the website
Flow of EventFlow of Event User enter username and password
Press on login button
ExceptionException The user type the username or password wrongly
Requirements and specificationsRequirements and specifications
• User Case Suite– (2) Register
Use Case IDUse Case ID 2
Use Case NameUse Case Name Register
ActorsActors Graduate Student
PreconditionPrecondition User want to apply for graduate studying according Credit Hours System.
Post ConditionsPost Conditions User’s information is saved in the website database
Flow of EventFlow of Event User inserts the required information in the registration form.
User submit the form.
ExceptionException Invalid Entry in the registration form
Some data entries must be unique
Requirements and specificationsRequirements and specifications
• User Case Suite– (3) Adding Researches
Use Case IDUse Case ID 3
Use Case NameUse Case Name Add_researsh
ActorsActors Administrator
PreconditionPrecondition Administrator can add finished and current researches for graduate student.
Post ConditionsPost Conditions Graduate student’ research information is saved in the website database
Flow of EventFlow of Event Administrator inserts the Graduate student’ research information using admin privilege.
Administrator save the information.
ExceptionException Invalid Entry in the Application form
Some data entries must be unique
Requirements and specificationsRequirements and specifications
• User Case Suite– (4) Update Researches
Use Case IDUse Case ID 4
Use Case NameUse Case Name Update Research Information
ActorsActors Administrator
PreconditionPrecondition Administrator can update entered researches for graduate student.
Post ConditionsPost Conditions Graduate student’ research information is saved in the website database after being updated.
Flow of EventFlow of Event Administrator update the Graduate student’ research information using admin privilege.
Administrator save the information.
ExceptionException Invalid Entry in the Application form
Some data entries must be unique
Requirements and specificationsRequirements and specifications
• User Case Suite– (5) List Researches
Use Case IDUse Case ID 5
Use Case NameUse Case Name List Researches
ActorsActors Administrator, Graduate Student
PreconditionPrecondition User select the degree and major.
Post ConditionsPost Conditions User lists finished and current researches for graduate student.
Flow of EventFlow of Event The system will display all the available researches on the website that match the selected criteria.
ExceptionException N/A
Requirements and specificationsRequirements and specifications
• User Case Suite– (6) Get Information
Use Case IDUse Case ID 6
Use Case NameUse Case Name Get Information
ActorsActors Administrator, Graduate Student
PreconditionPrecondition User view the provided information for credit hours system.
Post ConditionsPost Conditions User display available information describes credit hours system
Flow of EventFlow of Event The system will display all the available information on the website that match the selected link.
ExceptionException N/A
Administrator Website Use CasesAdministrator Website Use Cases
Requirements and specificationsRequirements and specifications
Graduate Student Website Use CasesGraduate Student Website Use Cases
Requirements and specificationsRequirements and specifications
Architecture And DesignArchitecture And Design
•OverviewOverview
–In this section we present credit hours systems architecture. The system architecture defines the main system components and how they will be used to satisfy the functional and non-functional requirements.
Components Samples• Function GetData is used to retrieve data from the database.
public void getdata() { SqlCountryComm.CommandType = CommandType.Text; SqlCountryComm.Connection = mas.ConnSql; SqlCountryComm.CommandText = "Select * from Country"; daCountry = new SqlDataAdapter (SqlCountryComm ); daCountry.Fill (dsCountry); DropDownList1.DataSource = dsCountry.Tables[0]; DropDownList1.DataValueField = "CountryID"; DropDownList1.DataTextField = "CountryName"; this.DataBind(); SqlCityComm.CommandType = CommandType.Text; SqlCityComm.Connection = mas.ConnSql; SqlCityComm.CommandText = "Select * from City where CountryID=" +
DropDownList1.SelectedValue.ToString() ; daCity = new SqlDataAdapter(SqlCityComm); daCity.Fill(dsCity); CityGrid.DataSource = dsCity.Tables[0]; this.DataBind(); }
The Save button is used in most of the forms to save data in Database SqlDataReader drCity; SqlCityComm.CommandType = CommandType.Text; SqlCityComm.Connection = mas.ConnSql; SqlCityComm.CommandText = "Select * from City where CountryID=" +
DropDownList1.SelectedValue.ToString() + " and CityId=" + txtCityId.Text + ""; if (mas.ConnSql.State != ConnectionState.Open) { mas.ConnSql.Open(); } drCity = SqlCityComm.ExecuteReader(); if (! drCity.Read()) { drCity.Close(); SqlCityComm.CommandType = CommandType.Text; SqlCityComm.Connection = mas.ConnSql; SqlCityComm.CommandText = "insert into city (CountryID , CityID,CityName,CityNameAra )
values (" + DropDownList1.SelectedValue + ", " + txtCityId.Text + " ,'" + txtCityEng.Text + "','" + txtCityAra.Text + "')";
SqlCityComm.ExecuteNonQuery(); }
Components Samples
else { drCity.Close(); SqlCityComm.CommandType = CommandType.Text; SqlCityComm.Connection = mas.ConnSql; SqlCityComm.CommandText = "Update City Set CityName='" + txtCityEng.Text +
"',CityNameAra='" + txtCityAra.Text + "' Where CountryID=" + DropDownList1.SelectedValue.ToString() + " and CityId=" + txtCityId.Text + "";
SqlCityComm.ExecuteNonQuery(); } mas.ConnSql.Close(); SqlCityComm.CommandType = CommandType.Text; SqlCityComm.Connection = mas.ConnSql; SqlCityComm.CommandText = "Select * from City where CountryID=" +
DropDownList1.SelectedValue.ToString(); daCity = new SqlDataAdapter(SqlCityComm); if (mas.ConnSql.State != ConnectionState.Open) { mas.ConnSql.Open(); } daCity.Fill(dsCity); mas.ConnSql.Close(); CityGrid.DataSource = dsCity.Tables[0]; txtCityAra.Text = ""; txtCityEng.Text = ""; txtCityId.Text = ""; this.DataBind();
Components Samples
ERD DiagramERD Diagram
ERD Tables
• Country Tableo This tables consists of 3 fields:-
o Country_id and its data type is integer and its type is primary key because its not Repeated and unique
o Every table should have a primary key and this filed (country _id) saves the country Code
o The second field is (country _name_eng) take data type varchar and its length (40) to saves the name of country in english to use it in the search procedure.
o The third field is (country_name_ara), save the name of county in arabic.
Country
PK Country_ID
Country_Name_ENG Country_Name_ARA
ERD Tables
City Table• This table consist of 3 fields:-
o City_ID and its data type is integer and its type is primary key because its not Repeated and unique
o Every table should have a primary key and this filed (City_ID) saves the city Code.
o The second field is (City_Name_ENG) take data type varchar and its length (40) to saves the name of country in English to use it in the search procedure.
o The third field is (City_Name_ARA)o Save the name of city of Arabic
City
PK City_ID
City_Name_ENG City_Name_ARA CountryID
ERD Tables
• University Table– This table is uses to save
the university – University_ID is a primary
Key– University_Name_ENG
save the name of university in English
– University_Name_ARA save the name of university in arabic
University
PK University_ID
University_Name_ENG University_Name_ARA
ERD Tables
• Faculty Table– This table is uses to save
the faculty data – Faculty_ID is a primary Key– Faculty_Name_ENG save
the name of Faculty in English
– Faculty _Name_ARA save the name of Faculty in arabic
Faculty
PK Faculty_ID
Faculty_Name_ENG Faculty_Name_ARAFK1 University_ID
ERD Tables
• Student Table
– Student table consists of one primary key (user_id) and several foreign keys which considered as a primary key in other tables.
– Student table consists of several of foreign key like (City_id, country_id, faculty_id, grade_id, degree_id, university_id).
– Cloulms to hold another data (Full_name, Street_Address, Nationality, Birthdate, … etc)
Student
PK User_ID
Full_Name Street_AddressFK2 Country_idFK3 City_id Nationality Birthdate Gender UserName PasswordFK4 User_Type_IDFK1 Degree_ID Phone Mobile EmailFK5 Faculty_IDFK6 Grade_ID StdRegDegree
ERD Tables
• Credit User TableCredit User Table
– This table is design to limit access, only authorized users are allowed to handle data.
– This table saves the user data like (user_id, UserName, password, usertype.
– The user_id is consider the primary key to this table.
Credit User
PK UserID
UserName UserPass UserType UserDate
ERD Tables
• Degree Table
– (Degree_ID) and its data type is integer and its type is primary key because its not Repeated and unique
– The second field is (Degree Name) take data type varchar and its length (40) to saves the name of country in English to use it in the search procedure.
– The third field is Degree_Name_ARA– The fourth field is degree_descrbition.
Degree
PK Degree_ID
Degree_Name_ENG Degree_Name_ARA Degree_Description_ENG Degree_Description_ARAFK2 Major_ID
ERD Tables
• Major Table• This tables consists of 3 fields the
first fields name is • (Major_ID) and its data type is integer
and its type is primary key
Major
PK Major_ID
Major_Name_ENG Major_Name_ARA
ERD Tables
• Grade Table– This table is uses to saves the Grade
data – Grade_id is a primary key and save
the name of Grade in English and the name of Grade in Arabic
Grade
PK Grade_ID
Grade_Name_ENG Grade_Name_ARA Grade_Description_ENG Grade_Description_ARA
Architecture And DesignArchitecture And Design
Technologies and toolsTechnologies and tools
Implementation and TestingImplementation and Testing
• ImplementationImplementation– This project is based on client server model, This project is based on client server model,
which has server that present some of services which has server that present some of services and many client that request these services.and many client that request these services.
– Our website contain one interface for user Our website contain one interface for user (graduate student) and another interface for (graduate student) and another interface for website administrator.website administrator.
Implementation and TestingImplementation and Testing
1-Home Page1-Home Page
Implementation and TestingImplementation and Testing
1.1. Home PageHome Page• This is Credit Hours system Home page, Here This is Credit Hours system Home page, Here
you could:you could:• Sign in.Sign in.• Apply for available graduate studiesApply for available graduate studies• Get any Information about the credit hours system.Get any Information about the credit hours system.• Search for finished and running researches.Search for finished and running researches.
Implementation and TestingImplementation and Testing
2-Register2-Register
Implementation and TestingImplementation and Testing
2-Register2-Register• This form is displayed to the user to register This form is displayed to the user to register
and apply for Graduate studyand apply for Graduate study• User fill in his information.User fill in his information.• Submit.Submit.
Implementation and TestingImplementation and Testing
3-Login3-Login– This form is displayed in the homepage to let This form is displayed in the homepage to let
the registered user login to change whatever the registered user login to change whatever he want.he want.
• Insert username and passwordInsert username and password• Sign In.Sign In.
Implementation and TestingImplementation and Testing
Credit Hours Administrator Control PanelCredit Hours Administrator Control Panel• The administrator can do the following:The administrator can do the following:
• Manage student information.Manage student information.• Manage countries list.Manage countries list.• Manage cities list.Manage cities list.• Manage degrees list.Manage degrees list.• Manage majors of the degrees.Manage majors of the degrees.• Add finished and running researches.Add finished and running researches.• Edit finished and running researches.Edit finished and running researches.
• The Following are snapshots from the Admin Tool Screens.
– The goal of this screens is to give the admin full control over the main data of the Application.
Implementation and TestingImplementation and Testing
Countries ScreenCountries Screen
Countries ScreenCountries Screen
• The Goal Of the Screen:-1. Give the admin the ability to add
student countries of resident.2. Give the admin the ability to modify
countries data.3. Give the admin the ability to delete
countries data.
Cities ScreenCities Screen
Cities ScreenCities Screen
• The Goal Of the Screen1. Give the admin the ability to add
student cities.2. Give the admin the ability to modify
cities data.3. Give the admin the ability to delete
cities data.
Universities ScreenUniversities Screen
Universities ScreenUniversities Screen
• The Goal Of the Screen1. Give the admin the ability to add
student Universities.2. Give the admin the ability to modify
Universities data.3. Give the admin the ability to delete
Universities data.
Majors ScreenMajors Screen
Majors ScreenMajors Screen
• The Goal Of the Screen1.Give the admin the ability to add
majors.2.Give the admin the ability to modify
majors.3.Give the admin the ability to delete
majors.
Degrees ScreenDegrees Screen
Degrees ScreenDegrees Screen
• The Goal Of the Screen1.Give the admin the ability to add
degrees and Link them with majors.2.Give the admin the ability to modify
degrees.3.Give the admin the ability to delete
degrees.
Student ReportStudent Report
Student ReportStudent Report
• The Goal Of the Screen Give the admin the ability to view
student data in four main categories Personal information, Address Information, Education information and Contact Information to Check the student eligibility and Contact him.
Research TopicsResearch Topics
Research TopicsResearch Topics
• The Goal Of the ScreenGive the Admin the ability to add
research topics so the web site visitors can view these topics.
Manage TopicsManage Topics
Manage TopicsManage Topics
• The Goal of this Screen Give the ability to the admin to
modify and delete any research topic data.
Implementation and TestingImplementation and Testing
• TestingTesting– In Credit hours system website, we interested to In Credit hours system website, we interested to
overcome any invalid input from the user, as we rarely overcome any invalid input from the user, as we rarely ask the user to insert and data by hand but to select ask the user to insert and data by hand but to select from list of choices.from list of choices.
Implementation and TestingImplementation and Testing
• TestingTesting
NONO ComponentComponent FeaturesFeatures PriorityPriority PassedPassed
1 Authentication (Sign In)
Check that the username and password are valid
High √
2 Authentication (Register)
•Check the retype password match or not•Check the entered username is unique•Check that all required field are filled
High √
3 Updating Database Check if the entered information is saved Medium √