98-372 Exam Details

  • Exam Code
    :98-372
  • Exam Name
    :Microsoft .NET Fundamentals
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :230 Q&As
  • Last Updated
    :Apr 20, 2020

Microsoft 98-372 Online Questions & Answers

  • Question 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?

    A. Doc1.CreateAttribute("EmployeeId", "A23");
    B. Doc1.DocumentElement.SetAttribute("Employeeld","A23");
    C. Doc1.CreateNode("EmployeeId", "A23", "");
    D. Doc1.CreateElement("Employeeld","A23");

  • Question 2:

    You create a program that writes a status message to a file every 10 seconds. You need to ensure that all data is written to the file before the file is closed. When should you call the Flush() method?

    A. Before opening the file
    B. Before writing the entry
    C. After writing the entry
    D. When opening the file

  • Question 3:

    Your application requests FileIOPermission to open a file.

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

    A. IOException
    B. SecurityException
    C. ArgumentException
    D. VerificationException

  • Question 4:

    You want to substitute values in a string that is displayed on the console.

    Which code fragment will display "Hello, World"?

    A. Console.WriteLine("Hello, [0]", "World")
    B. Console.WriteLir.e ("Hello, {0}", "World")
    C. Console.WriteLine("Hello, (0)", "World")
    D. Console.WriteLine("Hello, ", "World")

  • Question 5:

    You create a custom exception class named MyCustomException that is derived from ApplicationException. Which code segment should you use to raise MyCustomException?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 6:

    Which two classes in the .NET Framework can you use to open a file? (Each correct answer presents a complete solution. Choose two.)

    A. System.IO.FileInfo
    B. System.IO.File
    C. System.IO.Path
    D. System.IO.Stream

  • Question 7:

    Which feature is available in both Microsoft Visual Basic .NET and C#?

    A. Static classes
    B. Named and optional arguments in methods
    C. Use of code that is not case-sensitive
    D. Use of code that is not type-safe

  • Question 8:

    Type-safe code prevents:

    A. Slow performance.
    B. Namespace conflicts.
    C. Format exceptions.
    D. Unauthorized memory access.

  • Question 9:

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

    A. Virtual Execution System (VES)
    B. Common Type System (CTS)
    C. Microsoft Intermediate Language (MSIL)
    D. Common Intermediate Language System (CILS)

  • Question 10:

    What is the characteristic of a delegate?

    A. A tightly coupled event
    B. An object that raises an event
    C. A type-safe function pointer
    D. A property function that includes optional parameters

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 98-372 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.