Home > Download > SMU - Question Paper
> MCA > MC0081
.(Dot)Net Technologies
This is the collection of
Sikkim Manipal University (SMU) question and answers for .(Dot)Net Technologies. 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 .(Dot)Net Technologies, SMU - Master of Computer Application.
Course Name
MCA (Master of Computer Application)
Subject Code MC0081 (.(Dot)Net Technologies)
Get Questions
PART - A
PART - B
PART - C
Subject : .(Dot)Net Technologies
MC0081 : PART - C
Q. 1 | What 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. 2 | using System; class Demo { public static void Main () { int i, j, k; i = l0; j = 9; k = 5; k+= (i >=j++) ? (i + j):j; System.Console.WriteLine (“Output {0} {1}, and {2}”, i,j, k); } |
| A) | 10 9 19 |
| B) | 10 10 25 | | C) | 10 10 10 | | D) | 10 9 15 | | | | Q. 3 | Following shows the output as class Test { static void Main( ) { int[ ] arr=new int[5]; for(inti=0;ifor(int i=0;iSystem.Console.WriteLine(“arr[{0}]={1}”,i, arr[i]); } } |
| A) | Compilation eror |
| B) | Run time eror | | C) | arr[0]=0
arr[1]=1
arr[2]=4
arr[3]=9
arr[4]=16 | | D) | arr[0]=0
arr[1]=1
arr[2]=2
arr[3]=3
arr[4]=4 | | | | Q. 4 | Srtruct 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. 5 | Match 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) | | | |
Click here to get
.(Dot)Net Technologies (MC0081)
New Question
Home > Download > SMU - Question Paper
> MCA > MC0081