Professional Documents
Culture Documents
The .NET framework includes a managed heap that all .NET languages use
when allocating reference type objects. Lightweight
objects known as value types are always allocated on the stack, but all
instances of classes and arrays are created from a
pool of memory known as the managed heap.
Question:-What is Delegate?
A delegate is a class that can hold a reference to a method. Unlike
other classes, a delegate class has a signature, and it
can hold references only to methods that match its signature. A
delegate is thus equivalent to a type-safe function pointer
or a callback.
Java
Java (developed by Sun Microsystems) is a powerful and much more
complex programming language - in the same category as C
and C++.
Javascript
JavaScript was designed to add interactivity to HTML pages
JavaScript is a scripting language (a scripting language is a
lightweight programming language)
A JavaScript consists of lines of executable computer code
A JavaScript is usually embedded directly into HTML pages
JavaScript is an interpreted language (means that scripts execute
without preliminary compilation)
Everyone can use JavaScript without purchasing a license
Question:-what is MSIL?
MSIL supports OO programming, so we can have a class which has public
and private methods. The entry point of the program
needs to be specified. In fact it doesn't really matter whether the
method is called Mam or Dad. The only thing that matters
here is that .entrypoint is specified inside method. MSIL programs are
compiled with ilasm compiler. Since we are writing a
managed assembly code, we have to make sure that no variables are
allocated in memory when the program goes out of scope.
Here is a more complicated program that, once again, does not do
anything but has some dataThe sample MSIL program.method
static void main(){ .entrypoint .maxstack 1 ldstr "Hello world!" call
void [mscorlib]System.Console::WriteLine(string) ret}
(1)Clustered:-
Clustered indexes helps in sorting and storeing the data rows in
the table take key values as base. Because the data
rows are stored in sorted order on the clustered index key,
clustered indexes more efficient for finding rows. There is
only one clustered index per table. The data rows themselves form the
lowest level of the clustered index. The only time
the data rows in a table are stored in sorted order is when table
contains a clustered index. If a table has no clustered
index, its data rows are stored in a heap.
(2)Nonclustered:-
Nonclustered indexes having structure that is diffrent from the data
rows . The lowest rows of a nonclustered index have the
nonclustered index key values and each key value entry has pointers to
the data rows containing the key value. The data rows
are not stored in order based on the nonclustered key. The pointer
from an index row in a nonclustered index to a data row
is called a row locator. The structure of the row locator depends
on whether the data pages are stored in a heap or are
clustered. In heap,a row locator is a pointer that point to the row.
For a table with a clustered index, the row locator is
the clustered index key.
Question:-What is Property ?
A property is a thing that describes the features of an object. A
property is a piece of data contained within
class that has an exposed interface for reading/writing. Looking at
that definition, you might think you could
declare a public variable in a class and call it a property. While this
assumption is somewhat valid, the true
technical term for a public variable in a class is a field. The key
difference between a field and a property
is in the inclusion of an interface.
We make use of Get and Set keywords while working with properties.
We prefix the variables used within this
code block with an underscore. Value is a keyword, that holds the value
which is being retrieved or set.
Question:-What is LDAP ?
LDAP is a networking protocol for querying and modifying directory
services running over TCP/IP.To explain LDAP we take a
example of telephone directory, which consists of a series of names
organized alphabetically, with an address and phone
number attached.To start LDAP on client it should be connect with
server at TCP/IP port 389.The client can send multiple
request to the server.The basic operations are:-
Start TLS - protect the connection with Transport Layer Security (TLS),
to have a more secure connection
Bind - authenticate and specify LDAP protocol version
Search - search for and/or retrieve directory entries
Compare - test if a named entry contains a given attribute value
Add a new entry
Delete an entry
Modify an entry
Modify DN - move or rename an entry
Abandon - abort a previous request
Extended Operation - generic operation used to define other operations
Unbind - close the connection (not the inverse of Bind)
Question:-What is RAD ?
Rapid application development (RAD), is a software development process
developed initially by James Martin in the 1980s.
The methodology involves iterative development, the construction of
prototypes, and the use of Computer-aided software
engineering (CASE) tools. Traditionally the rapid application
development approach involves compromises in usability,
features,& /or execution speed.Increased speed of development through
methods including rapid prototyping,virtualization
of system related routines, the use of CASE tools, and other
techniques. Increased end-user utility Larger emphasis on
simplicity and usability of GUI design.Reduced Scalability, and reduced
features when a RAD developed application starts
as prototype and evolves into a finished application Reduced features
occur due to time boxing when features are pushed
to later versions in order to finish a release in a short amount of
time.
Question:-What are the GLOBAL and LOCAL cursor in SQL SERVER 2005 ?
Answer:-When we are creating a cursor by default it is Global. When is
global by default we can
access it from outside also. But on the other side local
cursor are only accesible
inside the objects these objects can be anything just like Stored
Procedure,Trigger and funtion.
we can also declare cusror as local or global its up to us.
var timePat =
/^(\d{1,2})(\s)?:(\s)?(\d{2})((\s)?:(\s)?(\d{2}))?(\s?(AM|am|PM|pm))?$/;