+ All Categories
Home > Documents > Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential...

Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential...

Date post: 21-Jun-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
32
Laboratory Manual Department of Computer Science Aligarh Muslim University Aligarh 2017-18 B.Sc. VI Semester Laboratory CourseVII (CCB-6P1) (Computer Applications)
Transcript
Page 1: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

La

bo

ra

tor

y M

an

ua

l

Department of Computer Science

Aligarh Muslim University Aligarh

2017-18

B.Sc.

VI Semester

Laboratory Course—VII (CCB-6P1)

(Computer Applications)

Page 2: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

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)

The Committee thankfully acknowledges the efforts and contributions of the following

teachers:

Dr. Mohammad Nadeem

Md. Naved Iqbal

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

Page 3: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

COURSE TITLE: Laboratory Course-VII COURSE CODE: CCB – 6P1

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), VI-Semester to learn the concepts of Data communication

& computer networks, System Analysis & Design and Internet & Web

Technology.

This course provides both practical and general knowledge of

data communication: It deals to become familiar with the hardware

devices used in a LAN, installation of required software for proper

network communication, creating a simple LAN etc.

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.

Beside these, this course introduces World Wide Web Consortium

(W3C) standard markup language and services of the Internet which

include creating dynamic web pages using PHP, HTML, JSP and Java

Servlet.

CONTENT

This Lab assignment course is designed to help students in

getting practical knowledge LAN architecture; the hardware devices

Page 4: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

used in LAN, what types of software requires for proper installation of

network communication, how to configure the LAN Network etc.

This course deals 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.

Beside these, this course introduces to implement a website on

the Internet or corporate Intranet by using PHP, HTML, Java Script and

Java Servlet.

OBJECTIVES

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

Design ER diagram.

Design Data Flow diagram of various levels.

Become familiar with the hardware devices used in a LAN.

Installation of required software for proper network

communication.

Create a simple LAN.

Learn to verify and configure the network settings.

Develop the understanding of LAN installation and

administration.

Design the dynamic web pages using PHP, HTML, Java

Script and Java Servlet.

Page 5: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

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.

Become familiar with the hardware devices used in a LAN.

Installation of required software for proper network

communication.

Create a simple LAN.

Learn to verify and configure the network settings.

Develop the understanding of LAN installation and

administration.

Design the dynamic web pages using PHP, HTML, Java

Script and Java Servlet.

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

Page 6: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

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

incomplete.

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

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.

Page 7: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

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.

Page 8: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #1

To learn concept of Physical DFD, Logical DFD.

To learn draw concept of level 0 DFD, Level 1DFD, Level 2

DFD.

To learn how to draw a Data Flow Diagram

To learn using HTML Tags.

To learn the Practical use of HTML.

To become familiar with the hardware devices used in a LAN.

After completing this Students would be able to:

draw Data Flow Diagram of real life applications.

create web pages using basic html tags.

use the listing in web pages.

get familiar with the hardware devices used in the LAN.

1# Create a webpage using HTML attributes (title, src,id etc).

2# Make a webpage using HTML formatting tags( small, sub, s etc).

3# Create a webpage to show given nested dropdownlist output.

Coffee

1. Cold Coffee

2. Dark coffee

Tea

o Black tea

o Green tea

Milk

A. Dairy milk

B. Amul milk

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 9: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

4# Make the students familiar with various physical components of a

computer.

Components of a typical Network (PCs, NICs, Resources,

Devices (Hub, Switch, Router, Firewall etc))

Different cables (Coaxial, Twisted Pair UTP/STP CAT 5/6)

Interfaces and Connectors (RJ 45 etc) and Terminator.

Installing NICs, Configuring Operating System for Network.

Types of network Model.

5# Prepare physical, logical, context level and level 1 DFDs for

following activities.

a. Returning a book to a library.

b. getting a ticket reserved for a train journey.

c. Mess management system.

d. Buying an item from a supermarket.

Page 10: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #2

To learn designing the form with HTML.

To learn draw concept of level 0 DFD, Level 1DFD, Level 2

DFD.

To learn how to draw a Data Flow Diagram

To learn to install softwares required for proper network

communication.

After completing this, students would be able to:

draw Data Flow Diagram of real life applications.

