EECS 1022 Study Guide - Midterm Guide: Memory Address, Mobile App

128 views4 pages

Document Summary

1 (2 marks) (a) the process of software development consists of multiple phases. The design pattern mvc separates the code into a model, a view, and a controller. Assume you develop a mobile app that translates a text, entered into a text box, into pirate slang and displays the result after the button is pressed. For each of the following items, indicate whether it belongs to the model, the view or the controller. (a) the text box. Marking scheme: 0. 5 mark for view. (b) the code that extracts the entered text from the text box. Marking scheme: 0. 5 mark for controller or activity. (c) the code that translates the entered text into pirate slang. If two objects have the same identity, then they reside on the same memory address, that is, they are one and the same object. Hence, their attributes have the same values and, therefore, they have the same state.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents