weird0,
See inline:
1. What is IDisposable in .NET?
Short answer, it's an interface. The question doesn't ask what is it
used for. If that is the case, then it indicates that attention should be
paid to the type's lifetime, calling Dispose on the interface when done with
it. This is usually the case when the type is a managed representation of
an unmanaged resource, like sockets, database connections, window handles,
etc, etc, but not always.
2.What is the base class of all the controls in .NET?
For Windows Forms, System.Windows.Forms.Control. For Web controls,
System.Web.Control. For Windows Presentation Foundation, that's tricky, as
WPF has a huge heiarchy, and visual elements don't necessarily have to
derive from System.Windows.Controls.Control.
3.What is the difference betweeen HAVING and WHERE ? Never used HAVing
clauuse or seen it.
Having is used in sql when you need to filter on aggregate results (sum,
count, avg). Where can be used to filter on attributes alone.
4.What is pre-emptive multitasking?
http://en.wikipedia.org/wiki/Pre-emptive_multitasking
5.What is object serialization?
The process of taking the state of an object and storing it in a stream
of bytes, which can be persisted to many different mediums.
6.What is the difference between web.config and machine.config? Never
seen machine.config... what is it
Machine config is the config file that has the default settings for the
..NET framework for the whole machine. Settings in the user.config file
superceed the machine.config file, and then for ASP.NET files, the
web.config file superceeds those settings. In ASP.NET, the web.config file
for a subdirectory superceeds the web.config file for the parent directory.
When these files are processed, if the setting doesn't exist in the
current config file, the setting from the next level up is used. If it does
exist in the current config file, then that setting is used.
7.What is the relationship between Files Table and Directories TAble in an
ER Model?
No clue.
Directories has one-to-many files. Would Directories have one-to-many
recursively since one
directory contains many sub-directories.
8. What is the difference between a session and a cookie?
A cookie is a piece of information stored by the website on your
computer which is transmitted to that website whenever a request from that
website is made.
A session is a logical construct (with a concrete representation) used
to indicate state that is maintained between requests on a webserver. Given
the nature of HTTP servers, requests have no knowledge of other requests
from the same client, and do not maintain state between calls.
Cookies are one way of indicating to the server that a request should be
related to previous requests in a session.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com