Sunteți pe pagina 1din 6

1.Difference between writing SQL query and stored procedure ?

compared with query, stored procedure is efficient and fast


execution.Because stored procedure is program once it formed then execute
as a program.SQL query will be compiled everytime it is executed.Stored
procedures are compiled only once when they are executed for the first
time.stored proceure compiles only once and stores in database managemant
system so it is optimized for best performance while sql query compiles
every time and executes using dbms driver so its performance decresesEvery
query is submited it will be compiled & then executed.where as stored
procedure is compiled when it is submitted for the first time and this
compiled content is stored in something called procedure cache,for
subsequent calls no compilation,just execution & hence better performance
than query. In Query we can execute only 1 statement. Stored Procedure: In
Stored Procedure we can execute Batch of QueriesSP is good for security
purpose, as it grant privileges to the use.........compared with sql query,
stored procedure is efficient and timesaving execution.Because stored
procedure is program once it formed then execute as a program at the same
time.coz queries are taking the time

2.About MTS and it?s purpose ?

We can use MTS Services in ASP to consume COM ServicesMTS is set of COM
Services which allows sharing system resources such as database, memory,
object management etc., Security,Scalability, object pooling and
concurrent access from multiple clients are the benefits of MTS.

3.what are the Differences between ActiveX Exe and Dll?

ActiveX Exe
ActiveX Exe is an out-process component.It runs in its
own address space.
ActiveX DLL
ActiveX DLL is an in-process Component.It runs in its
client's address space.It is faster than ActiveX Exe

4.How do you do multithreading application in VB

With Visual Basic, you can write applications that perform multiple tasks
simultaneously. Tasks with the potential of holding up other tasks can
execute on separate threads, a process known as multithreading or free
threading.Applications that use multithreading are more responsive to user
input because the user interface stays active while processor-intensive
tasks execute on separate threads. Multithreading is also useful when
creating scalable applications, because you can add threads as the workload
increases.

5.About Global .asax

The Global.asax file, also known as the ASP.NET application file, is an


optional file that contains code for responding to application-level and
session-level events raised by ASP.NET or by HTTP modules. The Global.asax
file resides in the root directory of an ASP.NET application. At run time,
Global.asax is parsed and compiled into a dynamically generated .NET
Framework class derived from the HttpApplication base class. ASP.NET is
configured so that any direct URL request for the Global.asax file is
automatically rejected; external users cannot download or view the code in
it.

The Global.asax file is optional. You create it only if you want to handle
application or session events.

6.About Connection pooling in MTS ?

once connection is closed it will be stored in the


collection pool and when other request for new connection
come it will be granted from this pool

7.If cookies is disabled in client browser will session work ?

No session will not work.if we set cookies session to true


then it will work.
Sessions are normally tracked with cookies. However,
clients are not required to accept cookies. Furthermore,
you can turn off the use of cookies for session tracking
altogether in the Web Application Server Control Panel.
However when cookies are turned off or cookies are not
enabled on a specific client computer, the server must work
harder to track the session state, which has a performance
impact. The recommendation is to leave cookies on and let
the server automatically fall back to the cookieless
operation only when required by a specific client
connection.

When a session is created by the server, some information


is automatically stored in it - the session ID and a
timestamp. as an application developer, you can also store
other information in the session in order to make it
available to subsequent requests without explicitly passing
it to that request.
if cookies is disabled in client browser than session will
work by setting the property cookieless session="true"

8.About XLST

XSL stands for EXtensible Stylesheet Language, and is a style sheet


language for XML documents. 

9.How do you attach an XSL to an XML in presenting output ?

<?xml-stylesheet type="text/xsl" href="xxx.xsl"?>

by providing a processing instruction to parser by using


above instruction in xml file
<?Xml:stylesheet type="text/xsl" href="path-name"?>

<?xml-stylesheet type="text/xsl" href="xxx.xsl"?>


in xml file ,use this PI for attaching xsl to an xml.

10.what is xml

 XML stands for EXtensible Markup Language


 XML is a markup language much like HTML
 XML was designed to carry data, not to display data
 XML tags are not predefined. You must define your own tags
 XML is designed to be self-descriptive
 XML is a W3C Recommendation

11.Did you work on IIS adminisdtration ?

I already worked on IIS Administration,how i will give you


some information related to IIS Administration.IIS stands
for Internet Information Server or Service.Here in IIS we
can create Websites.There are some IIS Services which has
to be run separately to access these websites.
Yes, My work is extensivelly involves IIS webserver
administration. As its a webhosting company our primary task
begins from testing eth DNS and then checking the a record
and then we access IIS for sortingout the issue.

12.What areTypes of compatability in VB and their usage ?

1.Version compatability
2.Binary compatability

Both are version control purpose


Usage:
for making and maintain version of the dll.

13.Difference between CDATA and PCDATA in XML ?

PCDATA – parsed character data. It parse/navigates to all


the data/text in an xml document.
Eg:
<name>
<first>prem</first>
<last>kumar</last>
</name>
Here, the name element contains 2 more
elements “first”,”last”. So it parse further to get the
data/text of first and last to give the value of name
as “premkumar”

CDATA – unparsed characted Data. This is the data that


should not be parsed further in an xml document.
<name>
<![CDATA[
<first>prem</first>
<last>kumar</last>
]]>
</name>
Here, the value of name will be
<first>prem</first><last>kumar</last>.

PCDATA - Parsed Character Data means the XML Parser examins


the data whether the value/text contains entity or not if
it is then it will be replaced for example < should be
given as &lt;

