1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)

1.1 The purpose of the Common Language Infrastructure (CLI) is to provide a language-neutral platform for the following:

A) Application development environment only

B) Both application development and execution environment only

C) Abstraction, Object of a class, Inheritance, Polymorphism

D) Application development and execution environment, including functions for exception handling, garbage collection, security, and interoperability.

1.2 BOXING in .Net allows user to convert

A) An integer type to double

B) A reference type to a value type

C) A value type to a reference type

D) A double type to integer

1.3 What is accessibility modifier “Protected Internal”?

A) It is available to classes that are within the same assembly and derived from the specified base class.

B) It is available within the class definition

C) It is the most permissive access level

D) It is the least permissive access level

1.4 In C#, Is there any error in the following statement? EmployeeMgmt constructor: Public int employeeMgmt { emp_id = 100; }

A) Return type

B) No errors

C) Formal parameters

D) Name

1.5 In C#, Features of read only variable?

A) It is allocated at compile time

B) Declaration and initialization is separated

C) It is allocated at runtime

D) All of above

1.6 How many web.config files can be there an ASP.NET Application?

A) only one

B) only two

C) upto 10

D) more than one

1.7 In C#, which object represent a drawing surface and provides methods for rendering to that drawing surface?

A) Graphic object

B) Pen object

C) Brush object

D) Color object

1.8 Which of the following is not a method of accessing the web?



C) Modem


1.9 To deny a particular user form accessing the secured resources, the web.config file must contain the following code:




(A) Only i) is correct

(B) Both i) and iii) are correct

(C) Both ii) and iii) are correct

(D) All i), ii) and iii) are correct

1.10 What will be the output of the following C# code?

      using System;

            public class BaseClass


            public BaseClass()


                Console.WriteLine("a base class");



                public class ChildClass : BaseClass


                    public ChildClass()


                         Console.WriteLine("a child class");


                  static void Main()


                    ChildClass CC = new ChildClass();



A) “a base class” only

B) “a child class” only

C) “a base class” and “a child class” both

D) None of the above

2. Each statement below is either TRUE or FALSE. Choose the most appropriate one and ENTER in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)

2.1 In C#, if a class has a single abstract member in abstract methods, the class has to be marked abstract.

2.2 Arrays are passed by value and not passed by reference in C#.

2.3 Operator “||” is a Logical Operator in C#.

2.4 “eq” is a binary operator for filter expressions in ADO.NET environment.

2.5 In ASP.NET, the state of a page is maintained in the page itself automatically.

2.6 In ADO.NET, when the user closes the program, there is no need to worry about closing database connections because database connections remain closed until needed.

2.7 Garbage Collection (GC) in .NET is invoked by the .Net runtime at regular intervals using System.GC.Collect ( ) method and removes the dirty objects from the memory.

2.8 In ASP.Net fragment caching refers to the caching of individual user controls within a web form.

2.9 In C#, the conditional, iteration, jump, and exception handling statements to control a program's flow of execution.

2.10 Nature of constants in C#, you can assign a value to a constant after it is declared and can be changed during the execution of the program at run time

3. Match words and phrases in column X with the closest related meaning/ word(s)/phrase(s) in column Y. Enter your selection in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)

3.1 Default access modifier for a method  A. .NET runtime
3.2 Operator for bitwise “not a” in C#  B. Private
3.3 Managed code runs inside the environment of CLR  C. ~ a
3.4 “System.Web.UI” is a base class  D. &a
3.5 Multiple Pages are possible in a single ASP.Net page  E. Boxing
3.6 XML Schema definition Tool  F. System.object
3.7 Web server  G. “ csc.exe”
3.8 The root class in .NET  3.8 The root class in .NET
3.8 The root class in .NET  I. FrameSet
3.10 References the address of the pointer in C#  J. ASP.NET
   K. read-only dataset
   L. !a
   M. “ xsd.exe”

4. Each statement below has a blank space to fit one of the word(s) or phrase(s) in the list below. Enter your choice in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)

4.1 In ADO.NET, the ________ will open and close database connections as needed.

4.2 In C#, string objects are not ________.

4.3 Use ________ to kill the cookies in a page.

4.4 We can’t have unlimited number of cookies per ________.

4.5 In C#, ________ is used to handle multiple actions in the forms.

4.6 In classic ASP all Web site related information was stored in the metadata of ________.

4.7 The Common Language Runtime (CLR) is the execution engine for________ applications.

4.8 In C# and .NET, the default size of Integer data type is ________.

4.9 Use a ________ object to connect to a Microsoft SQL Server Database.

4.10 Microsoft SQL database connections use the ________ object to perform commands and return data.

Options ; Answer

A. Changeable B. colon C. .NET Framework D. Cookies.Discard() E. SqlClient F. IIS G. DataAdapter H. SqlConnection I. SqlDataAdapter J. 32 bits K. 16 bits L. website M. &&

View More Material


Register your number for whatapp