You are on page 1of 51

MUSIC COURSE MANAGEMENT SYSTEM

A PROJECT REPORT SUBMITTED TO


SRM INSTITUTE OF SCIENCE & TECHNOLOGY

IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR THE AWARD OF


THE DEGREE OF

BACHELOR OF COMPUTER SCIENCE

BY

A. DEEPAK KUMAR
Reg.No. RA1731005040036

UNDER THE GUIDANCE OF


Dr. M. SIVASAKTHI, M.Sc., M.Phil., PhD.

DEPARTMENT OF COMPUTER SCIENCE AND APPLICATION


FACULTY OF SCIENCE AND HUMANITIES
SRM INSTITUTE OF SCIENCE & TECHNOLOGY
Vadapalani-600026
Chennai, Tamil Nadu

JUNE - 2020
BONAFIDE CERTIFICATE

This is to certify that the project report titled “MUSIC COURSE MANAGEMENT SYSTEM” is a
bonafide work carried out by A. DEEPAK KUMAR (Reg.No: RA1731005040036) under my
supervision for the award of the Degree of bachelor to my knowledge the work reported herein is the
original work done by these students.

SIGNATURE OF THE GUIDE SIGNATURE OF THE HOD


Dr. M. Sivasakthi, Dr. J. Padmavathi,
Assistant Professor, Associate Professor & Head,
Department of Computer Science Department of Computer Science
and Applications, FSH, and Applications, FSH,
SRM Institute of Science And SRM Institute of Science And
Technology, Vadapalani 600026. Technology, Vadapalani 600026.

Submitted for Project Work Viva-voce Examination held on _____________________________

INTERNAL EXAMINER EXTERNAL EXAMINER

i
ACKNOWLEDGEMENT

First and foremost, I would like to thank heartfelt and with deep sense of gratitude the
Management of SRM Institute of Science & Technologyfor their constant support and endorsement.

I wish to express our sincere gratitude to our Dean-In charge, Dr. Ananthapadmanaban,
Faculty of Science & Humanities for his constant support and encouragement.

I express my gratitude to Dr. J. Padmavathi, Associate Professor and Head of Department of


Computer Science and Applications, SRM Institute of Science & Technology for permitting to do
my work in department and provide necessary computational and laboratory facilities to all of us.

I extend our sincere gratitude to our Coordinator Dr.K.S. Mohanasundaram, Assistant


Professor, Department of Computer Science and Applications, Faculty of Science & Humanities,
SRMIST, for his/her stimulant guidance.

I am highly indebted to my guide Dr.M. Sivasakthi, Assistant Professor, Department


of Computer Science and Applications, who generously accepted me under his/her valuable
guidance and for the endless help and inspiration provided to me in the tenure of the project.

Special thanks are recorded to our Class-Coordinator Dr.L.V. Raja, Assistant Professor,
Department of Computer Science and Applications, for his constant support and guidance to all of
us throughout the project.

Finally, my gratefulness goes to my parents who were my strength and driving force in
completion of my project report.

A. DEEPAK KUMAR
(Reg.No: RA1731005040036)

ii
ABSTRACT

The main objective of this project is to develop a Full-Fledged First-Person Shooter Game with a

certain number of playable Levels. First-person shooter is a video game genre centered on gun and

other weapon-based combat in a first-person perspective; that is, the player experiences the action

through the eyes of the player. The genre shares common traits with other shooter games, which in

turn makes it fall under the heading action game. As for the game characters and the game environment,

they are going to be meshed and rendered in both Adobe illustrator and Autodesk Maya, Where Adobe

illustrator is a software for Vector Arts and Autodesk Maya is used for game environment and Level

designing.

The game as the title suggests is developed with Unity which is a Real-Time Development

Platform, the engine can be used to create 3-D, 2-D, virtual reality, and augmented reality games, as

well as simulations and other experiences. The engine itself currently supports building games for

more than 25 different platforms, including mobile, desktop, consoles, and virtual reality. These are

the Front-End Dev Tools.

As for the Back-End, logical and technical aspects C# is being used, while C# is the primary-

