[Free] 2018(May) Dumps4cert Passguide Microsoft 98-372 Dumps with VCE and PDF Download 11-20

Dumps4cert.com : Latest Dumps with PDF and VCE Files
2018 May Microsoft Official New Released 98-372
100% Free Download! 100% Pass Guaranteed!

Microsoft .NET Fundamentals

Question No: 11 – (Topic 1)

Which code segment is an example of implicit boxing?

Dumps4Cert 2018 PDF and VCE

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Answer: A

Dumps4Cert 2018 PDF and VCE

Question No: 12 – (Topic 1)

Which standard allows data types to be interchanged among all Common Language Infrastructure (CLI) programming languages?

  1. Common Intermediate Language System (CILS)

  2. Virtual Execution System (VES)

  3. Common Type System (CTS)

  4. Microsoft Intermediate Language (MSIL)

Answer: C

Question No: 13 – (Topic 1)

Which is the base class of all classes in the .NET Framework?

  1. System.Net

  2. System.Drawing

  3. System.Object

  4. System

Answer: C

Question No: 14 – (Topic 1)

You write a method named DoWork.

You need to log all exceptions that occur inside DoWork. You also need to ensure that all exceptions are raised to the calling code.

Which code segment should you use?

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Answer: D

Question No: 15 – (Topic 1)

You load an XML document named doc1 that has an attribute named EmployeeId. Which code fragment will set the value of EmployeeId to A23?

  1. Doc1.CreateAttribute(quot;EmployeeIdquot;, quot;A23quot;);

  2. Doc1.DocumentElement.SetAttribute(quot;Employeeldquot;,quot;A23quot;);

  3. Doc1.CreateNode(quot;EmployeeIdquot;, quot;A23quot;, quot;quot;);

  4. Doc1.CreateElement(quot;Employeeldquot;,quot;A23quot;);

Answer: B

Explanation: The XmlElement.SetAttribute methodsets the value of the specified attribute.

Question No: 16 – (Topic 1)

You need to handle only SqlException exceptions. You also need to ensure that any other exception flows back to the calling code.

Which code segment should you use?

Dumps4Cert 2018 PDF and VCE

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Answer: C

Question No: 17 – (Topic 1)

You want to write log files to a user#39;s My Documents folder. Which class should you use to locate the My Documents folder?

  1. Directory

  2. Path

  3. Environment

  4. File

Answer: C

Question No: 18 – (Topic 1)

Your application requests FileIOPermission to open a file.

The permission is denied. Which type of exception will be thrown?

  1. IOException

  2. SecurityException

  3. ArgumentException

  4. VerificationException

Answer: B Explanation: Example:

FileIOPermission f = new FileIOPermission(PermissionState.None); f.AllLocalFiles = FileIOPermissionAccess.Read;

try

{

f.Demand();

}

catch (SecurityException s)

{

Console.WriteLine(s.Message);

}

Question No: 19 – (Topic 1)

You need to retrieve an assembly#39;s Version property. Which class should you use?

  1. AssemblyName

  2. MemberInfo

  3. Assembly

  4. OperatingSystem

Answer: A

Question No: 20 – (Topic 1)

You have created a program that writes status updates into a file. You want to modify the file.

You need to ensure that other users can view the file while it is being modified. Which permission should you use to open the file?

  1. FileAccess.Write

  2. FileShare.Inheritable

  3. FileShare.Read

  4. FileShare.None

  5. FileAccess.Read

Answer: C

100% Dumps4cert Free Download!
Download Free Demo:98-372 Demo PDF
100% Dumps4cert Pass Guaranteed!
Download 2018 Dumps4cert 98-372 Full Exam PDF and VCE

Dumps4cert ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.