Sunteți pe pagina 1din 73

EXP NO: 01 STUDENT MARK ANALYZING SYSTEM DATE: AIM: To develop an application and generate ANSI C++ code

for student mark analysis system using Rational Rose software. PROBLEM ANALYSIS: The main objective of this system is to analyze the performance of the students based on the marks obtained in order to realize the academic strengths and weaknesses of the students. PROJECT PLANNING AND STUDY OF PROJECT: The system is designed using RATIONAL ROSE SOFTWARE. This system deals with various aspects like: 1. How the grades are obtained? 2. How the performances of the students are analyzed? SYSTEM REQUIREMENT SPECIFICATION: Individual Phases: This System comprises of modules like 1. Login 2. Mark analysis 3. Administrator rights Input Specification: 1. 2. 3. 4. Enter the Student ID and password. Enter the Student details. Enter the Marks of students. Analyse student performance and mention credit.

USE CASE DIAGRAM:

login student update profile

view student details COE Lecturer

credit marks

calculate cgpa parent

update marks

view report

CLASS DIAGRAM:

SEQUENCE DIAGRAM:

professor

student

COE

parents

system

credit marks login

update student marks

login

view student marks

login

view marks

login

view details

COLLABORATION DIAGRAM:

1: credit marks professor COE

4: login 5: view student marks 2: login 3: update student marks

system 8: login 9: view details

parents

6: login 7: view marks student

ACTIVITY DIAGRAM:

login

check user professor Student view details COE calc CGPA view stud details

view report

update

credit details

logout

COMPONENT DIAGRAM:

student

COE

Professor

SAMPLE CODE:

#include "students.h" //##ModelId=4E2E6B800184 students::enter_marks() { } //##ModelId=4E2E6B810109 students::retrieve_results() { }

//##ModelId=4E2E6CC30263 students::check details() { } //##ModelId=4E2E6CD0021C students::allot result() { }

RESULT: The code was successfully generated for the student mark analyzing system using Rational Rose Software.

EXP NO: 02 QUIZ DATE: AIM: To develop an application and generate ANSI C++ code for Quiz system using Rational Rose software. PROBLEM ANALYSIS: The objective of this system is to develop a quiz application wherein the participants are provided with questions from the topics they select and the quiz master checks for the correct answers and updates the scores. PROJECT ANALYSIS AND STUDY OF PROJECT: This system is designed using Rational Rose Software. The system deals with aspects like: 1. Questions in accordance with the topics selected 2. Evaluation of answers based on the given criteria 3. Updating scores of participants SYSTEM REQUIREMENT SPECIFICATION: Individual Phases: 1. Login 2. Questionnaire 3. Update scores Input Specification: 1. 2. 3. 4. Enter the user name and password Select the topic Answer the questions Enter the scores for participants. SYSTEM

USE CASE DIAGRAM:

set ques

master

login

update

participant

choose category

display the question server

answer the question

veirfy the answer

display the result

view result

CLASS DIAGRAM:

SEQUENCE DIAGRAM:

student

login

computer

quiz setter

result

set the question login

choose category

display the question

answer the question

evaluate and display the result

view result

COLLABORATION DIAGRAM:

5: answer the question student 4: display the question computer 1: set the question quiz setter

2: login 7: view result 6: evaluate and display the result 3: choose category

login result

ACTIVITY DIAGRAM:

login

Participant? yes

no

choose category

set and update question and ans

ans the quest

view result

COMPONENT DIAGRAM:

Studen t

Quiz

quiz master

Techni cal

Non-tec hnical

SAMPLE CODE:

#ifndef QUIZ_H_HEADER_INCLUDED_B1C818A7 #define QUIZ_H_HEADER_INCLUDED_B1C818A7 //##ModelId=4E377EDB034C class quiz { public: //##ModelId=4E377F190276 opname(); private: //##ModelId=4E377EF40325 name;

//##ModelId=4E377EFE0397 user_id; //##ModelId=4E377F0401DE corse of study; //##ModelId=4E377F0E03E5 name of insti; }; #endif /* QUIZ_H_HEADER_INCLUDED_B1C818A7 */

RESULT: The ANSI C++ code was successfully generated for implementation of a quiz system using Rational Rose Software.

