Lab Manual B.Sc. (CA) · 1# Create a webpage to show given output. a) This is heading 1 This is...

20
Lab Manual B.Sc. (CA) SEMESTER - IV DEPARTMENT OF COMPUTER SCIENCE CCB-4P1: LABORATORY COURSE - IV ALIGARH MUSLIM UNIVERSITY ALIGARH 2019 Look forward, learn modern knowledge, and do not waste time in studies of old subjects of no values.

Transcript of Lab Manual B.Sc. (CA) · 1# Create a webpage to show given output. a) This is heading 1 This is...

Lab Manual

B.Sc. (CA) SEMESTER - IV

DEPARTMENT OF COMPUTER SCIENCE

CCB-4P1: LABORATORY COURSE - IV

ALIGARH MUSLIM UNIVERSITY ALIGARH

2019

Look forward,

learn modern

knowledge, and

do not waste

time in studies

of old subjects of

no values.

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU

AM

U

AM

U

CS

D

CREDITS

Lab Manual Design Committee:

Prof. Mohammad Ubaidullah Bokhari

Dr. Arman Rasool Faridi

Dr. Faisal Anwar

Dr. Aasim Zafar (Convener)

Editor:

Dr. Aasim Zafar

Design & Compilation:

Mr. Sunil Kumar Sharma

First Edition: July 2017

Approved by BoS, Dated– 31/07/2017

Department of Computer Science, A.M.U., Aligarh, (U.P.), India

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 2

COURSE TITLE: Laboratory Course-IV COURSE CODE: CCB – 4P1

CREDIT: 02 PERIODS PER WEEK: 03

CONTINUOUS ASSESSMENT: 40 EXAMS: 60

COURSE DESCRIPTION

This assignment is designed for the students of B.Sc. (Computer

Application), IV Semester to learn the concepts of System Analysis &

Design.

This course also provides the practical knowledge of system

analysis and design. System analysis and design deal with planning the

development of information systems through understanding and

specifying in detail what a system should do and how the components of

the system should be implemented and work together.

CONTENT

This Lab assignment course is designed to help students in

dealing with the concepts, skills, methodologies, techniques, tools, and

perspectives essential for systems analysts. System analysts solve

business problems through analyzing the requirements of information

systems and designing such systems by applying analysis and design

techniques.

OBJECTIVES

After completing this Lab assignment, the students should be able to:

Design ER diagram.

Design Data Flow diagram of various levels.

Design UML Diagram

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 3

Design the web pages using HTML and CSS.

Develop Time Line Chart.

Learn to make SRS.

OUTCOMES

After completing this course, the students would be able to:

Understand the concept of System Analysis and Design.

Create the E-R Diagrams of any real life problems.

Create Data Flow Diagrams of various levels of any real life

problems.

Create the UML Diagram of any real life problems.

Design the web pages using HTML and CSS

Develop Time Line Chart.

Learn to make SRS.

RULES AND REGULATIONS

Students are required to strictly adhere to the following rules.

The students must complete the weekly activities/assignments

well in time (i.e., within the same week).

The students must maintain the Lab File of their completed

activities/assignments in the prescribed format (Appendix-1).

The students must get the completed weekly

activities/assignments checked and signed by the concerned

teachers in the Lab in the immediate succeeding week. Failing

which the activities/assignments for that week will be treated as

incomplete.

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 4

At least TEN (10) such timely completed and duly signed weekly

activities/assignments are compulsory, failing which students will

not be allowed to appear in the final Lab Examination.

The students need to submit the following three deliverables for

each exercise duly signed by the Teacher:

Coding (wherever needed)

Input /Output

The students need to ensure that each question is assessed and

signed by the Teacher in the week/time.

Late submission would not be accepted after the due date.

Cooperate, collaborate and explore for the best individual

learning outcomes but copying is strictly prohibited.

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU

APPENDIX-1

Template for the Index of Lab File W

EE

K N

O.

PROBLEMS WITH DESCRIPTION

PA

GE

NO

. SIGNATURE

OF THE

TEACHER

WITH DATE

1

1#

2#

3#

2

1#

2#

3#

3

1#

2#

3#

4

1#

2#

3#

Note: The students should use Header and Footer mentioning their roll no. & name in footer and page no in header.

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 6 A

MU

AM

U

CS

D

WEEK #1

To learn the Entity Relationship Diagram.

After completing this Students would be able to

Draw Data Entity Relationship Diagram of real

life problems.

1# A manufacturing company produces products. The following

product information is stored: product name, product ID and

quantity on hand. These products are made up of many

components. Each component can be supplied by one or more

suppliers. The following component information is kept: component

