Вы находитесь на странице: 1из 2

Birla Institute of Technology & Science, Pilani

Work-Integrated Learning Programmes Division


Second Semester 2018-2019
Mid-Semester Test (EC-2 Regular)
Course No. : SS ZG653
Course Title : SOFTWARE ARCHITECTURES
Nature of Exam : Closed Book
Weightage : 30% No. of Pages =2
Duration : 2 Hours No. of Questions = 5
Date of Exam : 09/03/2019 (FN)
Note:
1. Please follow all the Instructions to Candidates given on the cover page of the answer book.
2. All parts of a question should be answered consecutively. Each answer should start from a fresh page.
3. Assumptions made if any, should be stated clearly at the beginning of your answer.

Q.1. You have been given a project to design a school management system for a school with 1500
students and 75 teachers. This system supports the following features and functions:
• Automated attendance of students and teachers, using finger print scanner
• Ability to post assignments on a course page by teacher and submit solution by students
• Integration with existing payroll system
• Ability to post announcements, upload marks for each course
• Ability to access via mobile as well as desktop at any time.
• System should have an uptime of 99.9%
(a) What are the 3 main software quality attributes? Justify. [3]
(b) What tactics you will use to satisfy these quality attributes. [3]

Q.2. For the scenarios described below, identify the Software quality attributes involved and a
suitable tactics to address the requirement:

(a) Some of the biggest sources of threats to companies are internal not external. Dishonest
employees export critical documents to friends outside the organization via email or
Google drive. Company wants to protect itself against this. [2]
(b) SalesForce.com is a CRM software hosted on the cloud (Software as a Service).
Several small and medium sized companies subscribe to this software by paying a
monthly fee. Some companies use the software as it is. Others want a different work
flow of the business process. [2]

Q.3. For the system described below, identify the Architecturally Significant Requirements (ASRs)
and present them in the form of a utility tree (a table with columns – Quality Attribute,
Scenario, Business value, Architectural impact) [5]

Google Maps shows the map of a region including roads, important places such as buildings,
hotels, gardens, etc. It also supports zoom in and zoom out feature to view the maps. One can
imagine the amount of data Google Maps has to store.
Google Maps also shows the traffic congestion on roads with the help of colours – red, amber
and green. How does this work? Google Maps gathers data from a large number of mobile
phones about their GPS location. The changing GPS location helps in determining the speed of
movement of cars. Based on density of mobile phones in a certain location & the average
speed at which the mobile phone location is changing, one can determine the traffic congestion
level. (Crowd sourcing).
Google Maps is used by thousands of users before they step out of their homes to determine
the best route to reach their destination in shortest amount of time. Google map on the phone is
updated at regular intervals of time, showing changing traffic conditions.

Note:
• Correct identification of at least 3 Quality attributes, its business value &
Architectural impact : 2 marks
• Correct description & explanation of scenarios for each QA: 3 marks

SS ZG653 (EC-2 Regular) Second Semester 2018-2019 Page 1 of 2


SS ZG653 (EC-2 Regular) Second Semester 2018-2019 Page 2

Q.4. For the Google Maps system described above, design the architecture of the system

(a) Describe the tactics you will use to address the ASRs [3]
(b) Draw an architecture diagram showing different computing elements such as mobile
phones, servers, databases and their interconnections [2]
(c) Show the different software components residing in each of these computing element
[3]
(d) Show what data is flowing between the software components [2]

Q.5. You have been given an assignment to do Architecture review of an online system described
below. Provide architecture review results along with suggestion to improve its architecture to
meet system requirements. [5]

Note:
• Correct identification of risks with justification: 3 marks
• Correct suggestion to improve: 2 marks

The requirements of the system are:


• Response time of every screen should be less than 2 seconds
• System should be able to handle 30, 000 concurrent users
• Availability of system should be 99.99%
• It should protect personal sensitive information both at rest (stored data) and in motion
(when data is transferred from system to user browser or mobile).
• User should be able to access application from both desktop and mobile.

Following things have been implemented to achieve the above requirements in system:
• Layered Architecture has been used having four layers (presentation layer, cache layer,
business logic layer, data access layer) each layer has average latency as follows:
presentation layer (300 milliseconds (ms)), cache layer (30 ms), business logic layer(600
ms), data access layer (1.5 second). Caching layer has been used only for few transactions
• Two Load balancers are used in High Availability active-active (hot standby) mode. Load
balancer has availability of 99.9%
• 10 servers are used, each having capacity to handle 4, 000 concurrent users. Each server
has availability of 99%.
• Application has only role based access enabled and data has been stored in plain text.
Application is available through http and https both.
• Application is a simple web application, which does not resize automatically based on
mobile

***********

SS ZG653 (EC-2 Regular) Second Semester 2018-2019 Page 2 of 2

Вам также может понравиться