سجل الآن

تسجيل دخول

فقدت كلمة المرور

فقدت كلمة المرور الخاصة بك؟ الرجاء إدخال عنوان البريد الإلكتروني الخاص بك. ستتلقى رابطا وستنشئ كلمة مرور جديدة عبر البريد الإلكتروني.

أضف مقالة جديدة

‎يجب تسجيل الدخول لتستطيع أضافة مقالة .

أضف سؤال جديد

يجب عليك تسجيل الدخول لطرح سؤال.

تسجيل دخول

سجل الآن

مرحبا بكم في Scholarsark.com! سوف تسجيلك تمنح لك الوصول إلى استخدام المزيد من الميزات من هذا المنبر. يمكنك طرح الأسئلة, تقديم مساهمات أو تقديم إجابات, عرض لمحات من المستخدمين الآخرين، وغيرها الكثير. سجل الان!

مايكروسوفت 70-540 اختبار تطوير تطبيقات Windows Mobile

مايكروسوفت 70-540 اختبار تطوير تطبيقات Windows Mobile

السعر: $94.99

عينة الأسئلة

س) 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.)

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

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

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

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

البريد) Add the following event handler for the form. Vacuum STATE_CHANGED (object sender, ChangeEventArgs args) {Contact contact = (اتصل) 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 = (); }

س) 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? ا) State SystemState = new SystemState (SystemProperty PhoneCellBroadcast.); state.Changed + = new ChangeEventHandler (STATE_CHANGED); empty STATE_CHANGED (object sender, ChangeEventArgs args) {bool result = (bool) state.CurrentValue; إذا {MessageBox.Show ( “The phone is turned off”) (result!); }}

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

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

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

س) 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

ا) sb.Capacity = 0;

ب) sb.Length = 0;

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

د) sb.Remove (0, 100);

س) 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?

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

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

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

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

س) 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 ( “عميل”); Cust Table.Columns.Add ( “CustomerID”, typeof (Int32)); DataTable prodTable = new DataTable ( “المنتج”); prodTable.Columns.Add ( “ProductID”, typeof (Int32)); DataTable ordTable = new DataTable ( “ترتيب”); ordTable.Columns.Add ( “CustomerID”, نوع (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.)

ا) DataColumn parentColumn ds.Tables = [ “عميل”] أعمدة [ “CustomerID”] .; DataColumn childColumn ds.Tables = [ “ترتيب”] أعمدة [ “CustomerID”] .; ds.Relations.Add (new DataRelation ( “CustomerOrderparentColumn, childColumn));

ب) DataColumn parentColumn ds.Tables = [ “ترتيب”] أعمدة [ “CustomerID”] .; DataColumn childColumn ds.Tables = [ “عميل”] أعمدة [ “CustomerID”] .; ds.Relations.Add (new DataRelation ( “CustomerOrderparentColumn, childColumn));

ج) DataColumn parentColumn ds.Tables = [ “ترتيب”] [ ‘columns ProductID “] .; DataColumn childColumn ds.Tables = [ “Products”] أعمدة [ “ProductID”] .; ds.Relations.Add (new DataRelation ( “ProductOrderparentColumn, childColumn));

د) DataColumn parentColumn ds.Tables = [ “Products”] أعمدة [ “ProductID”] .; DataColumn childColumn ds.Tables = [ “ترتيب”] [ ‘columns ProductID “] .; ds.Relations.Add (new DataRelation ( “ProductOrderparentColumn, childColumn));

البريد) DataColumn parentColumn ds.Tables = [ “Products”] أعمدة [ “ProductID”] .; DataColumn childColumn ds.Tables = [ “عميل”] أعمدة [ “CustomerID”] .; ds.Relations.Add (new DataRelation ( “CustomerProductparentColumn, childColumn));

عن arkadmin

‎إضافة تعليق