Dear
students get fully solved assignments
Send
your semester & Specialization name to our mail id :
“
help.mbaassignments@gmail.com ”
or
Call
us at : 08263069601
(Prefer
mailing. Call in emergency )
ASSIGNMENT
PROGRAM
|
BSc
|
SEMESTER
|
V
|
SUBJECT
CODE & NAME
|
C# Programming
|
CREDIT
|
4
|
BK
ID
|
BT8903
|
MAX.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.
Q.1 Describe the
components of .Net framework with the help of a diagram. Also explain the
Common Language Runtime (CLR) in .Net.
Answer:- The Common Language Runtime (CLR) is an Execution Environment . It
works as a layer between Operating Systems and the applications written in .Net
languages that conforms to the Common Language Specification (CLS). The main
function of Common Language Runtime (CLR) is to convert the Managed Code into
native code and
Q.2 Describe the C#
program structure with the help of a diagram.
Answer: - C# programs can consist of one or more
Q.3 Write the following
programs in C#:
1. Write a program in C#
to reverse a string using for loop.
2. Write a program in C#
that concatenates list of strings.
Answer:-
Q.4 Explain the following
in C#:
1. Pass by value
2. Pass by reference
3. Output parameters
4. Variable argument list
Answer:- Pass By Value:-
Q.5 Give the similarities
and differences between structure and classes.
Answer:-
·
The difference between a class
and a structure is that, by default, all of the members of a class are private
and, by default, all of the members of a structure are public.
·
Structure are value type where
as class are reference type.
·
Structure are default public
where as class are default private.'this' pointer will work only in class.
·
Structure: Initially (in C) a
structure was
·
6 Explain the concept of
inheritance with the help of an example. Also explain containment inheritance.
Answer: - In object-oriented programming (OOP), inheritance is when an object
or class is based on another object or class, using the same implementation
(inheriting from a class) or specifying implementation to mantain the same
behavior (realizing an interface; inheriting behavior). It is a mechanism for
code reuse and to allow independent
Dear
students get fully solved assignments
Send
your semester & Specialization name to our mail id :
“
help.mbaassignments@gmail.com ”
or
Call
us at : 08263069601
(Prefer
mailing. Call in emergency )
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.