by : abdul wahid. training organization software technology group (int.) ltd. jodhpur centre well...
DESCRIPTION
THE PROJECT NAME : AALEEF TASKS : 1.File compression/decompression 2.File encryption/decryption SCOPE : All types of filesTRANSCRIPT
![Page 1: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/1.jpg)
By : Abdul Wahid
![Page 2: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/2.jpg)
TRAINING ORGANIZATIONSoftware Technology Group (Int.) Ltd. Jodhpur centre
Well known as STGDIRECTOR : Mr.P.S.BhaduGUIDED BY: 1.Mr.Amit Rathore 2.Mrs.Sandya Harsh
![Page 3: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/3.jpg)
THE PROJECTNAME : AALEEF
TASKS : 1.File compression/decompression 2.File encryption/decryption
SCOPE : All types of files
![Page 4: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/4.jpg)
WHY CODEC AND ENDEC
1.Previous interests
2.Real world importance
3.Uncertainty about completion
4.Concurrent learning of java
![Page 5: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/5.jpg)
TEAM ORGANIZATION Single person project
Project manager to Tester – Abdul Wahid
![Page 6: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/6.jpg)
GOALS TO BE ACHIEVED1. Implementation of object oriented concept
2. Easiest help & user interface
3. Reusability & future extensibility
4. Other general facilities to user
![Page 7: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/7.jpg)
PROJECT PLAN TITLE- AALEEF
SCOPE-All types of files
SWDLC : Component based model
MODULES : 1.Endec 2.Codec 3.Help
![Page 8: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/8.jpg)
SHEDULINGMODULE INITIAL DATE LAST DATE
Endec 22-6-2004 1-7-2004
Codec 2-7-2004 26-7-2004
Help 27-7-2004 31-7-2004
Demo 2-8-2004 2-8-2004
![Page 9: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/9.jpg)
REQUIREMENT ANALYSIS
A. Functional Requirements 1.Overall Requirements(Services) 2.Functional Requirement of GUI
B. Non functional Requirements
![Page 10: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/10.jpg)
SYSTEM ANALYSISALGORITHM DESIGNING :
CODEC: STANDARD CANONICAL HUFFMAN
ENDEC: SELF DEVELOPED
![Page 11: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/11.jpg)
ALGORITHM DESIGNING
d e
f1
SYMBOL PROBa 0.4b 0.3c 0.1d 0.1e 0.1
HUFFMAN COMPRESSION :
SYMBOL PROBa 0.4b 0.3f1 0.2c 0.1 d e
c
f2
f1
:
SYMBOL PROB
a 0.4b 0.3
f2 0.3
1 2
![Page 12: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/12.jpg)
ALGORITHM DESIGNING
d e
c f1
f3
f2 b
d e
c
b
f1
f3
f4
a
f2
THE HUFFMAN TREE :0 1
0 1
0 1
0 1
:
SYMBOL PROBf3 0.6a 0.4
SYMBOL PROBf4 1.0
43
![Page 13: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/13.jpg)
ALGORITHM DESIGNING
THE CODES :Codes Length a=0 1 b=11 2 c=100 3 d=1010 4 e=1011 4Bits required in huffman coding=14Bits required in fixed length coding=15
![Page 14: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/14.jpg)
ALGORITHM DESIGNINGMESSAGE ENCODING & DECODING : Original message b e a b d a c
Fixed length encoding 001 100 000 001 011 000 010 Huffman encoding 11 1011 0 11 1010 0 100
d e
c
b
f1
f3
f4
a
f2
0 1
0 1
0 1
0 1
![Page 15: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/15.jpg)
THE CANONICAL HUFFMAN
Symbol Length a 1 b 2 c 3 d 4 e 4
STEPS FOR BASE CODES :
Repet from i=max code length to 1
Code=Code+Number of last codesCode>>1;Start_code[i]=CodeNumber of= no.of codes in last codes current length
Symbol BaseCode d 0000 c 001 b 01 a 1
![Page 16: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/16.jpg)
THE CANONICAL HUFFMANSTEPS FOR ACTUAL CODES :
1.Sort list in symbolic order2.Increment last code and assign codes
Symbol BaseCode d 0000 c 001 b 01 a 1
Symbol Code a 1 b 01 c 001 d 0000 e 0001
![Page 17: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/17.jpg)
ALGORITHM DESIGNING
THE ENCRYPTION ALGORITHM :
1.Read password and calculate len= password length.2.Write len and password to destination file.3.Read bytes from source file and to destination file write :
byte=byte value-(password length+2)
![Page 18: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/18.jpg)
ALGORITHM DESIGNING
THE DECRYPTION ALGORITHM :After matching the entered password with the password in file
1.Read bytes from source file and to destination file write :
byte=byte value+(password length+2)
![Page 19: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/19.jpg)
THE DFD’sLevel zero(0) DFD :
![Page 20: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/20.jpg)
THE DFD’sLEVEL ONE(1) DFD FOR Codec :
![Page 21: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/21.jpg)
THE DFD’sLEVEL TWO(2) DFD FOR Codec : Compress
![Page 22: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/22.jpg)
THE DFD’sLEVEL TWO(2) DFD FOR CODEC :Decompress
![Page 23: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/23.jpg)
THE DFD’sLEVEL ONE(1) DFD FOR Endec
![Page 24: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/24.jpg)
THE DFD’sLEVEL TWO(2) DFD FOR ENDEC : Encrypt
![Page 25: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/25.jpg)
THE DFD’s
LEVEL TWO(2) DFD FOR ENDEC : Decrypt
![Page 26: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/26.jpg)
SYSTEM DESIGNUser’s responsibility: Familiarity with working with files.
Validations: 1.Software must dynamically interact with user. 2.User friendly message should be shown if required. 3.Level of compression/encryption should be shown by extensions. 4.Facility for showing password should be given.
Interface design: Background colour:gray Window’s W/H ratio:3:2 Window’s size:600:400 pixels
![Page 27: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/27.jpg)
SYSTEM DESIGNINTERFACE DESIGN :Main screen:
![Page 28: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/28.jpg)
SYSTEM DESIGNINTERFACE DESIGN :When “Codec” pressed:
![Page 29: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/29.jpg)
SYSTEM DESIGNINTERFACE DESIGN :When “Endec” pressed:
![Page 30: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/30.jpg)
SYSTEM IMPLEMENTATION
![Page 31: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/31.jpg)
CONCLUSION PRESENT VERSION OF AALEEF
FUTURE PLANS
TRAINING EXPERIENCE
![Page 32: By : Abdul Wahid. TRAINING ORGANIZATION Software Technology Group (Int.) Ltd. Jodhpur centre Well known as STG DIRECTOR : Mr.P.S.Bhadu GUIDED](https://reader035.vdocument.in/reader035/viewer/2022062504/5a4d1b797f8b9ab0599b845f/html5/thumbnails/32.jpg)