P2Pprogrammer 2 programmer

Home > Download > SMU - Question Paper > BSc IT > BT8903

C# Programming


This is the collection of Sikkim Manipal University (SMU) question and answers for C# Programming . It will help to prepare your examination. All question paper are classified as per semester, subject code and question type of Part A, Part B and Part C with multiple choice options as same as actual examination. SMU question papers includes year 2025, 2024, 2023 Sem I, II, III, IV, V, VI examinations of all subjects.

SMU question test set of old, last and previous year are updated regularly and it is absolutely free to use. Question paper includes Visual basic 6, VB.Net, C#, ASP.Net, Web, Oracle, Database, SQL, Software Engineering, C, C++, OOPS, MBA, MCA, BSC IT I have requested you kindly send me the question paper of C# Programming , SMU - Bachelor of Science in Information Technology.

Course Name        BSc IT (Bachelor of Science in Information Technology)

Subject Code       BT8903 (C# Programming )

Get Questions        PART - A    PART - B    PART - C

Subject : C# Programming

     BT8903 : PART - C    


Q. 1What are the uses of preprocessor
directives in C#?
a) Error and warning reporting
b) Conditional compilation
c) Macro processor
d) Compatible versioning
e) Line control
 A)a), b), c) and d)
 B)a), b), d) and e)
 C)a), b) and e)
 D)a), b), c), d) and e)
   
Q. 2Match the following w.r.t. member
modifiers available in C#
SET A
a) abstract
b) virtual
c) read only
d) Override
SET B
1) Can be used with fields, methods, and
constructors
2) Method or accessor can be overridden b
 A)a) - 4), b) - 2), c) - 3), d) - 5)
 B)a) - 2), b) - 1), c) - 4), d) - 5)
 C)a) - 3), b) - 5), c) - 1), d) - 2)
 D)a) - 5), b) - 4), c) - 2), d) - 1)
   
Q. 3C# preprocessor directives arei.
#if
ii. #else
iii. #elif
iv. #define
v. #undef
vi. #def
vii. #error
viii. #ln
ix. #collapse
 A)All the above
 B)i, ii, iii,iv, v and vi
 C)i, iii, iv and vi.
 D)i, iii, iv and vi.
   
Q. 4Predict the output
#define NEW TECHNOLOGY
# define csharp
using System;
class elif
{
public static void Main ()
#if(NEW TECHNOLOGY && !csharp)
Console.WriteLine (“csharp not defined”);
elif(!NEWTECNOLOGY && csharp)
 A)csharp not defined
 B)NEWTECNOLOGY not defined
 C)NEWTECHNOLOGY and csharp not defined
 D)NEW TECNOLOGY and csharp
   
Q. 5Match the following
SET - A [Exception type]
a) Exception
b) SystemException
c) ArgumentException
d) InterofException
SET - B [Description]
1) Base class for COM class’s HRESULT
information
2) Base class for exceptions
 A)a) - 4), b) - 3), c) - 5), d) - 2)
 B)a) - 6), b) - 4), c) - 1), d) - 3)
 C)a) - 5), b) - 3), c) - 4), d) - 1)
 D)a) - 4), b) - 2), c) - 6), d) - 5)
   
Click here to get C# Programming (BT8903 ) New Question


Home > Download > SMU - Question Paper > BSc IT > BT8903