0% found this document useful (0 votes)
57 views9 pages

Task 1: 1) Report 1:DSD

The document contains details about various reports related to course management. It includes: 1) Descriptions of 6 reports that provide data on course details, client details, scheduled courses, course history, client companies, and candidates. 2) Flow charts and pseudocode for 2 reports - one on current scheduled courses and another on previous month's course details for a specific client. 3) Sample test plans for testing 2 reports - on scheduled courses and course history for a given client. The document provides information on different reports needed for a course management system, including their purpose, structure and logic for implementation.

Uploaded by

mahpanmax
Copyright
© Attribution Non-Commercial (BY-NC)
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)
57 views9 pages

Task 1: 1) Report 1:DSD

The document contains details about various reports related to course management. It includes: 1) Descriptions of 6 reports that provide data on course details, client details, scheduled courses, course history, client companies, and candidates. 2) Flow charts and pseudocode for 2 reports - one on current scheduled courses and another on previous month's course details for a specific client. 3) Sample test plans for testing 2 reports - on scheduled courses and course history for a given client. The document provides information on different reports needed for a course management system, including their purpose, structure and logic for implementation.

Uploaded by

mahpanmax
Copyright
© Attribution Non-Commercial (BY-NC)
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/ 9

Task 1

1)Report 1:DSD

Course Title

Report:Particular
Month Date

Location
Row *

Start Time

End Time

Current Booking

Explanation:For the report of course details for a particular month,their are multiple rows with details
course title,date,location,start time,end time,current booking.

2)Report 2:DSD

Course Title
Report:Client,Previ
ous Month
No.Of Places
Booked
Row*
Cost per place*

Total Cost

Explanation:For the report on client details for a particular month,their are multiple rows with details
course title,no: of places booked,cost for each place,total cost.
3)Report 1:PSD

Program

2)Report
Data Base Course Details O/p in report

Explanation:Read course details from database and output in report.

4)Report 2:PSD

Program

2)Report
Data Base Course Details Calculate O/p in report

Explanation:Read course details from database,for a particular client,do necessary calculation and
output in report.

5)Report 1:Program Specification

Program

2)Report
Get Current Database Output the
Month details as a
report

Prepare SQL Query Database


statement
Condition:current
month

Explanation:

First current month has to be found out.Then from the database , we need to query the relevant records
for current month.These records need to be displayed as a report .

6)Report 2:Program Specification

Program

2)Report
Get Previous Get the client Database Output the
Month name details as a
report

Prepare SQL Query Database


statement

Condition:previous Groupby(course Count(*) on Sum(cost)


month ,client title) location for a
particular course
title

Explanation:

Get the previous month,get keyboard input of client name.Query the database using groupby(course
title), get count(*) of each group and get total cost for each course title.Display the result for the
previous month of the particular client as a report.

Task 2
1)Report 1:Flow Chart

Start

Get current month

Prepare SQL statement


with condition as current
month
Query DB

O/p query result


into report

End

2)Report 2:Flow Chart

Start

Get previous month

Print ”Input client name”

Enter ‘client name’

Prepare SQL statement with condition


as previous month,client, using groupby
clause on course title,count(*) based on
course title,sum(cost)

Query DB

O/p query result


into report

End
Task 3
a)
1)Report 1:Pseudocode
begin

do compute current month

do prepare sql statement to query course details with condition ‘current month’.

do query database

do print query result into a report

end

2)Report 2:Pseudocode
begin

do compute previous month

do print “Input client name”

do enter ‘client name’

do prepare sql statement to query course details with condition ‘previous month’ and ‘client’

do append sql statement with groupby clause on ‘course title’

do append sql statement with count(*).

do append sql statement to compute sum(cost)

do query database

do print query result into a report

end

b)
begin

do print “Main Menu”

“1.Courses Available”

“2.Schedule a course”.

“3.Report:Scheduled Courses”

“4.Report:Course History”

“5.Report:Client Companies”

“6.Report:Candidates”

“7.Exit”

do print “Enter your choice(1-7)”

do switch(choice)

case 1 : call proc listCourses()

case 2:call proc scheduleCourse()

case 3:call proc reportCourses()

case 4:call proc reportCourseHistory()

case 5:call proc reportClient()

case 6:call proc reportCandidates()

case 7:call proc exit()

end

Task 4
Data in DB
CourseTitle Locatio n Date StartTime EndTime CurrentBooking Cost Client
Managing TrainingRoom1 12/3/2011 10:00 11:00 20 2500 ABC
Staff Corp
Market Traning Room 2/3/2011 14:00 15:00 20 3000 XYZ
Product 2 Corp
Soft Skill Client Loc 4/2/2011 10:00 11:00 30 2000 ABC
Corp
Soft Skill Training Room 23/3/2011 15:00 16:00 15 3000 XYZ
2 Corp
Managing Client Loc 15/2/2011 16:00 17:00 20 2000 ABC
Staff Corp

1)Report 1:Test Plan


Screen Shot Input Output
Main Menu 3 Output1
1.Courses Available
2.Schedule a course.
3.Report:Scheduled Courses
4.Report:Course History
5.Report:Client Companies
6.Report:Candidates
7.Exit

Enter your choice(1-7)

Output1

CourseTitle Locatio n Date StartTime EndTime CurrentBooking


Managing TrainingRoom1 12/3/2011 10:00 11:00 20
Staff
Market Traning Room 2/3/2011 14:00 15:00 20
Product 2
Soft Skill Training Room 23/3/2011 15:00 16:00 15
2

1)Report 2:Test Plan


Screen Shot Input Output
Main Menu 4 Output2
1.Courses Available
2.Schedule a course.
3.Report:Scheduled Courses
4.Report:Course History
5.Report:Client Companies
6.Report:Candidates
7.Exit

Enter your choice(1-7)

Input Client name ABC Corp


Screen Shot Input Output
Main Menu 4 Output3
1.Courses Available
2.Schedule a course.
3.Report:Scheduled Courses
4.Report:Course History
5.Report:Client Companies
6.Report:Candidates
7.Exit

Enter your choice(1-7)

Input Client name PQR Corp

Output2

CourseTitle No, Of Places Cost


Booked
Managing 2 4500
Staff
Soft Skill 1 2000

Output3

CourseTitle No, Of Places Cost


Booked

You might also like