Languages-Assembly Language [TCS Placement]: Sample Questions 2 - 2 of 9

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 2

Assembly Language

Describe in Detail


What is an assembly?


  • Basic building blocks of any application, forming smallest deployable units of code in . NET
  • Assembly is a set of one or more modules and classes compiled in MSIL, and metadata that describes the assembly itself, as well as the functionalities of the assembly classes.
  • Partially compiled code libraries forming fundamental unit of deployment, versioning, activation scoping, reuse, and security.
  • Provide a collection of types and resources that work to form a logical unit of functionality.
  • Compared to the executables, assemblies are reliable, secure, easy to manage.
  • There are two kind of assemblies in . NET:
  • Private
    • Private assemblies are simple and copied with each calling assembly in the calling assemblies folder.
    • Shared
  • Shared assemblies (also called strong named assemblies) are copied to a single location (usually the Global assembly cache) .
  • For calling assemblies in an application, the same copy of the shared assembly is used.
  • Each shared assembly has a four-part name: face name, version, public key token, and culture information.
  • The public key token and version information do not allow two different assemblies with the same name or for two similar assemblies with different versions to mix with each other.

Developed by: