Registru Nun

Ensaluti

Perdita Pasvorto

Perdis vian pasvorton? Bonvolu enigi vian retadreson. Vi ricevos ligilon kaj kreos novan pasvorton per retpoŝto.

Aldonu afiŝon

Vi devas ensaluti por aldoni afiŝon .

Aldonu demandon

Vi devas ensaluti por demandi demandon.

Ensaluti

Registru Nun

Bonvenon al Scholarsark.com! Via registriĝo donos al vi aliron uzi pli da funkcioj de ĉi tiu platformo. Vi povas demandi demandojn, fari kontribuojn aŭ doni respondojn, vidi profilojn de aliaj uzantoj kaj multe pli. Registru nun!

Mikrosofto 70-540 Windows Mobile Application Development Exam

Mikrosofto 70-540 Windows Mobile Application Development Exam

Prezo: $94.99

Ekzemplaj Demandoj

Linukso-Sistema Programado) You are creating an application for Microsoft Windows MobileCbased devices. The application contains a Windows Form. The module contains a private variable called status SystemState type. You must retrieve the phone number of an incoming call when the phone rings. What are the two tasks to perform? (Each correct answer presents part of the solution. Choose two.)

a) Write the following segment of code in the constructor of the form. State = new SystemState (SystemProperty.PhoneIncomingCallerContact); state.Changed + = new ChangeEventHandler (STATE_CHANGED);

b) Write the following segment of code in the constructor of the form. State = new SystemState (SystemProperty.PhoneIncomingCallerNumber); state.Changed + = new ChangeEventHandler (STATE_CHANGED);

c) Write the following segment of code in the constructor of the form. State = new SystemState (SystemProperty.PhoneTalkingCallerContact); state.Changed + = new ChangeEventHandler (STATE_CHANGED);

d) Write the following segment of code in the constructor of the form. State = new SystemState (SystemProperty.PhoneTalkingCallerNumber); state.Changed + = new ChangeEventHandler (STATE_CHANGED);

e) Add the following event handler for the form. Vacuum STATE_CHANGED (object sender, ChangeEventArgs args) {Contact contact = (Kontaktu) args.NewValue; string = number contact.MobileTelephoneNumber; }

f) Add the following event handler for the form. Vacuum STATE_CHANGED (object sender, ChangeEventArgs args) {string number args.NewValue.ToString = (); }

Linukso-Sistema Programado) You are creating a Microsoft Windows MobileCbased for Microsoft Windows Mobile Pocket PC Phone Edition device. The application must do the following: Monitor the status does not cover the phone on the device. Display a warning message if the phone has been turned off. You must ensure that the application meets the requirements outlined. Which code segment should you use? A) State SystemState = new SystemState (SystemProperty PhoneCellBroadcast.); state.Changed + = new ChangeEventHandler (STATE_CHANGED); empty STATE_CHANGED (object sender, ChangeEventArgs args) {bool result = (bool) state.CurrentValue; se {MessageBox.Show ( “The phone is turned off”) (result!); }}

b) State SystemState = new SystemState (SystemProperty PhoneCellBroadcast.); state.Changed + = new ChangeEventHandler (STATE_CHANGED); empty STATE_CHANGED (object sender, ChangeEventArgs args) {int result = (int) state.ComparisonValue; se (result == 0) {MessageBox.Show ( “The phone is turned off”); }}

c) State SystemState = new SystemState (SystemProperty.PhoneGprsCoverage); state.Changed + = new ChangeEventHandler (STATE_CHANGED); empty STATE_CHANGED (object sender, ChangeEventArgs args) {bool result = (bool) args.NewValue; se (result) {MessageBox.Show ( “The phone is turned off”); }}

d) State SystemState = new SystemState (SystemProperty.PhoneGprsCoverage); state.Changed + = new ChangeEventHandler (STATE_CHANGED); empty STATE_CHANGED (object sender, ChangeEventArgs args) {int result = (int) args.NewValue; se (result == 0) {MessageBox.Show ( “The phone is turned off”); }}

Linukso-Sistema Programado) You are creating a Microsoft .NET Compact Framework. The application uses a StringBuilder class to manipulate text. You write the following code segment. String Builder sb = new StringBuilder (100); After executing the code segment, the buffer text displays the class StringBuilder

a) sb.Capacity = 0;

b) sb.Length = 0;

c) sb.Replace (sb.ToString (), “”, 0, 100);

d) sb.Remove (0, 100);

Linukso-Sistema Programado) You are editing a Microsoft Windows MobileCbased retail applications. The application uses the events to report changes in inventory levels. Any change in the level of inventory data generates custom events. You need to pass data custom events to event handlers without breaking existing code. What should you do?

a) Use the base class EventArgs as a parameter to the event handlers.

b) Add additional parameters for data custom events to event handlers.

c) Overloading the event handlers to accept the data of custom events as parameters.

d) Use a class derived from the base EventArgs as a parameter to the event handlers.

Linukso-Sistema Programado) You are creating an application for a Microsoft Windows MobileCbased device. You write the following code segment. DataSet ds = new DataSet (); DataTable custTable = new DataTable ( “Customer”); Cust Table.Columns.Add ( “CustomerID”, typeof (Int32)); DataTable prodTable = new DataTable ( “Produkto”); prodTable.Columns.Add ( “ProductID”, typeof (Int32)); DataTable ordTable = new DataTable ( “Ordo”); ordTable.Columns.Add ( “CustomerID”, tajpu (Int32)); Table ord. Columns.Add ( “ProductID”, typeof (Int32)); ds.Tables.Add (custTable); ds.Tables.Add (prodTable); ds.Tables.Add (ordTable); The DataSet object must meet the following requirements: Orders can only be added to a valid customer. Orders can only be added to a viable product. A CustomerID in the Customers table that the order can not be canceled. A ProductID in the Product table that has the order can not be canceled. You must configure the DataSet object to meet the outlined requirements. What are the two segments of code you should use? (Each correct answer presents part of the solution. Choose two.)

a) DataColumn parentColumn ds.Tables = [ “Customer”] Kolumnoj [ “CustomerID”] .; DataColumn childColumn ds.Tables = [ “Ordo”] Kolumnoj [ “CustomerID”] .; ds.Relations.Add (new DataRelation ( “CustomerOrderparentColumn, childColumn));

b) DataColumn parentColumn ds.Tables = [ “Ordo”] Kolumnoj [ “CustomerID”] .; DataColumn childColumn ds.Tables = [ “Customer”] Kolumnoj [ “CustomerID”] .; ds.Relations.Add (new DataRelation ( “CustomerOrderparentColumn, childColumn));

c) DataColumn parentColumn ds.Tables = [ “Ordo”] [ ‘columns ProductID “] .; DataColumn childColumn ds.Tables = [ “Produktoj”] Kolumnoj [ “ProductID”] .; ds.Relations.Add (new DataRelation ( “ProductOrderparentColumn, childColumn));

d) DataColumn parentColumn ds.Tables = [ “Produktoj”] Kolumnoj [ “ProductID”] .; DataColumn childColumn ds.Tables = [ “Ordo”] [ ‘columns ProductID “] .; ds.Relations.Add (new DataRelation ( “ProductOrderparentColumn, childColumn));

e) DataColumn parentColumn ds.Tables = [ “Produktoj”] Kolumnoj [ “ProductID”] .; DataColumn childColumn ds.Tables = [ “Customer”] Kolumnoj [ “CustomerID”] .; ds.Relations.Add (new DataRelation ( “CustomerProductparentColumn, childColumn));

Lasu respondon