<< < 144 145 146 147 148 149 150 151 152 153 154 > >>   Sort: Date

What is an execution plan? When would you use it? How would you view the execution plan?
What is an execution plan? When would you use it? How would you view the execution plan? The Query Analyzer has a feature called Show Execution Plan. This option allows you to view the execution plan used by SQL Server’s Query Optimizer to actually execute the query. This option is available from...
2014-10-13, 1812👍, 0💬

Assuming $_ contains HTML, which of the following substitutions will remove all tags in it?
Assuming $_ contains HTML, which of the following substitutions will remove all tags in it? 1.s/&lt;.*&gt;//g; 2.s/&lt;.*?&gt;//gs; 3.s/&lt;\/?[A-Z]\w*(?:\s+[ A-Z]\w*(?:\s*=\s*(?:(["']).*?\ 1|[\w-.]+))?)*\s*&gt;//gsi x;You can't do that. If it weren't for HTML comments, imprope...
2013-08-29, 1812👍, 0💬

How can I declare methods within my JSP page?
How can I declare methods within my JSP page? You can declare methods for use within your JSP page as declarations. The methods can then be invoked within any other methods you declare, or within JSP scriptlets and expressions. Do note that you do not have direct access to any of the JSP implicit ob...
2013-07-29, 1809👍, 0💬

Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRL
Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs)? Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs)? * sn.exe * certnet.exe * certmgr.exe...
2014-03-17, 1803👍, 0💬

Which of the following operators has the highest precedence?
Which of the following operators has the highest precedence? * Pre Increment (++x) * Shift bits left: &lt;&lt; * Bitwise Or: | * Post Increment (x++) Shift bits left
2014-03-19, 1802👍, 0💬

Why aren't Perl's patterns regular expressions?
Why aren't Perl's patterns regular expressions? Because Perl patterns have backreferences. A regular expression by definition must be able to determine the next state in the finite automaton without requiring any extra memory to keep around previous state. A pattern /([ab]+)c\1/ requires the state m...
2013-09-02, 1802👍, 0💬

malloc is returning crazy pointer values ...
malloc is returning crazy pointer values, I have included the line extern void *malloc(); before I call it. malloc accepts an argument of type size_t, and size_t may be defined as unsigned long. If you are passing ints (or even unsigned ints), malloc may be receiving garbage (or similarly if you are...
2016-04-15, 1800👍, 0💬

Can you retrieve complex data types like structs from the PInvoke calls?
Can you retrieve complex data types like structs from the PInvoke calls? Yes, just make sure you re-declare that struct, so that managed code knows what to do with it.
2014-12-08, 1796👍, 0💬

what is Application testing
Why is it important to test applications before the product reaches the end user? The software can hold deviations, which can lead to a loss in trust from supplier From contract and leagal point of view, it is important that the product has been tested properly To assure that manuals are correct
2014-11-24, 1796👍, 0💬

ASP.NET interview questions only (2)
ASP.NET interview questions only (2) 1. What is a static class? 2. What is static member? 3. What is static function? 4. What is static constructor? 5. How can we inherit a static variable? 6. How can we inherit a static member? 7. Can we use a static function with a non-static variable? 8. How can ...
2014-01-08, 1794👍, 0💬

What’s wrong with a line like this? DateTime.Parse(myString)
What’s wrong with a line like this? DateTime.Parse(myString) the result returned by this function is not assigned to anything, should be something like varx = DateTime.Parse(myString)
2014-02-28, 1789👍, 0💬

If we develop an application that must accommodate multiple security levels through secure login and ASP.NET web application is
If we develop an application that must accommodate multiple security levels through secure login and ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users? If we develop an application t...
2014-08-27, 1787👍, 0💬

Advantages of VB.NET
Advantages of VB.NET First of all, VB.NET provides managed code execution that runs under the Common Language Runtime (CLR), resulting in robust, stable and secure applications. All features of the .NET framework are readily available in VB.NET. VB.NET is totally object oriented. This is a major add...
2013-10-04, 1784👍, 0💬

What is GAC?
What is GAC? The global assembly cache stores assemblies specifically designated to be shared by several applications on the computer. You should share assemblies by installing them into the global assembly cache only when you need to. Assemblies deployed in the global assembly cache must have a str...
2013-10-25, 1783👍, 0💬

What is the difference between a.Equals(b) and a == b?
What is the difference between a.Equals(b) and a == b? Answer1: a=b is used for assigning the values (rather then comparison) and a==b is for comparison. Answer2: a == b is used to compare the references of two objects a.Equals(b) is used to compare two objects Answer3: A equals b -&gt; copies c...
2014-02-26, 1781👍, 0💬

What happens when you return a reference to a private variable?
What happens when you return a reference to a private variable? Perl keeps track of your variables, whether dynamic or otherwise, and doesn't free things before you're done using them.
2013-08-27, 1777👍, 0💬

So can a COM object talk to a .NET object?
So can a COM object talk to a .NET object? Yes, through Runtime Callable Wrapper (RCW) or PInvoke.
2014-12-02, 1775👍, 0💬

How will you register COM+ services?
How will you register COM+ services? Through X-Copy Deployment.
2014-11-14, 1775👍, 0💬

Bitwise AND operator in C# is ...
Bitwise AND operator in C# is ... Bitwise AND operator in C# is * &amp; * &amp;&amp; * AND * XAND Answer1: &amp;&amp; Answer2: &amp;
2014-03-21, 1775👍, 0💬

What is Delegate and what is it used for ?
What is Delegate and what is it used for ? Delegate is kinda like a pointer to a function in C++ or like an event handler in Java You can use it to “multicast” which means running multiple functions in different instances of object already created. This is useful when you want your objects to...
2013-12-20, 1775👍, 0💬

The following is a valid statement in ASP.NET&lt;%@ Page Language="C" %&gt;: * True or * False
The following is a valid statement in ASP.NET&lt;%@ Page Language="C" %&gt;: * True or * False False
2014-08-18, 1774👍, 0💬

How would you implement inheritance using VB.NET/C#?
How would you implement inheritance using VB.NET/C#? When we set out to implement a class using inheritance, we must first start with an existing class from which we will derive our new subclass. This existing class, or base class, may be part of the .NET system class library framework, it may be pa...
2014-01-23, 1769👍, 0💬

How can I shut off the warning: possible pointer alignment problem ...
How can I shut off the ``warning: possible pointer alignment problem'' message which lint gives me for each call to malloc? A modern lint shouldn't be complaining about this. Once upon a time, lint did not and could not know that malloc ``returns a pointer to space suitably aligned for storage of an...
2016-06-03, 1766👍, 0💬

What is Viewstate?
What is Viewstate? A server control’s view state is the accumulation of all its property values. In order to preserve these values across HTTP requests, ASP.NET server controls use this property, which is an instance of the StateBag class, to store the property values.
2014-01-01, 1766👍, 0💬

<< < 144 145 146 147 148 149 150 151 152 153 154 > >>   Sort: Date