GeekInterview.com
Series: Subject: Topic:
Question: 250 of 460

Any process can be divided into multiple

Skill/Topic: Advanced
A) Programs
B) Threads
C) Application domains
Asked by: Interview Candidate | Asked on: Nov 27th, 2005

Editorial / Best Answer

Answered by: LordAlex

View all answers by LordAlex

Member Since Nov-2011 | Answered On : Nov 5th, 2011

Application domains are typically created by runtime host( i.e. Windows process/program). Application domains provide an isolation boundary for security,.... .NET program is an Assembly loading into an Application domain. Threads are the operating system construct used by the common language runtime to execute code in Application domains. Therefore, for .NET, Process (runtime host) -> Application Domains -> Assemblies (.NET programs)-> Managed Threads.

Showing Answers 1 - 16 of 16 Answers
sahu

Answered On : Dec 10th, 2005

View all questions by sahu   View all answers by sahu

Ans:

B) Threads

  
Login to rate this answer.
mpollock

Answered On : Jan 26th, 2006

View all answers by mpollock

I am sure the answer is Threads yet i always get maked wrong for that answer?

  
Login to rate this answer.
cocomany

Answered On : Mar 14th, 2006

It's actually Application Domains. Application Domains in turn can contain one or more threads.

  
Login to rate this answer.
EugeneZolotko

Answered On : Sep 5th, 2006

I think it is a little bit ambigous question. From the OS point of view, the threads is correct.

  
Login to rate this answer.
ashok_pandranki

Answered On : Sep 22nd, 2006

i put threads but give wroing answer.

  
Login to rate this answer.
saqi_143

Answered On : Apr 3rd, 2007

View all answers by saqi_143

Thread is the correct answer.I dont know why I always get wrong answer for this.i am damn sure for this.

  
Login to rate this answer.
chashchamp

Answered On : Dec 21st, 2007

View all answers by chashchamp

question is bit ambiguous.
If it is asked as : Win process can be divided on to what ? then the answer is application domain.
But a process as a program i.e.
A .net program/process can be divided in to what? then the answer would bee thread.

Overall the questin needs to be reframed for ease, but a .net guru should pick up the clue from the question.

  
Login to rate this answer.
John Jiang

Answered On : Jul 4th, 2008

View all answers by John Jiang

Please note the question use "divide" then it should be app domain. if it use "contain"
tthen the thread is right

Yes  1 User has rated as useful.
  
Login to rate this answer.
Sanjida123

Answered On : Jun 4th, 2010

View all answers by Sanjida123

Process is nothing but a program.

Process cannot be divided into multiple program, thread or appdomains.

In a process, you can launch another process using Process class. You can create multiple Threads and AppDomains in a single process.

  
Login to rate this answer.
Sanjida123

Answered On : Jun 4th, 2010

View all answers by Sanjida123

At the time of exe bootstrap, CLR creats 3 Application Domains.  Out of these there one is responsible to run the code in it's boundary.  Here a programmer can create multiple thread to accomplish the work.

  
Login to rate this answer.
LordAlex

Answered On : Nov 5th, 2011

View all answers by LordAlex

Application domains are typically created by runtime host( i.e. Windows process/program).

Application domains provide an isolation boundary for security,....

.NET program is an Assembly loading into an Application domain.

Threads are the operating system construct used by the common language runtime to execute code in Application domains.

Therefore, for .NET, Process (runtime host) -> Application Domains -> Assemblies (.NET programs)-> Managed Threads.

  
Login to rate this answer.

Application Domains

  
Login to rate this answer.
shanirocz

Answered On : Feb 12th, 2012

View all answers by shanirocz

c) Application domain

  
Login to rate this answer.
Zaira Azmat

Answered On : Feb 14th, 2012

View all answers by Zaira Azmat

B) Threads

  
Login to rate this answer.
vvemu

Answered On : Mar 5th, 2012

View all answers by vvemu

Threads

  
Login to rate this answer.
Sivavt

Answered On : Mar 25th, 2012

View all answers by Sivavt

App domains.

This could be best understood by taking an example of a browser program. A browser may run multiple web applications simultaneously. All these could be run in separate app domains. So, individual web apps can be closed. Even if a web app crashes, it doesn't affect the other apps in browser.

Thread is independent of app domain.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.