#1
May 31st, 2016, 05:58 PM
| |||
| |||
Sir I am a new student in the Kuvempu University and doing the B.Sc IT , can you please provide me the six SEM paper BASICS OF .NET questions with solutions Hey buddy below I am giving you the six SEM paper BASICS OF .NET questions with solutions for the B.Sc IT course of the Kuvempu University PART-A Answer all questions: 25 Marks 1. Mention any four languages integrated with .NET. 2 Marks Answer: (write any four) C# C++ J++ VB.NET ASP.NET Scripting Languages ADO/OLE DB COM and COM+ 2. Mention any four advantages of using .NET 4 Marks Answerwrite any four) Consistent Programming Model Language Independence No Versioning Problem – easy application deployment and maintenance improved security support for web services Dynamic web visual studio.net 3. What are the three major functionalists of CLR? 3 Marks Answer: The main function of Common Language Runtime (CLR) is to convert the Managed Code into native code and then execute the Program. The Managed Code compiled only when it needed, that is it converts the appropriate instructions when each function is called . The Common Language Runtime (CLR) ‘s Just In Time (JIT) compilation converts Intermediate Language (MSIL) to native code on demand at application run time. Functions of CLR 1.Convert IL code into Operating System native code 2. Execption handling 3. Type safety 4. Memory management. 5. Security etc. 4. Mention any three preprocessor directories of C#. 3 Marks Answerwrite any three) The preprocessors directives give instruction to the compiler to preprocess the information before actual compilation starts. List of Preprocessor Directives in C# The following table lists the preprocessor directives available in C#: PREPROCESSOR DIRECTIVE DESCRIPTION. #define It defines a sequence of characters, called symbol. #undef It allows you to undefine a symbol. #if It allows testing a symbol or symbols to see if they evaluate to true. #else It allows to create a compound conditional directive, along with #if. #elif It allows creating a compound conditional directive. #endif specifies the end of a conditional directive. #line It lets you modify the compiler’s line number and (optionally) the file name output for errors and warnings. #error It allows generating an error from a specific location in your code. #warning It allows generating a level one warning from a specific location in your code. #region It lets you specify a block of code that you can expand or collapse when using the outlining feature of the Visual Studio Code Editor. #endregion It marks the end of a #region block. Last edited by Anuj Bhola; October 17th, 2019 at 02:10 PM. |
|