You are on page 1of 2

T. Y. B. Sc.

IT

SEMESTER VI
Chap 12 Test
Marks Date____________
Students Name: ____________________________________________ Roll
No:
1

Write the proper


match
1. overload : ______
2. params : _______
3. add(10,20); :
____
4. abstract : _______

a) Must be
overridden
b) Runtime
c) Variable
argument
d) Compiler fix
e) One name many
form
2 Restrictions for params
1)
__________________________________________
___________________________________________
2)
__________________________________________
___________________________________________
List 8 modifiers used with method
declaration in class
___________________________________________
___________________________________________
Use of static constructor.
___________________________________________
___________________________________________
State whether the statements are true or
false
1) Method call must end with semicolon.
______
2) Class can be declared static. ______
3) Constructors cannot be overridden. _____
4) Destructor is called when object go out
of scope _
Comment on value keyword in
_________________
____________________________________________
____________________________________________

General syntax for declaring a variable.

Comment on the following code snippet :


Mobile E65 = new
Mobile();______________________
Mobile E71 = new Mobile(E65);
__________________
Mobile N90 =
E65______________________________
____________________________________________

Time 30 Min Total 30

10

What if Method is passed an argument of?


1)
smaller than its actual
argument :____________
________________________________________
2)
larger than its actual argument
: _____________
_____________________________________

11

Two differences between value and ref.


1) ____________________________________
____________________________________
2) ____________________________________
____________________________________

12

What is the use of Class with parameter less


private constructor and only const members
______________
____________________________________________
Two qualities of a Class variable.
1. _____________________________________
2. _____________________________________
List four types of constructors
1) ___________________
2) ___________________
3) ___________________
4) ___________________

13

14

15

_______ & __________ access specifier can be


joined.
________ is use to refer a member inside
own class.
Space for extra work

____________________________________________

What do you mean by class member


initialization in
C#________________________________________
__________________________________________
__________________________________________
__________________________________________
Marks Obtained __________ in Words ___________________________ Signature of the
Examiner________
Remarks by the examiner ___________________________________________________________________

You might also like