Where as CDATA means The XML parser will not validate


value/text inside the CDATA tag. It is useful for passing
value/text directly to the required application as it is.
PCDATA is Parsed character data and CDATA is just character data. 

In PCDATA text, the tags inside the text will be treated as markup and
entities will be expanded,  where as in CDATA, text will NOT be parsed by
the XML parser.

14. Types of ASP objects

There are five types of built in objects

1) Request Object (It is used to access the information


sent in a request from a browser to the server).
2) Response Object (It is used to send information to the
browser).
3) Session Object (It is used to store & retrieve
information about particular user sessions).
4) Application object (It is used to store & retrieve
information that can be shared among all the users of an
application).
5) Server Object (It is used to access various utility
functions on the server).

15. Difference between application and session

Session & Appl r parts of State Management ...

if v session one object in one form v can use it in all


forms untill the project stop's.....

but,
In Appl state if v store value it may use throughout
applacation even stop and restart it so it is very useful
for permanent data...

EX:In Some website they ll display the visitors no by


incrementing Application State data by One each time a
application Restarts.......
 session object is used to store information between http
request for a particular user. Application are globally
across users.

16. What is web application virtual directory

Web applications and vitual directories to share the


inforamation over an internet , an intranet or an extranet.
web sites , web applications and virtual directories are
work together in a hirarichacal relationship as the basic
building blocks for hosting online content.

web sites containes one or more web applications, web


application containes on or more virtual directories.
and virtual directory map to physical directory of web
server.

17. Can two web application share a session and application variable
you can share session and application variable in two web
application..but they should be run in same application
process

18. If i have a page where i create an instance of a dll and without


invoking any method can I send values to next page

By IsCrossPostback Property we can send values to the next


page..
Exam::
Let There Are 2 Page page1.aspx & page2.aspx.....I wanna
send value of a textbox from page1 to page2.
Step 1::
In aspx of page1,
<div>
<asp:TextBox ID="Textbox1"......></asp:TextBox>
<asp:Button ID="Button1"....postbackurl="~page2.aspx"/>
</div>
Step2::

In Pageload() of page2.aspx

pageload()
{
if(PreviousPage!=null && PreviousPage.IsCrossPostBack)
{
TextBox text=PreviousPage.FindControl("Textbox1")
as TextBox;
if(text!=null)
{
Label1.Text=text.Text;
}
}

.........Here Label1 is a label of page2.Where i show the


value of 1st page's text box value....

 19. About MTS and it?s purpose ?

MTS(Microsoft Transaction Server)


We can use MTS Services in ASP to consume COM Services
MTS is set of COM Services which allows sharing system resources such as
database, memory, object management etc.,
Security,Scalability, object pooling and concurrent access from multiple
clients are the benefits of MTS.

 About Mahindra Satyam

About Us We are Mahindra Satyam (NYSE: SAY), a leading information,


communications and technology (ICT) company providing top-class business
consulting, information technology and communication services. Leveraging
deep industry and functional expertise, leading technology practices and a
global delivery model, we enable companies achieve their business goals and
transformation objectives.

We are powered by a pool of talented IT and consulting professionals across


enterprise solutions, client relationship management, business
intelligence, business process quality, operations management, engineering
solutions, digital convergence, product lifecycle management, and
infrastructure management services, among other capabilities. Our
development and delivery centers in the US, Canada, Brazil, the UK,
Hungary, Egypt, UAE, India, China, Malaysia, Singapore and Australia serve
numerous clients, including several Fortune 500 companies.

We are part of the $7.1 billion Mahindra Group, a global industrial


conglomerate and one of the top 10 industrial firms based in India. The
Group’s interests span financial services, automotive products, trade,
retail and logistics, information technology and infrastructure
development. Our Vision To be the world’s most valued ‘ICT’ Company Our
Values

 Customer First: We respond to customers speedily, courteously and


effectively
 Good Corporate Citizenship: We seek long-term success for all
stakeholders without compromising on ethics or transparency
 Individual Dignity: We value the individual, uphold the right to
express disagreement, and respect the time and efforts of others. 
Nurture fairness, trust and respect
 Professionalism: We impart freedom and the opportunity to excel and
to grow; support innovation and well-reasoned risk taking, demanding
performance
 Quality focus: We make quality a value driver in our work, our
products and our interactions.  Do it “First Time Right”

Company’s Philosophy Mahindra Satyam defines its stakeholders as its


Customers, Associates, Investors and the Society at large. At the core of
the Company’s philosophy lies its focus on customer centricity and the goal
of ensuring stakeholder delight at all times through innovative solutions
and services, thereby fulfilling the role of a responsible service
provider, committed to best practices. The Company understands that in
order to realize this vision and become a global top-tier consulting and
technology services company, it needs to  achieve industry leading
benchmarks in corporate governance, delivery excellence and employee
satisfaction. The Board is responsible for setting the strategic objectives
for the Management and ensuring that stakeholders’ long-term interests are
served. The Management in turn is responsible for establishing and
implementing policies, procedures and systems to enhance the long-term
value of the Company and delight all its stakeholders.

The vision of Mahindra Satyam is - To be the world’s most valued ‘ICT’
company.

Value to the Company is not just shareholder value. It is the intrinsic


goodwill and respect that the Company earns from the various stakeholders
associated with the Company. The Company aims to enable global businesses
become more effective through a combination of its IT, Communication and
Engineering and BPO services – all tenets of sustainable ICT - Information,
Communication and Technology.

S-ar putea să vă placă și