User Tools

Site Tools


study_questions_audio_creation

This is an old revision of the document!


Study Questions - Audio Creation

CDEx Settings

Bitrate = 80 kbps

Mono

Quality = Very high (q = 0)

Questions To Be Recorded

C13L1Q7: When generating metadata from a type library, what is the resulting assembly called?

Answer: An interop assembly.

C13L1Q8: What are the four options for generating an interop assembly containing type metadata?

Answer:

  • Visual Studio.
  • Type Library Importer (Tlbimp.exe).
  • The TypeLibConverter class.
  • Custom wrappers.

C13L1Q9: What can the TypeLibConverter class do that the Type Library Importer can not?

Answer: It can convert an in-memory type library to metadata.

C13L1Q10: What are the four high level steps to expose a COM component to the .NET Framework?

Answer:

  1. Import a type library as an assembly.
  2. Create COM types in managed code.
  3. Compile an interop project.
  4. Deploy an interop application.

Chapter 3: The Basic Tools

PragC3Q1: What are the three benefits of plain text?

Answer:

  • Insurance against obsolescence
  • Leverage
  • Easier testing

PragC3Q2: What are three situations that make tracing statements invaluable?

Answer:

  • Concurrent processes
  • Real-time systems
  • Event-based applications

C13L1Q11: How are COM types that are defined in an assembly used differently from other managed types?

Answer: They aren't used differently (tricky).

C13L1Q12: How is compiling an interop project different from compiling a managed project?

Answer: It isn't different (tricky).

C13L1Q13: What three things does an interop application contain?

Answer:

  • A .NET client assembly.
  • One or more interop assemblies.
  • One or more registered COM components.

C13L1Q14: Where should private assemblies be installed?

Answer: The same directory as the application.

C13L1Q15: What must a shared assembly have and where is it installed?

Answer: It must have a strong name and be installed in the Global Assembly Cache (GAC).

C13L1Q16: What is a primary interop assembly?

Answer: A unique, vendor-supplied, strong named, interop assembly that contains type definitions (as metadata) of types implemented with COM.

study_questions_audio_creation.1252287273.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki