Technology Questions

Q:

Which namespaces in .NET are used for XML?

Answer

The System.xml.dll is the real physical file, which contains the XML implementation. Some of the other namespaces that allow .NET to use XML are as follows:


    


      =>  System.Xml

      =>  System.Xml.Schema

      =>  System.Xml.XPath

      => System.Xml.Xsl

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 2768
Q:

Application_Start: This event occurs when the first user visits a page of the application.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

whenever user visits a page application Application_start event occurs

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2764
Q:

Explain one-definition rule (ODR).

Answer

According to one-definition rule, C++ constructs must be identically defined in every compilation unit they are used in. 


As per ODR, two definitions contained in different source files are called to be identically defined if they token-for-token identical. The tokens should have same meaning in both source files. 


Identically defined doesn’t mean character-by-character equivalence. Two definitions can have different whitespace or comments and yet be identical.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2762
Q:

Where SQL server user names and passwords are stored in SQL server?

Answer

They get stored in System Catalog Views sys.server_principals and sys.sql_logins.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 2755
Q:

Keeping the actoins and attributes together under a single unit is called 

A) Encapsulation B) Information Hiding
C) Polymorphism D) Inheritance
 
Answer & Explanation Answer: A) Encapsulation

Explanation:

Encapsulation is a process of binding the data objects together under a single unit.It is one ofthe elements of oops

Report Error

View Answer Report Error Discuss

Filed Under: Java

0 2754
Q:

onclick="window.open()":This attribute of HTML control is used to open a page in new window

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

To open a page in a new window, you have to use client script using onclick="window.open()" attribute of HTML control.

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2753
Q:

What is sqlcode -811?

Answer

SELECT statement has resulted in retrieval of more than one row.

Report Error

View answer Workspace Report Error Discuss

0 2753
Q:

How do you destroy a particular or all Sessions?

Answer

<?php
session_start();
// store session data
$_SESSION['views']=1;
unset($_SESSION['views']); // If you wish to delete some session data, you can use the unset()
session_destroy(); // You can also completely destroy the session by calling the session_destroy() function. session_destroy() will reset your session and you will lose all your stored session data.
?>

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2753