nerdexam
Microsoft

98-372 · Question #69

Which tool is used to generate portable executable files from Microsoft intermediate language (MSIL)?

The correct answer is D. MSIL Assembler. MSIL Assembler (Ilasm.exe) is a tool used to generate portable executable files from Microsoft intermediate language (MSIL). Running the resulting executable determines whether or not MSIL performs as expected. Following is the syntax for using Ilasm.exe: ilasm [options]…

Understanding .NET Framework Concepts

Question

Which tool is used to generate portable executable files from Microsoft intermediate language (MSIL)?

Exhibit

98-372 question #69 exhibit

Options

  • ACommon language runtime
  • BMicrosoft Intermediate Language Disassembler
  • CManaged Code
  • DMSIL Assembler

How the community answered

(17 responses)
  • A
    12% (2)
  • B
    12% (2)
  • C
    6% (1)
  • D
    71% (12)

Explanation

MSIL Assembler (Ilasm.exe) is a tool used to generate portable executable files from Microsoft intermediate language (MSIL). Running the resulting executable determines whether or not MSIL performs as expected. Following is the syntax for using Ilasm.exe: ilasm [options] filename [ [options]filename...] where, filename specifies the name of the source file comprising metadata declaration directives and MSIL instructions, and the term options specifies the options to be used. Following are the options that are commonly used with Ilasm.exe: Answer: A is incorrect. Common language runtime (CLR) is a core component of Microsoft's .NET initiative. It is Microsoft's implementation of the Common Language Infrastructure standard, which defines an execution environment for program code. In the CLR, code is expressed in a form of bytecode called the Common Intermediate Language. Answer: B is incorrect. The Microsoft Intermediate Language Disassembler (ILDasm.exe) is a tool that comes with the Microsoft Intermediate Language Assembler (ILasm.exe). It allows users to view the internal types, underlying IL, metadata, and assembly manifest for a given managed binary. It operates only on Portable Executable (PE) files. Answer: C is incorrect. Managed code is written in a .NET language and is executed by the common language runtime (CLR). It requires passing metadata that is necessary for the CLR to provide services. Code based on Microsoft intermediate language (MSIL) executes as managed

Topics

#MSIL Assembler#Ilasm#portable executable#.NET compilation

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice