0% found this document useful (0 votes)
63 views34 pages

Online Shopping - TutorialsDuniya

This document describes an online shopping project created by students for a computer science course. It provides information on the problem statement, which is to create a web application that allows users to shop for products online without visiting a store. It also outlines the waterfall process model chosen for the project and sections on the software requirements specification, including user characteristics, product functions, and interface requirements. Contact information is provided for reporting errors.

Uploaded by

Misganaw Kerebh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views34 pages

Online Shopping - TutorialsDuniya

This document describes an online shopping project created by students for a computer science course. It provides information on the problem statement, which is to create a web application that allows users to shop for products online without visiting a store. It also outlines the waterfall process model chosen for the project and sections on the software requirements specification, including user characteristics, product functions, and interface requirements. Contact information is provided for reporting errors.

Uploaded by

Misganaw Kerebh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

Delhi University

B.Sc. (H) Computer Science


Software Engineering Project

Online Shopping

TutorialsDuniya.com
Note: This project is made by a student of B.Sc. (H)
Computer Science and may contain some errors. You can
report the errors at [email protected]

Website: https://www.tutorialsduniya.com
FaceBook: https://www.facebook.com/tutorialsduniya
YouTube: https://www.youtube.com/user/TutorialsDuniya
LinkedIn: https://www.linkedin.com/company/tutorialsduniya
ONLINE Shopping

Software Engineering Project Report

o m
.c
ya
Submitted by: Supervisor:
Srishti Jain (Roll no : 16067500000 ) TutorialsDuniya.Com
Tanvi Goyal (Roll no : 16067500000 ) (Course Instructor)

i
un
a lsD
ri
to
Tu

Department of Computer Science


Shaheed Sukhdev College of Business Studies
University of Delhi
Table of Contents
Problem Statement ............................................................. Error! Bookmark not defined.

Process Model .................................................................... Error! Bookmark not defined.

1. Software Requirement Specification ....................... Error! Bookmark not defined.

1.1 Overall Description .............................................. Error! Bookmark not defined.

m
1.1.1 Product Functions ........................................... Error! Bookmark not defined.

1.1.2 User Characteristics........................................ Error! Bookmark not defined.

o
1.1.3 General Constraints ........................................ Error! Bookmark not defined.

.c
1.1.4 Assumptions and Dependencies ..................... Error! Bookmark not defined.

ya
1.2 External Interface Requirements .......................... Error! Bookmark not defined.

1.2.1 User Interfaces................................................ Error! Bookmark not defined.

i
1.2.2 Hardware Interfaces ....................................... Error! Bookmark not defined.
un
1.2.3 Software Interfaces ......................................... Error! Bookmark not defined.

1.3 Functional Requirements...................................... Error! Bookmark not defined.


lsD

1.3.1 FR 1 ................................................................ Error! Bookmark not defined.

1.3.2 FR 2 ................................................................ Error! Bookmark not defined.


a

1.3.3 FR n ................................................................ Error! Bookmark not defined.


ri

1.4 Performance Requirement .................................... Error! Bookmark not defined.

1.5 Design Constraints ............................................... Error! Bookmark not defined.


to

1.6 Data Flow Diagram .............................................. Error! Bookmark not defined.

1.7 Data Dictionary .................................................... Error! Bookmark not defined.


Tu

2. Estimations............................................................... Error! Bookmark not defined.

2.1 Function Points..................................................... Error! Bookmark not defined.

2.2 Efforts ................................................................... Error! Bookmark not defined.

3. Scheduling................................................................ Error! Bookmark not defined.


4. Risk Management .................................................... Error! Bookmark not defined.

5. Design ...................................................................... Error! Bookmark not defined.

5.1 Architectural Design ............................................ Error! Bookmark not defined.

5.2 Data Design .......................................................... Error! Bookmark not defined.

5.3 component level design-cohesion coupling (optional)

5.4 interface design

m
6. Coding ...................................................................... Error! Bookmark not defined.

o
7. Testing...................................................................... Error! Bookmark not defined.

.c
white box testing

8. References ................................................................ Error! Bookmark not defined.

i ya
un
a lsD
ri
to
Tu
TutorialsDuniya.com
Get FREE Compiled Books, Notes, Programs, Books, Question Papers with Solution*
etc of following subjects from https://www.tutorialsduniya.com.

 C and C++  Computer System Architecture


 Programming in Java  Discrete Structures
 Data Structures  Operating Systems
 Computer Networks  Algorithms
 Android Programming  DataBase Management Systems
 PHP Programming  Software Engineering
 JavaScript  Theory of Computation
 Java Server Pages  Operational Research
 Python  System Programming
 Microprocessor  Data Mining
 Artificial Intelligence  Computer Graphics
 Machine Learning  Data Science

 Compiled Books: https://www.tutorialsduniya.com/compiled-books


 Programs: https://www.tutorialsduniya.com/programs
 Question Papers: https://www.tutorialsduniya.com/question-papers
 Python Notes: https://www.tutorialsduniya.com/python
 Java Notes: https://www.tutorialsduniya.com/java
 JavaScript Notes: https://www.tutorialsduniya.com/javascript
 JSP Notes: https://www.tutorialsduniya.com/jsp
 Microprocessor Notes: https://www.tutorialsduniya.com/microprocessor
 OR Notes: https://www.tutorialsduniya.com/operational-research
Problem Statement
Online shopping is a web application which provides all kinds of products to
everyone at their doorstep.

The users living anywhere can connect through internet to get these services. This
web application is more effective and fast in response.

o m
.c
Process Model

ya
The model chosen for our project is 'Waterfall Model'. The requirements are well
known i.e. it is known what all functionalities and behavior should be there .The
technology is understood and well incorporated in the project. There is no

i
ambiguity in requirements and they are met in the project .Very less customer
un
interaction is involved during the development of the product. Once the product is
ready then only it can be demoed to the end users. Thus this model suits the best
for project.
a lsD
ri
to
Tu
1. Software Requirement Specification
This system provides an easy solution for customers to buy the product without
going to the shop and also to seller to sale the product.

This proposed system can be used by any naïve user and it does not require any
educational level, experience or technical expertise in computer field but it will be
of good use if user has the good knowledge of how to operate a computer.

m
1.1 Overall Description

o
The Online Shopping system is an application that enables vendors to set up online

.c
shops, customers to browse through the shops, and a system administrator to
approve and reject requests for new shops and maintain lists of shop categories.

ya
Also the developer can design an online shopping site to manage the items in the
shop and also help customers to search and purchase them online without visiting

i
the shop physically.The online shopping system will use the internet as the sole
un
method for selling goods to its consumers.

1.1.1 Product Function


lsD

The online shopping application would have the following basic functions:

Display all the categories available for shopping on the system’s main
page.
a

Display all the items linked to each category listed on the main page.
ri

Allow the administrator to add new items to the existing list of available
items.
to

Allow administrator to remove items.


Tu

Allow the administrator to modify the price of each item.

Allow the administrator to update the description about each item.

Allow the administrator to view and edit information about each user
that checkouts the items from the system.
1.1.2 User Characteristics
The users of the online shopping application, based on their roles, are Customers
(users) and the Administrator (owner).

1. Admin: The administrator is the person who handles this online shopping
application. One must have a basic understanding of computers and the internet as
well as prior knowledge for operating Java programming languages. The

m
administrator is responsible for maintaining all the documents required for the
system. The administrator can perform the following functions:

o
Assign or update the price of the items, update the items in the list, and

.c
delete the items.

Assign sales tax for different states at the time of checkout.

ya
View the list of the customers who purchased the items.

i
2. Users: The users of this online shopping application are all customers who
un
would shop. These users are anyone with shopping experience and the know-how
to browse through a shopping application. The users should be able to perform the
following functions using this system:
lsD

View, browse, and select a category on the home page.

View, add, and update items in the cart.


a

Sign-in/login using a username and password.


ri

Place the order by completing the order form

1.1.3 General Constraints


to

Hardware Limitations: The minimum hardware requirement for the system


Tu

is 128 MB of Ram and a 32-MB hard-disc drive.

Accessibility: Initially, the software should be available as a desktop


application for a small set of users to test.

Others: The application should be built using Java and JavaScript


inscribed in HTML, and it should, initially, be accessible through the
eclipse IDE and later published on a server when the application passes the
test from small set of users.

1.1.4 Assumptions and Dependencies


Users and the administrator would require training to use the online
shopping.

The system is dependent on the availability of an Apache Tomcat Server to


run.

m
We assume that system users adhere to the system’s minimum software
and hardware requirements.

o
.c
1.2 External Interface Requirements

ya
1.2.1 User Interfaces :