design web pages using form tags(like text area, radio

button ,Checkbox, Option, Text area etc.

understand and install softwares required for proper network

communication.

1# Create a HTML document as shown in given below figure and

save it as carchoice.html .

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 11: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

2# Try to figure out how to add the following styles:

Make your hyperlinks not underlined by default. When a user

hovers over the link, the underline should appear. (Hint: Look

for information about CSS pseudo-classes.)

Make every paragraph start with a drop-caps; that is, a large

initial letter that is 1.5 times the normal paragraph font size.

(Hint: Look for information about CSS pseudo-elements.)

Make one element scroll across the page as a marquee using

entirely CSS.

3# Get familiar with the softwares needed for network-setup.

4# 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

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 all levels

of DFDs (0, 1, 2) corresponding to the above problem.

Page 12: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #3

To learn how to make table using HTML.

To learn installing the client operating system.

To learn drawing Physical DFD, Logical DFD.

After completing this, students would be able to:

design table in the web page.

install the client operating system.

draw the Physical DFD, Logical DFD of real life problems.

1# Create a HTML document as shown in given below figure and

save it as table.html .

2# Learn to install a Client-operating system.

3# 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

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 13: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

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. Give physical and

logical DFDs corresponding to the above problem.

Page 14: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #4

To learn Case ceding Style Sheet.

To learn the Practical use of CSS.

After completing this:

Students would be able to understand to create web pages

using CSS.

Students would be able to understand to create web pages

stylish and smart.

1# Create the webpage to show given below figure. Save it as

index.html

Then add an external style sheets to index.html. Name the style sheet

as question.css. The style sheet should do the following:

Display h1 elements in blue

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 15: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

Display h3 element Green and font size 10.

Display all links in blue without underlining them(question 2 etc)

When the mouse hovers over the link, change the link‟s

background color to yellow, and text‟s color to blue.

Declare a style class named „dark‟ that sets the font to bold. .

Page 16: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #5

To learn Case ceding Style Sheet.

To learn the Practical use of CSS.

To learn the Entity Relationship Diagram.

To learn installing the server operting system.

After completing this, the students would be able to:

understand to create web pages using CSS.

understand to create web pages stylish and smart.

draw Data Entity Relationship Diagram of real life problems.

install server operating system.

1# Produce the following table using CSS positioning (relative or

absolute) instead of <table>.

Column 1 Column 2 Column 3

A numbered list: Able

Baker

Charlie

Delta

Echo

B

C

An unnumbered list: Pounds

Dollars

Euro

Yen

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 17: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

Roubles

2# Learn to install a Server-operating system.

3# Give Entity Relationship Diagram corresponding to the given

problem.

A small accounting firm wants a simple HR application that will

help it to keep track of its employees, their positions, allowances,

salary scales, and which company vehicles their employees drive.

The application must keep track of all the positions at the firm, the

employees filling these positions, the allowances for these

positions, the salary scales for these positions, and the company

vehicles assigned to these positions.

List of entities and their corresponding attributes

Employee Position allowances salary scales

vehicles

Emp Id(pk) Pos Id(pk) Allow Id(pk) S Code(pk) VIN(PK)

Name Pos name Allow name S name Registration no

Gender Pos description

Allow description

S description

Year

DOB Details Amount Min salary make

Email Max salary modal

Address Colour

Page 18: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #6

To learn to make static web.

To learn the Practical use of Frame and to insert images.

To learn how to configure the client machine.

After completing this, the students would be able to:

design the static web page.

use the frame tag and image tag in HTML.

understand how to configure the client machine.

1# Create a webpage using CSS(inline, Internal and External) to

show your CV. 2# Configuring the client –machine.

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 19: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #7

To learn to make static web.

To learn to design the static web site using HTML and CSS.

To learn how to configure the server machine.

To learn to draw the Entity Relationship Diagram of real life

problems.

After completing this, the students would be able to:

design the static web page.

use the frame tag and image tag in HTML.

understand how to configure the client machine.

design the Entity Relationship Diagram of real life problems.

1# Design the static web pages required for an online book store web

site. The static home page must contain three frames. Top frame:

Logo and the college name and links to Home page, Login page,

Registration page, Left frame : At least four links for navigation,

which will display the catalogue of respective links. For e.g.: When

you click the link “CSE” the catalogue for CSE Books should be

displayed in the Right frame. Right frame: The pages to the links in

the left frame must be loaded here. Initially this page contains

description of the web site. The Home page should have links of

tab to another related pages.

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 20: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

2# Learn to configure a server machine.

3# The registrar at a small college wants an application that will help

their department keep track of the schedule of classes, the

courses and lecturers appearing in the schedule, and the students

registering for courses according to the schedule.

Courses are scheduled every semester and this is documented in

the schedule of classes, which also documents the lecturers

assigned to each schedule of a class. Students register for

courses according to the schedule of classes.

Users (students, lecturers, and other college staff) must login to

the application to gain access, and the application must keep track

of user logins/logouts. In addition, users must have different levels

of access, which will determine their access to different parts of the

application. .

List of entities and their corresponding attributes

Students course Schedule of classes

Semesters

Lectures

Access levels

Users Log Entries

Enrollment No(PK)

C Id(pk) S Id(pk) Sem Id(pk)

L Id(PK)

ACL Id(pk)

User Id(pk)

loge Id(pk)

Page 21: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

Name C name S code Sem code

Name ACL code login Logged on

gender C code section Sem name

gender Short name

User Name

Logged off

DOB C description

day year Mobile no

Long name

password

Email Time Start date

Email ACL description

Active

Address Location End date Address

State State

Give Entity Relationship Diagram corresponding to the above

problem.

Page 22: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #8

