Академический Документы
Профессиональный Документы
Культура Документы
SPRING 2020
BS CS Elective
SLDC
Dr. Ahmad Kazmi
Department of Computer Science
Faculty of Information Technology
March 24, 2020
Application Development: Lecture 5:
SDLC
• Class Work # 2 Code was Due Before Today’s Class 11 am Tue March 24
• Today:
• Software Design Life Cycle
• Application on Class Work # 1
• Agile Process Models
• Application on Class Work # 1
Non-Functional Requirements:
Requirements Engineering software • File will in Plain ASCII
requirement specifications (SRS) Doc Text
Business Requirements • Menu will be Command
• Software to manage various Line
types of users and their
functionalities
Functional Requirements
User Requirements • User Data will be Saved in a File
• Software that manages 2 Types • User Data will be Read from a
of Users File
• All users need to Register and • User data will be Kept in a Data
Login Structure
• Regular User can print Own Info • For Registration and Login, user
• Admin user can Login as any user will be searched by ID
and Print any user Info • Menu
• Menu
3/24/2020 UCP Spring 2020 Application Development 3
Software Design Life Cycle (using Class Work 1)
Design Design Document
• Number of Classes Deployment Installation and User
• Relationships Among Classes Guide
• Attributes ad Functions of Classes • Installation of the
• User Interface Design Application
• Database Design • System Test the Deployed
Application
• Test First
• Unit Tests
• Automat CODING • Pass Test
• Acceptance TESTING
• Pair
Test • Refactor
• Integrate
3/24/2020 UCP Spring 2020 Application Development • Code a Bit
• Test a Bit 7
Extreme Programming: Class Work 1
1. User Enter Info to Register
1. Error Message if User Already
Exists #1 is Story 1 Story 1 (1 weeks)
PLANNING #2 is Story 2 Story 2 (2 week)
2. User Info is saved
2. User Enter ID, Password to Login #3 is Story 4 Story 4 (1 week)
1. Error Message if User Does not #4 is Story 3 Story 3 (2 week)
Exists
2. Error Message if User ID or
Password Incorrect Story 2 (2 week)
3. Success Message if User Id & Story 2.1: Regular User
Password are Correct (1 weeks)
3. User Prints Info Story 2.2: Admin User
1. Error Message if User Does not (1 weeks)
Exists (Not Registered)
2. Error Message if User is Not
Logged In
3. Print User Info on Screen
Stories 1, 2
4. Menu
(High Risk)
8
Extreme Programming: Class Work 1
• User – User Contact Data
DESIGN
• User – User Login Data
• Number of Classes
• Relationships Among Classes
• Attributes ad Functions of Classes
• User Interface Design
• Database Design
Prototype for Admin Login
9
Extreme Programming: Class Work 1
• Test for User Registration
CODING
• Test for User (Regular & Admin) • 2 Persons Design and Build User
Registration
Login • 2 Persons Design and Build User Login
• Test for Print Info (Regular & • 1 Person Designs and Builds Print Info
Admin) Functionality
• 1 Person Designs and Builds Menu
• Test for Reading User data from
File
• Test for Writing User data to File
10
Extreme Programming: Class Work 1
TESTING • Test If User Registers Correctly
11