473,748 Members | 2,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1645
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.Cont rol. 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.Contro l.
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.co m
Jun 22 '07 #3

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

Similar topics

162
14878
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 choice questions.etc.. I'll be indebted to everyone.. Thanks in advance.. regards vasant shetty Bangalore
18
4395
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 parallel programming and what kind of problems you will face in this kind of programmings?
0
2412
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 of it.
0
637
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 in my website http://www.geocities.com/allinterviewquestion/ So please have a look and make use of it.
0
4101
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 all companies between year 2000-2005 in my website http://www.geocities.com/allinterviewquestion/ So please have a look and make use of it.
0
32123
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 http://www.questpond.com/ProjectManagementInterviewQuestions.zip What is project management?
0
6167
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 the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip 2000 Interview questions of .NET , JAVA and SQL Server Interview questions (worth downloading it)
2
1956
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 interview you contacts with us we have reply your problem as soon as possible. I am very Thank full to you. http://interview.ifastnet.com These question will help you when you going to interview in any organization.
4
1590
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 be asked ?) Is there a site that has some questions & answers ? Thanks :)
0
4508
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 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers7.html C# Interview Questions and Answers 6 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers-6.html C# Interview Questions and Answers 5...
0
8994
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8831
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9250
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4878
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.