php mcq questions with answers


                                
C# doesnot support:
A. abstraction
B. polymorphism
C. multiple inheritance
D. inheritance
                                
Your company uses Visual Studio.NET 2005 as its application development platform. You are developing an application using the .NET Framework 2.0. You are required to use a datatype that will store only numbers ranging from -32,768 to 32,767. Which of the following datatypes will you use to accomplish the task?
A. short
B. System.Int16
C. string
D. a and b
                                
Which of the following statements is correct about Managed Code?
A. Managed code is the code that runs on top of Windows.
B. Managed code is the code that is written to target the services of the CLR.
C. Managed code is the code where resources are Garbage Collected.
D. Managed code is the code that is compiled by the JIT compilers.
                                
How does assembly versioning in .NET prevent DLL Hell?
A. The runtime checks to see that only one version of an assembly is on the machine at any one time.
B. The compiler offers compile time checking for backward compatibility.
C. .NET allows assemblies to specify the name AND the version of any assemblies they need to run.
D.  It doesn.t.