ID, name, description, suppliers who supply them, and products in

which they are used. Create an ERD to show how you would track

this information. Show entity names, primary keys, attributes for

each entity, relationships between the entities and cardinality.

Assumptions

A supplier can exist without providing components.

A component does not have to be associated with a supplier.

A component does not have to be associated with a product.

Not all components are used in products.

A product cannot exist without components.

PROBLEMS

OBJECTIVE

S

OUTCOME

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 7 A

MU

AM

U

CS

D

2# Create an ERD for a car dealership. The dealership sells both new

and used cars, and it operates a service facility. Base your design

on the following business rules:

A salesperson may sell many cars, but each car is sold by

only one salesperson.

A customer may buy many cars, but each car is bought

by only one customer.

A salesperson writes a single invoice for each car he or she

sells.

A customer gets an invoice for each car he or she buys.

A customer may come in just to have his or her car serviced;

that is, a customer need not buy a car to be classified as a

customer.

When a customer takes one or more cars in for repair or

service, one service ticket is written for each car.

The car dealership maintains a service history for each of the

cars serviced. The service records are referenced by the car’s

serial number.

A car brought in for service can be worked on by many

mechanics, and each mechanic may work on many cars.

A car that is serviced may or may not need parts (e.g.,

adjusting a carburetor or cleaning a fuel injector nozzle does

not require providing new parts).

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 8 A

MU

AM

U

CS

D

WEEK #2

To learn concept of DFD.

To learn draw concept of level 0 DFD(context

Level DFD)

To learn how to draw a Data Flow Diagram

After completing this, students would be able to

Draw Data Flow Diagram of real life applications.

Prepare Context level DFD For the following activities.

Issuing out a book from the library.

Returning a book to the library.

Getting a ticket reserved for a train journey.

Getting an item issued from a store.

Getting your mark-sheet from a university office.

OBJECTIVES

OUTCOME

PROBLEMS

S

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 9 A

MU

AM

U

CS

D

WEEK #3

To learn concept of DFD.

To learn draw concept of level 0 DFD(context

Level DFD),Level-1 and level-2 DFDs.

To learn how to draw a Data Flow Diagram

After completing this, students would be able

to Draw Data Flow Diagram of real life

applications.

1# Using the example of a retail clothing store in a mall, list relevant

data flows, data stores, processes, and sources/sinks. Observe

several sales transactions. Draw a context diagram and a level-1

diagram that represent the selling system at the store.

2# A magazine is published monthly and is sent by post to its

subscripts. Two months before the expiry of subscription, a

reminder is sent to the subscribers. If subscription is not received

within a month, another reminder is sent. If renewal subscription is

not received up to two weak before the expiry of the subscription,

the subscriber’s name is removed from the mailing list and the

subscriber informed. Obtain level-1 and level-2 DFDs for this

problem.

OBJECTIVES

OUTCOME

PROBLEMS

S

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 10 A

MU

AM

U

CS

D

WEEK #4

To learn concept of DFD.

To learn draw concept of Physical, Logical

and All Levels of DFDs.

To learn how to draw a Data Flow Diagram

After completing this, students would be able to

Draw Data Flow Diagram of real life applications.

1# Obtain a Logical DFD and Physical DFD for a simple payroll

system describe below. A list of employees with their basic pay is

sent to a clerk. He calculates the gross pay using standard

allowances which are known for each pay slab. Deduction

statements such as loan repayment, subscription to association,

etc., are also sent to another clerk matches these slips with the

slips of gross pay and calculates net pay. This slip is used by a

third clerk to write out pay cheques for each employee and sent to

respective employees. The total pay bills paid are also computed.

2# Admission procedure in a university is as follows: An

advertisement is issued giving essential qualifications for the

course, the last date for receipt of application, and the fee to be

enclosed with the application. A clerk in the registrar’s office

checks the received application s to see if mark sheet and fee are

enclosed and sends valid applications to the concerned academic

department. The department checks the application in detail and

PROBLEMS

S

OUTCOME

PROBLEMS

S

OBJECTIVES

OUTCOME

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 11 A

MU

AM

U

CS

D

decides the applicants to be admitted, those to be put in the

waiting list, and those to be rejected. Appropriate letters are sent to

the Registrar’s office which intimates the applicant. Give Physical

DFD and Logical DFD corresponding to the above problem.

3# Draw All Levels of DFD of the following system processes used by

a bank to open new checking accounts when a customer walks

into the bank and wants help from customer service. Regard the

customer and the new account department as elements in the

system's environment.

i) The customer provides the customer service rep with a

completed New Account Application form.

