473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Some Interview Questions: Need answers

Hi! I need answers to these questions that were given to me in a job
test.

1. What is IDisposable in .NET?
2.What is the base class of all the controls in .NET?
3.What is the difference betweeen HAVING and WHERE ? Never used
HAVing clauuse or seen it.
4.What is pre-emptive multitasking?
5.What is object serialization?
6.What is the difference between web.config and machine.config? Never
seen machine.config... what is it

7.What is the relationship between Files Table and Directories TAble
in an ER Model?
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?

Jun 22 '07 #1
2 1635
weird0 wrote:
Hi! I need answers to these questions that were given to me in a job
test.

1. What is IDisposable in .NET?
2.What is the base class of all the controls in .NET?
3.What is the difference betweeen HAVING and WHERE ? Never used
HAVing clauuse or seen it.
4.What is pre-emptive multitasking?
5.What is object serialization?
6.What is the difference between web.config and machine.config? Never
seen machine.config... what is it

7.What is the relationship between Files Table and Directories TAble
in an ER Model?
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?
Hi,

Is this really an appropriate question to be asking in these forums?
Perhaps you should attempt to research and find out the answers yourself.

To start, visit the following website:
http://www.google.com

--
Tom Spink
University of Edinburgh
Jun 22 '07 #2
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
Jun 22 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

162
by: techievasant | last post by:
hello everyone, Iam vasant from India.. I have a test+interview on C /C++ in the coming month so plz help me by giving some resources of FAQS, interview questions, tracky questions, multiple...
18
by: Matt | last post by:
I had these questions in an interview today: 1. Define a class using C. 2. Write a C functions that does garbage collection: frees all allocated memories. 3. Define semaphore. 4. What is...
0
by: softwareengineer2006 | last post by:
Java Interview questions and answers I have listed over 120 Java interview questions and answers in my website http://www.geocities.com/java_interviewquestions/ So please have a look and make use...
0
by: softwareengineer2006 | last post by:
10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP) I have listed over 10000 interview questions asked in interview/placement test papers for all companies between year 2000-2005...
0
by: softwareengineer2006 | last post by:
All Interview Questions And Answers 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP) I have listed over 10000 interview questions asked in interview/placement test papers for...
0
by: Jobs | last post by:
All answers to the below interview questions are at http://www.geocities.com/dotnetinterviews/ or you can download the complete answer zip file from...
0
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if...
2
by: JS Smith | last post by:
Hello Dears We have collected Questions and answers for interviews after a long effort and you study these questions and its answers freely our website. If you have any query regarding to...
4
by: Mr. X. | last post by:
Hello. I need some help, please. What can an employee ask (technical questions), if I am interviewed of Dot-net developer (also VB.NET and C#). (What are the most general questions, that I may...
0
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.