File

advertisement
RAJALAKSHMI ENGINEERING COLLEGE
THANDALAM
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
SUBJECT NAME : C# AND .NET Framework
SUBJECT CODE :
CS1010
YEAR
:
FINAL YEAR
SEMESTER
:
VII
PORTIONS
:
FIRST UNIT FULL
PART A
1) What are the advantages of using .NET
2) What is .NET
3) What do you mean by CLR
4) What is CLS
5) What is metadata? Mention its uses in .NET
6) What is Namespace? List out the Namespaces of .NET Framework
7) What are the major categories of data types in c#
8) What is value type? Give Example
9) How to define Constants in c#
10) What do you mean by reference type? Give Example
11) What do you mean by Jagged Arrays
12) How Arrays are declared in c#
13) What is type casting and how it is done in c#
14) What is use of Enumeration
15) What is string? How Strings are declared
16) What is structure? How it is created in c#
17) State atleast five most important highlights of c# language
18) What are the features of java which have been implemented in c#
19) How is c# better then java
20) What are the limitations of using the internet today
21) What is the primary motivation of Microsoft Corporation in developing c#
22) C3 is a modern language. comment
23) Why is c# called type-safe language
24) State five features of C++ that have not been incorporated into c# language
25) What is .NET Framework
26) List the tools provided by .NET Framework for managing the user and application
interface
27) What is Web Service? how it is achieved using the .NET strategy
28) What is Microsoft Intermediate Language
29) What is Common Language Runtime
30) Enumerate major services provided by CLR
31) What is CTS and CLS
RAJALAKSHMI ENGINEERING COLLEGE
THANDALAM
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
32) List the third party languages supported by .NET platform
33) Write the Structure of a typical c# program
34) Why do we use the using directive in c# program
35) How does the Read Line() method work
36) What is a syntax error? How do we detect them
37) Write a program to read two strings from the keyboard using the Read Line
statements and display them on one line using Write statements
38) What is a literal
39) List the simple value types
40) What is boxing and unboxing? How is it achieved?
41) What are the special operators available in c#
42) How do you convert a string to a number
43) What do you mean by implicit and explicit Conversion
44) List the control structure in c#
45) What is “fallthrough” in switch statements? How is it achieved in c#
46) Write a program to add all the odd numbers from 0 to 20 .Use a simple if and goto
statements
47) What are the basic steps in looping process
48) How many times the body of the following for loop is executed
For ( int 1=10,int j=0; i+j>5; i=i-2;j++)
{
Body statements
}
49) Distinguish between ref and out parameters
50) What is method overloading
51) Distinguish between String and String Builder classes
52) Distinguish between a String object and String Literal
53) What is a verbatim String? When and where do you use it
54) What is an immutable String? How can we modify such a string
55) Compare the functioning of two versions of the compare method
PART B
1) Explain in detail about the activities of CLR
2) Explain about the various namespace of .NET Framework
3) Briefly explain al the control structures in c#
4) Explain in detail about various operators available in c#
5) Explain about various string handling methods
6) Explain about Enumerators and Structures in c#
7) Explain the characteristics of c# in detail
8) Draw and Explain about the .NET Framework in detail
9) How does c# differ from java in detail
10) Explain the Literals in C# detail
RAJALAKSHMI ENGINEERING COLLEGE
THANDALAM
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
11) Compare in terms of their functions, the following pairs of statements
a) while and do…while
b) while and for
c) break and continue
d) for and foreach
12) a) Write a method prime that returns true if it arguments is a prime number and
return false otherwise
b) Write a method that takes three values as input parameters and returns the
largest of the three numbers
13) a) List out the various value and reference types supported in c#
b) What is jagged array? Explain its use with simple example
14) Describe the Components of .NET framework and Explain
15) Explain in detail about the memory management
16) Explain with diagram of the origins of c#
17) a)Write a program to generate Fibonacci series
b) Write a program in c# for computing the average of a given N numbers
Download