ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories >> Software >> Microsoft-Related
 
  Visual-Basic (595)  C-Sharp (526)  ASP.NET (1113)  VB.NET (112)  COM+ (37)
  ADO.NET (173)  IIS (64)  MTS (2)  Crystal-Reports (48)  BizTalk (17)
  Exchange-Server (75)  SharePoint (2)  Microsoft-Related-AllOther (41)
 


 

Back to Questions Page
 
Question
What does this do? gacutil /l | find /i about
Rank Answer Posted By  
 Question Submitted By :: .NetGuru
I also faced this Question!!   © ALL Interview .com
Answer
/l give the global assembly cache
/i install an assembly to global assemly cache
 
0
Ish
 
 
Question
What benefit does your code receive if you decorate it with
attributes demanding specific Security permissions?
Rank Answer Posted By  
 Question Submitted By :: .NetGuru
I also faced this Question!!   © ALL Interview .com
Answer
genetic recombination
 
0
Poonam
 
 
Answer
Allows administrators to see exactly which permissions your 
application needs to run, using PermView 
Prevents your code from being exploited beyond what 
permissions it absolutely needs 
Allows your application to forcibly fail instead of having 
to manually handle situations where it might be denied 
permissions it requires.
More info can be found here / here
 
0
O1
 
 
 
Question
What is FullTrust? Do GACed assemblies have FullTrust?
Rank Answer Posted By  
 Question Submitted By :: .NetGuru
I also faced this Question!!   © ALL Interview .com
Answer
The permissions to run any assembly is based on its trust 
level.Under Full Trust level all assemblies can be run 
successfuly. All GAC asemblies have Full Trust as ever 
strong named assembly is Full Trust assembly.
 
0
Pramod Gupta
 
 
Answer
Gac Assemly have full trust bescause in gac only storng 
name assembly come
 
0
Ish
 
 
Question
What are PDBs? Where must they be located for debugging to work?
Rank Answer Posted By  
 Question Submitted By :: .NetGuru
I also faced this Question!!   © ALL Interview .com
Answer
A program database (PDB) file contains debug information 
for the project’s EXE file. The project.PDB contains full 
debug information, including function prototypes, not just 
the type information found in VCx0.PDB. Both PDB files 
allow incremental updates.

They should be located at bin\Debug directory
 
0
Pramod Gupta
 
 
Answer
A program database (PDB) files holds debugging and project 
state information that allows incremental linking of debug 
configuration of your program.There are several different 
types of symbolic debugging information. The default type 
for Microsoft compiler is the so-called PDB file.
 
0
Pompi
 
 
Question
What is wrong with a line like this? DateTime.Parse(myString)
Rank Answer Posted By  
 Question Submitted By :: .NetGuru
This Interview Question Asked @   Metasys
I also faced this Question!!   © ALL Interview .com
Answer
DateTime.parse("","") will take two parameter one string 
and other get other on object
 
0
Ish
 
 
Answer
No .it can have one argument.
Eg. Response.Write(DateTime.Parse("10:50:39"))
will return you date and time.
such as 24/06/2008 10:50:39 AM

You can not simply have any irrlevant string,it should be 
some string containing data or time value.
 
0
Fusion
 
 
Answer
Nothing wrong with the format really. Only problem is that 
the result would depend on the Culture of the machine where 
this line is getting invoked. Ideally you should also 
supply the second parameter - or specify the Culture!
 