i
The users will work on a graphical user interface.
un
All the required steps for the user to perform must me specified on each
page so that it is easy for users to understand the procedure to perform.
lsD

The steps must be brief so that the content is not a trouble.

There must be a search bar on every page for basic queries. Limited
feedbacks and reviews should be there on main page.
a

The screen should be formatted in such a way so that instructions and


ri

messages always get displayed in a general area.

The user must not be taken forward without correcting the error.
to

The system user should never get any operating system failure or any
fatal error.
Tu

1.2.2 Hardware Interfaces:


Hardware requirements for insurance on internet will be same for both parties
which are as follows:
Processor:Dual Core

RAM:2 GB

Hard Disk:320 GB

1.2.2 Software Interfaces :


The system shall make use of the operating system calls to the file management

m
system to store and retrieve files.

o
1.3 Functional Requirements

.c
FR1 :

ya
Description : View the categories of items on home page .

FR2 :

i
un
Description : View items in different categories

FR3 :
lsD

Description : To enter into this site user has to register himself first.
Input : User Details
Output : Filled Registration Details and user successfully registered .
a

FR4:
ri

Description : The System provides facility to login into the system.


to

Input : Enter username and password


Output : User Profile page get opened .
Tu

FR5 :
Description : Add items to the cart .

Input : Select items to be added.

Output : Items Added to the cart .


FR6 :
Description: Search specific item/ category name

Input: Item name/ Category name

Output : Item / List of items in category

m
FR7 :

o
Description : View items that are added in the cart

.c
FR8 :

ya
Description : Delete the items in the cart

Input : Name of the items to be deleted.

Output : Items get deleted.


i
un
FR9 :
lsD

Description : The users shall place an order by completing the information in the
order form.

Input : Item name and Fill up of order form .


a

Output : Order Placed of the item.


ri

FR10 :
to

Description : The administrator shall be able to add new items to the list of
shopping items.
Tu

Input : Items to be added.

Output : Items added .

FR11 :
Description :: The administrator shall be able to delete items from the items file.
Input : Name of the items to be deleted.

Output : Items get deleted .

FR12 :
Description :

Administrator can view history of user.

m
FR13:

o
Description: Admin can refund if customer cancels the order.

.c
Input : Cancel Order

Output: Refund done.

i ya
un
1.4 Performance Requirements
The users shall be able to add an item to the cart in fewer than 7 seconds.
lsD

The users shall be able to view information about an item in fewer than 7
seconds.

The navigation between pages shall take fewer than 10 seconds.


a
ri

The application shall be able to do a validation check on the information


provided in the user-authentication form and the place-order form to avoid
to

false or incomplete information.

Number of users must be atmost 1000 and the number of files in the
Tu

database must be no more than 10,000

1.5 Design Constraints


Standard Compliance: All the languages and database format must be
according to the software requirements listed below.
Hardware Requirements :
Pentium or AMD processors with speed minimum 1GHz.

2GB RAM

Accelerated Graphics Card.

Minimum 32GB Hard Disk.

m
Better performance with 82KB and above Cache Memory.

o
Monitor – 15” colour monitor

.c
Keyboard – 122 keys

ya
Software Requirements :

i
Database: MS SQL Server2000 with Microsoft SQL Desktop Engine
un
installed.

Framework: NET Framework Version


lsD

Server : Apache Tomcat Server

Technology: ASP.Net

Browser: Internet Explorer6.0


a
ri

Operating System :Linux

JAVA development toolkit.


to

Database JDBC Driver : MySQL Jconnector


Tu

Reliability and Fault Tolerance


All the users must be backed up.

The database must be updated regularly and must be properly


maintained.
Users are authenticated.

In case of Forgot password immediately a mail must be sent with a


link to reset his password.

Security

m
The access to all the databases is available only to admin.

A log of all activities must be stored


stored.

o
1.6 Data Flow Diagrams

.c
0-level DFD

i ya
un
a lsD
ri
to

1-level DFD
Tu
Tu

2-level DFD
to
ri
alsD
un
i ya
.c
om
1.7 Data Dictionary
Login=user_name+password

.Customer_Details=customer_name+customer_id+email_id+contact_
no+address

Receipt=customer_name+customer_id+price+date+quantity

m
Give_item=product_name+quantity+size+date

o
Add_item=product_name+quantity

.c
Delete_item=product_name+quantity

ya
Search_item=product_name

