C# IMP QUESTIONS

B. C. A. (Sem. IV) (CBCS) Examination

April / May - 2016

CS-20 : Programming with C#

1 MCQ:

(1) Which of the following is a reserved keyword in c#?

(A) abstract (B) as

(C) foreach (D) All of above

(2) What is the return type of constructors?

(A) int (B) float

(C) void (D) None of above

__ is a collection of classes.

(A) Class (B) Partial class

(C) Namespace (D) Interface

(4) In the following, which is also called variable sized array?

(A) Jagged array (B) Param array

(C) BitArray (D) None of above

is never inherited 01' overloaded.

(A) Interface (B) Destructor

(C) Member function (D) get()

(6) In the following, which class is not be a base class of

any child class?

(A) abstract (B) sealed

(C) static (D) both (B) and (C)

(7) In the following, which is same like pointer to function

in clc++?

(A) events (B) delegate

(C) enum (D) set()

(8) In the following, which is not a class of collections?

(A) Inheritance (B) Arrayl.ist

(C) Hashtable (D) Queue

(9) All exceptions are directly or indirectly inherited from

____ class.

(A) Data

(C) Exception

AAP-003-003408]

20

(3)

(5)

(B) Forms

(D) None of above

 B. C. A. (Sem, IV) (CBCS) Examination

March I April - 2017

CS - 20 : Programming

Q-1 Answer the following :

(1) 'What is a collection of classes?

(2) JIT stands for _

(3) Which method is used to display message on the screen?

(4) Which type of value cannot contain in structure?

(5) What is also called as a bridge between Data Set and

database?

(6) What is also called Array within Array ?

(7) Which keyword is used to define Indexer ?

(8) Which control is used to display nodes in hierarchical

format?

(9) ADO stands for _

(10) A class cannot be used as a base class.

(11) A delegate is a type variable that holds the

reference to a method.

(12) represents ordered collection of an object

that can be indexed individually.

(13) Which control is used to display a pop-up menu, when user wants to display the functionality related to the control?

(14) Which object IS used to read data in a sequential

manner?

(15) is a virtual and local relational database

that is used for temporary storage of records.

(16) DataReader supports architecture.

(17) Which control provides a powerful and flexible way to .

display data in a tabular format ?

(18) In C#, which applications are light weight programs run

inside the DOS prompt/window ?

(19) Which keyword is used to split a class definition?

(20) is a process of converting the object type to the value type.


Comments

Popular Posts