0% found this document useful (0 votes)
379 views

2 Pgdca Programming With Visual

1. A Common Type System (CTS) is a type system that is common across all programming languages for a platform. It defines common value types and reference types that can be consumed by applications written in multiple languages. 2. CTS provides a unified type system for different .NET languages to share types, allow interoperability between languages and enable code reuse. It defines primitive types like integers and strings and reference types like classes and interfaces. 3. CTS enforces type safety by ensuring type compatibility between languages. It prevents errors by catching type mismatches at compile time rather than runtime. This allows applications to use types defined in one language from another language in a safe manner.

Uploaded by

Mayank Jain Neer
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
379 views

2 Pgdca Programming With Visual

1. A Common Type System (CTS) is a type system that is common across all programming languages for a platform. It defines common value types and reference types that can be consumed by applications written in multiple languages. 2. CTS provides a unified type system for different .NET languages to share types, allow interoperability between languages and enable code reuse. It defines primitive types like integers and strings and reference types like classes and interfaces. 3. CTS enforces type safety by ensuring type compatibility between languages. It prevents errors by catching type mismatches at compile time rather than runtime. This allows applications to use types defined in one language from another language in a safe manner.

Uploaded by

Mayank Jain Neer
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

R o ll N o . . . . . . . . . . . . . . . . . . . . . . . . . . . .

(7 6 ) 7 7 10
2P G D C A 2
P r in t e d P a ge s 41

P d D ip lo in Co t e r A p p lic a tio n
o s t G r a u a t e m a m p u

Se ) E i Da t i o M y lJ u n e 2 0 15
(S e c o n d m e s t e r x a m n ,
a ,

p r o g r _ g w it h v isu a l b a si c n e t .

a mu r a c i o n 3 bf 0our s] [w i lM a x M ar ks 80

[W DH - /M i n Pa s s M ar ks 32

f r

rft - 1H I f Yr z &
3

I 3 q c h d l
'
r ct d m r sr i
4

I n s tr u c ti o n s :

it ies in t er n a l
a ch
E ca r r a n
is div ide d in fiv e U n it s u n
1 The Q u e s tion Pa per

c h o i c e

tio in a ll
fr h ni c Thu s a tt em pt f Lu e qu e s n s

A e m pt o n e q u e s t ion om e a c
2

l m a r ks
3 A ll qu e s tion s c a r r y e qu a

data h er ev er n ec e s s a r y
4 A s s u m e su it a bl e w

in o f a n y a n om a ly in
d to be cor r e ct ea s e
_h o u ld b e de e m e
5 Egl i sh v er sion

tr a n s lation
ibe d ce on the
ber c th e pr e scr s pa
811 N u m a
6 C a n di d a t e s sh o u ld w r it e h i s /h e r

qu e s tio n pa per
p T 0
. . .

Scanned by CamScanner
& i n (U n it I )
I

1 (a ) Co m m on Typ e Sy s t e m f? g
8
E x p la in th e c o n c e pt o f o n Typ e Sy s t e m
Qo a 1m
(b ) A bl i e s r w
s s e m c N i * r 8
Wh t do ?
A s se m bli e s
a y o u m e a n by

r Rr (O r )

2 VB N e t ID E & q ba r q i w i n do w s H^ \ l _ I 16

Ex pla in the IDE f VB N ba d


o t wj h a ll r a n w in dow s

:h1 n (U n it II)

3 (a ) VB Net & q ba sic da t a typ e s J^ uI - - 8

E x pla in a ll ba sic da t a typ*s ith r an d l e n gt h in VB Net


w ge a n

(b ) Fu n c t io n su br ou t in e s ql ul f 8

D f e DHa t e b i t e e n fu ti d br it h
n o n a n s u o u ti n e s w ex a m pl e s

- (O r )

4 v b n e t iY q c h co n s o le a p p l i c a t ion m q f m
qc h ww w

zr 1
16

Cr e a te a con sole a p p li c a t i o n in V B N e li t h a t de t e r m in h ether


es w a n ll r n be r

is pr im e or n o t

&m m( u n i t III)

5 (a ) f Ev en ts r I i f i ls f o r m w fo r ch
p er m

Ex pla in in br i e f a n y t f1 r e e Ev e n t s t h a t ea n be p e r fo r m e d on a Fo r m

(b ) Sh o r t c u t k eys $ Y rrt r W l ) 8

w ' a t do y ou m e an By s hor tc u t k ey s
77 10
2

Scanned by CamScanner
"z g:

E x p la in
lid
'
th e fo ll o in g ls
w co n t r o

(2 ) Tr e e v l e w :
1

(3 ) C o m bo bo x

7 Co n s tr u et r m c i H & ? VB zj r ? Con tr u et or ov er l o a di n l

Wh a t is th e i m p ta f
or n c e o con s )r ? H ow is it Cr e a ted in VB N e t ? A l So

e x pla in the t er m eo n s t r u c t o r oa din g :< .


,

'

:
X p a i n th e f ollo w in g t er m s :

W /:

9 A do N e t i Yf r f 16

'

(c ) '
da t a ba se $ r ow de l t e >r :

7 7 10 3 _@/ p t 0
. . .

Scanned by CamScanner
H a r e th e fo llo w in g t k A do
R
o w a s s
per f oed in N e t
. :

(a ) To se le ct da t a fr o iD th e d t a a s e

(b ) To in s e r t a r o w in t o th e d a a b a s e

(c ) To de le t e a r o w fr o m th e da t a b a s e

:
w at Do y o u m e a n by c o n n e (: t ion ;
s: r i . g ? E x pla in a ll i cs pa r a i De c e r s

:
,

,
^ i


i ,

B
e tj


.
.

Scanned by CamScanner

You might also like