0% found this document useful (0 votes)
126 views

Design and Analysis of Algorithms: Assignment - 1

The document describes an assignment question to map an online biryani ordering system scenario to five areas of algorithm study: 1) devising an algorithm by brainstorming requirements, 2) expressing the algorithm by outlining system components, 3) analyzing the algorithm by estimating time, cost, and assigning tasks, 4) testing the algorithm by checking performance, and 5) validating the algorithm by ensuring all user requirements are met. The student provides a detailed solution mapping out the scenario according to the five specified areas of algorithm study.

Uploaded by

roshaan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
126 views

Design and Analysis of Algorithms: Assignment - 1

The document describes an assignment question to map an online biryani ordering system scenario to five areas of algorithm study: 1) devising an algorithm by brainstorming requirements, 2) expressing the algorithm by outlining system components, 3) analyzing the algorithm by estimating time, cost, and assigning tasks, 4) testing the algorithm by checking performance, and 5) validating the algorithm by ensuring all user requirements are met. The student provides a detailed solution mapping out the scenario according to the five specified areas of algorithm study.

Uploaded by

roshaan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

National College of Business Administration

& Economics Lahore


SCHOOL OF COMPUTER SCIENCE

Total Marks:

Obtained Marks:

Design and Analysis of


Algorithms
Assignment - 1
Submission Date: 117 March 2021

Submitted To: Sir Tehami Mustaasam


_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Student Name: Hafiz Roshaan Moeez Mustafa ______________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Reg Number: 2193257 _____________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Instructions: Copied or shown assignments will be marked zero. Late submissions are not
entertained in any case.

DAA BS(CS)-M1 NCBA&E


National College of Business Administration
& Economics Lahore
SCHOOL OF COMPUTER SCIENCE

Question
Take any scenario or example and map it on five areas of algorithms study.
Solution:

-(Scenario)-
A Customer come and he wants a Online Biryani Order System means he owns
a Biryani King and he want to make a online store where user visit and order
Biryani on a delivery system.

1st Step
-(Devise an Algorithm)-
1) Build a idea (Project Sketch , Brainstrming ) on your mind what you have to
do in that project.
2) Listen carefully what customer wants. Then make a sketch in your mind
3) Example: now I make a idea on my mind that is ( customer want a Online
Biryani Store means there is a space where all his items are available for user
he/she select an item for deliver, Deliver means there is also a form where the
user fill his address name phone no etc where delivery boy deliver his order, and
customer wants a 2 types of payment terms that means I have to (integrate stripe
payments) and 2nd option is cash on deliver these are the basic requirement of
the user ok).

2nd Step
-(Express an Algorithm)-
1) then draw a sketch or make a structure on the paper (means count the user
requirements) means divide the user requirements in the different parts like,
Example: its online portal that means there is must have a
 Header
 Footer

DAA BS(CS)-M1 NCBA&E


National College of Business Administration
& Economics Lahore
SCHOOL OF COMPUTER SCIENCE

 Home page (where is describe my store and shows customer latest items
in whats new section example Muglai Biryani, Karachi Hot Biryani etc)
 Shop Page where different types of biryani and pulao are available for
user.
 About us page
 Contact us Page
 Store Management System (for check and balance)
 User portal where all information of user is stored
 Admin portal.
 Etc
3rd Step
-(Analyze the Algorithm)-
In analyze system we start practical working on the project
Example: we calculate time and cost means.
> How much time we required on this
> And how much cost is required
> Then we need a storage (server or hosting) and name like (Biryani King)
> Then we tell the UI (User Interface) design to the front-end Developer and
Storage Management System and admin portal to the Back-end Developer
etc for making the body of the website and tell him the exact requirement
that customers wants.
> In this section we must check whole program from starts to end everything.
> We must complete the task before given dead line because the testing are
necessary for the project before its going to be live for the users.

4th Step
-(Test an Algorithm)-
In the testing phase we check the portal efficiency means test the program code
means (what time it take to load is there any type of error code run smoothly)
 If there is some part or some portion that make issue for the portal than we
remove that part or portion not the whole program

DAA BS(CS)-M1 NCBA&E


National College of Business Administration
& Economics Lahore
SCHOOL OF COMPUTER SCIENCE

 Test the program for different screens different devices and different ways
and check online payment system by sending a testing payment etc,

5th Step
-(Validate an Algorithm)-
In the validation we check the requirements of the user is complete or not ?
Means that user want a online system with online payment transaction and we
make a online system without online payments system then portal we make but
not complete the user requirement then user not agreed with us.
Example: we make a Biryani King Online Store for Customer but not make a
shop page that means we not complete the customer requirement.

DAA BS(CS)-M1 NCBA&E

You might also like