EECS 1022 Study Guide - Midterm Guide: Mobile App

227 views4 pages

Document Summary

1 (2 marks) (a) the process of software development consists of multiple phases. Answer: checking whether the code satis es the speci cation. The design pattern mvc separates the code into a model, a view, and a controller. Assume you develop a mobile app in which the user is shown a sentence and has to type it in word-for-word and determines the user"s typing accuracy and speed. For each of the following items, indicate whether it belongs to the model, the view or the controller. (a) the code that computes the typing speed. Marking scheme: 0. 5 mark for model. (b) the text box in which the user types the sentence. Marking scheme: 0. 5 mark for view. (c) the sentence displayed to the user. 1 (d) the code that extracts the typed sentence from the text box. Marking scheme: 0. 5 mark for controller or activity. Marking scheme: 1 mark for void or none.