EXP NO: 03 ONLINE TICKET RESERVATION DATE: AIM: To develop an application and generate ANSI C++ code for online ticket reservation using Rational Rose software. PROBLEM ANALYSIS: The main objective of this system is to analyze the performance of the booking of the railways reservation system. PROJECT PLANNING AND STUDY OF PROJECT: The system is designed using RATIONAL ROSE SOFTWARE. This system deals with various aspects like: 1. How to reserve train tickets online? 2. How to check the availability of train tickets? SYSTEM REQUIREMENT SPECIFICATION: Individual Phases: This System comprises of modules like 1. Login 2. Check availability 3. Reserve Tickets Input Specification: 1. Enter Passengers User name and Password. 2. Enter source and destination to check availability. 3. Enter bank account no to make payments and receive ticket.

USE CASE DIAGRAM:

login

update

train avibility and date

passenger reservation

data base

payment

print ticket

cancellation form

log out

CLASS DIAGRAM:

SEQUENCE DIAGRAM:

passenger

login

database

reservation

payment

bank

name and password check avability

repeat

reserve ticket pay

payment

check for bal

paid

print ticket

COLLABORATION DIAGRAM:

1: name and password reservation 4: reserve ticket passenger login

7: check for bal 9: print ticket

3: repeat 2: check avability

8: paid bank 6: payment payment

5: pay database

ACTIVITY DIAGRAM:

start

login account

cancilation check avability reservation form

payment

payment to user accountt

get ticket

log out

end

COMPONENT DIAGRAM:

login

database

payment

update

SAMPLE CODE: #ifndef CHECK_AVABILITY_H_HEADER_INCLUDED_B1B614B7 #define CHECK_AVABILITY_H_HEADER_INCLUDED_B1B614B7 //##ModelId=4E37A84601DC class check avability { public: //##ModelId=4E37A86C0355 get avability();

private: //##ModelId=4E37A85903A2

train name; //##ModelId=4E37A8600393 train no; //##ModelId=4E37A86700E4 date; }; #endif /* CHECK_AVABILITY_H_HEADER_INCLUDED_B1B614B7 */

RESULT: The code has been generated successfully for Online Ticket Reservation using Rational Rose software in ANSI C++.

EXP NO: 04 PAYROLL SYSTEM DATE: AIM: To develop an application and generate ANSI C++ code for for payroll system using Rational Rose software . PROBLEM ANALYSIS: The main objective of this system is to develop a application for the employee to calculate his salary and keep his details in the databse. PROJECT PLANNING AND STUDY OF PROJECT: The system is designed using RATIONAL ROSE SOFTWARE. This system deals with various aspects like: 1. How the net pay is calculated? 2. How the allowance is calculated? SYSTEM REQUIREMENT SPECIFICATION: Individual Phases: This System comprises of modules like 1. Login 2. Calculate salary 3. View salary details

Input Specification: 1. Enter Employee User name and Password. 2. Enter Employee name and department. 3. Calculate net salary using PF, HRA, Bonus of employee.

USE CASE DIAGRAM:

login

employee

employee details

system.

view salary

enter salary details manager

calculate salary

CLASS DIAGRAM:

SEQUENCE DIAGRAM:

Employee

Manager

System

login

Enter and calculate details

View details

login

view

logout

logout

COLLABORATION DIAGRAM:

Employee Manager

4: login 5: view 7: logout

6: logout

1: login 2: Enter and calculate details 3: View details System

ACTIVITY DIAGRAM:

Login

no validate? yes Enter name,ID

yes

manager? no

Update and calculate net salary

View updated details

View his details

Log out

COMPONENT DIAGRAM:

View

Login

System

SAMPLE CODE: #ifndef ADMIN2_H_HEADER_INCLUDED_B1B5FDD9 #define ADMIN2_H_HEADER_INCLUDED_B1B5FDD9 //##ModelId=4E4A018C0206 class admin { public: //##ModelId=4E4A01BF01D7 payment(); private: //##ModelId=4E4A019501C9 update; //##ModelId=4E4A019A014E pay; }; #endif /* ADMIN2_H_HEADER_INCLUDED_B1B5FDD9 */ RESULT: The code has been generated successfully for Payroll System using Rational Rose software in ANSI C++.

EXP NO: 05 COURSE REGISTRATION SYSTEM DATE: AIM: To develop an application and generate ANSI C++ code for course registration system using Rational Rose software.

PROBLEM ANALYSIS: The main objective of this system is to develop an application for the online course registration of an student on the basis of his qualification and the seat availability in his choice.

