1. Home
  2. Computing & Technology
  3. Computer Certification
SCMAD Practice Test
20 Free SCMAD Practice Questions

Answer 19

Correct answer: b

Explanation:

Choice B is the correct answer.

To define the push registry association, the deployment descriptor will be of the form
MIDlet-Push-<n>: <Connection-URL>, <MIDletClassName>, <AllowedSender>
where,
· n is a sequentially incrementing number starting from 1 and with no breaks;
· Connection-URL is the URL to listen to and is of the form protocol://:port;
· MIDletClassName is the class registered to receive the event. This should be declared in one of the MIDlet-<n> attributes;
· AllowedSender is the address or address range of the senders permitted to send events. This is also known as a filter. An asterisk(*) to match any number of characters and a question mark(?) to match a single character can be used in the filtering field as wild cards.

Since we need the application to respond to only the SMS received from phone number starting with +39, the filter has to be +39* and the entire string would be “MIDlet-Push-1: sms://:10000, PushDemo, +39*”.

Hence, choice B is correct. The remaining choices are variants of the above definition, which do not satisfy our requirement and are hence, incorrect.

Next page > Question 20

Explore Computer Certification
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Computer Certification

©2009 About.com, a part of The New York Times Company.

All rights reserved.