scripting API for unity and widely used for game development. It is used to manipulate the game and

game objects in the game environment, the story-line and the non-playable characters are programmed

under AI programming with C#, the User-interface of the game is also developed in Unity with C#.

iii
LIST OF DIAGRAMS

FIGURE NO NAME OF THE FIGURE PAGE NO.

13
Use case Diagram
4.1

16
4.2 Activity Diagram

20
4.3 Sequence Diagram

24
4.4 Data flow diagram

iv
TABLE OF CONTENTS

CHAPTER TITLE PAGE NO


NO
BONAFIDE CERTIFICATE i

ACKNOWLEDGEMENT ii

ABSTRACT iii

LIST OF DIAGRAMS iv

v
TABLE OF CONTENTS
1 INTRODUCTION 1
Objective
Scope of project

2 SYSTEM ANALYSIS 4
2.1 Proposed System
2.3 System Requirements

3 SOFTWARE DESCRIPTION 8
3.1 Unity
3.2 Blender
3.3 Visual Studio

v
4 SYSTEM DESIGN 12
4.1 Use-Case Diagram
4.2 Activity Diagram
4.3Sequence Diagram
4.4 Data Flow Diagram

5 MODULES 26
5.1General
5.2Player
5.3Enemy
5.4Pickups
5.5Paths
5.6Levels
6 SAMPLE CODING 28
7 SOFTWARE TESTING 37
7.1 Testing Approach
7.2 Types of Testing
7.3Main Menu
7.4 The Game
8 OUTPUT SCREENS 52

9 CONCLUSION 55

10 REFERENCE 57

vi
CHAPTER 1
INTRODUCTION

1
CHAPTER 1
INTRODUCTION

INTRODUCTION
Over the course of the project, three major releases of the Variations2 software system have

been completed. Version 1, completed in 2002, focused on basic infrastructure components (data and

metadata repositories, authentication, logging), a search user interface based on the new data model

developed for Variations2, presentation and navigation of music audio and scanned musical scores, and a

cataloging/administrative interface for creation and editing of descriptive, technical, and structural

metadata. Version 2, completed in 2003, added support for printing of musical scores, the ‘Opus Window’

for synchronized playback of audio and display of scanned scores, and the ‘Timeliner’ tool for creating

and saving visualizations of musical form using audio recordings from the digital library. Version 3,

completed in 2004, added support for audio playlists, score image annotation, encoded scores, and access

control. Version 4 was completed in 2005, with a focus on turning Variations2 from a research system

into a true ‘production-ready’ system, adding integration of Variations2’s access control and authorization

capabilities with IU’s Student Information System for as well as features for generating self-quizzes from

playlists. Version 4 is currently deployed at IU and is used daily by hundreds of music students and faculty

to access and interact with recordings and scores for their courses.

OBJECTIVE

The model specifies descriptive, structural, and administrative metadata elements associated with
these entities, and defines the functional relationships among the entities. The metadata model has been
presented to a number of professional associations and organizations: International Association of Music
Libraries, ACM/IEEE Joint Conference on Digital Libraries, and International Conference on Music
Information Retrieval.

2
SCOPE OF PROJECT

• With the proposed system, with the minimum cost the course can be done, which can prove to be
very cost effective.
• The present system developed will give the full information about the institution courses and its
exams and it is an interactive and user-friendly interface, it is flexible enough to cope up with the
changing trends of the institution.
• The system provides the easy way of the selecting the properties from list of specifications of a
particular type of exam. Thus with proposed system the user can write exam online saving time
and trouble to travel all around is not faced.

3
CHAPTER 2
SYSTEM ANALYSIS

4
CHAPTER 2
SYSTEM ANALYSIS

EXISTING SYSTEM:

In the existing system all the work is done manually. This is chance of committing errors and it will
take more time to perform any transaction. There is so many limitations in the existing system. So
the existing system should be atomized. If the system is carried over manually, for every transaction
it take more time. So it is difficult to take immediate decisions. It is difficult to find out where the
problem is occurring
Disadvantages of the Existing System