PROJECT PLANNING AND STUDY OF PROJECT: The system is designed using RATIONAL ROSE SOFTWARE. This system deals with various aspects like: 1. Which course is desired to be taken. 2. Whether seats for the desired course is available or not.

SYSTEM REQUIREMENT SPECIFICATION: Individual Phases: This System comprises of modules like 1. Login 2. Registration Input Specification: 1. Personal details 2. Qualification

USECASE DIAGRAM:

personal detailas

age limit

address

aspirant qualification

database

course

requirement

CLASS DIAGRAM:

SEQUENCE DIAGRAM:

student name

login

enter details

course details

database

enter details

select the course

check for the eligibility check avability

update to database

get course details

logout

COLLABORATION DIAGRAM:

student

enter details

1: name 8: logout 5: check avability 2: enter details 7: get course details 4: check for the eligibility

database 6: update to database

course details 3: select the course

login

ACTIVITY DIAGRAM:

start

login

select course

check avability

yes

if avaliable no

course update

go for different course

data base

logout

end

COMPONENT DIAGRAM:
applicatio n form database course details

SAMPLE CODE: #ifndef COURSE_DETAILS_H_HEADER_INCLUDED_B1D180D6 #define COURSE_DETAILS_H_HEADER_INCLUDED_B1D180D6 //##ModelId=4E2E4C140305 class course course course details { public: //##ModelId=4E2E4C7101D5 course name(); //##ModelId=4E2E4CB402B5 subject name(); private: //##ModelId=4E2E4CCF0377 course; //##ModelId=4E2E4CDC0190 subject; }; #endif /* COURSE_DETAILS_H_HEADER_INCLUDED_B1D180D6 */

RESULT: The code has been generated successfully for Course Registration System using Rational Rose software in ANSI C++.

EXP NO: 06 EXPERT SYSTEM-(LIBRARAY MANAGEMENT) DATE: AIM: To develop an application and generate ANSI C++ code for expert system using Rational Rose software. PROBLEM ANALYSIS: The main objective of this system is to manage the transaction of books in library with a proper authentication of the members. PROJECT PLANNING AND STUDY OF PROJECT: The system is designed using RATIONAL ROSE SOFTWARE. This system deals with various aspects like: 1. Whether the members are authenticated 2. Which books are being added or issued from the library.

SYSTEM REQUIREMENT SPECIFICATION: Individual Phases: This System comprises of modules like 1. Login 2. Browsing of books 3. Manager rights Input Specification: 1. Enter the Student ID and password. 2. Enter the books to be issued or to be returned.

USECASE DIAGRAM:

issue Student

browse

request for issue

Librarian

authenticate Manager

manage books

CLASS DIAGRAM:

SEQUENCE DIAGRAM:

student : stu_details

librarian : librarians manage_books

manager : managers

is_damaged

buy_new login

authenticate

search

req_return

return

req_issue

issue

logout

COLLABORATION DIAGRAM:

student : stu_details

4: login 6: search 7: req_return 9: req_issue 11: logout

5: authenticate 8: return 10: issue librarian : librarians 1: manage_books 3: buy_new

2: is_damaged

manager : managers

ACTIVITY DIAGRAM:

start

login

authenticate yes

browse/search

return no

issue

logout

stop

COMPONENT DIAGRAM:
stu_de tails

manage_ books

librarians

managers

book_det ails

SAMPLE CODE: #ifndef MANAGE_BOOKS_H_HEADER_INCLUDED_B1A392EB #define MANAGE_BOOKS_H_HEADER_INCLUDED_B1A392EB #include "book_details.h" //##ModelId=4E377D0E0161 class manage_books : public book_details { public: //##ModelId=4E3780A50255 buy();

private: //##ModelId=4E37808C0223 String managar_id; }; #endif /* MANAGE_BOOKS_H_HEADER_INCLUDED_B1A392EB */

RESULT: The code has been generated successfully for Expert System using Rational Rose software in ANSI C++.

EXP NO: 07 ATM SYSTEM DATE: AIM: To develop an application and generate ANSI C++ code for ATM System using Rational Rose software. PROBLEM ANALYSIS: The main objective of this system is to develop an ATM system so that anyone can take money from wherever they want. PROJECT PLANNING AND STUDY OF PROJECT: The system is designed using RATIONAL ROSE SOFTWARE. This system deals with various aspects like: 1. Type of transaction to be done. 2. Whether the user want money or just balance enquiry. SYSTEM REQUIREMENT SPECIFICATION: Individual Phases: This System comprises of modules like 1. GUI interface of the atm system 2. Database authentication. Input Specification: 1. Enter the pin 2. Type of transaction 3. Amount to be withdrawn.

