Intro to Software Engineering Important Questions

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

For a given software (e.g., blackboard, hotel reservation system), please list the functional requirements and three types of non-functional requirements.

Blackboard Functional Requirements: Students can upload assignments and view grades. Teachers can create assignments and assign grades to submitted assignments. Black Board Nonfunctional Requirements: Product - Assignments should be able to be uploaded first try with latency Organizational - Only certain file types and sizes should be allowed to be submitted External - Should be able to work on both browser and mobile app versions, disregarding phone style --------------------------------------------------------------------- Hotel Functional Requirements: Guests can check available rooms and book any room that is available Hotel Nonfunctional Requirements: Product - Non-available rooms shouldn't be shown as available. Booking failures shouldn't occur Organizational - Rooms of the same size should be grouped together, and should only be shown to groups that fit the room size External - Privacy for banking and personal information is secured.

For a given software (e.g., blackboard, hotel reservation system), please list the stakeholders.

Blackboard: Students, Instructors, system IT, university investors Hotel Reservation System: Hotel guests, hotel staff, system IT, hotel investors

Please write a structured form of user story for booking a room in the hotel reservation system.

Initial Assumption: Guest intends to book a room and has a certain room in mind. Rooms are available at the hotel Normal: Guest opens the system. Guest filters rooms based on party size. Guest chooses suitable room. Guest hits book button. Guest inputs their banking information. Guest pays. Confirmation of booking is sent to guest What can go wrong: Room guest is looking at can get booked while they are trying to book it (Guest can just go and book a different room). Payment failure can occur (Guest must redo payment). System can go down while guest is browsing rooms (Notification of system failure sent to guest and IT staff, IT staff must bring it back up) Other concurrent activities: Multiple guests can be browsing the same rooms. IT staff can be logged in at the same time to fix any minor issues that may occur System state on completion: Payment is successful and booking of room is under guest's name. Notification of room reservation is sent to guest and hotel staff

Please explain the five architectural patterns

Model-View-Controller (MVC): A model directly manages the data, the view defines and manages how the data is presented to the user, the controller manages user interactions and passes interactions to model and view. Useful when system requires a GUI and a lot of interaction Layered: When the system needs to be organized in a set of layers/built on existing systems. Entire layers are able to be replaced without affecting the rest of the system. Shouldn't be used if no clear separation of layers can be defined Repository: All data is managed in a central repository that is accessed by system components. Component only interact through central repository, not each other. Used when large amounts of information are generated and have to be stored for a long time. Problems in repository can affect whole system Client-server: Used when the data needs to be accessed from a range of locations. Separate servers deliver their own services and multiple clients can utilized these services by

For a given software (e.g., blackboard, hotel reservation system), please list the user requirements and corresponding system requirements.

Black Board User Requirements: Students are allowed to view assignments and announcements, and can turn in assignments Black Board System Requirements: Show students' grades, show assignments with deadlines, allow submission of homework assignments, allow feedback to put on assignments Hotel Reservation User Requirements: Guests are allowed to browse available rooms and reserve a room that is not already taken. Guests are allowed to enter their information to reserve a room Hotel Reservation System Requirements: Keep track of availability of all rooms in the hotel. Display all available rooms to the guests. Display guest information to hotel staff.

Based on your experience with an email system, draw an activity diagram that models the data processing involved when you receive and reply an email.

See Image

Draw a state diagram for an automatic washing machine that has different programs for different types of clothes.

See Image

Please draw a process model for returning book in library system

See Image

Suggest an architecture for a system (such as iTunes) that is used to sell and distribute music on the Internet. What architectural patterns are the basis for this architecture? Please draw a diagram for it.

See Image

Please explain the five glass box testing techniques: Statement coverage, Branch coverage, Path coverage, Linear code sequences, All-definition-use path coverage.

Statement coverage: Set of test cases where every statement is executed at least once. Does not guarantee that all outcomes of branch statements are properly tested Branch coverage: Set of test cases where every branch is executed at least once. Solves issue of all branch outcomes not be properly tested in statement coverage Path coverage: Set of test cases where every path is executed at least once. Paths may be very large Linear code sequences: Restricting test cases to sequences that start with an entry and exit point of a branch statement or function and ends with a following entry and exit point All-definition-use path coverage: Test cases that cover the paths from the definition of a variable to the use of the variable's definition (Ex: Definition: int x = 2; Use: y = x + 2;)


Ensembles d'études connexes

Weeks 8-9 Quiz- Personal Finance

View Set

Ch 13 Nurodevelopmental and neurocognitive disorders

View Set

General Financial Planning Principles - Ch 1 & 2

View Set

Ch. 13 Shareholder Rights and Corporate Governance

View Set

Organizational Behavior and Leadership Practice Test

View Set