i
un
a lsD
ri
to
Tu
TutorialsDuniya.com
Get FREE Compiled Books, Notes, Programs, Books, Question Papers with Solution*
etc of following subjects from https://www.tutorialsduniya.com.

 C and C++  Computer System Architecture


 Programming in Java  Discrete Structures
 Data Structures  Operating Systems
 Computer Networks  Algorithms
 Android Programming  DataBase Management Systems
 PHP Programming  Software Engineering
 JavaScript  Theory of Computation
 Java Server Pages  Operational Research
 Python  System Programming
 Microprocessor  Data Mining
 Artificial Intelligence  Computer Graphics
 Machine Learning  Data Science

 Compiled Books: https://www.tutorialsduniya.com/compiled-books


 Programs: https://www.tutorialsduniya.com/programs
 Question Papers: https://www.tutorialsduniya.com/question-papers
 Python Notes: https://www.tutorialsduniya.com/python
 Java Notes: https://www.tutorialsduniya.com/java
 JavaScript Notes: https://www.tutorialsduniya.com/javascript
 JSP Notes: https://www.tutorialsduniya.com/jsp
 Microprocessor Notes: https://www.tutorialsduniya.com/microprocessor
 OR Notes: https://www.tutorialsduniya.com/operational-research
2 Estimations
2.1 Function Points

Fi ALL THE Fi questions


5 F1. Does the system require reliable backup and recovery?

m
Yes , the system require backup of data for further use of
information.

o
5 F2.Are data communications required?
Comm is reqd as to confirm selection of products.

.c
2 F3. Are there distributed processing functions?

ya
Not much
2 F4. Is performance critical?
Sometimes it gets critical,when product is selected and is

i
not found in quantity and quality
un
4 F5. Will the system run in a existing, heavily utilized operational
environment?
Beside some applications,most of the application of application of
lsD

software can run in an existing,heavilyutilised operation environment.


5 F6. Does the system require on-line data entry?
The whole software is based on online data entry that is stored in
online databases
5
a

F7. Does the on-line data entry require the input transaction to be
ri

built over multiple screens or operations?


Yes,the input data entry will get stored at multiple screen i.e at admin
website ,and at customers profile.
to

5 F8. Are the ILF’s updated on-line?


The data that reside within the applications boundary and is
Tu

mantained via external input is updated as soon as user changes any of


its information.
3 F9. Are the inputs, outputs, files or inquiries complex?
Yes a lot of time.
Inquiries of the product and the selection or rejection of dat
a maintenance can result in complexion.
3 F10. Is the internal processing complex?
The database maintenance can be a little bit complex and
operating system used also affects the internal processing.

3 F11. Is the code designed to be reusable?


Not every part of the code,but some part of the code can be
made reusable to use existing information.
3 F12. Are conversion and installation included in the design?
YES,only one(conversion of decimal to binary form)
5 F13. Is the system designed for multiple installations in different
organizations?
Yes,software is operating sysytem independent.

m
5 F14. Is the application designed to facilitate change and ease of
use by the user?
Yes,the software facilitate the changes and ease of use and information

o
modified will be kept safe & private.

.c
55 TOTAL

i ya
CALCULATED COMPLE AVERAGE SIMPLE COUNT MEASUREMENT
un
X PARAMETER
9 6 4 3 3 EXTERNAL
INPUT
lsD

12 7 5 4 3 EXTERNAL
OUTPUT
18 6 4 3 3 EXTERNAL
INQUIRIES
a

28 15 10 7 4 INTERNAL
LOGICAL FILES
ri

0 10 7 5 0 EXTERNAL
INTERFACE
to

FILES
67 COUNT TOTAL
Tu

FUNCTION POINT=count total *[0.65+0.01*sum(Fi)]

=67*[0.65+(0.01*55)]=80.4
2.2 Efforts
Assume that the past data shows that the complexity for these types of systems is 6
function point per month. Assume burdened labour cost of 15,000 , the cost per fp
is
Rs 1100.

m
Estimated project cost =1100*80.4 =88,440

o
Estimated effort = 80.4/6 = 13.4

.c
i ya
un
a lsD
ri
to
Tu
Tu
to
3.Scheduling

ri
alsD
un
iya
.c
om
4 .Risk Management

Large number of users than planned

The number of users that will be estimated can be less but as the product gets more
fame, number of users increases.

m
Server breaks down

o
.c
Due to the break down of server, our customers will not be able to connect to our
website.

ya
Data loss

