Sample solution The new branch is an exact replica of the old branch, which remains unchanged. (By default, the user remains in the old branch when the new one is created.) |
Sample solution Cloning a repository creates a new copy of the repository, complete with commit history and a record (URL) of which repository was cloned. This allows a developer to make revisions to the clone independent of the original. |
Sample solution Suppose we have attempted to merge branch B of a repository into branch A. A conflict arises if there is at least one file, say F, that has been altered in both branches since the two branches diverged. F is a conflicted file, in that someone needs to tell git what the correct content of F should be in order to complete the merge. |
Sample solution Generally, pushes and pulls take place between one repository, say A, and a clone of that, say B. Pushes involve a developer working in B and wishing to send changes from B to be merged into A. Pulls involve a developer working in A and wishing to bring changes from B to be merged into A. The difference lies primarily in which of the two repositories the developer is currently working. |
Sample solution Since each push effectively involves merging content into the shared repository, there is a possibility of one or more merge conflicts if the different team members have each modified the same file independently and each attempts a push. (The second one to push would effectively encounter a merge conflict situation: it will be necessary to figure out the "correct" way to revise the conflicted file to incorporate both members' changes to allow a successful push without breaking anything.) |
Sample solution Obviously this will depend entirely on your team's actual project, for the sample solution I'll use a fictional game example. Our key NFR is that the game be "fun to replay", as our players will abandon the game quickly otherwise and word-of-mouth will hurt our chances of gaining new players. Other key NFRs are also important (easy to learn, stable, etc), but for keeping players this NFR seems to encapsulate most of them in a way that is meaningful to the player. Suggested wording: The game must achieve an average score of at least 6.5/10 on our Replayability Survey when distributed to a random subset of at least 10 of our players. (The Replayability Survey itself could be developed in conjunction with the requirements.) |
Sample solution
Once again, this depends heavily on the nature of your team's actual project, for the sample
solution this time I'll use a fictional web project.
Our website relies on highly visual displays to communicate information and by default
assumes the use of mouse and keyboard for interaction. As such, our two main accessiblility
concerns are:
- finding a non-visual means of communicating information to users with low/no vision
- finding an alternative interaction mechanism for those who have difficulties using
a traditional mouse/keyboard
Possible ways to alleviate those concerns include:
non-visual communication of information:
ensure each visual element has alternative text that is appropriately tagged
so that tools like screen readers can use it correctly
alternative interaction mechanisms:
provide navigation mechanisms that allow the user to work without a mouse,
e.g. tab, shift-tab, etc
design our site elements to minimize the need for highly precise mouse use, e.g.
ensure elements are large enough and sufficiently well separated
|
Sample solution And yet again, this is heavily dependent on the nature of your actual team and project, I'll go back to the game example for this sample solution. I would recommend a scrum-based approach for our team and project for the following reasons: We have many ideas for components/features/scenarios we would like to incorporate in the game, but because of our relative lack of experience we are unsure how many and which ones we can successfully implement. A scrum-based approach would let us incorporate one feature at a time, one per sprint, with the opportunity to 'cut our losses' if a feature doesn't appear feasible at the end of a sprint, or to dedicate another sprint to it (if it appears a bit more time is the only issue and the feature is a valuable one), or to move on to another feature (if the current feature is now working). This fits well with the learning-as-we-go nature of the course and our team, and seems more suitable that something like waterfall or spiral where we would be dedicating more time to each feature up front without being sure the feature was feasible. It also seems to provide a bit more stability and planning than a purely agile approach. (Specifics on the timing/nature of the actual sprints are given in part 2 below.) |
Sample solution Using the feature-sprints discussed in part 1 above, I would see our timeline as follows (I'm assuming you meant right from the beginning of the project to the end?): Week 1: team formation (I'm assuming this would still have to be the case) Weeks: 2-4 Sprint1: Proposal/Charter - I'm assuming we would still have something similar to the phase 1 we used this term, roughly identifying the product and how the team would function Weeks: 5-7 Sprint2: Repo setup/standards and procedures - again, I'm assuming getting the fundamentals set up and agreement on standards/procedures would still be pretty similar to how this term has gone Weeks: 8-10 Sprint3: Proof of concept - getting the barest of functionality working: a map, a character, and movement Weeks: 11-13 Sprint4: core functionality - basic npcs, items, and interactions between them and the character Weeks: 14-16 Sprint5: expanded functionality/detail I - expanding the range of supported character and npc actions, expanding the map and adding items [specifics to be determined based on the results of sprint4] Weeks: 17-19 Sprint6:expanded functionality/detail II - as with the previous sprint, with specifics to be determined based on the results of sprint5 Weeks: 20-21 Sprint7: Playability testing - dedicated to having as many people as possible play the game, some under observation and some independently, and gather both their feedback and our own observations on how the game held up Weeks: 22-24 Sprint8: Playability fixes - this time is meant to address any/all issues that arose during playability testing Weeks: 25-26 Sprint9: DEMO PREP - any final fixes, adjustments, and work-arounds to get the demo working the way we would like |
Sample solution discussion Sorry, not going to get actual diagrams in place here until I snag enough free time to do in a digital format. I don't mind which diagram form you picked, they all have strengths/weaknesses, as long as you provided your rationale and clearly stated what could NOT easily be captured by your chosen diagram type: - State captures the notion of what the core activities are and when you switch between them, but little about the design or data - DFD captures the logical decomposition into processes and how they interact with one another and the user and any data stores (at least in terms of data flows), but don't capture sequencing and don't give a clear idea of the data composition - ERDs capture the data very well, but little about the processing (beyond whatever is captured by the relationship names) - Sequence captures the order of communication between key elements in a specific scenario, but little about the organization of the data or the design and little/nothing about the conditions under which different actions happen With respects to the diagrams themselves, the key factors were - is the diagram actually valid for the type specified (e.g. is it actually a valid ERD, or valid DFD, etc) - how accurately does it match the system described: both how thorough and how correct - how clearly is it labeled (the biggest issues here were lack of labels on transitions in state diagrams and on data flows between processes) Regardless of which diagram you picked, you would have to make some significant assumptions about the system behaviour, as the description given had definite gaps in all areas. |
| System Description: DuckPrtr 3D
DuckPrtr 3D is a software program to control printing of 3D 'rubber' ducks, where the user gets to custom design their duck, selects a 3Dprinter, and customizes their printing options based on the printer selected, as well as allowing saving/loading of duck designs. The main menu allows the user to start a new design or load an existing one, and the currently loaded design can be edited, saved, printed, or discarded. Editing For new designs, the user can start with the default duck settings or select one of a collection of preset designs (themed design sets are provided for characters from different movie or game franchises, as well as occupation or hobby based design sets, etc) The user can then customize the current design, swapping individual features with those from any of the collections listed above. The customizable feature set covers selection of:
The current design can be 3D printed by selecting the print option and selecting a printer (the software is responsible to check which 3D printers are currently accessible by it and to query them for currently-available print options). Once a printer is selected, the software displays the available printing options and default settings, and allows the user to customize their option selections. Typically supported options include:
This option allows the user to navigate to and select and existing save (replacing the previously saved version) or create a new save. Discarding This option simply asks for confirmation before deleting the currently loaded design. |