USECASE DIAGRAM:

include approval process bank atm transaction extends

extends invalid pin

include extends extends withdrawal amount

extends cheacking transaction history person mini statement extends extends extends saving transaction history bal enquiry

CLASS DIAGRAM:

SEQUENCE DIAGRAM:

person insert card

atm

bank

request password verify account account ok request option transaction inter option

create transaction

update transaction transaction commit complate

dispatch cash request cash take cash

print recipt

take card

COLLABORATION DIAGRAM:
1: insert card 6: inter option 13: take cash person 2: request password 5: request option 11: dispatch cash 12: request cash 14: print recipt 15: take card atm 4: account ok 9: transaction commit

3: verify account 8: update transaction bank

7: create transaction 10: complate

transaction

ACTIVITY DIAGRAM:

insert card

insert pin

wrong pin

transaction type

balance enqry

transaction

current saving

get statement

get card

COMPONENT DIAGRAM:
person atm system

SAMPLE CODE: #ifndef DB_H_HEADER_INCLUDED_B1ACAB01 #define DB_H_HEADER_INCLUDED_B1ACAB01 //##ModelId=4E533E6D001F class db { public: //##ModelId=4E533EF70320 amnt(); private: //##ModelId=4E533EB403AB pin; //##ModelId=4E533EC70277 username; //##ModelId=4E533EDD03AB total amnt; }; #endif /* DB_H_HEADER_INCLUDED_B1ACAB01 */

RESULT: The code has been generated successfully for ATM System using Rational Rose software in ANSI C++.

EXP NO: 08 STOCK MAINTANANCE DATE: AIM: To develop an application and generate ANSI C++ code for Stock Maintanance System using Rational Rose software. PROBLEM ANALYSIS: The main objective of this system is to develop an Stock management system which would have details of products with its sales and purchasing details. PROJECT PLANNING AND STUDY OF PROJECT: The system is designed using RATIONAL ROSE SOFTWARE. This system deals with various aspects like: 1. Whether the product ID is available or not. 2. Sales and purchasing of products SYSTEM REQUIREMENT SPECIFICATION: Individual Phases: This System comprises of modules like 1. Administrator rights 2. Supplier norms and condition. 3. Customer requirements. Input Specification: 1. Enter product ID. 2. Enter product details.

USECASE DIAGRAM:

Product Details

Admin Purchase Details

Sales Details

Customer

Purchase the Product Supplier

Supply the Product

CLASS DIAGRAM:

SEQUENCE DIAGRAM:
customer 1:LogIn verifier DB

2:Enter the Product ID 3:Check Av ailability 4:Return Av ailability 5:Return Av ailable Details

6:Enter the Product Details

7:Enter the Stock Details 8:Store the product Details

9:Maintain and store the Stock Details

COLLABORATION DIAGRAM:
customer

DB 1: 1:LogIn 2: 2:Enter the Product ID 6: 6:Enter the Product Details 7: 7:Enter the Stock Details 5: 5:Return Available Details

3: 3:Check Availability 8: 8:Store the product Details 9: 9:Maintain and store the Stock Details 4: 4:Return Availability

verifier

ACTIVITY DIAGRAM:

Enter Product ID

If Already Exists Error Message

Check the Product ID

If Not Exists

Enter the Product Details

Enter the Product Name

Enter Amount

Enter the opening Stock

Purchase the Product

Save the Purchase Details Store the Product in Stock

COMPONENT DIAGRAM:
Enter Product ID Store the Product in Stock

Purchase the Product

Save the Purchase Details

SAMPLE CODE: #ifndef SALES_DETAILS_H_HEADER_INCLUDED_B187FDAA #define SALES_DETAILS_H_HEADER_INCLUDED_B187FDAA #include "Purchase_details.h" //##ModelId=4E7821780378 class Sales_details : public Purchase_details { public: //##ModelId=4E78228A0242 AddSales(); //##ModelId=4E7822910004 exit();

private: //##ModelId=4E78222902D0 sname;

//##ModelId=4E78227702F2 sdate; //##ModelId=4E7822840027 price; //##ModelId=4E78228502C2 qty; }; #endif /* SALES_DETAILS_H_HEADER_INCLUDED_B187FDAA */

