You are on page 1of 6

Name: Position applied for:

Date/Time:

1. You want to create a method in your class that it is accessible by all the namespaces and code within the same assembly. Which of the following access modifiers should you use to create this method? Public. Protected. Friend. Protected Friend. 2. Which of the following controls is used to maintain the state of the web control in Web page as it travels back and forth from the client to the server? Hidden controls. Custom controls. Data controls. Validation controls. 3. You are creating a class named "Author" in your application. You include two constructor methods in the class, a constructor method with no arguments and a constructor method with two arguments. Which of the following terms should be used to refer these constructors? Override constructors. Overloaded constructors. Abstract constructors. Shared constructors. 4. Which of the following object oriented programming features is not supported by .Net platform? Inheritance. Multiple Inheritance. Abstraction. Polymorphism. 5. You want to write certain client side functions to perform validations in your ASP.NET Web application. Which of the following languages can you use to write these functions? Visual Basic .NET. VBScript. Visual C++. Visual C#. 6. You want to create a cookie object named "CustomerAddress" of type "CustomerInfo" to maintain address information of customers who buy products

online. Which of the following code snippets should you use to create this cookie? Dim CustomerAddress As New Cookie("CustomerInfo") Dim CustomerAddress As Cookie("CustomerInfo") Dim CustomerAddress As HttpCookie("CustomerInfo") Dim CustomerAddress As New HttpCookie("CustomerInfo") 7. You wish to retrieve details of the existing browser to confirm that it supports cookies since you want to use session variables to maintain the state of the users visiting your website. Which of the following ASP.NET objects enables you to accomplish this task? Response object. Request object. Application object. Session object. 8. Garbage collection performs resource management automatically to clean up the resources of an object when there are no valid references to it. Which of the following methods of the object will be invoked during garbage collection process? Finalize() Dispose() Flush() Destroy() 9. Identify the namespace which contains the set of classes that allow .NET -based applications to read and update information in databases and other data stores. The System.Database namespace. The System.Datastore namespace. The System.Data namespace. The System.ADO namespace. 10. Identify the file which has an .aspx.vb extension in an ASP.NET project using Visual Basic.NET. The code-debug file. The code-behind file. The code-release file. The code-enhance file. 11. Identify the powerful object-oriented feature that allows multiple methods to have the same name but accept different parameters. Abstraction Inheritance Overriding

Overloading 12. Identify the new component oriented language designed for .NET. Java Visual Basic C++ C# 13. What is the default access modifier for a structure in Visual Basic.NET? Private Friend Public Protected 14. Harry is writing a Visual Basic.NET program to calculate the earnings and tax deductions of employees for the current financial year. Which Visual Basic.NET datatype should he use for storing the employee salary? Money Currency Char Decimal 15. Which one of the following options defines a functional unit of sharing, versioning, and identity in the .NET Framework? An assembly An association A delegate A method

SQL
1. Which option depicts the two types of authentication methods used by SQL Server 2005? Windows 95 Authentication and SQL Authentication Windows 98 Authentication and SQL Authentication Windows NT Authentication and SQL Authentication Windows 3.1 Authentication and SQL Authentication 2. The first task that you need to perform for transferring data is to: identify the data that needs to be transferred. identify the tool used for creating a DTS package.

identify the source from where data is to be transferred. create the DTS package. 3. Identify the statement that is correct in context of an ad hoc query? An ad hoc query is used to access data frequently. An ad hoc query is a multiple use query. An ad hoc query is executed to access data stored at the same location. An ad hoc query is used when you do not need to access data frequently. 4. You need to build a distributed query that will access data from an Oracle database, a SQL Server database, and an Ingress database. For accessing all the three data sources, your distributed query will use: only OLE DB provider for ODBC ODBC drivers OLE DB providers for Oracle, SQL Server, and ODBC OLE DB providers for Oracle 5. Bulk Insert task: is a method of inserting a large volume of data from an MS SQL Server table or a view. is a method of updating a large volume of data into an MS SQL Server table or a view. is a method of copying a large volume of data into an MS SQL Server table or a view. is a method of getting a large volume of data from an MS SQL Server table of view. 6. The default row terminator is: /n -r t /t 7. What is the result if you do not specify the WITH parameter in the FOR XML clause? The result set is returned as a single stream without any hierarchy. A SQLOLEDB error is reported. The result set is returned as an EDGE table. The result will be displayed as an edge table 8. Which component is used to represent additional information about an element in

an XML document? Attribute Comment Sub Element Content 9. When you access a virtual directory that contains the template files, you: specify the virtual name of the template in the URL. specify the physical directory name in the URL specify the virtual name of the XPath query in the URL specify the database name in the URL. 10. XSL style sheets are used frequently than CSS because: the XSL style sheet has less loading time. the syntax of XSL is XML-based and supports the MSXML Parser. XSL has the functionality to selectively process the nodes of the XML document. XSL cannot be hacked on the internet due to its XML background. 11. You insert data into the SQL Server 2005 database by: invoking the OPENXML clause in the URL with the XML file and the table name as parameters. invoking the INSERT statement in the URL along with the OPENXML clause. executing the stored procedure which contains the OPENXML clause with the system stored procedures. executing the OPENXML clause in the Query Analyzer. 12. Which element is used to define the formatting rules to be applied to the resulting XML document? sql:xsl xsl:sql Xsl Css 13. Which statement is true about the sql:relation annotation? sql:relation is used for mapping a database to the XML document. sql:relation is used for mapping an XDR schema to a table.

sql;relation is used for mapping an XML node to a database table. sql:relation is used for mapping an attribute to the element. 14. XSL formatting commands are written in the form of: templates. Tags SQL queries schema. 15. To integrate XML support in SQL Server 2005, you need to configure: Internet Information Services (IIS) server. XML on SQL Server 2005. XPath. Windows 2008 operating system.

You might also like