SlideShare a Scribd company logo
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
[ FALL 2015 ] ASSIGNMENT
PROGRAM BSc IT
SEMESTER 5th
SUBJECT CODE & NAME BT8903, C# Programming
CREDITS 4
BK ID B1187
MARKS 60
Note: Answer all questions. Kindly note that answers for 10 marks questions should be
approximately of 400 words. Each question is followed by evaluation scheme.
Question. 1. Explain the following related to .NET:
1. The Microsoft Intermediate Language ("MSIL" or "IL")
Answer:MSIL stands for Microsoft Intermediate Language. We can call it as Intermediate Language
(IL) or Common Intermediate Language (CIL). During the compile time, the compiler convert the
source code intoMicrosoft Intermediate Language (MSIL) .Microsoft Intermediate Language (MSIL)
isa CPU-independentsetof instructionsthatcanbe efficientlyconverted to the native code. During
the runtime the Common Language Runtime (CLR)'s Just In Time (JIT) compiler converts the
Microsoft Intermediate
2. The Common Type System (CTS)
Answer:InMicrosoft's.NET Framework,the CommonType System (CTS) is a standard that specifies
how type definitions and specific values of types are represented in computer memory. It is
intendedtoallowprogramswrittenindifferentprogramminglanguagestoeasilyshare information.
As used in programming
3. .NET Framework Base Classes
Answer:The .NETFrameworkincludesclasses,interfaces,andvalue typesthatexpediteandoptimize
the development process and provide access to system functionality. To facilitate interoperability
between languages, most .NET
Question. 2. Write a note on the following :
1. Mutable strings
Answer:Mutable and immutable are English words meaning "can change" and "cannot change"
respectively. The meaning of the words is the same in the IT context; i.e.
 a mutable string can be changed, and
 an immutable string cannot be changed.
Question. 3. Explain the following in context of methods in C# withexamples:
1. Invoking methods
Answer:Reflectionprovides a means for invoking methods on a class. Typically, this would only be
necessary if it is not possible to cast an instance of the class to the desired type in non-reflective
code.Methodsare invokedwithjava.lang.reflect.Method.invoke(). The first argument is the object
instance onwhichthisparticularmethodisto be invoked.(If the methodisstatic,the first argument
should be null.) Subsequent arguments are the method's parameters. If the underlying method
throws an exception, it will be wrapped by
Question. 4.Define members. Explain constant members and read onlymembers.
Answer:Constant and ReadOnly keyword are used to make a field constant which value cannot be
modified.Statickeywordisusedtomake membersstaticthat can be shared by all the class objects.
In this article, I am going to explain the difference among these three.
Constant
Constantfieldsor local variables must be assigned a value at the time of declaration and after that
they cannot be modified. By default
Question. 5. Define and explain the class visibility and class members’visibility.
Answer:Accesslevelmodifiers determine whetherotherclassescanuse a particularfieldorinvoke a
particular method. There are two levels of access control:
At the top level—public, or package-private (no explicit modifier).
At the member level—public, private, protected, or package-private (no explicit modifier).
A class may be declared with the modifier public, in which case that class is visible to all classes
everywhere.If aclasshas no modifier(the default,alsoknown as package-private), it is visible only
withinitsownpackage (packagesare named groups of related classes — you will learn about them
in a later lesson.)
Question. 6. Briefly describe the concept of delegates in C#.
Answer:A delegate(known as function pointer in C/C++) is a references type that invokes
single/multiple method(s) through the delegate instance. It holds a reference of the methods.
Delegate types are sealed and immutable type.
Types of Delegates
There are three types of delegates that can be used in C#.
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601

More Related Content

What's hot (20)

DOCX
Bt0074, oops with java
smumbahelp
 
DOCX
Bt0074, oops with java
smumbahelp
 
PPTX
c# keywords, identifiers and Naming Conventions
Micheal Ogundero
 
DOCX
Mca2030 object oriented programming – c++
smumbahelp
 
DOCX
C# question answers
application developer
 
DOCX
Bca5020 visual programming
smumbahelp
 
DOCX
Bca5020 visual programming
smumbahelp
 
