php mcq questions with answers


                                

Which of the following jobs are NOT performed by Garbage Collector?

  1. Freeing memory on the stack.
  2. Avoiding memory leaks.
  3. Freeing memory occupied by unreferenced objects.
  4. Closing unclosed database collections.
  5. Closing unclosed files.

A.1, 2, 3
B.3, 5
C.1, 4, 5
D.3, 4
                                

Which of the following .NET components can be used to remove unused references from the managed heap?

A.Common Language Infrastructure
B.CLR
C.Garbage Collector
D.Class Loader
E.CTS
                                

Which of the following statements correctly define .NET Framework?

A.It is an environment for developing, building, deploying and executing Desktop Applications, Web Applications and Web Services.
B.It is an environment for developing, building, deploying and executing only Web Applications.
C.It is an environment for developing, building, deploying and executing Distributed Applications.
D.It is an environment for developing, building, deploying and executing Web Services.
E.It is an environment for development and execution of Windows applications.
                                

Which of the following constitutes the .NET Framework?

  1. ASP.NET Applications
  2. CLR
  3. Framework Class Library
  4. WinForm Applications
  5. Windows Services

A.1, 2
B.2, 3
C.3, 4
D.2, 5
                                

Which of the following assemblies can be stored in Global Assembly Cache?

A.Private Assemblies
B.Friend Assemblies
C.Shared Assemblies
D.Public Assemblies
E.Protected Assemblies