i
un
Sometimes, the computer may get crash due to which all our data will be lost and
this is a major issue.

Security issues
lsD

The website may get hacked intentionally by someone and this will lead to huge
loss in terms of both money and data.
a

Users resist system


ri

It is possible that users are more adaptive to some other online shopping portals
to

and hence, it will reduce our customers. And it is quite difficult to convince people
to opt for online shopping because there are many people who prefer physical
Tu

shopping as they want the look and feel of the product.


RISK TABLE

IMPACT PROBABILITY CATEGORY RISKS


1 70% TI Data loss
1 20% BU Users resist

m
system
3 30% PS Large number
of users than

o
planned
1 10% TI Server breaks

.c
down
1 10% TI Security issues

ya
RISK MITIGATION, MONITORING AND
MANAGEMENT
i
un
Mitigation
lsD

The cost associated with a computer crash resulting in a loss of data is crucial. A
computer crash itself is not crucial, but rather the loss of data. A loss of data will
result in not being able to deliver the product to the customer. As a result, the
organisation is taking steps to make multiple back-up copies of the software in
development and all documentation associated with it, inmultiple locations.
a
ri

Monitoring
When working on the product or documentation, we should always be aware of the
to

stability of the computing environment they are working in. Any changes in the
stability of the environment should be recognized and taken seriously.
Tu

Management
The lack of stable-computing environment is extremely hazardous to a software
development team. In the event that the computing environment is found unstable,
the development team should cease the work on that system until the environment

is made stable again, or should move to a system that is stable to use and continue
working there.
5. DESIGN

5.1 Architectural Design

mo
.c
ya
i
un
a lsD
ri
to
Tu
5.2 Data Design
ORDER DATABASE
CONSTRAINT DATA TYPE ATTRIBUTES
PRIMARY KEY varchar2 ORDER ID
NOT NULL CHAR ORDERED PRODUCT
FOREIGN KEY(REFERENCES varchar2 CUSTOMER ID
CUSTOMER ID OF
CUSTOMER DATABASE)

m
NOT NULL VARCHAR2 ORDER STATUS

CUSTOMER DATABASE

o
.c
CONSTRAINTS DATA TYPE ATTRIBUTES
NOT NULL STRING CUSTOMER NAME
NOT NULL NUMERIC CONTACT DETAILS

ya
NOT NULL VARCHAR2 ADDRESS
PRIMARY KEY VARCHAR2 CUSTOMER ID

i
un
Cart/Wishlist DATABASE
CONSTRAINTS DATA TYPE ATTRIBUTES
FOREIGN VARCHAR2 CUSTOMER ID
lsD

