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 2024, 2023, 2022 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. 1Predict the output
using System;
class Base
public void display ()
Console.WriteLine (“From Base”);
public virtual void print ()
Console (“From Base”);
class child:Base
public over
 A)From Base
From Base
From Derived
From Derived
 B)From Base
From Base
From Base
From Derived
 C)From Base
From Derived
From Derived
From Base
 D)From Derived
From Derived
From Base
From Base
Q. 2C# preprocessor directives arei.
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. 3Srtruct type can declare declare the
following in C#
i. Constructors
ii. Constants
iii. Fields
iv. Methods
v. Properties
vi Indexers
vii. Operators
viii. Nested types
 A)A) All the above
 B)i., i., iii and iv
 C)v., vi., vii. And viii
 D)None of the above
Q. 4Predict the output
# 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. 5What 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)
Click here to get C# Programming (BT8903 ) New Question

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