Microsoft UPGRADE: MCAD Skills to MCTS Web Apps Using MS.NET Framework Sample Questions:
1. You work as the developer in an IT company. Recently your company has a big client. The client runs a large supermarket chain. According to the business requirement, the client needs a class which uses unmanaged resources. This class maintains references to managed resources on other objects. You must make sure that when the class instance is not needed, users of this class can explicitly release resources. What should you do? (choose more than one)
A) Create a Dispose method that releases unmanaged resources and calls methods on other objects to release the managed resources.
B) You should make the class implement the IDisposable interface by defining it.
C) You should create a Dispose method. The method forces garbage collection by calling System.GC.Collect.
D) You should create a class destructor. The class destructor releases the unmanaged resources.
E) You should make the class inherit from the WeakReference class by defining it.
F) You should create a class destructor. The class destructor releases the managed resources by calling methods on other objects.
2. DRAG DROP
You work as the developer in an IT company. Recently your company has a big customer. The customer runs a large supermarket chain. You're appointed to provide technical support for the customer. You are creating an application which contains a form and provides information about the local computer. The form lists each logical drive along with the drive properties, such as type, volume label, and capacity.
Now properties of each logical drive on the local computer have to be retrieved. You have to write a procedure that retrieves properties. What should you do?
To answer, from the list of actions, move the three appropriate actions to the answer area and arrange them in the correct order.
3. You work as the developer in an IT company. Recently your company has a big customer. The customer runs a large supermarket chain. You're appointed to provide technical support for the customer. Now according to the customer requirement, you create a mobile Web Form which contains a mobile Calendar control named calDate. The customers want you to capture the date that users choose from the Calendar control. What action should you perform?
A) Create an event handler for the OnSelectionChanged event of the calDate control. In the
event handler, read the Calendars SelectionDate property.
B) Create an event handler for the OnInit event of the calDate control. In the event handler, read the Calendars VisibleDate property.
C) A: Create an event handler for the OnSelectionChanged event of the calDate control. In the event handler, read the Calendars VisibleDate property.
D) Create an event handler for the OnInit event of the calDate control. In the event handler, read the Calendars SelectionDate property.
4. You have just graduated from college, now you are serving the internship as the software developer in an international company. According to the requirements of the company CIO, you create a Web application which enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. In order to be able to locate the error, you have to track each change that is made to a user profile by raising a custom event.
In the options below, which event should you use?
A) You should use WebRequestEvent
B) You should use WebAuditEvent
C) You should use WebEventManager
D) You should use WebBaseEvent
5. You work as the developer in an IT company. Recently your company has a big customer.
The customer runs a large supermarket chain. You're appointed to provide technical support for the customer.
Now according to the customer requirement, you create a DirectorySecurity object for the working directory.
The customer wants you to identify the user accounts and groups that have read and write permissions.
So on the DirectorySecurity object, which method should you use?
A) the GetAuditRules method
B) the GetAccessRules method
C) the AuditRuleFactory method
D) the AccessRuleFactory method
Solutions:
| Question # 1 Answer: A,B,D | Question # 2 Answer: Only visible for members | Question # 3 Answer: A | Question # 4 Answer: D | Question # 5 Answer: B |














838 Customer Reviews
Quality and ValueITCertKing Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.
Tested and ApprovedWe are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
Easy to PassIf you prepare for the exams using our ITCertKing testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
Try Before BuyITCertKing offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.
