CellPhoneTaps

CellPhoneTaps - 15-121: Introduction to Data StructuresFall

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 15-121: Introduction to Data StructuresFall 2009Exercise09/03/2009Cell Phone TapsDue: Fri, Sept 118am Relevant Reading:Chapters 1-5 of the online text by Eck.Appendix B of the Lewis and Chase book.Assignment: (worth 10 exercise points) Using the code in CellPhoneTaps.zip. You are all familiar with cell phone pads such as the one shown. As part of this exercise, you will write code that will determine the Cell Phone Multi-tap Number, and the Cell Phone Predictive Number (represented as a String) for a given word or phrase. That is, given a word, you need to return a String that represents the series of digits to press for the word.See Wikipedia for more explanation on this.Cell Phone Multi-tap: You need to hit the key the right number of times for the given letter. Thus, "Scott" would require "777722266688"Cell Phone Predictive Text Number : You need to hit the appropriate key only once. [In this case, it is up to the mobile device to figure out what you mean or ask for more info.] For instance:to the mobile device to figure out what you mean or ask for more info....
View Full Document

Page1 / 3

CellPhoneTaps - 15-121: Introduction to Data StructuresFall

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online