➢ Existing system was not user friendly


➢ System was not well organized and precise
➢ It was time consuming
➢ Information was redundant and inconsistent
➢ It didn’t integrated all the modules Decision making was difficult

5
PROPOSED SYSTEM:

• To overcome the limitations of the existing system that will provide the user the
facility of choosing the music he wants to write and saves a lot of time and money
for both examiner and the examinee.

• It will maintain the information of the users who are registered and who taking music
course and what results they got.

• The music industry is racing towards streamed distribution, but many of us have
built up sizeable music collections.

At the end of the exam it will display the exam summary consisting of number of questions answered,
number of correct answers

6
2.2SYSTEM REQUIREMENTS

HARDWARE SPECIFICATION:

➢ System : Pentium IV 2.4 GHz.

➢ Hard Disk : 40 GB.

➢ Floppy Drive : 1.44 Mb.

➢ Monitor : 15 VGA Colour.

➢ Mouse : Logitech.

➢ Ram : 2 GB.

SOFTWARE SPECIFICATION:

➢ Operating system : Windows XP/7.

➢ Coding Language : ASP.net, C#.net

➢ Tool : Visual Studio 2012

➢ Database : SQL SERVER 2008 R2

7
CHAPTER 3
SOFTWARE DESCRIPTION

8
CHAPTER 3
SOFTWARE DESCRIPTION

3.1 UNITY

Unity is a cross-platform game engine developed by Unity Technologies, first announced and released in
June 2005 at Apple Inc.'s Worldwide Developers Conference as a Mac OS X-exclusive game engine. As
of 2018, the engine had been extended to support more than 25 platforms. The engine can be used to
create three-dimensional, two-dimensional, virtual reality, and augmented reality games, as well
as simulations and other experiences. The engine has been adoptedby industries outside video gaming
suchas film, automotive, architecture, engineering and construction.Unity gives users the ability to create
games and experiences in both 2D and 3D, and the engine offers a primary scripting API in C#, for both
the Unity editor in the form of plugins, and games themselves, as well as drag and drop functionality.

Prior to C# being the primary programming language used for the engine, it previously supported Boo,
which was removed with the release of Unity 5, and a version of JavaScript called Unity Script, which
was deprecated in August 2017, after the release of Unity 2017.1, in favor of C#. Within 2D games,
Unity allows importation of sprites and an advanced 2D world renderer. For 3D games, Unity allows
specification of texture compression, mipmaps, and resolution settings for each platform that the game
engine supports, and provides support for bump mapping, reflection mapping, parallax mapping, screen
space ambient occlusion (SSAO), dynamic shadows using shadow maps, render-to-texture and full-
screen post-processing effects.Unity is a cross-platform engine.

The Unity editor is supported on Windows and macOS, with a version of the editor available for
the Linux platform, albeit in an experimental stage, while the engine itself currently supports building
games for more than 25 different platforms, including mobile, desktop,Universal Windows Platform,
Mac Linux , WebGL, PlayStation 4, PlayStation Vita, Xbox One,3DS,Oculus Rift, Google
Cardboard, Steam VR, PlayStation VR, Gear VR, Windows Mixed Reality,Daydream, Android
TV, Samsung Smart TV, tvOS,Nintendo Switch, Fire OS, Facebook Game room, Apple’sARKit
, Google's AR Core , Vuforia, and Magic Leap.

9
3.2 BLENDER

Blender is a free and open-source 3D computer graphics software toolset used for creating animated
films, visual effects, art, 3D printed models, motion graphics, interactive 3D applications, and computer
games. Blender's features include 3D modeling, UV unwrapping, texturing, raster graphics
editing, rigging and skinning, fluid and smoke
simulation, particle simulation, softbody simulation, sculpting, animating, matching, rendering, motion
graphics, video editing, and compositing.

The Blender Foundation (2002) is an independent public benefit organization. Its spin-off corporation
Blender Institute (2007) hosts the foundation’s offices and currently employs 15 people who work on the
Blender software and creative projects to validate and test Blender in production environments.Blender
is cross-platform and runs equally well on Linux, Windows, and Macintosh computers. Its interface uses
OpenGL to provide a consistent experience. To confirm specific compatibility, the list of supported
platforms indicates those regularly tested by the development team. As a community-driven project under
the GNU General Public License (GPL), the public is empowered to make small and large changes to the
code base, which leads to new features, responsive bug fixes, and better usability.

Official releases of Blender for Microsoft Windows, MacOS and Linux, as well as
a port for FreeBSD, are available in both 32-bit and 64-bit versions. Though it is often distributed without
the extensive example scenes found in some other programs, the software contains features that are
characteristic of high-end 3D software

Among its capabilities are:

• Support for a variety of geometric primitives, including polygon meshes, fast subdivision
surface modeling, Bezier curves, NURBS surfaces, meatballs, multi-res digital
sculpting (including dynamic topology, maps baking, remeshing, re-symmetrize, decimation),
outline font, and a new gen modeling system called B-mesh.

• Internal render engine with scanline rendering, indirect lighting, and ambient occlusion that can
export in a wide variety of formats.

• A path tracer render engine called Cycles, which can take advantage of the GPU for rendering.
Cycles supports the Open Shading Language since Blender 2.65.

10
• Integration with a number of external render engines through plugins.

• Keyframed animation tools including inverse kinematics, armature (skeletal), hook, curve
and lattice-based deformations, shape animations, non-linear animation, constraints, and vertex
weighting.

3.3 VISUAL STUDIO

Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to
develop computer programs, as well as websites, web apps, web services and mobile apps. Visual Studio
uses Microsoft software development platforms such as Windows API, Windows Forms, Windows
Presentation Foundation, Windows Store and Microsoft Silverlight. It can produce both native
code and managed code. Visual Studio includes a code editor supporting IntelliSense (the code
completion component) as well as code refactoring. The integrated debugger works both as a source-level
debugger and a machine-level debugger. Other built-in tools include a code profiler, designer for
building GUI applications, web designer, class designer, and database schema designer.

It accepts plug-ins that enhance the functionality at almost every level—including adding support
for source control systems (like Subversion and Git) and adding new toolsets like editors and visual
designers for domain-specific languages or toolsets for other aspects of the software development
lifecycle (like the Azure DevOps client: Team Explorer).Visual Studio supports 36
different programming languages and allows the code editor and debugger to support (to varying degrees)
nearly any programming language, provided a language-specific service exists. Built-
in C,[8] C++, C++/CLI, VisualBasic.NET, C#, F#,[9] JavaScript, TypeScript, XML, XSLT, HTML,and C
SS. Support for other languages such as Python,[10] Ruby, Node.js, and M among others is available
via plug-ins. Java (and J#) were supported in the past. The most basic edition of Visual Studio, the
Community edition, is available free of charge.

The slogan for Visual Studio Community edition is "Free, fully-featured IDE for students, open-source
and individual developers”. The currently supported Visual Studio version is 2019.Unity’s Visual Studio
integration allows you to create and maintain Visual Studio project files automatically. Also, Visual
Studio will open when you double click on a script or on an error message in the Unity console.Visual
Studio brings a premium debugging experience to the Unity game engine.

11
CHAPTER 4
SYSTEM DESIGN

12
CHAPTER 4
System Design
A) UML DIAGRAMS
USECASE DIAGRAM

A use case diagram is a graphic depiction of the interactions among the elements of a system. A use case is

a methodology used in system analysis to identify, clarify, and organize system requirements. In this

context, the term "system" refers to something being developed or operated, such as a mail-order product

sales and service Web site. Use case diagrams are employed in UML (Unified Modeling Language), a

standard notation for the modeling of real-world objects and systems.

Login

Add students

Add staff

Add Instruments

Student

Add dealers
Admin

view incharges

view course

Staff
view salary details

view student details

13
CLASS DIAGRAM

A class diagram is an illustration of the relationships and source code dependencies among classes in the

Unified Modeling Language (UML). In this context, a class defines the methods and variables in