To learn to apply checks and constraints over LAN.

To learn to verify and configure the network settings.

After completing this, the students would be able to:

apply various checks on the different users on the LAN

verify and configure the network settings.

1# Applying checks and constraints on the users.

2# Giving different permission to the users and administrators.

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 23: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #9

To learn designing the form using various controls with

HTML.

To learn how to prepare the straight cable and Crossover

cable for the LAN.

After completing this, the students would be able to:

design the form with HTML.

prepare the straight cable and Crossover cable for the LAN.

1# Create a “registration form “with the following fields

1) Name(Textfield)

2) Password (password field)

3) E-mail id (text field)

4) Phone number (text field)

5) Sex (radio button)

6) Date of birth (3 select boxes)

7) Languages known (check boxes – English, Telugu, Hindi, Tamil)

8) Address (text area)

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 24: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

2# Briefing and Making of the straight cable and Crossover cable.

Page 25: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #10

To learn the concepts of XML.

To learn how to connect the two PCs directly via a Crossover

cable.

After completing this, the students would be able to:

understand the concepts of XML.

verify and configure the network settings.

1# Draw data models for the following entities. In each case, make

certain that you show the attributes and identifiers: (use XML)

a. Aircraft: An aircraft has a manufacturer, model number, call sign

(e.g., N123D), payload, and a year of construction. Aircraft are

classified as civilian or military.

b. Restaurant: A restaurant has an address, seating capacity,

phone number, and style of food (e.g., French, Russian,

Chinese).

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 26: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

2# Connecting two PCs directly via a Crossover cable.

Page 27: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #11

To learn how to write XML document.

To learn how to design the E-R Diagram of a real life

problem.

To learn the hardware details of the PCs.

After completing this, the students would be able to:

prepare an XML document of any real life application.

design the E-R Diagram of a real life problem.

know the hardware details of the PCs.

1# Write code for given below hierarchy.(use XML)

2# Record the details of your PCs.

3# Suppose you are given the following requirements for a simple

database for the National Hockey League (NHL):

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 28: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

The NHL has many teams.

Each team has a name, a city, a coach, a captain, and a set

of players.

Each player belongs to only one team.

Each player has a name, a position (such as left wing or

goalie), a skill level, and a set of injury records.

A team captain is also a player.

A game is played between two teams (referred to as

host_team and guest_team) and has a date (such as May

11th, 1999) and a score (such as 4 to 2).

Construct a clean and concise ER diagram for the NHL database

using the Chen notation as in your textbook. List your assumptions

and clearly indicate the cardinality mappings as well as any role

indicators in your ER diagram.

Page 29: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #12

To learn how to write XML document.

To develop the understanding of LAN installation and

administration.

After completing this, the students would be able to:

prepare an XML document of any real life application.

develop the understanding of LAN installation and

administration.

1# Write code for given below hierarchy.(use XML)

2# Changing the Name and IP Address of your computer.

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 30: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #13

To learn understand the JavaScript.

To learn how to design the E-R Diagram of a real life

problem.

To learn how to test the LAN network.

After completing this, the students would be able to:

write, debug and execute the JavaScript programs.

design the E-R Diagram of a real life problem.

Test the LAN network.

1# Write a JavaScript program to display the current day and time in

the following format:

Sample Output : Today is : Friday.

Current time is : 4 PM : 50 : 22

2# Write a JavaScript program to get the current date.

3# Testing the LAN by pinging.

4# Estate Agency case study

Clients wishing to put their property on the market visit the estate

agent, who will take details of their house, flat or bungalow and

enter them on a card which is filed according to the area, price

range and type of property.Potential buyers complete a similar

type of card which is filed by buyer name in an A4 binder. Weekly,

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S

Page 31: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

the estate agent matches the potential buyer's requirements with

the available properties and sends them the details of selected

properties. When a sale is completed, the buyer confirms that the

contracts have been exchanged, client details are removed from

the property file, and an invoice is sent to the client. The client

receives the top copy of a three part set, with the other two copies

being filed. On receipt of the payment the invoice copies are

stamped and archived. Invoices are checked on a monthly basis

and for those accounts not settled within two months a reminder

(the third copy of the invoice) is sent to the client.

Create a context diagram and Ist level DFD for this Estate Agency case study.

Page 32: Laboratory Course VII - Aligarh Muslim University · An advertisement is issued giving essential qualifications for the course, the last date for receipt of application, and the fee

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

MU

AM

U

CS

D

WEEK #14

To learn understand the JavaScript.

To learn to develop the administration on the LAN network.

After completing this, the students would be able to:

write, debug and execute the JavaScript programs.

develop the administration on the LAN network.

1# Write a JavaScript program to calculate multiplication and division

of two numbers (input from user).

2# Write a JavaScript function that reverse a number:

Example x = 32243;

Expected Output : 34223

3# Establishing the Share files and folders.

OB

JE

CT

IVE

S

OU

TC

OM

ES

PROBLEMS

S


Recommended