Main Content:

dot interview questions part 12







dot interview questions part 12
« on: November 22, 2006, 05:28:28 PM »




Jobs in Wipro Infotech & Other Top Companies

- Click here to Register in Shine.com Today!

------------------------------------------------------

- FRESHERS -

Receive SMS Alerts on Walkins Held in Your City

SMS "Your City Name" to (0) 98410 80502



FOR MORE & MORE TECHNICAL INTERVIEW QUESTIONS …, Join Our Group now
http://in.groups.yahoo.com/group/knowledge-base/join/

23. What is a Metadata?

Metadata is information about a PE. In COM, metadata is communicated through non-standardized type libraries. In .NET, this data is contained in the header portion of a COFF-compliant PE and follows certain guidelines; it contains information such as the assembly’s name, version, language (spoken, not computera.k.a., culture), what external types are referenced, what internal types are exposed, methods, properties, classes, and much more. The CLR uses metadata for a number of specific purposes. Security is managed through a public key in the PE’s header. Information about classes, modules, and so forth allows the CLR to know in advance what structures are necessary. The class loader component of the CLR uses metadata to locate specific classes within assemblies, either locally or across networks. Just-in-time (JIT) compilers use the metadata to turn IL into executable code. Other programs take advantage of metadata as well. A common example is placing a Microsoft Word document on a Windows 2000 desktop. If the document file has completed comments, author, title, or other Properties metadata, the text is displayed as a tool tip when a user hovers the mouse over the document on the desktop. You can use the Ildasm.exe utility to view the metadata in a PE. Literally, this tool is an IL disassembler.

24. What is managed code and managed data?

Managed code is code that is written to target the services of the Common Language Runtime. In order to target these services, the code must provide a minimum level of information (metadata) to the runtime. All C#, Visual Basic .NET, and JScript .NET code is managed by default. Visual Studio .NET C++ code is not managed by default, but the compiler can produce managed code by specifying a command-line switch (/CLR). Closely related to managed code is managed data--data that is allocated and de- allocated by the Common Language Runtime's garbage collector. C#, Visual Basic, and JScript .NET data is managed by default. C# data can, however, be marked as unmanaged through the use of special keywords. Visual Studio .NET C++ data is unmanaged by default (even when using the /CLR switch), but when using Managed Extensions for C++, a class can be marked as managed using the __gc keyword. As the name suggests, this means that the memory for instances of the class is managed by the garbage collector. In addition, the class becomes a full participating member of the .NET Framework community, with the benefits and restrictions that it brings. An example of a benefit is proper interoperability with classes written in other languages (for example, a managed C++ class can inherit from a Visual Basic class). An example of a restriction is that a managed class can only inherit from one base class.
   


MNC Jobs in Chennai, Bangalore & Hyderabad

- Click here to Register in Shine.com Today!






BE THE FIRST ONE TO APPLY TO FRESH IT JOBS AS SOON AS IT COMES……JOIN OUR GROUP NOW
http://in.groups.yahoo.com/group/knowledge-base/join/


CareerEnclave.Com ~ We Shape Your Career ~
Keywords
Keywords : Job, job, Jobs, jobs, Career, career, Careers, careers, Employ, employ, Employment, employment, Recruit, recruit, Recruitment, recruitment,recruitment solution, Recruitment Solution, jobsassist, jobassist, jobs-assist, http://www.careerenclave.com/, Naukri, naukri, Naukari, naukari, nokri,india, indian, placement, outsource jobs, Resume Writing, Resume Development, Career Services, Resume blaster, resume flash, resume india, resume, bangalore, mumbai, delhi, hyderabad, chennai, computer, software, hardware, fresher, freshers, experienced, IT, project, projects, vyom, vyomworld, opening, test, papers, counsultancy, address, addresses, infosys, tcs, MBT, wipro, satyam, ibm, microsoft, bosch, siemen, reliance



Jump to: