Systems Analysis & Design with UML - What is byte? - Pseudocode - McDonald Case Study Assessment Answer

Download Solution Order New Solution
Internal Code: 1AGEGG

Systems Analysis & Design with UML Assessment Answer

Assignment Task: If you don’t know already, using your information finding skills to find out what a ‘byte’ is. What number base is the basis for computer science as we currently have it? Do you know your 2-times-tables? What about your 2 powers?
  1. Write simple pseudocode that solves the problem of getting ready in the morning to attend work or the university
  2. Write some more advanced pseudocode that includes a selection based on a condition for getting ready in the morning to attend work or the university. An example test might be use the iron to press your clothes
  3. Finish your pseudocode now with an iteration of your choosing. An example, if you cannot think of one is cycle through your outfits until you find the one you think looks best
  4. List as many things that can go wrong in an online purchase transaction that you can think of. For each of these potential errors, think of a way in which a set of instructions can protect against it failing to achieve its objective
  5. With all the knowledge you gained in this module, write an algorithm that facilitates a web-based online transaction. Make whatever assumptions you deem necessary and make them known at the top of your algorithm.
  6. Build a program that declares an array of 7 integers. Ask the user to enter the number of steps they took (perhaps reading from their pedometer, or otherwise guessing) for each day of the week. Add the number of steps together and advise the user what total steps they took for the week.
McDonald’s Case Study - Prepare UML use case diagrams for the following scenarios, making assumptions where necessary:
  1. McDonald’s Family Restaurants has a long history of evolving with the needs of its customers and of adapting to changes in technology. One technological change that suited its business structure and operations was the use of touch-screen terminals in its restaurants. The terminals allow customers to place their orders, including making customisations (e.g. extra cheese, no mayonnaise, etc.) and to pay for their order without needing to interact with a cashier. This, in turn, allows McDonald’s to put more staff into the area where meals are prepared in the hope of increasing the throughput of orders. The terminal is required to present the menu available to customers, allow them to place an order, customise their order. The terminal should then allow the customer to finalise and pay for their letter. It should finally print a receipt for the customer to take to the counter when collecting their meal. (This scenario is presented first because it is very similar to the worked example in this half of the module.)
  2. PumpIt Power Gyms is a franchise chain of 24-hour gyms that operate across the country. Franchisees run and operate each of the gyms and the franchisor supports the ongoing operation through collective marketing, and standardised software. The system has access points at the front desk where members (the name given to customers when they have signed up to the gym) first enter and sign-in. The system then must allow a new customer to sign up to become a member, taking various personal information and issue them with a membership card that provides their authentication for entering the gym. It should request a monthly membership payment, that the customer makes. It should also assign the member a personal trainer and keep track of their progress through a plan of fitness prescribed by the trainer. If the member likes, they can sign up for classes such as Pilates and Yoga and also for fitness competitions. The gym will attract sponsors from the local area so that the winner of competitions will have a prize.
  3. The local municipal library has a number of books in its collection, that borrowers can borrow for a predefined time. The library should allow new borrowers to sign up and then to borrow from that day. The library has determined that books should be returned within 8 weeks and if not, a late fine is to be applied to the borrower’s account. For each week the book is late, up to a maximum of the cost of the book’s replacement value, the fine is applied. Borrowers are required to pay their outstanding fines before they can borrow any other books. The library also provides access to specialised resources such as microfilm, newspapers, magazines and databases, all of which cannot be borrowed. The library runs a special program called story time, which is open to any borrower who has no outstanding fines to bring their children along on a Tuesday morning for somebody to read stories.
  4. Access the Australian Taxation Office website and find the current tax tables for individuals. Write a program that asks the user to enter their tax file number (using a ‘string’ data type) and then to enter their taxable income for the current financial
  5. year. If the user does not have an Australian tax file number, they should enter ‘0’ instead. Then, based on the taxable income, the program should return the tax payable on their taxable income.
  6. Write a program that helps with children’s multiplication. It should ask the user, which number they are learning to multiply and then produce a set of 12 multiples (i.e. from one through twelve). When execution finishes it should continue to ask for numbers to multiply unless a 0 is entered at the keyboard.
  7. Write a program that accepts a date from the user in three parts: a month, a day and a year. Ensure that the date values are valid before printing the the final value to the screen for the user.
  8. Taking the in-class example of the car, continue coding this example but include one or more additional variables for the speed of the car. Include mutator and accessor methods for the car’s speed and use them in the start(), accelerate(), brake() and stop() methods to extend their functionality. When the car starts, initialise its speed to 0. Allow the accelerator method to increase the speed by a given increment and the brake method to decrease by a given decrement. Print the current speed to the screen.
  9. Race time: take the same example and separate the class into a header file. Write another program that instantiates two car objects, one small and the other large (if you don’t know cars, look up examples for brands of cars and their fuel tank capacities). In your code, start each car and then accelerate each car at different rates. Do this in a loop three times for each car and then reverse the rates for braking. Print the name of the car that comes to a complete stop first and declare the other car the winner.
  10. Taking your work from the first half of the module, create constructor and destructor methods for the ‘Car’ class.
  11. Write a program using the object-oriented paradigm that keeps track of bank accounts. Each class should have constructor and destructor methods but the choice of members will be up to you. Start with a class for ‘account’ and then allow for different types of derived classes, such as ‘savings account’ and ‘credit card account.’ A bank account should allow funds to be added to it as well as withdrawn but not to be overdrawn. A credit card account should allow funds to be charged to it but not more than its limit. In the main() function, open a savings account with $10,000 and then make three withdrawals of $4,000, if there are enough funds. Open a credit card account, with a limit of $3000 and make two charges of $2000 if there are enough funds. If you breach the conditions for each, display an appropriate error message.