an object, which is a specific entity in a program or the unit of code representing that entity. Class diagrams

are useful in all forms of object-oriented programming (OOP). The concept is several years old but has

been refined as OOP modeling paradigms have evolved.

STAFF STUDENT
+Username +Username
+Password +Password
+login() +Login()
+view salary() +view salary()
+view students details() +view student details()

ADMIN

+Username
+Password
+Login()
+add instruments()
+add staff()
+add students()
+add dealers()

14
SEQUENCE DIAGRAM

A sequence diagram shows object interactions arranged in time sequence. It depicts the objects and classes

involved in the scenario and the sequence of messages exchanged between the objects needed to carry out

the functionality of the scenario. Sequence diagrams are typically associated with use case realizations in

the Logical View of the system under development. Sequence diagrams are sometimes called event

diagrams or event scenarios.

Admin Student Database staff

1 : Login()

2 : add instruments, dealers()

3 : add staff()

4 : add students()

5 : login()

6 : view incharge()

7 : view course()

8 : login()

9 : view salary()

10 : view students details()

15
COLLOBORATION DIAGRAM

Like sequence diagrams, collaboration diagrams are also interaction diagrams. Collaboration diagrams

convey the same information as sequence diagrams, but focus on object roles instead of the times that

messages are sent.

In a sequence diagram, object roles are the vertices and messages are the connecting links. In a

collaboration diagram, as follows, the object-role rectangles are labeled with either class or object names

(or both). Colons precede the class names (:).

3 : add staff() Database


10 : view students details()

1 : Login()

9 : view salary()
2 : add instruments, dealers()

5 : login()
4 : add students()
8 : login()
7 : view course()
6 : view incharge()
Admin
staff

Student

16
B) DFD DAIGRAM:
LEVEL 0:

View Student
details
Staff Login

View Salary
LEVEL 1: details
Add Students
details

Add
Instruments
Admin
Login

Add Staff
details

Add Dealers

LEVEL 2:

Student Login View Staff


Details

17
CHAPTER 5
MODULES

18
CHAPTER 5
MODLUES
This Project has following Modules:

1) Admin
2) Student
3) Staff

1) Admin

➢ Add Instruments

Admin add musical instruments and admin can able to edit instrument details

➢ Add Staff

Admin add staff details and edit staff details add salary details

➢ Add Students

Add student details and allocate student into instrument and staff one student should be allocate only
one instrument

➢ Add Dealers

Admin add new dealers for instruments. One dealer should be in one instrument

2) Student

➢ View Student In charge Details

Student view their staff details

➢ View Class Name

Student view course details

19
3) Staff

➢ View Salary details

Staff views their salary details

➢ View Students Details

Staff views their student details

Reports of the Project Music Course Project

➢ Reports of Admin Process


➢ Reports of Student Process
➢ Reports of Staff Process

20
CHAPTER 6
SAMPLE CODE

21
CHAPTER 6
SAMPLE CODE
ADD DEALERS PAGE:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

public partial class adddealers : System.Web.UI.Page


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["musicConnectionString"].ConnectionString);
SqlCommand cm = new SqlCommand();
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button2_Click(object sender, EventArgs e)
{
con.Open();
cm = new SqlCommand("insert into dealers values('" + DropDownList1.SelectedItem + "','"+
TextBox4.Text +"','"+TextBox3.Text+"')", con);
cm.ExecuteNonQuery();
Response.Write("<script>alert('added successfully')</script>");
con.Close();
}
protected void Button1_Click(object sender, EventArgs e)
{

22
DropDownList1.ClearSelection();
TextBox4.Text = "";
TextBox3.Text = "";
}
}
LOGIN

using System;

using System.Collections.Generic;

using System.Linq;

using System.Web;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Data;

using System.Data.SqlClient;

using System.Configuration;

public partial class studentlogin : System.Web.UI.Page

SqlConnection con = new


SqlConnection(ConfigurationManager.ConnectionStrings["musicConnectionString"].ConnectionString);

SqlCommand cm = new SqlCommand();

SqlDataReader dr;