0
Anand
 
 
Answer
A statement like this should be used only after making sure
that the string contains DateTime data. 
e.g DateTime.Parse("3 4") will return 3rd April 2009
(current year assuming DD-MM-YYYY as the datetime format as
per the machine's settings)
 
0
Rahul Misra
 
 
Question
What is strong-typing versus weak-typing? Which is
preferred? Why?
Rank Answer Posted By  
 Question Submitted By :: .NetGuru
I also faced this Question!!   © ALL Interview .com
Answer
Strong type is checking the types of variables as soon as 
possible, usually at compile time. While weak typing is 
delaying checking the types of the system as late as 
possible, usually to run-time. Which is preferred depends 
on what you want. For scripts & quick stuff you’ll usually 
want weak typing, because you want to write as much less 
(is this a correct way to use Ensligh?) code as possible. 
In big programs, strong typing can reduce errors at compile 
time.
 
0
Vetri
 
 
Question
What is the difference between an EXE and a DLL?
Rank Answer Posted By  
 Question Submitted By :: .NetGuru
I also faced this Question!!   © ALL Interview .com
Answer
EXE file has Entry point, but in dll no Entry point.
 
0
Selvavelan.s
 
 
Answer
EXE file is a excutable file which runs in a seperate 
process which is managed by OS,where as a DLL file is a 
dynamic link library which can be used in exe files and 
other dll files.
In .net frame work both are assemblies.
 
0
Madhuri
 
 
Answer
EXE is a Self Executable File where as dll is not self 
executable file,To run dll file we need a exe file
 
0
Govardhan
 
 
Answer
DLL:
1)it has versioning
2)it is not self executable
3)it runs in application process memory
4)it has no entry point
5)it is reusable

Exe:
1)it is self executable
2)it has no versioning
3)it runs in own memory
4)it have main function(Entry point)
5)it is self executable

Note:DLL is Superset of Exe
 
0
Sivaprasad
 
 
Answer
The full form of EXE is executable file,AND The full form 
of DLL is Data Link Library.
 
0
Manab
 
 
Answer
The full form of EXE is Executable file and DLL is Dynamic
Link Library.
 
0
Apekshit Sharma
 
 
Question
What is the maximum amount of memory any single process on
Windows can address? Is this different than the maximum
virtual memory for the system? How would this affect a
system design?
Rank Answer Posted By  
 Question Submitted By :: .NetGuru
I also faced this Question!!   © ALL Interview .com
Answer
2GB
 
0
Raju
 
 
Question
What is a Windows Service and how does its life cycle differ
from a standard EXE?
Rank Answer Posted By  
 Question Submitted By :: .NetGuru
I also faced this Question!!   © ALL Interview .com
Answer
Windows services starts automatically whenever our system
starts.
windows services runs on a particular port
 
0
Lavanya
 
 
Answer
Windows service is a application that runs in the
background. It is equivalent to a NT service.
The executable created is not a Windows application, and
hence you can’t just click and run it . it needs to be
installed as a service, VB.Net has a facility where we can
add an installer to our program and then use a utility to
install the service. Where as this is not the case with
standard exe
 
0
Summa
 
 
Question
Describe the difference between a Thread and a Process?
Rank Answer Posted By  
 Question Submitted By :: .NetGuru
I also faced this Question!!   © ALL Interview .com
Answer
- A Process has its own memory space, runtime enivorment 
and process ID. A Thread runs inside a Process and shares 
its resources with other threads. 

        - A thread is a path of execution that run on CPU, 
a proccess is a collection of threads that share the same 
virtual memory. A process have at least one thread of 
execution, and a thread always run in a process context.

	- Process is unit of allocation while Thread is 
unit of execution. Each process has one or more threads. 
Each thread belong to one process
 
4
Chandra Sekhar Dola
 
 
Answer
exact it is right.
Thanks a lot
after a long time i found the answer for this question.
thankx

saisudhakar
 
0
Saisudhakar
 
 
Answer
Thread is the path of execution that run on cpu.
process is a collection of threads that share the same 
virtual memory.
 
0
Saiish Bhat
 
 
Answer
Q. What is the diff b/w Thread and Process?
Solution:
        A Process has its own memory space, runtime environment 
and process ID. A Thread runs inside a Process and shares its resources
 with other threads.

Thread is a path of execution that run on CPU,a proccess is a collection 
of threads that share the same virtual memory. A process have at least one thread of execution, and a thread always run in a process context.
		
Process is unit of allocation while Thread is unit of execution. Each process has one or more threads. Each thread belong to one process


The major difference between threads and processes is 

1.	Threads share the address space of the process that 
created it; processes have their own address.