PPT
Cat 2013 day 11 analysis & Result Details
sakshij91
 
DOCX
Smu mscit sem 1 winter 2014 assignments
smumbahelp
 
PPTX
Abstract Class Presentation
tigerwarn
 
DOCX
SMU BCA SPRING 2014 SOLVED ASSIGNMENTS SEM-2
smumbahelp
 
DOCX
Sem 4 bscit summer 2014 solved assignments
smumbahelp
 
PPTX
Java presentation
Akteruzzaman .
 
DOCX
Smu bca-sem-2-fall-2015- solved - assignments
smumbahelp
 
PPTX
Nondeterministic finite automaton
Dr. ABHISHEK K PANDEY
 
PDF
8 abstract classes and interfaces
Tuan Ngo
 
DOCX
SMU MSCIT Sem 1 Winter 2014 Assignments
solved_assignments
 
PDF
Oops presentation java
JayasankarPR2
 
PPT
Interfaces
myrajendra
 
DOCX
Smu msc it spring 2014 solved assignments
smumbahelp
 
Bt0074, oops with java
smumbahelp
 
Bt0074, oops with java
smumbahelp
 
c# keywords, identifiers and Naming Conventions
Micheal Ogundero
 
Mca2030 object oriented programming – c++
smumbahelp
 
C# question answers
application developer
 
Bca5020 visual programming
smumbahelp
 
Bca5020 visual programming
smumbahelp
 
Cat 2013 day 11 analysis & Result Details
sakshij91
 
Smu mscit sem 1 winter 2014 assignments
smumbahelp
 
Abstract Class Presentation
tigerwarn
 
SMU BCA SPRING 2014 SOLVED ASSIGNMENTS SEM-2
smumbahelp
 
Sem 4 bscit summer 2014 solved assignments
smumbahelp
 
Java presentation
Akteruzzaman .
 
Smu bca-sem-2-fall-2015- solved - assignments
smumbahelp
 
Nondeterministic finite automaton
Dr. ABHISHEK K PANDEY
 
8 abstract classes and interfaces
Tuan Ngo
 
SMU MSCIT Sem 1 Winter 2014 Assignments
solved_assignments
 
Oops presentation java
JayasankarPR2
 
Interfaces
myrajendra
 
Smu msc it spring 2014 solved assignments
smumbahelp
 

Similar to Bt8903,c# programming (20)

DOC
C#
LiquidHub
 
DOCX
Mit4021–%20 c# and .net
smumbahelp
 
DOC
C# interview
ajeesharakkal
 
PPTX
C# interview
Thomson Reuters
 
DOCX
Mit4021–%20 c# and .net
smumbahelp
 
PPT
CSharp_03_ClassesStructs_and_introduction
Ranjithsingh20
 
DOCX
C# interview quesions
Shashwat Shriparv
 
DOCX
Mit4021 c# and .net
smumbahelp
 
DOC
C# interview questions
Chetan Chaudhari
 
PDF
C#.net interview questions for dynamics 365 ce crm developers
Sanjaya Prakash Pradhan
 
PPT
03 oo with-c-sharp
Naved khan
 
PPTX
OOP interview questions & answers.
Questpond
 
PPTX
1. Introduction to C# Programming Langua
KhinLaPyaeWoon1
 
DOCX
Dot net programming concept
sandeshjadhav28
 
DOCX
Bt8903, c# programming
smumbahelp
 
PDF
Introduction to c#
singhadarsh
 
PDF
Introduction To Csharp
sarfarazali
 
PPTX
C# - Igor Ralić
Software StartUp Academy Osijek
 
PDF
LEARN C#
adroitinfogen
 
Mit4021–%20 c# and .net
smumbahelp
 
C# interview
ajeesharakkal
 
C# interview
Thomson Reuters
 
Mit4021–%20 c# and .net
smumbahelp
 
CSharp_03_ClassesStructs_and_introduction
Ranjithsingh20
 
C# interview quesions
Shashwat Shriparv
 
Mit4021 c# and .net
smumbahelp
 
C# interview questions
Chetan Chaudhari
 