protected void Page_Load(object sender, EventArgs e)

23
}

protected void Button4_Click(object sender, EventArgs e)

con.Open();

cm = new SqlCommand("select Name,Password from students where Name='" + TextBox1.Text +


"' and Password='" + TextBox2.Text + "'", con);

dr = cm.ExecuteReader();

if (dr.Read())

Session["Username"] = TextBox1.Text;

Response.Redirect("studenthome.aspx");

else

Response.Write("<script>alert('Invalid Details');</script>");

24
ADDINSTRUMENTS:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

public partial class adddept : System.Web.UI.Page


{

SqlConnection con = new


SqlConnection(ConfigurationManager.ConnectionStrings["musicConnectionString"].ConnectionString);
SqlCommand cm = new SqlCommand();
SqlDataReader dr;
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button2_Click(object sender, EventArgs e)
{
con.Open();
cm = new SqlCommand("Select Ins_ID from instrument where Ins_ID='" + TextBox1.Text + "'", con);
dr = cm.ExecuteReader();
if (dr.Read())
{
Response.Write("<script>alert('Instrument ID already used some instrument.....');</script>");

25
else
{

con.Open();
cm = new SqlCommand("insert into instrument values('" + TextBox1.Text + "','" + TextBox5.Text +
"')", con);
cm.ExecuteNonQuery();
Response.Write("<script>alert('Instrument added successfully')</script>");
con.Close();
}
con.Close();
}
protected void Button1_Click(object sender, EventArgs e)
{
TextBox1.Text = "";
TextBox5.Text = "";

}
}

ADD STAFF PAGE:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

26
public partial class addfaculty : System.Web.UI.Page
{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["musicConnectionString"].ConnectionString);
SqlCommand cm = new SqlCommand();
SqlDataReader dr;
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button2_Click(object sender, EventArgs e)
{
con.Open();
cm = new SqlCommand("Select Course_Handle from staff where Course_Handle='" +
DropDownList2.SelectedItem + "'", con);
dr = cm.ExecuteReader();
if (dr.Read())
{
Response.Write("<script>alert('One staff already handled that subject');</script>");

else
{

SqlConnection con1 = new


SqlConnection(ConfigurationManager.ConnectionStrings["musicConnectionString"].ConnectionString);
SqlCommand cm1 = new SqlCommand();

int a = 0;
con1.Open();

27
cm1 = new SqlCommand("insert into staff values('" + TextBox1.Text + "','" + TextBox2.Text + "','" +
DropDownList1.SelectedItem + "','"+DropDownList2.SelectedItem+"','" + TextBox7.Text + "','" + a +
"')", con1);
cm1.ExecuteNonQuery();
Response.Write("<script>alert('Staff added successfully')</script>");
con1.Close();
}
con.Close();
}
protected void Button1_Click(object sender, EventArgs e)
{
TextBox1.Text = "";
TextBox2.Text = "";
DropDownList1.ClearSelection();
DropDownList2.ClearSelection();
TextBox7.Text = "";

}
}

VIEW STUDENT
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
EnableEventValidation="false" CodeFile="viewstdsdls.aspx.cs" Inherits="viewstdsdls" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.ff
{
z-index: 1;
left: 375px;
top: 439px;
position: absolute;
height: 387px;
width: 675px;

28
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="ff">

<asp:Label ID="Label2" runat="server"

style="z-index: 1; left: 129px; top: 21px; position: absolute; font-weight: 700; font-size: medium;
color: #660033;"></asp:Label>

<asp:Label ID="Label3" runat="server"


style="z-index: 1; left: 244px; top: 46px; position: absolute; font-weight: 700; font-size: medium;
color: #990033;"
Text="VIEW STUDENT DETAILS"></asp:Label>
<asp:Label ID="Label4" runat="server"
style="z-index: 1; left: 19px; top: 20px; position: absolute; font-weight: 700; font-size: medium;
height: 19px; color: #000000;"
Text="WELCOME!!!"></asp:Label>

<asp:GridView ID="GridView1" runat="server" BackColor="#CCCCCC"


BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4"
CellSpacing="2" ForeColor="Black"
style="z-index: 1; left: 69px; top: 143px; position: absolute; height: 159px; width: 495px; font-
family: 'Times New Roman', Times, serif; font-size: medium">
<FooterStyle BackColor="#CCCCCC" />
<HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
<RowStyle BackColor="White" />

29
<SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#F1F1F1" />
<SortedAscendingHeaderStyle BackColor="#808080" />
<SortedDescendingCellStyle BackColor="#CAC9C9" />
<SortedDescendingHeaderStyle BackColor="#383838" />
</asp:GridView>

</div>
</asp:Content>

ADD COURSE:
using System;

using System.Collections.Generic;

using System.Linq;

using System.Web;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Data;

using System.Data.SqlClient;

using System.Configuration;

public partial class Addsubjects : System.Web.UI.Page

SqlConnection con = new

SqlConnection(ConfigurationManager.ConnectionStrings["musicConnectionString"].ConnectionString);

SqlCommand cm = new SqlCommand();

protected void Page_Load(object sender, EventArgs e)

30
}

protected void Button2_Click(object sender, EventArgs e)

con.Open();

cm = new SqlCommand("select * from staff where Username='"+DropDownList2.SelectedItem+"' and

Course_Handle='"+DropDownList3.SelectedItem+"'",con);

SqlDataReader dr;

dr = cm.ExecuteReader();

if (dr.Read())

SqlConnection con1 = new

SqlConnection(ConfigurationManager.ConnectionStrings["musicConnectionString"].ConnectionString);

SqlCommand cm1 = new SqlCommand();

con1.Open();

cm1 = new SqlCommand("insert into students values('" + TextBox1.Text + "','" + TextBox2.Text + "','"

+ DropDownList1.SelectedItem + "','" + DropDownList2.SelectedItem + "','" +

DropDownList3.SelectedItem + "')", con1);

cm1.ExecuteNonQuery();

Response.Write("<script>alert(' Students details added successfully')</script>");

con1.Close();

else

Response.Write("<script>alert('Invalid staff and instrument details');</script>");

31
CHAPTER 5
TESTING

32
CHAPTER 7
SYSTEM TESTING

The purpose of testing is to discover errors. Testing is the process of trying to discover every
conceivable fault or weakness in a work product. It provides a way to check the functionality of
components, sub assemblies, assemblies and/or a finished product It is the process of exercising software
with the intent of ensuring that the

Software system meets its requirements and user expectations and does not fail in an unacceptable manner.
There are various types of test. Each test type addresses a specific testing requirement.

TYPES OF TESTS
Unit testing
Unit testing involves the design of test cases that validate that the internal program logic is
functioning properly, and that program inputs produce valid outputs. All decision branches and internal
code flow should be validated. It is the testing of individual software units of the application .it is done
after the completion of an individual unit before integration. This is a structural testing, that relies on
knowledge of its construction and is invasive. Unit tests perform basic tests at component level and test a
specific business process, application, and/or system configuration. Unit tests ensure that each unique path
of a business process performs accurately to the documented specifications and contains clearly defined
inputs and expected results.

Integration testing
Integration tests are designed to test integrated software components to determine if they actually
run as one program. Testing is event driven and is more concerned with the basic outcome of screens or
fields. Integration tests demonstrate that although the components were individually satisfaction, as shown
by successfully unit testing, the combination of components is correct and consistent. Integration testing
is specifically aimed at exposing the problems that arise from the combination of components.

Functional test
Functional tests provide systematic demonstrations that functions tested are available as specified by
the business and technical requirements, system documentation, and user manuals.

Functional testing is centered on the following items:

33
Valid Input : identified classes of valid input must be accepted

Invalid Input : identified classes of invalid input must be rejected

Functions : identified functions must be exercised

Output : identified classes of application outputs must be exercised

Systems/Procedures: interfacing systems or procedures must be invoked

Organization and preparation of functional tests is focused on requirements, key functions, or special
test cases. In addition, systematic coverage pertaining to identify Business process flows; data fields,
predefined processes, and successive processes must be considered for testing. Before functional testing
is complete, additional tests are identified and the effective value of current tests is determined.

System Test
System testing ensures that the entire integrated software system meets requirements. It tests a
configuration to ensure known and predictable results. An example of system testing is the configuration
oriented system integration test. System testing is based on process descriptions and flows, emphasizing
pre-driven process links and integration points.
White Box Testing
White Box Testing is a testing in which in which the software tester has knowledge of the inner
workings, structure and language of the software, or at least its purpose. It is purpose. It is used to test
areas that cannot be reached from a black box level.

Black Box Testing


Black Box Testing is testing the software without any knowledge of the inner workings, structure or
language of the module being tested. Black box tests, as most other kinds of tests, must be written from a
definitive source document, such as specification or requirements document, such as specification or
requirements document. It is a testing in which the software under test is treated, as a black box .you
cannot “see” into it. The test provides inputs and responds to outputs without considering how the software
works.

Unit Testing:

Unit testing is usually conducted as part of a combined code and unit test phase of the software
lifecycle, although it is not uncommon for coding and unit testing to be conducted as two distinct phases.

Test strategy and approach

34
Field testing will be performed manually and functional tests will be written in detail.
Test objectives
• All field entries must work properly.
• Pages must be activated from the identified link.
• The entry screen, messages and responses must not be delayed.
Features to be tested
• Verify that the entries are of the correct format
• No duplicate entries should be allowed
• All links should take the user to the correct page.
Integration Testing
Software integration testing is the incremental integration testing of two or more integrated
software components on a single platform to produce failures caused by interface defects.

The task of the integration test is to check that components or software applications, e.g.
components in a software system or – one step up – software applications at the company level – interact
without error.

Test Results: All the test cases mentioned above passed successfully. No defects encountered.

Acceptance Testing
User Acceptance Testing is a critical phase of any project and requires significant participation by
the end user. It also ensures that the system meets the functional requirements.

Test Results: All the test cases mentioned above passed successfully. No defects encountered.

VALIDATION TESTING:

The process of evaluating software during the development process or at the end of the development
process to determine whether it satisfies specified business requirements.

Validation Testing ensures that the product actually meets the client's needs. It can also be defined as to
demonstrate that the product fulfills its intended use when deployed on appropriate environment.

35
CHAPTER 8
OUTPUT SCREENS

36
CHAPTER 8
OUTPUT SCREENS

HOME PAGE:

ADMIN LOGIN:

37
ADMIN MAIN PAGE:

ADD INSTRUMENTS:

38
ADD STAFF:

ADD DEALERS:

39
STAFF LOGIN:

VIEW SALARY DETAILS:

40
CHAPTER 9
CONCLUSION

41
CHAPTER 9
CONCLUSION
The system’s capability is to keep track of all the information and generate the reports as its main feature,
which helps the management to know the current position of the organization activities by just glancing
through system, generated details.

The system has been developed considering every single quality factor. Due to this reason the
system is highly secure from the crash down problem. Moreover, the system is highly reliable and due to
the security and integrity features, provides for the system, unauthorized users cannot access the system.

42
CHAPTER 10
REFERENCE

43
CHAPTER 10
REFERENCE

[1] A. Goyal, F. Bonchi, and L. V. S. Lakshmanan, “A School management system,” Proc.


VLDB Endow., 2011.

[2] Y. Li, D. Zhang, and K.-L. Tan, “Real-time targeted musical maximization for online
advertisements,” Proc. VLDB Endow., 2015.

[3] P. Domingos and M. Richardson, “campus management system,” in KDD, 2001.

Websites
• FOR .NET INSTALLATION
www.support.mircosoft.com

• FOR DEPLOYMENT AND PACKING ON SERVER


www.developer.com

www.15seconds.com

• FOR SQL
www.msdn.microsoft.com

• FOR ASP.NET
www.msdn.microsoft.com/net/quickstart/aspplus/default.com

www.asp.net

www.fmexpense.com/quickstart/aspplus/default.com

44

You might also like