¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

.NET midterm question

BigDady313 . 25 preguntas

Hacer el test

Preguntas del test (25)

  1. 1Assume there is a private .NET class library and client executable. Which is the correct way to test the client to see if it will interoperate with the class library?
    1. AUse the .NET assembly linker tool to generate one combined assembly based on both the client and the class library, then execute this combined assembly
    2. BPut the client and the library in the same folder and execute the class library file
    3. CPut the client and the library in the same folder and execute the client file
    4. DCombined all the source code for the client and class library into one Visual Studio project then build and execute the project
  2. 2What is the default file name extension of a .NET class library?
    1. A.exe
    2. B.net
    3. C.lib
    4. D.cs
    5. E.dll
  3. 3When developing a .NET application in Visual Studio, which one of the following is a correct way to establish a client-service relationship between a client project and a class library project?
    1. AAdd a reference to the client assembly within the class library project
    2. BAdd a reference to the class library assembly within the client project
    3. CAdd using namespace statement for the class library's namespace within the client project
    4. DAdd a using namespace statement for the client's namespace within the class library project
  4. 4Which of the following C# project templates in Visual Studio should be used to construct the PaymentCard service from Lab 1?
    1. AClass Library
    2. BWPF Application
    3. CConsole Application
    4. DWindows Service
  5. 5A reasonable conclusion that can be drawn after completing the Payment Card lab is that:
    1. AA software component interface, like ICard, must remain immutable or unchanging to allow different implementations to be supported
    2. BA component software architecture should be the default or standard approach when developing any software system
    3. CA class library project in Visual Studio is a suitable tool for creating a client application such as the PaymentCard client
    4. DAn application's performance can be improved by separating it into multiple software components like the PaymentCard client and library
  6. 6The CLR can be advised to bind to a private class library in non-default location using the probing element in an Application Configuration File. Which of the following is a key limitation of this technique?
    1. AThe class library must be located outside the folder in which the client assembly is located.
    2. BBoth the client and class library assembly must be developed using the same .NET language (e.g. both written in C#)
    3. CThe class library must be located in a subfolder within the folder in which the client assembly is located
    4. DThe class library's version number must match the version number expected by the client
  7. 7Where does the CLR normally expect to find a private class library assembly that is required by a client assembly?
    1. AIn the Global Assembly Cache
    2. BIn the same folder as the client assembly
    3. CIn a subfolder called libs located within the client assembly's folder
    4. DIn the Windows\System32 folder
  8. 8If you have a class library project in Visual Studio, what effect will be created by assigning it an assembly version number of 10* (Yes, the last number is blank!)
    1. AThis will assign a version number that does not include a revision number or a build number
    2. BThis will cause a builder error
    3. CVisual Studio will automatically assign a build number to the assembly
    4. DVisual Studio will automatically assign both a revision number and a build number to the assembly
  9. 9If a client assembly called Lab3Client.exe uses a class library assembly called Lab3Library.dll, what is the correct name of the application configuration file if the application is deployed with one?
    1. ALab3Library.dll.config
    2. BApp.config
    3. CLab3Library.config
    4. DLab3Client.config
    5. ELab3Client.exe.config
  10. 10True of False: If a .NET client is designed to use a private (unsigned) class library having an assembly version of 1.0.0.0 but instead an otherwise identical class library is provided with a different version number, the application will still work
    1. AVerdadero
    2. BFalso

Información

Descripción
Component based programming .NET midterm quiz
Idioma
English
Visitas
81
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?