.NET Micro Framework/.NET MCQ Set 4 Sample Test,Sample questions

Question:
A user application-domain can be created:

1.Automatically

2.By using a static method "CreateAppDomain"

3.By using a static method "CreateDomain"

4.By using a non static method "CreateAppDomain"

Posted Date:-2022-08-16 07:20:16


Question:
An application can have any number of modules and files. Which of the following is used to link them together into a single assembly?

1.al.exe

2.ac.exe

3.bl.exe

4.ad.exe

Posted Date:-2022-08-16 07:31:58


Question:
An application can have any number of modules and files. Which of the following is used to link them together into a single assembly?

1.al.exe

2.ac.exe

3.bl.exe

4.ad.exe

Posted Date:-2022-08-16 07:56:21


Question:
Code Manager is a the part of:

1.CTS

2.CLI

3.CLS

4.CLR

Posted Date:-2022-08-16 08:21:54


Question:
Compilers of CLS compliant language generate:

1.MSIL code and Metadata

2.MSIL code

3.Metadata

4.Machine code

Posted Date:-2022-08-16 08:52:11


Question:
Consider the following two statements and choose the most appropriate option:

Statement 1: Value types are allocated on a stack

Statement 2: Reference types are allocated on a managed CLR Heap

1.Statement 1 is true and statement 2 is false

2.Statement 2 is true and statement 1 is false

3.Both statements 1 and 2 are true

4.Both statements 1 and 2 are false

Posted Date:-2022-08-16 08:24:09


Question:
How does CLR allow multiple applications to be run in a single process?

1.By running them in a special application domain

2.By making sub process for each process

3.By loading them in separate application domains

4.None of the above

Posted Date:-2022-08-16 08:56:18


Question:
How many application domains can exist inside a Win32 process?

1.1

2.2

3.Any number

4.4

Posted Date:-2022-08-16 08:29:51


Question:
How will you use the thread pool?

1.By calling the ThreadPool.UserQueueWorkItem() method directly

2.By passing an instance of WaitCallback delegate to the ThreadPool.QueueUserWorkItem() method

3.By passing an instance of WaitCallback delegate to the ThreadPool.UserQueueWorkItem() method

4.By passing an instance of StayCallback delegate to the ThreadPool.QueueUserWorkItem() method

Posted Date:-2022-08-16 08:42:44


Question:
Net assembly stores both data and IL code. A tool is available along with the .NET framework to view within the PE. Which of the following is that tool?

1.ildasm.exe

2. disasm.exe

3.deassmbler.exe

4.deasm.exe

Posted Date:-2022-08-16 08:44:21


Question:
The global assembly cache:

1.Can store two dll files with the same name

2.Can store two dll files with the same name, but different version

3.Can store two dll files with the same name and same version

4.Can not store dll files with the same name

Posted Date:-2022-08-16 07:21:05


Question:
The IL to native code compilation is done by:

1.Code Manager

2.CTS

3.JIT

4.CLS

Posted Date:-2022-08-16 09:18:02


Question:
The runtime is started automatically by ______________ when the .exe is run.

1.mscore.dll

2.mscoree.dll

3.mscor.dll

4.mscoren.dll

Posted Date:-2022-08-16 08:43:30


Question:
The _________________ methods are primarily meant for COM Interoperability use.

1.System.AppDomain.ApplyPolicy

2.System.AppDomain.CreateComInstanceFrom

3.System.AppDomain.Load

4.System.AppDomain.GetAssemblies

Posted Date:-2022-08-16 08:55:19


Question:
What does Managed Data refer to?

1.The data stored by CLR

2.The data allocated by CLR GC

3.The data de-allocated by CLR GC

4.The data allocated and de-allocated by CLR GC

Posted Date:-2022-08-16 07:22:08


Question:
What is the command "caspol -lg" used for?

1.To see the private assemblies

2.To see the assemblies in GAC

3.To see the code groups defined on your system

4.To see the metadata information

Posted Date:-2022-08-16 07:52:31


Question:
What is the command "caspol -lg" used for?

1.To see the private assemblies

2.To see the assemblies in GAC

3.To see the code groups defined on your system

4.To see the metadata information

Posted Date:-2022-08-16 07:53:14


Question:
What is the command "caspol -lg" used for?

1.To see the private assemblies

2.To see the assemblies in GAC

3.To see the code groups defined on your system

4.To see the metadata information

Posted Date:-2022-08-16 07:53:28


Question:
Which of the following are used in combination to create the identity of an assembly?

1.Assembly name

2.Version

3.Culture

4.All of the above

Posted Date:-2022-08-16 09:24:09


Question:
Which of the following does not use metadata?

1.CLR

2.CTS

3. JIT compilers

4.Class loader

Posted Date:-2022-08-16 07:27:32


Question:
Which of the following files is used to implement application and session level events?

1.Global.asax

2.Web.config

3.Machine.config

4.None of These

Posted Date:-2022-08-16 07:23:40


Question:
Which of the following functionalities does System.Diagnostics class provide?

1.Reflection

2.Trace

3.Manage code

4.Remoting

