You are on page 1of 5

FACULTY OF COMPUTING

RIPHAH INTERNATIONAL UNIVERSITY

Assignment # 4

Muhammad Ali Khan 2282

S OFTWARE DESIGN ARCHITECTURE


BS-SE
FALL 2021

INSTRUCTOR (s)-IN-CHARGE: SIR BASHARAT

DATE: 08-04-2021

Page 1 of 5
You select country = United States and find the city by entering Dallas .
You select country = United States and find the zip code by entering 10001 .
You select country = United States and find the city by entering Los Angeles.
You select country =  Pakistan and find city = Islamabad.
Qno1:  What you see the difference in the results of all these options - please
write the difference in results (analysis activity). 5 marks
Solution:-
You select country = United States and find the city by entering Dallas .

1:-Company Name:-

Moderna and Pfizer, Jhonson & Jhonson) in which some are shipped and some just show
shipped not any company name mentioned.

2:-Public Registration:-

In some areas public registration website url is present and some are not.

3:-Brand Name:-

Brand name is not exist.

4:-Map:-

View Map is available.

5:-Mobile Number

In some area mobile number is not given.

6:- Appointment:-

Appointment option is not available for all areas.

You select country = United States and find the zip code by entering 10001 .

1:-Company Name:-

Two company covid-19 vaccine are available( Moderna and Pfizer Johnson & Johnson) but
there is not about shipped

2:-Public Registration:-

Page 2 of 5
In some areas public registration website url is present and some are not.

3:-Brand Name:-

Brand name is not exist.

4:-Map:-

View Map is available.

5:-Mobile Number:-

Mobile Number is mentioned for all areas.

6:- Appointment:-

Appointment option is not available for all areas.

You select country = United States and find the city by entering Los Angeles.

1:-Company Name:-

Three company covid-19 vaccine are available( Moderna and Pfizer , Johnson & Johnson)
but there is not about shipped

2:-Public Registration:-

Public registration website url is present for all areas.

3:-Brand:-

Brand name is also given.

4:-Map:-

View Map is available

5:-Mobile Number

Mobile number is not given.

6:- Appointment:-

Appointment is available in Angeles.

You select country =  Pakistan and find city = Islamabad.

Page 3 of 5
1:-Company Name:-

Three company covid-19 vaccine are available(Oxford/Astrazeneca ,Sinopharm/Beijing and


Sputnik V ) but there is not about shipped

2:-Public Registration:-

Public registration website url is not present for all areas.

3:-Brand:-

Brand name is not given

4:-Map:-

View Map is available for all areas.

5:-Mobile Number

Mobile number is not given.

6:- Appointment:-

Appointment is not available in Pakistan.

Qno2: Identity which creational patterns should you apply - explain the
intent of each pattern and the place/scenario will you apply? 5 marks 
Solution:-
Singleton Design Pattern:-
This Singleton Design Pattern pattern involves a single class which is responsible to create an
object while making sure that only single object gets created. This class provides a way to
access its only object which can be accessed directly without need to instantiate the object
of the class.
Intent of Pattern
There is single platform of (find Vaccine Now) to visit everyone and this web application
show the related results to every individual.
When we open a website form that link https://findvaccinenow.com/ . On that page single
input field is required to find Vaccine of Carona.
Example :-
When user selected United States and find the city by entering Dallas or zip code by
entering 10001 or entering Los Angeles

Page 4 of 5
This website show the result related to the entering city into that input.
In this way a single input is used among all cityes.

Page 5 of 5

You might also like