C#.net interview questions for dynamics 365 ce crm developers
Sanjaya Prakash Pradhan
 
03 oo with-c-sharp
Naved khan
 
OOP interview questions & answers.
Questpond
 
1. Introduction to C# Programming Langua
KhinLaPyaeWoon1
 
Dot net programming concept
sandeshjadhav28
 
Bt8903, c# programming
smumbahelp
 
Introduction to c#
singhadarsh
 
Introduction To Csharp
sarfarazali
 
LEARN C#
adroitinfogen
 
Ad

Recently uploaded (20)

PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PPTX
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
community health nursing question paper 2.pdf
Prince kumar
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Ad

Bt8903,c# programming

  • 1. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ [email protected] ” or Call us at : 08263069601 [ FALL 2015 ] ASSIGNMENT PROGRAM BSc IT SEMESTER 5th SUBJECT CODE & NAME BT8903, C# Programming CREDITS 4 BK ID B1187 MARKS 60 Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Each question is followed by evaluation scheme. Question. 1. Explain the following related to .NET: 1. The Microsoft Intermediate Language ("MSIL" or "IL") Answer:MSIL stands for Microsoft Intermediate Language. We can call it as Intermediate Language (IL) or Common Intermediate Language (CIL). During the compile time, the compiler convert the source code intoMicrosoft Intermediate Language (MSIL) .Microsoft Intermediate Language (MSIL) isa CPU-independentsetof instructionsthatcanbe efficientlyconverted to the native code. During the runtime the Common Language Runtime (CLR)'s Just In Time (JIT) compiler converts the Microsoft Intermediate 2. The Common Type System (CTS) Answer:InMicrosoft's.NET Framework,the CommonType System (CTS) is a standard that specifies how type definitions and specific values of types are represented in computer memory. It is intendedtoallowprogramswrittenindifferentprogramminglanguagestoeasilyshare information. As used in programming 3. .NET Framework Base Classes
  • 2. Answer:The .NETFrameworkincludesclasses,interfaces,andvalue typesthatexpediteandoptimize the development process and provide access to system functionality. To facilitate interoperability between languages, most .NET Question. 2. Write a note on the following : 1. Mutable strings Answer:Mutable and immutable are English words meaning "can change" and "cannot change" respectively. The meaning of the words is the same in the IT context; i.e.  a mutable string can be changed, and  an immutable string cannot be changed. Question. 3. Explain the following in context of methods in C# withexamples: 1. Invoking methods Answer:Reflectionprovides a means for invoking methods on a class. Typically, this would only be necessary if it is not possible to cast an instance of the class to the desired type in non-reflective code.Methodsare invokedwithjava.lang.reflect.Method.invoke(). The first argument is the object instance onwhichthisparticularmethodisto be invoked.(If the methodisstatic,the first argument should be null.) Subsequent arguments are the method's parameters. If the underlying method throws an exception, it will be wrapped by Question. 4.Define members. Explain constant members and read onlymembers. Answer:Constant and ReadOnly keyword are used to make a field constant which value cannot be modified.Statickeywordisusedtomake membersstaticthat can be shared by all the class objects. In this article, I am going to explain the difference among these three. Constant Constantfieldsor local variables must be assigned a value at the time of declaration and after that they cannot be modified. By default Question. 5. Define and explain the class visibility and class members’visibility. Answer:Accesslevelmodifiers determine whetherotherclassescanuse a particularfieldorinvoke a particular method. There are two levels of access control: At the top level—public, or package-private (no explicit modifier).
  • 3. At the member level—public, private, protected, or package-private (no explicit modifier). A class may be declared with the modifier public, in which case that class is visible to all classes everywhere.If aclasshas no modifier(the default,alsoknown as package-private), it is visible only withinitsownpackage (packagesare named groups of related classes — you will learn about them in a later lesson.) Question. 6. Briefly describe the concept of delegates in C#. Answer:A delegate(known as function pointer in C/C++) is a references type that invokes single/multiple method(s) through the delegate instance. It holds a reference of the methods. Delegate types are sealed and immutable type. Types of Delegates There are three types of delegates that can be used in C#. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ [email protected] ” or Call us at : 08263069601