RESULT: The code has been generated successfully for Stock maintenance System using Rational Rose software in ANSI C++.

EXP NO: 09 REAL TIME SCHEDULER DATE: AIM: To develop an application and generate ANSI C++ code for real time scheduler using Rational Rose software. PROBLEM ANALYSIS: The main objective of this system is to develop a real time scheduler which take the input from the automatic sensors and respond to the actuator. PROJECT PLANNING AND STUDY OF PROJECT: The system is designed using RATIONAL ROSE SOFTWARE. This system deals with various aspects like: SYSTEM REQUIREMENT SPECIFICATION: 1. Sensor specification 2. Hardware and software interface Individual Phases: This System comprises of modules like 1. Sensor analysis. 2. Data processor system 3. Actuator control system Input Specification: 1. Sensor data collection 2. Data analysis by processors.

USECASE DIAGRAM:

hardware scheduler s/w scheduler data data analysis

system sensor sensor analyse

output analysis

timer analysis

output

time

CLASS DIAGRAM:

SEQUENCE DIAGRAM:

data

system

output

input data data analysis

sensor

sensor response

timer

schedulers hw/sw

output

COLLABORATION DIAGRAM:

2: data analysis 4: sensor response 6: schedulers hw/sw 1: input data 3: sensor 5: timer data system

7: output output

ACTIVITY DIAGRAM:

start

data input

hw scheduler

sw scheduler

timer

priority

time schudle

select priority

output

stop

COMPONENET DIAGRAM:

hw schduler

sw schduler

system

display

SAMPLE CODE: #ifndef SYSTEM1_H_HEADER_INCLUDED_B16C035E #define SYSTEM1_H_HEADER_INCLUDED_B16C035E //##ModelId=4E78342302A7 class system { public: //##ModelId=4E78347B03B3 data analysis();

//##ModelId=4E7834860161

sensor analysis(); //##ModelId=4E78349500B6 timer(); private: //##ModelId=4E78345901FC data; //##ModelId=4E783462022B sensor; //##ModelId=4E78347401AF time; };

RESULT: The code has been generated successfully for real time scheduler System using Rational Rose software in ANSI C++.

EXP NO: 10 REMOTE PROCEDURE CALL IMPLEMENTATION DATE: AIM: To develop an application and generate code for remote procedure call implementation using Rational Rose software in ANSI C++. PROBLEM ANALYSIS: The main objective of this system is to send message between the server and client through remote procedure call implementation. PROJECT PLANNING AND STUDY OF PROJECT: The system is designed using RATIONAL ROSE SOFTWARE. This system deals with various aspects like: 1. Client side 2. Server side SYSTEM REQUIREMENT SPECIFICATION: Individual Phases: This System comprises of modules like 1. Client request and Server request 2. Client and server acknowledgement. 3. Server reply to the client. Input Specification: 1. RPC message request call. 2. Client Acknowledgement.

USECASE DIAGRAM:

send request

accept request

ack req client/sender call rpc server/receiver

process rpc

reply msg

ack reply

CLASS DIAGRAM:

SEQUENCE DIAGRAM:

sender : sender

receiver : receiver

send request

ack req

call rpc

process rpc

reply processed data

ack reply

COLLABORATION DIAGRAM:

4: process rpc 1: send request 3: call rpc 6: ack reply sender : sender 2: ack req 5: reply processed data
ACTIVITY DIAGRAM:

receiver : receiver

client

serv er

send request accept req

ack req call rpc

process rpc

reply response receive response

ack reply

COMPONENT DIAGRAM:
sender receiver

SAMPLE CODE: #ifndef RECEIVER_H_HEADER_INCLUDED_B1A3612A #define RECEIVER_H_HEADER_INCLUDED_B1A3612A //##ModelId=4E5C79DA03AD class receiver { public: //##ModelId=4E5C7E8402B7 receive_request(); //##ModelId=4E5C7EB60278 send_ack(); //##ModelId=4E5C7EBA0248 send_response(); //##ModelId=4E5C7EC603CE receive_ack(); private: //##ModelId=4E5C7E880027 data; //##ModelId=4E5C7E930103 size_of_data; //##ModelId=4E5C7EA501DD port_no.;

}; #endif /* RECEIVER_H_HEADER_INCLUDED_B1A3612A */

RESULT: The code has been generated successfully for remote procedure call implementation System using Rational Rose software in ANSI C++.

S-ar putea să vă placă și