Posted Date:-2022-08-16 07:29:43


Question:
Which of the following helps Assemblies become self describing?:

1.JIT

2.Manifest

3.CTS

4.Application Domain

Posted Date:-2022-08-16 08:41:34


Question:
Which of the following is a must for a private assembly?

1.Cryptographically strong name

2.Unique name

3.Cryptographically Light name

4. Global assembly cache

Posted Date:-2022-08-16 08:02:28


Question:
Which of the following is not a member of the Exception class?

1. StackTraceID

2.Message

3.InnerException

4.TargetSite

Posted Date:-2022-08-16 08:29:02


Question:
Which of the following is used as a Serializer for the web services?

1.XmlSerializer

2.SoapSerializer

3.BinaryFormatter

4.SoapFormatter

Posted Date:-2022-08-16 09:17:01


Question:
Which of the following is used to notify all waiting threads of a change in the object's state?

1.The system.Threading.Monitor.ReferenceEquals method

2.The system.Threading.Monitor.Enter method

3.The system.Threading.Monitor.PulseAll method

4.The system.Threading.Monitor.TryEnter method

Posted Date:-2022-08-16 08:25:10


Question:
Which of the following is valid and is included in the type definition?

1.The name of the type

2.The visibility of the type

3.The base types of the type

4.All of the above

Posted Date:-2022-08-16 09:21:27


Question:
Which of the following manages the code during execution?

1. Coding Manager

2. JIT

3.COde Manager

4.Coder Manager

Posted Date:-2022-08-16 08:26:53


Question:
Which of the following services are provided by CLR?

1.Application memory isolation

2.Code Management

3.Verification of type safety

4.All of the above

Posted Date:-2022-08-16 08:45:19


Question:
Which of the following statements is correct.

(a)A Try block must include Catch or Finally sections.

(b)Using an empty Finally section is illegal.

1.Only (a) is true

2.Only (b) is true

3.Both (a) and (b) are false

4.Both (a) and (b) are true

Posted Date:-2022-08-16 08:54:12


Question:
Which of the following statements is correct?

1.For in-process communication between contexts within a single application domain, Serialization is used as an interception mechanism.

2.For in-process communication between contexts within a single application domain, Marshaling is used as an interception mechanism.

3.For in-process communication between contexts within a single application domain, Proxies are used as an interception mechanism.

4.All of the above

Posted Date:-2022-08-16 09:22:58


Question:
Which of the following tools can be used to modify and grant permissions to code groups?

1.Soapsuds.exe

2.Lldasm.exe

3. CASPol.exe

4. PerfMon.exe

Posted Date:-2022-08-16 07:26:02


Question:
Which of the options is being referred to in the following statement:

"All incoming requests are processed by a single server object"

1.SingleCall

2.Client-activated object

3.Singleton

4.None of these

Posted Date:-2022-08-16 07:19:20


Question:
Which of these Assemblies is used for doing Localization?

1.Private

2.Public

3.Satellite

4.Both Public and Private

Posted Date:-2022-08-16 09:25:06


Question:
Which of these classes are used for loading an assembly into an application domain?

1.System.Configuration.Assemblies

2.system.componentModel

3.System.Resources

4.System.AppDomain

Posted Date:-2022-08-16 07:24:42


Question:
Which of these files is used for debugging an application?

1.demo.dll

2.demo.pdb

3.demo.res

4.Any of these can be used

Posted Date:-2022-08-16 08:51:28


Question:
Which of these is used to allow managed code to interoperate with unmanaged code?

1.COM

2.COM Marshaler

3.XML

4.SOAP

Posted Date:-2022-08-16 08:53:06


Question:
Which tool can you use to register managed types with the Windows registry?

1.SN.exe

2.Regasm.exe

3.lldasm.exe

4.None of the above

Posted Date:-2022-08-16 07:22:52


Question:
Which type of parameter is passed in subroutines by default?


1.ByRef

2.ByVal

3.both (a) and (b)

4.None of the above

Posted Date:-2022-08-16 08:27:45


Question:
Why doesn't .Net runtime offer deterministic destruction?

1.Due to CTS

2. Due to Finalize class

3.Due to garbage collection algorithm

4.Due to the JIT

Posted Date:-2022-08-16 08:23:10


Question:
___ is a subset of the CTS.

1.CLI

2.cLS

3.CLR

4.None of These

Posted Date:-2022-08-16 09:19:39


Question:
____ is used to generate the assembly from modules.

1.soapsuds.exe

2.lldasm.exe

3.PerfMon.exe

4.al.exe

Posted Date:-2022-08-16 09:15:54


Question:
________ helped overcome the DLL conflict (faced by the versions prior to .NET).

1.Strong-named assemblies

2.Version-aware code storage

3.Components executing in isolation

4.All of the above

Posted Date:-2022-08-16 08:57:22


More MCQS

  1. .NET Framework MCQ
  2. .NET MCQ Set 1
  3. .NET MCQ Set 2
  4. .NET MCQ Set 3
  5. .NET MCQ Set 4
  6. .NET MCQ Set 5
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!