There are a number of activities in this module and you are expected to complete all of these in the labs or in class or in your own time. The first of these is to reproduce any and all of the worked examples in the module content and to review the readings and videos. Then, work your way through these exercises:
  1. Pick your favourite product. Is it an item of food, shampoo, your car or a musical instrument? Whatever it is, think now about why you love it so much. What element of that product makes you feel safe or proud to be using it? The answer to these questions might come easily to you or it may be very difficult to answer. If it is easy, you’re not thinking hard enough! The idea is that you write down the aspects of the product and the feeling that it creates in you when you use that product.
  2. Consider clients and users of your software. What are the requirements of each group of stakeholders here? Is one of them more important or less important than the other? What are the risks of non-compliance with their requirements when the software is released? Start your thoughts and record them with pen and paper and then, when you’re happy, start or, if one already exists, contribute to a discussion either in-class or on the discussion forum on this very issue. Who trumps whom?
  3. Use your information searching skills and using your favourite search engine find and locate 5 test plan templates (these will normally be free documents). Of the five that you find, what are the differences between them? Did you discover similarities? How can you account for these similarities and differences? You will need to think about this carefully before providing an answer. Keep the links where you found the templates as you will be required to produce a one-page report and to share it with your colleagues either in-class or on the forum.
  4. Consider the scenario and then develop a test plan for it. Keep this test plan in your folder for the subject and pass it to the learning facilitator for feedback.
There are a number of activities in this module and you are expected to complete all of these in the labs or in class or in your own time. The first of these is to reproduce any and all of the worked examples in the module content and to review the readings and videos. Then, work your way through these exercises:
  1. Type out the code segment in the section on call by reference. The first time you do this, leave out the ampersands from the subroutine declaration and definition. The second time you do this, keep the ampersands in. What differences can be observed in the execution of this subroutine?
  2. Create, compile and run a program that asks the user for their age in years that you capture into an integer variable. Use a call-by-reference function to check that the age provided by the user makes sense (i.e. that it is a positive number and is not more than a reasonable age, say 200).
  3. Create, compile and run a program that asks the user for their height in metres. Noting that height is a continuous value, the most appropriate variable to use might be a float. Store the value typed by the user through a pointer and confirm what they have typed before exiting the program.
  4. Create, compile and run a program that asks the user for their age in years that you capture into an integer variable. Using a pointer, check the value the user typed in function and, if the value does not make sense, have the user re-type it inside the function (NB: use the same definition for ‘reasonable’ age as for the 2nd activity).
There are a number of activities in this module and you are expected to complete all of these in the labs or in class or in your own time. The first of these is to reproduce any and all of the worked examples in the module content and to review the readings and videos. Then, work your way through these exercises:
  1. Create, compile and run a program that accepts a numerical argument that is represented as the age of the user who invokes it. Depending on what the user enters, which could be negative or ridiculously old (and your program should appropriately test for that), pretend that the program has parental controls and advise the user if they are going to be viewing them as such. It will be necessary to use the ‘atoi’ function, which is included in the ‘stdlib.h’ header file in order for you to do your arithmetic.
This Systems Analysis & Design with UML Assessment has been solved by our Computer Science experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.