CS6001-C Sharp and .Net Programming
CS6001-C Sharp and .Net Programming
DEPARTMENT OF
COMPUTER SCIENCE AND ENGINEERING
QUESTION BANK
VI SEMESTER
CS6001-C# AND.NET PROGRAMMING
Regulation – 2013
Academic Year 2017 – 18
Prepared by
Ms. V.Prema, Assistant Professor/CSE
VALLIAMMAI ENGINEERING COLLEGE
SRM Nagar , Kattankulathur-603203
QUESTION BANK
PART C
1 i)Explain the important characteristics of C# in detail.(8) Evaluate BTL 5
ii)Illustrate the application of the for each statement through a
simple program.(7)
2 Create an array of 10 integers. Populate the array by having the Create BTL 6
user enter integers at the console (Console Readline) Output the
integers sorted from the greatest to least.(15)
3 Write a program that assigns the value 25 to variable x and 5 to Analyze BTL 4
variable y. Output the sum, difference, quotient, product and
modulus of x and y.(15)
4 i)Write a C# code to compare two strings using "Equals" Create BTL 6
method.(8)
ii)Write the program to sort the number in descending order.(7)