ii) The customer service rep enters the data from the New

Account Application form into the computer, while trying to

sell the customer more services. Label the output of this

process Entered new account data.

iii) The information system edits the new account data and

prepares an Error Listing of all applications that contain

errors. The Error Listing is sent to the new accounts

department. New account data that does not contain errors

is added to a file named New Account file.

iv) The New Account file is input to another computer program

that adds the new account data to the Customer Master file,

and prints the transactions on a Transaction Listing. The

listing is sent to the New Accounts Department.

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 12 A

MU

AM

U

CS

D

WEEK #5

To learn using HTML Tags.

To learn the Practical use of HTML.

After completing this, the students would be

able to create web pages using basic html

tags.

1# Create a webpage to show given output.

a) This is heading 1

This is heading 2

This is heading 3

b) HTML Links

HTML links are defined with the a tag:

This is a link(// in link make another page which is related to

Sir Syed Ahmad khan)

c) HTML Images

HTML images are defined with the img tag:

2# Create a webpage to show given nested listing output.

Aligarh Muslim University

Departments

i) Computer science

PROBLEMS

S

OBJECTIVES

OUTCOME

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 13 A

MU

AM

U

CS

D

ii) Geography

Colleges

a) Dental

b) Engineering

Jamia Millia University

1) Departments

2) Schools

Jawaharlal Nehru University

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 14 A

MU

AM

U

CS

D

WEEK #6

To learn concept of UML Diagram.

To learn concept of Use Case Diagram.

After completing this, the students would be

able to draw Use Case Diagram of real life

applications.

1# Draw Use Case Diagram and define all classes for Automatic

Teller Machine.

2# Draw Use Case Diagram and define all classes for Library

Management System.

3# Draw Use Case Diagram and define all classes for Order

Processing Application.

4# Draw Use Case Diagram and define all classes for Student

Registration Process.

5# Draw Use Case Diagram and define all classes for Employee

Management System.

PROBLEMS

S

OBJECTIVES

OUTCOME

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 15 A

MU

AM

U

CS

D

WEEK #7 – 8

To learn concept of UML Diagram.

To learn concept of Class and Object

Diagram.

After completing this, the students would be

able to draw Class and Object Diagram of

real life applications.

1# Draw the state Class and Object Diagram Automatic Teller

Machine.

2# Draw the state Class and Object Diagram Library Management

System.

3# Draw the state Class and Object Diagram Student Registration

Process.

4# Draw the state Class and Object Diagram Online Shopping

System.

5# Create a website depicting different festivals of India. The Home

page should have links of all festivals of India. It should also offer

link to the other web pages and each of these web pages should

contain a link to home page and to the various html pages required

in your site. Use various effects to the images to be included in the

website (using HTML Tags)

PROBLEMS

S

OBJECTIVES

OUTCOME

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 16 A

MU

AM

U

CS

D

WEEK #9

To learn concept of UML Diagram.

To learn concept of Activity Diagram.

After completing this, the students would be

able to draw Activity Diagram of real life

applications.

1# Draw Activity Diagram for Automatic Teller Machine.

2# Draw Activity Diagram for Library Management System.

3# Draw Activity Diagram for Order Processing Application.

4# Draw Activity Diagram for Student Registration Process.

5# Draw Activity Diagram for Employee Management System.

PROBLEMS

S

OBJECTIVES

OUTCOME

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 17 A

MU

AM

U

CS

D

WEEK #10

To learn concept of UML Diagram.

To learn concept of Sequence Diagram.

After completing this, the students would be

able to draw Sequence Diagram of real life

applications.

1# Draw Sequence Diagram for Automatic Teller Machine.

2# Draw Sequence Diagram for Library Management System.

3# Draw Sequence Diagram for Order Processing Application.

4# Draw Sequence Diagram for Student Registration Process.

5# Draw Sequence Diagram for Employee Management System.

PROBLEMS

S

OBJECTIVES

OUTCOME

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 18 A

MU

AM

U

CS

D

WEEK #11

To learn concept of Gantt-Chart Diagram.

After completing this, the students would be

able to draw Time Line Chart Diagram of real

life applications.

Draw a Gantt-Chart or Time Line Chart for development plan for a

project on University Management System.

PROBLEMS

S

OBJECTIVES

OUTCOME

LAB MANUAL/B.Sc. (CA)/CCB–4P1/CSD-AMU 19 A

MU

AM

U

CS

D

WEEK #12

To learn concept of SRS.

After completing this, the students would be

able to draw and documentation of SRS.

Write and Draw SRS document for a project on University Management

System.

PROBLEMS

S

OBJECTIVE

OUTCOME