2.	Threads have direct access to the data segment of its 
process; processes have their own copy of the data segment 
of the parent process. 

3.	Threads can directly communicate with other threads of 
its process; processes must use interprocess communication 
to communicate with sibling processes. 

4.	Threads have almost no overhead; processes have 
considerable overhead.

5.	New threads are easily created; new processes require 
duplication of the parent process.


6.	Threads can exercise considerable control over threads of 
the same process; processes can only exercise control over 
child processes. 

7.	Changes to the main thread (cancellation, priority 
change, etc.) may affect the behavior of the other threads 
of the process; changes to the parent process does not 
affect child processes. 

8.	Thread is light weight process having its own stack but collection of related threads can share same execution memory. process is program or part of program under execution .every process can have its own execution environment.

9.	A thread is code that is to be serially executed within a process. A process is a collection of virtual memory space, code, data, and system resources.
 
0
Anubhav
 
 
Question
Difference between manifest , metadata?
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   TCS
I also faced this Question!!   © ALL Interview .com
Answer
Manifest Maintains the information about the assemblies 
like version, name locale and an optional strong name that 
uniquely identifying the assembly. This manifest 
information is used by the CLR. The manifest also contains 
the security demands to verify this assembly. It also 
contains the names and hashes of all the files that make up 
the assembly. The .NET assembly manifest contains a 
cryptographic hash of different modules in the assembly. 
And when the assembly is loaded, the CLR recalculates the 
hash of the modules at hand, and compares it with the 
embeded hash. If the hash generated at runtime is different 
from that found in the manifest, .NET refuses to load the 
assembly and throws an exception.

Metadata means Data about the data.metadata yields the 
types available in that assembly, viz. classes, interfaces, 
enums, structs, etc., and their containing namespaces, the 
name of each type, its visibility/scope, its base class, 
the interfaces it implemented, its methods and their scope, 
and each method’s parameters, type’s properties, and so on. 
The assembly metada is generated by the high-level 
compilers automatically from the source files. The compiler 
embeds the metadata in the target output file, a dll, 
an .exe or a .netmodule in the case of multi-module 
assembly.
 
3
Sri4u_926
 
 
Answer
Assembly metadata is stored in Manifest. Manifest contains 
all the metadata needed to  do the following things.
Version of assembly
Security identity
Scope of the assembly
Resolve references to resources and classes.
The assembly manifest cdan be stored in either a PE file 
(an .exe or .dll) with Microsoft intermediate languages 
(MSIL) code or in stand-alone PE file that contains ony 
assembly manifest information.
 
5
Srikant Dwibedi
 
 
Answer
Manifest contains Metadata(About Assembly).It consists of 
Name of the Assembly
Version of the Assembly
Scope of Assembly
Metadata is data about data.
 
0
Prashanthi
 
 
Question
syntax for writing private method in a interface
Rank Answer Posted By  
 Question Submitted By :: Narsareddy
This Interview Question Asked @   Wipro , ABMPL
I also faced this Question!!   © ALL Interview .com
Answer
An interface cannot have private methods. All the member 
declarations inside interface are implicitly public.
 
0
Vanitha
 
 
Answer
we cnt write private methods in an interface.as we have to
inherit that method its by default on  public scope
 
0
Pankaj
 
 
Answer
By default interface is public.Interface is accessed by 
another class it should be public.so we cant write it as a 
private.
 
0
Jayamala
 
 
Answer
we can't have private methods in in interface.
by default all are public
 
0
Anna
 
 
Answer
we create interface for inherite to classes, and Private 
methods can only access within class not inherited class.so 
you cannot create Private methods in Interface.
 
0
Sudhir Kunnure
 
 
Answer
By default all methods in the interface are not just 
public !!!!! They are Public abstract.

Because methods of Interface will get override in the 
Derived classes
 
0
Uma
 
 
Answer
we cannot change the access modifier of methods private inside interface....n all the methods of interface should be implement in derived class..so the methods should not private
 
0
Manoj Dhanik
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com