Dot Net Interview Questions



Job interviews are always stressful and they are tough enough to make fresher and even experienced one feel nervous and scary of the interview. Technical-interviews.com has been developed to help students and jobseekers to prepare for the tough job interview questions shot at them. Review the job interview questions and answers on networking basics, load runner, winrunner, .net, vb, java, oracle and many more common job interview questions online here. You have just made the first step to build the foundation for a successful interview by reviewing Technical-interviews.com.

C# and Dot Net Interview Questions II

What is XML Schema?

Document Type Declaration(DTD)

<!DOCTYPE root-element [ doctype-declaration… ]>

determines the name of the root element and contains the document type declarations

Elements

Elements are the main building blocks of both XML and HTML documents.

Examples of HTML elements are “body” and “table”. Examples of XML elements could be “note” and “message”. Elements can contain text, other elements, or be empty. Examples of empty HTML elements are “hr”, “br” and “img”.

Examples:

<body>body text in between</body>

<message>some message in between</message>

———–

Attributes

Attributes provide extra information about elements.

C# and Dot Net Interview Questions III

How to find exceptions in database

If program successfully complie . but program is not run or execute.then give an exception.

 

How can objects be late bound in .NET?

Instead of using new keyword we can use create object like in this example we are creating object to write in excel sheet through our programexampleImports Excel = Microsoft.Office.Interop.ExcelPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim objApp As Object Dim objBook As Object Dim objBooks As Object Dim objSheets As Object Dim objSheet As Object Dim range As Object ‘ Instantiate Excel and start a new workbook. objApp = CreateObject(”Excel.Application”) objBooks = objApp.Workbooks objBook = objBooks.Add objSheets = objBook.Worksheets objSheet = objSheets.Item(1) range = objSheet.Range(”A1″) ‘Set the range value. range.Value = “Hello, World!” ‘Return control of Excel to the user. objApp.Visible = True objApp.UserControl = TrueEnd Sub

Telecommunications interview questions

11. What is the nominal voltage required in subscriber loop connected to local exchange?

a) +48 volts
b) -48 volts
c) 230 volts
d) 110 volts

12. To send a data packet using datagram , connection will be established…

a) before data transmission.
b) connection is not established before data transmission.
c) no connection is required.
d) none of the above.

Ans: (c)

13. Word alignment is…

a) aligning the address to the next word boundary of the machine.
b) aligning to an even boundary.
c) aligning to a word boundary.
d) none of the above.

.NET WebDev interview question

1. State True or False: If you set AutoGenerateColumns=True and still provide custom column definitions, the DataGrid will render both
* True
* False
2. The data from an XSL Transform with XmlReader can be returned in one of the following ways
* objReader = objXslT.Transform(objNav, nothing)
* objXslT.Transform(objNav, nothing)
* objReader = objXslT.Transform(objNav, nothing, objWriter)
* objXslT.Transform(objNav, nothing, objWriter)
3. Pick the command line that would result in the C# compiler generating an XML documentation file
* csc /doc:NewHome.xml NewHome.cs
* c /doc /docfile: NewHome.xml NewHome.cs
* csc /doc /out: NewHome.xml NewHome.cs
* csc /xml NewHome.cs
4. What is the comment syntax for C#’s XML-based documentation?
* /** and **/
* //#
* ///
* //*

.NET WebDev interview questions - Part 2

1. A structure in C# can be derived from one or more
* class
* interface
* both
* none
2. State True or False: Static method cannot be overridden
* True
* False
3. The Equivalent HTML Control for the <input type=”button”> tag is
* HtmlInput
* HtmlButton
* HtmlPushButton
* HtmlInputButton
4. The Equivalent Html Control for the <input type=”checkbox”> tag is
* HtmlCheckBox
* HtmlInputChkBox
* HtmlInputCheckBox
* HtmlInputTypeChkBox

Pages (13): « 1 [2] 3 4 5 » ... Last »