KEY(REFERENCES
CUSTOMER ID OF
CUSTOMER DATABASE)
FOREIGN VARCHAR2 PRODUCT ID
KEY(REFERENCES
a

PRODUCT ID OF PRODUCT
DATABASE
ri

NOT NULL DATE DATE OF ENTRY


to

CUSTOMER ID + PRODUCT ID = PRIMARY KEY

PRODUCT DATABASE
Tu

CONSTRAINTS DATA TYPE ATTRIBUTES


NOT NULL STRING SUPPLIER NAME
PRIMARY KEY VARCHAR2 PRODUCT ID
NOT NULL DATE PURCHASE DATE
NOT NULL VARCHAR2 CONTACT DETAILS
VARCHAR2 FEEDBACK
ORDER DATABASE

ORDER STATUS CUSTOMER ID ORDERED ORDER ID


PRODUCT

PRODUCT DATABASE

o m
FEEDBACK CONTACT PURCHASE SUPLLIER PRODUCT ID
DETAILS DATE NAME

.c
ya
Cart/Wishlist DATABSE

i
un
DATE OF ENTRY PRODUCT ID CUSTOMER ID
lsD

CUSTOMER DATABASE
a

CUSTOMER ID ADDRESS CONTACT CUSTOMER


DETAILS NAME
ri
to
Tu
TutorialsDuniya.com
Get FREE Compiled Books, Notes, Programs, Books, Question Papers with Solution*
etc of following subjects from https://www.tutorialsduniya.com.

 C and C++  Computer System Architecture


 Programming in Java  Discrete Structures
 Data Structures  Operating Systems
 Computer Networks  Algorithms
 Android Programming  DataBase Management Systems
 PHP Programming  Software Engineering
 JavaScript  Theory of Computation
 Java Server Pages  Operational Research
 Python  System Programming
 Microprocessor  Data Mining
 Artificial Intelligence  Computer Graphics
 Machine Learning  Data Science

 Compiled Books: https://www.tutorialsduniya.com/compiled-books


 Programs: https://www.tutorialsduniya.com/programs
 Question Papers: https://www.tutorialsduniya.com/question-papers
 Python Notes: https://www.tutorialsduniya.com/python
 Java Notes: https://www.tutorialsduniya.com/java
 JavaScript Notes: https://www.tutorialsduniya.com/javascript
 JSP Notes: https://www.tutorialsduniya.com/jsp
 Microprocessor Notes: https://www.tutorialsduniya.com/microprocessor
 OR Notes: https://www.tutorialsduniya.com/operational-research
6. Coding
{

if(login_id==customerid& password==customerpassword)....................(1)}

else{

m
display"invalid credentials";.......................................(2)

o
}

.c
{

ya
display"loginsucessful";...........................................(3)

i
un
switch s ................................................................(4)

(s>0)...................................................................(5)
lsD

display

"choose the category"


a
ri

1:electronics...........................................(6)

electronics();
to

break;
Tu

2:appliances............................................(7)

appliances();

break;

3:men....................................................(8)
men();

break;

4:women.................................................(9)

women();

break;

5:baby&kids.............................................(10)

m
baby&kids();

o
break;

.c
}

ya
inti, n;//total no of products...................................(11)

while(i<n).......................................................(12)

i
un
{

display product[i];............................................(13)
lsD

i++;

end while...........................................................(14)
a
ri
to
Tu
7. Testing
A
1 B

2 R1 3

R7 C
4 D

m
S

o
.c
E 5 E

ya
F G H I

i
un
6 7 8 9 10
L R5

K R4 M
lsD

R6

R3
R2 N
J
11
a
ri

O
to
Tu

12

R6 Q R

P R8

13

14
Graph Matrix

1 2 3 4 5 6 7 8 9 10 11 12 13 14

1 A B

m
2 C

o
3 D

.c
4 S

ya
5 E F G H I

6 J

i
7
un K

8 L
lsD

9 M

10 N

11 O
a

12 Q R
ri

13 P
to

14
Tu
Regions : 7
No of Nodes : 14
No of edges : 20

m
Cyclomatic Complexity

o
1 NO. OF REGIONS+1=7+1=8

.c
2 EDGES-NODES+2 =6+2=8

ya
3 Predicate Nodes +1 = 7+1 =8

INDEPENDENT PATHS

i
un
1)1->2->4->5->6->11->12->13->12->14

2)1->3->4->5->6->11->12->13->12->14
lsD

3)1->2->4->5->7->11->12->13->12->14

4)1->2->4->5->8->11->12->13->12->14
a

5)1->2->4->5->9->11->12->13->12->14
ri

6)1->2->4->5->10->11->12->13->12->14
to

7)1->2->4->5->6->11->12->13->12->14

8)1->3->4->1->2->4->5->6->11->12->14
Tu
8. References:-

1.Software Engineering (Roger S. Pressman).

2. https://www.tutorialsduniya.com

o m
.c
i ya
un
a lsD
ri
to
Tu
TutorialsDuniya.com
Get FREE Compiled Books, Notes, Programs, Books, Question Papers with Solution*
etc of following subjects from https://www.tutorialsduniya.com.

 C and C++  Computer System Architecture


 Programming in Java  Discrete Structures
 Data Structures  Operating Systems
 Computer Networks  Algorithms
 Android Programming  DataBase Management Systems
 PHP Programming  Software Engineering
 JavaScript  Theory of Computation
 Java Server Pages  Operational Research
 Python  System Programming
 Microprocessor  Data Mining
 Artificial Intelligence  Computer Graphics
 Machine Learning  Data Science

 Compiled Books: https://www.tutorialsduniya.com/compiled-books


 Programs: https://www.tutorialsduniya.com/programs
 Question Papers: https://www.tutorialsduniya.com/question-papers
 Python Notes: https://www.tutorialsduniya.com/python
 Java Notes: https://www.tutorialsduniya.com/java
 JavaScript Notes: https://www.tutorialsduniya.com/javascript
 JSP Notes: https://www.tutorialsduniya.com/jsp
 Microprocessor Notes: https://www.tutorialsduniya.com/microprocessor
 OR Notes: https://www.tutorialsduniya.com/operational-research

You might also like