qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq rrrrrr rr rr r r r rr
qqq qq q qqqqqq qqq qqqq
q q qqq
q qqqqqqqq qq qqqqqqq
qq qqq qqq
qq qqqq qq q
q r rr rr r rrrr rr r rr rr rr rr r rrrr r r rrr rr rr rr r rr r rrrr rrrrr rrr r r rrr r r r rrr
rrr rr r r rrrr rrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q rrr r rrr r rrr r rrr rr rr r rrr rrrr rr r rrr rr rr r rrr rr rrr rr rrrr rrrr rr
r rrr rrr rrrrr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r r rr rr rr rr
r rr rrrrr r r rrrr rr rr rr rr r rrr r rr r rr rrrrr r rr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
r rrr rr
rrrr rrr r rrr rrr rr rrr rrr rr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rrr rrr r rrr rrr rrr rrr rrr r rr r rr r rrrr rr r rr r rr rr rr rrrr r r rrr rrr rrr rr rrr r rr
r rrr rrr
r rr rrr r rrrrr r rrr rr r rr rr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r r rr rrr r r rr rr r
q rr rr rrr rr rr rr rrr r rr rr rrr rr rrr rrr rrr rr rrrr rr rrr r
r rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr r r rrr rrr rr rr r rr rr r rr rrr rr rrrrrr r rr rr rrr rrrr rrr r rrrr rrrrrr r r r r rr rr rrr rrrr r r rr rr r rr r rrr r rrrrrr r rr r r rr r rrr rr rr rr rr rr rr r r rrr rr r r r r r rrrr r rr r
q rrr rr rrrr rr r rr r
r rrr rrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr r r rrr rrr rr rr r rr rr r rr rrr rr rrrrrr r rr rr rrr rrrr
q r rr rr rrr rr rr r r rr rrr r rr rr rr r r rr r rrr rr rrr rrr rr rrrr rr rrr r
rrr rr rrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rrr r r rrr rrr r r r rrr rr rr rr r rr rr r r rrr rr rrr rr r r rr rr
q r rrr rr r rrrrrr r rr
r rr rrrrr rr r r rrrr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rr rrrr r rr rrrrrr r r
rr rr r rrrrrr rr rr r rr r rrrrrr rr rr r rr r rrrrrr rrr r rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr rr r rrr rr rrrrrr rr r rr rrrrrr r rr rr rr r rrrrrr rr rr rr rr rrrr r rr r rr r r rr rrrrrr r rr rrrrrr rr r rr rr r r rrrrrr rr r rr rr rrr rr r rr rr rrrrrr r rrr rr r r r rrrr r rr rr rrrrrr rr rrr r r r r r rr r rr rrr
rr rrr ; rr r rr rrrr rrr rr rrr r rr r rrrr ; rrrr rr ? rr rrr r ; r ; rrrr r ? ? ?
qq r rr r r r rr rrr r r r rrrrrr rrr rr r rr r rr rrr rr r rr r rrr r r rr
rr rrr rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rr rrr rrr r rrr r rrr r rr rr rrrr r rr r r r r r
r rr rr rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r rrr
qq r rr rr rrr rrr r rrr rr rr rr rrrr rrrr rr r rrrr rrrr r r r rrrr r rr r rrr rr
r r r r
rr rrr r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rrrr rr rr rr rr r
r rr r rrr rrr r rr r rr r rrrr rr rrr r r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q rr r r rrr rrrr r rrrr rrr rrr rrrrrr
rrrrrrr r rr r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r rrr rr r rr rr rr r r rrr r rrrr rr rrrr r r
r r r rr r rrrr rr rr rr rr rrrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq rr rr rr rr rrr r r r r rr rrr rr rrr rrr r r
r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rr r r r r rr
qq r rr rrr r rrr r r rr rrr
r rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r
qq r rr rr rrr r r rr rr r rrr rrr rrrrr rrr rr rrrrr r rr r r r rr
r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr r rr rrr
q r rrrr r r
r rrr rrr rr qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rrr r r rr rr
rr r r rrrr rr rr r rrr r rrr r r rr r rrr r rrrr rrr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rrrr r r
r rr r r r rr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r r r rr r r r rrrrr r
rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq
qqqqqqqqqq q qqqqqq r rrrrr rr rr rr r r r r r r r r r r rr r r rrrr rrrr r rr rr rrrr r r rrrrr r rrrr rrrr
q r rr rr r rr r r r r rr rrrrr r rr r rrrr r
rrrrrrrrrr r rrrrr r rrrrrrrr rrrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rr rr rrrr
rr rrrr r r r rrr rrrr r r rrr rrr rrr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr rrr r r rr
qq r rrr rr rr rr r r r rr rr rr r r rr rr rrr rr rr rrr rr rr
rr rrrrr rr rr rr rr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr rr rr rrr rr r rrr r rrr r rr rrr rr r r rrrrr rr rr rr r rrrr r r rr rr rrrrr r r r rr rr r r r rr r r r rr r r r r r rrr rr
qq rr r r rrr r r r r
rrr rr rr r rr rrr rr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rrrr rrrr rr r rr rr r rr rrrr r rrrr r r r rr r rrr r r rrrr rrrr rr rr r rrr r r
qq r r rrr rrr rr rrr
r rr rrr r rrrr rrrr rrrrrr r rr rrr r rrrrrr r r rr rrr r rr rrr r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rrr rrrrr r rr r r rr r rrr rrrrr
qq rr rr r rrrrr rr rrr rr rrr rrr rr rrr rrr r r
rr r rr rrr rr rrr rrrr
rrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr rr r r r rr rr r r rr r rrr rr rrr r rr r r rrr r r r rr rrr r r r r r r r r rrrr r rrr r r r rr r rr rr rrr rr
q rr rr r rr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr
qq rr rr rr rr rr rrr r r rrr rrr r rr r r r rr
rrrrr r rrr rr rr r rrr rrr rrr rr rrrrrrr rrrrr r rrr rrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r r rr
qq rr rr r r rrr rrr rrr r r rr r rr rrr rr
r
qqqqqq q qq qqqqqq qqqq
qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rrrr rr rr r r r rr rr rrrr rr
qq r rr rrrr r rr rr r rr rr rr rr rr rrr rr rrrr rr rr rr r
rrr rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rr r rr r r r rr rr rr rrr rrr rrr rr r rr rr rrr r rrr rr r rr rrrr rr r rrr r rr r r rr rr r r rr r rr rr r rr r rr r r rr rr
q rr rr rrr rr r rr rr r r rrrr rrr rrrr rrrrrrrr r rr rrrrr r rr r rrrr rrr rrrr r r rr r r rrr r rrr rr rr rr rrr r rrr r rrrr rrr r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rrr rrrr
q rrrr rr rr
rr rrr r r r r rr rr rrrrr rrrr rrr rr rr rr rrr rr rrrr r rr rr rr rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rr rrr r rrr rr r rr rrr r rrr r rr r rrr r r rr rr r r r rr
rr rrr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr r rr rr r
qq r r rrr r r r rr r rrr r rr r r rr r r rr rrr rrr rrr
rrr rr r rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr r rrr rrr
qq r rr rr r r rrr r rrr r rrr r rrr r r r r rrr
rr rrr rr rr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rrr rrr r r r rrrrr r r rr
rrrr rrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr
r rr rr r r r rrr rr rr r r rr rrr r rrr rrrr rrrrr r r rr
r rrr rr rrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr rr r rrr r rr
q r r r r rr rr rrr rr rrrrrr
r rr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q rrr r r r rr rrrr r r rr
rrrr r rrrrrrr rr r r rrrrrrr rr rrrr r r rrrr rrrrrrr rr r rrrrrr rr r rrrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rrrr r r
r rrr rrr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
r rrrr r r
r rr r r r rr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rrr r rrrrr rr r rr r r rrrr r r rrrr rrrrr rrr r r rrrrr rr rr rr r rr
r rr rr rrr rrrr r r r rrr rrrrr r rr rrrr r rrr rrrr r r rrrrr r r rr
r r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r r r rrrrr rr rrrr r r
q r rrr r r rr rr
rrr r rrrr rrr rr r rr r rrr r rrr r r rr r rr r r rrrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
r r r r r rrrrr rr r r r r rr r rr rr rr r r r r rrr r rr r r rr r rrr r rrr r rr rrr rr rrr rrr rrr rr r rrrr rrr r r rr r r r rrr
q r rr rr r rrr rrr r r r rr rr rrr r rrr rrrrr rr rrrrr r rr rrrr rrr rr rr r rr rr r rrr r rr rrrr rr r r r rr
rr rrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr r rr r rr r rr rr rrr r r rr r rr r rr r rr rr
q rr rr rrr r rr r rr r r rrrrr rr
r rrr r rrr rr r rr rrrrr rrrrr r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r r rr rrrrr
q r rr rrr r r rr r r r rr rr r r r rrr r r r r r r rr r r r r r r r r rr r r r r r r rr
rrr rr rrrr r rrrr rr
r rrrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr rr r
r r rrrr r r rrrrr r r r rr rr r r r rrrrr rrr rrr r rrrrr rr r
r rrr rrr r rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rrrr r r rr r rr r r rr rrrr r rrrr rrrr r rr rr rrrrr
q rr rr r rr rr rrr rrr rrrr rr r rrrr rrrr rr rrrrr r
rrr r rr rrrr rr r r rr r r rrrr rrr rrr rr rr r r rrr rrrr r r r rr r r r rrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r r rr rr rr rr rr rr rr r rr rr rrr rr rr rrr r r r rr rrrr r rrr rr
rr rrr rrr r rrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rr rrr r rr rrr rrrrr r rr r rrrr r r rr rr r rr rrrrrr rr rrrr r r rrr
q r rr r rr rrrr rr rrr
rr rrrr rr rr rrrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr rr rr rr rrrr rr rrr
r r rrr rrrr
rr rr rrrrrr r rr rr r rrr rr rrrrrr r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
r rrrr rr r rr rr rr r r r r rrrr rrr rrrrr rr r r r rr r rr rrrr rrr rr rrr rrr r rr
rr rr rr rr r r r r rr r rr
rr r rrr r rr r r r
r r r r r r r r r r r r r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rr rrr rrr rrrr r rr rr rr rr r rr r rrr rrrr r rr rr rrrr rr r rr r rrr rrr rrrrr r r rr
rrr r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rrrrr rr rrr r
r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr rr r rrr rr rr rr rrr r r r rrrrrr rrr r rr rr
q r r rr rr r r rr r r rr rrr
rrr rrrrr rr rrr rrr r rrr rr rr r rrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr r r r r r r rrrrr rr r rrrr rr rrr rrrr rr rrr rr r r rrr rr rr rrr rr rr r r r rrr rrr r r rr rrr r r rrr r rr
q rrr rr rrrr r r r rr rr r rrrr rrrrr r r
rr r rrrr rrr r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r rr rrr rrr rr r rr r r r rr r r r r rr r rr r r rr r rrr r rr r rrrrrr rrr r rr rrr rrrr rr
q r rr rr rr r rr rrr r r rrrr rr rr rr rrrr rrr rr rrrr r rr r r rr r r rrrr r
r rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr
qq r rr r rr rrr rr rrrr rrrr r rr rr r rr rr rrr rr rrrrr r rr rr r rrrr r r rr rrrrr rrr r rr rr r r rrrr rr
r r rrrr r rrrrr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r r rr r rr r rrrr
qq r rr rr r r r rrr r rr r r r rr r r
r r rr r r r r rrr rr rr rr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r rr rr rr r rrr r rr rrr rr rrr rr rr rrr rrr r rr rrr r rr rrr rrr r rrrr r r r r
qq rrr rr rrr rr rrr rr r rrr rr rr r r rrrr r r rr r rrrr r r rr r rrr
r r rrrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r rr rrrr r rr rrrr r
q r r r rr r rr rrr r r rr rrrr
rr rr rr r rr rrr rrr r rr rrr rrrrr rrrr r r r r rr r rr rrr rrr r r rr rrrr r r rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrrr rrr rrrr r rr rrr rr r r rr rrr rr r r r rr rrr rr rrr r rrr rr rrr r rrr rr rrr rr rrr r rrr rrrrr r r rr rr r rrr
q r rr r rr rrr rr rrrr rrrr r rr rr r rr rr rrr rr rrrrr r rr rr r rrrr r r rr rrrrr rrr r rr rr r r rrrr rr
r r rrrr rrrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rr rrr r rr rrr rr r rrr rrr r rr r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr r rr rrrr rr rr r r rr r rrrr rrrr r r rrr rrrr rrrr r rrrr rr r r rrr rr rr rr r rrr r r r
r r r r
qq rr rrrrr r rrr r rrrr r rrrrr rrr r rr r rr rrr rrr r rr rr rr rrr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr r rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r rr rrr rrrr rrr rrrr r rrr
qq r rr rrr rrr r r rrr r r
rr rr rr r r rrr r rr rrrr r r rrr rr rrr r rrr r r rr rrr r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rrr rr rr rr rr r r r rrr r rr rrr rr r r rrr rrr rrr rrr rr r r r rrr rrr r rr r r rrr r rrrrr r rr rr rrr rrr rr rrr r rr rrr rrr rr rrr r rr rrrr rrr r rr r r r r rr rr r rrr rrr
qq r r r rrr rrr r rr
r r r rrrr r rrr r r r rrrr rr rrr r r r rrrr r rrr r r r rrrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rrr rrr r r r rrrr rr rrr
q rr rrrrr r rrr r rrrr r rrrrr rrr r rr rr r r r rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr r r r
qq rr rrrrr r rrr r rrrr r rrrrr rrr rr rr rrr rrr r r r rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr rr rrr rr rrrrrr rr rr rrrrrr
qq r r rr rr rr rr rr r rr rrr rr rr rrr r r r rrrr r rrr rr
rrr rrr rrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rr r r rr r rrrrrr r r
r rrr r r r r
r rr r rrr r r rrr r qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q rr rrrrr r rrr r rrrr r rrrrr rrr r r r r r rr rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rr rr rr rrrr r r rr r rrr rr rr r rr rr r r r rrr rr rr r rrr rr r rr r r r rrrrr r r rr r r rr r rrr rrr rrr rr rr rr rrrr r rr rrrr r r rr rrr rrr rrr r rr rrr r
q r r rr rr
r r r rr r r rrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r rr rr rrrr r
rr r r rr rrrr rrr rr rr rr rr r rr rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rrr r rr r r rrrrr rr r r r rrrrrr rr r rrr r rr r r rrr r rrrr rr r rrrr r rr r r r r rrr rr r rrr r r rr r rr r
qq rrr rr rr r r r rrr
rrrr rr rrr r rrrrr rr rrrr r rrrr rrr r rrr rrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r rrr r r rr rr r r r r rr rrr r r rrr rrrrr rrrr r r r r rr rr rrr rr rr r r rr
qq r rr rr rr r rr rrr r rr rr r r
rrr rrrrr r r rr rr rrr rrrrr r rrr rr r r rrr
rr rrrr rrr rrrrrrrrr rr rrrr rrr rrrrrrrrr r rr rr rr rrrr rrr rrrrrrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r rrrrr
qq rr rrrrr r rrr r rrrr r rrrrr rrr r rrr r r r r rrr rr r rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rrr r r r r rr rr rrr rrrr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr r r r r rrr rr r rr rrr r r
q rr r rr rr r
rrr rr rrrr rr r rrr r rrr rrrr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq
qqqqqqqqqq q qqqqqq
qq rr rrrrr r rrr r rrrr r rrrrr rrr r r r r rr rr rrr rrrr rrrr r rr rr rrr r rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr rr rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rr r r r r rr r rr rr r rr rrr r r rr rr rrr r rrrrr rr r rr r r r r r rr rr rrrrr rr rr rrrr r rrr rr rr r r rrr rr r r r r rrr r
qq r rr rrr rr rrrrr r rr rr r rrr r r rr rrr r rr rrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rr rr rr rrr r rrr rrr rr rrrrr rrrr rr r r rrrr r rr r r rrrr r rr rr rrrrr r r rr r r rrrrr r rrrrrr rrrrr rrr rr rrrr rr r r r rrrr rrr rr rrrr rrrrrr rrrrrrr rrrr rrrr r rrr rrr
qq r r rrrr rr rr rr rrrr rr r r r r rr r
rrr rrrrrrr rr r rrr rrr rrr r rrr rrr rrrrrr r rrr rrrrrrr rrrrrrrrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rrr rrr rrr r rr r r r r rr r rr rr r r rrr rr rrr rrr rrr rrr r r rrrr rrrr rr
q r rr rr rr rr rrrrrr rrr rr rrr r rr rr r r rrr rr rrr r r rr rr r rr r r
rr r r r r rrr rr rrrrr rrr r r rrr rr rrr r rrr rr rrr rr
qqqqqq q qq qqqqqq qqqq
qqqqqqqqqq qqqqqqqqqq q qqqqqq
q rr rrrrr r rrr r rrrr r rrrrr rrr rr r rr r rrr rr rrrrr rr r r rrrr r r rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr r rr rrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r rr r rrr rr rrrrr rr r r rrrr r r r
qq rr rrrrr r rrr r rrrr r rrrrr rrr rrr rr rrr rr rr r r r rrrr rrr rr rr r rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rrrr r rrrr r r rr rr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr rrr rr rr r rrrr r rrr rr rr r
qq rrrr rr rrrr r r r r r
r r O
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrrr r r r rr rr rr r r rrr rr r rr r r r r r rrrr r rrr
qq r rr rrr rrrrrr rr r r r r rr rr rrr r
rr r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrrrrr r rr rrr rrr rrr rr r r rr r r rr rr rr rrr r rr rrr r
qq rr r rr rr rr
r rr rr rr r rrrrrr r r rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr r r r rrrr rrr rr rr rrr rrr r r rrr rr r r r rrrr r r r r rrr
q r r rrr r rr rrrr rrrr r rr r rr r rrr rr r r rr
rr r r
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r ; ? rrrr rrrr r r rrrr rr r rr r rrr r rrr rrr r r rr rr rr rrrr rr rrrrr r rr r r
qq r rr rr rrr r rrr rr rr rrrr r rr r rr rrrr r
rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r r r r r rrr r r r r rr r rr r r rr r rrr rr r r rr r
qq rr r rrr r r rrr rr r rrr
r rr r rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr r r rrr r r r rr r r
qq r r rrr rr r r r rrr rrr r rrrr r r rrr rr rrr rrrr rrrr r rrr r r rrr
rr rr rrrrrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr r r r rrr rrr r rrrr rrr rr rrr rrrr rrrr
q rr rrrrr r rrr r rrrr r rrrrr rrr rrrr rr r r rr rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr r rr rrrrrrrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr rr r r r rr rr
q r rr r r
r rr rrr r r r rrr qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rrrr r rr r r rr rrr rrr r r rr rrr r r rr rrr r r r rrr rrrrr rrr r rrr r rrr rrr r r
qq rr rrrrr r rrr r rrrr r rrrrr rrr rrr r rr rr rr r r rr r rrrr r r r r r rr r r r rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr r rr r r rr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr r rr r rr r r rrr rr r r r r rrr rr r r rr rrr rrr rrrrr rrr r rr r r rr
rr rr rrr rr rrr rr rrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r rrr rr rr r rrrrr r r rr rrrr rrr rrr rr rrrrr r r rr r rrrr rrr r r r r r r r r r r r rrrr r r r r r r
r rr r r rrrr r r qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rr r rrr r r rr rr rrrr r r rr rrr rrrr r rr rr rr rr rr rrrr r rr rr r rr rr rrrr r r rr rrr r r rr r rrrr r rrrr
qq rrr r
rrr rr rrr rrr rrr rrr r rrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr rrr rr r rrr rr r r r rr
q rr rrrrr r rrr r rrrr r rrrrr rrr rr r rrrr rr r rrr r rr rr r r rr rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr r rr r rr rr r r r rr rr r rrrr rr r r rrr r rrr r
qq r r rr rr r r rrr rrr r r rrrr
rr r rrr r r rr rr r r rr rrr r rrr r r rr r r rr rrr rrr r r rr rrr rrr r r rr rrr r rrr r r rr rrr rrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rr rr rrr r rr rrr rrr
rrr r rrrrr r rr rr
qq rrr rr rr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rrrr rrr
qq rr rrrrr r rrr r rrrr r rrrrr rrr r rrrrr r rr r rr r rr rr rr r rr rr r rr r r rrr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr r r rrr rrrr rrr
rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rr r r rr rrr r r r
r rrr rrr rr r r r rrr rrr r r r r r rr rrr r r r r rrr rr r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr r r r r r rr r r r r r rr r rr r r rrrr rrr r r r rr r rr rrr r r rr rrr r r
q r rr rr rrr rrr rr rr rr r rrr rr rr rr r r rrr rr r rr r rr rr r rrr rr rr rr r rr rr r rrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq rr rrrrr r rrr r rrrr r rrrrr rrr rr rr r rrrrrr r rr r r rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr r r rrr
rr rr r qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr r O rrrrr r r rr r rrr r rrrrr r rr r
qq r r rr rr r r r r rr rrrr rr r rr r r rr r rr rr r r rrr rr r r rr r rr rr r r rrr rr rrr rr rrrr rr rrr r
rrr rrr rrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr r rrrrrr r r r rr rrr rrrr rr rr rrr rrr rrr r rr r r r rr rr rr rrr r rr rrr rr rr r r rr rrrrr r r rr r rr r rr rrr r rr r rr rr r r r r rr rrrr rr rr rrr r rrrr rr rr r rr rr r rrrr rr rr r r r r rr r r r rr rr r r rr r rrrr r rr rr r rr rrr r r rr rr rr rrr rr r rr rr rrrr
qq rr rrrrr r rrr r rrrr r rrrrr rrr r rrrr r rrrrr rr r rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr rr rrrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq
qqqqqqqqqq q qqqqqq
qq r rr rrr r r rr r r r rr rr r r r r rrr r r r r r r rr r r r r r r r r rr r r r r r r rr
rrr rr rrrr r rr rrrr rrrr rrr
r r r r r rr r r rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr r r rrr
qq rr rrrrr r rrr r rrrr r rrrrr rrr rrr rrrrr rrr r rr rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r rr rr rr rrr rr rr rr rrr r rr rrr r rr r rrrrrr r rr r r rr r r rrrrrr rr r r r r rr r rr r rr rr rrr rr r r r r rr rrr r rr rrrrrr r rr
r rrr r rrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr rr r rrr rr rr r rrr rr rr rrr rrr rr r rrr rr r r rr rr r r rr rr r rr r rr rr r rr
qqq rrr rr rr rrr rr r rrr
rr rr rrrr r rrr rrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r rr rrrr rr rr rr rrrr r rrr rr rrrr r rr rrr rr rrr r rrr r rr r rr rr rr rr r r rr r rr r rr r rr rrr r r r rr rrr r r rr rrr rr rrr rrr rr
qqq rr rrrrr r rrr r rrrr r rrrrr rrr r rr rrr rr rr r rr r rr rrrr r rrr rr r rrr rr r rrrr r r rr r rrr rrr rr r r
rrr r rrrr r rr r rrr rrr
r r rrr rr rrrr rrrr r rrr rr rr rrrr rr rr rr rr rr rrrr rrrr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrrr rr rr r r rrrr r rr rrr r rr r r r rrr r r rrr r r rrrr rr rr rr rrrrr r rrr r r rr rrrr r rrrr rrr rr rr rrr rr
qq rr rrrrr r rrr r rrrr r rrrrr rrr r rr rrr rr O r r r rr rrr rrr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r rr rr rr rrr rr rrr rr r rr r rr rrrr rr r r r rrr r r r rr rrr rr rr rrrrr r rrr rr r rrrr r r r rr rrrrr rrr r rr rr r rr rr rr rrrr rrrr r r r rr rrrr r rr rr rrr rr rr r r rr rr rr rr r r r rrr r rrr r rr r
qq r r r r rr r rr rr rr rr rr r rrr r rrrr r r rrrr r r rr r rr
r qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr r r r rr rrrr r rrrr rr r rrrr rr rr r r r r r rrr r r r rrr r rrrrr r rrr r rr r rr r rr r r rr r rrr rr rrr r r rr rr r r r rrr r rrrr rr r rrrr r r rrr r r r rrr r r r rrr r rr r r r rrr rrr r r r rr rr r r r r rr r rrrr rrr r r rr rrrr r rrrr r rrrr r r rr r r r r
qqq rr rrrrr r rrr r rrrr r rrrrr rrr r rr rrr rr rr rrr rr r rrrr r r r r rrrr rr r r r r rr r r r rrr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rrrr rrr rr rrrr rrr rr rr rrrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr r rrr rrr r r r r rrr rr rr rrrrr r rrrr rr rrr rr rrr r r rrr rr rr r rrrr rrrr r r rrr r rrrr rrr rr r r rr rrr rrrr r rr r r r r r
qqq r rr rr r rr r r rrr r r rrr rr rr r r rrrrr r r rr rrrr rr
rr rrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr rr rrr rr r r r r r r rr r r rr r r r r r rrr r r rr rrrr r r rr r r r r rrrrr rrrrr r rrrr r r rrrrr rr rr r r r rr rrrr
qqq r rrr r rr r r rr rrr rrr rr r rrr r rr r r r rrr rr rrrrr rrr rrrrrrr r rrrr rrr r rr rr rr rrr rr rr rr rr r r r r rrr r rrrr r rr rrrr rr r rr rrrr r rr r r r r rr r rrrr
rr rrr r rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r rrrr rr r rr r rr rrr rr rr rrr r r rr r r rr rr r r r rrr r r rr r r rr rrr rrrr r r rr r r rrrr rr rrr
qqq r rr rr rr r rr rrr r r r r r rr
r r r rrr rr r rr r rrr r rrr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rr rr rr r rrrr
r r r rrr rr r rr r rrr r rrr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r rr rr rr r rrr rr r
rr r r r
r r rr r rrr r rr
r r r r rr rr r rrr r rr rrrr r r r rr rr r rr r rr r r rrr rr rr r rr r r r r r rr r rr rr r rrr r r rrr r r r qqqqq qq qqqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq
r r rr rr rrr rr rrr rr r rrr rrr rr rrrrrrrr r rr rr r r rr rr r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rrr r rrrrr r rr rr rrr r rrr rr rrr r rrr rr r rr rr rr r rr r rrrrr rr
r r r rrr rr r rr r rr r rr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rr rr rrr r rr rrr rr rr r
r rr rrrr r r rr r r rrr rr r r rrr r rrr rr r rr r r r r r rrr r rr rr r rrr r r rrr r r r qqqqq qq qqqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r rr rr r r rr rrr r rr r rr rrr r r r rr rr r rr rrrr r r r rr rr r r r rr rrr rr
r rr rrrr r r rrr r r rrr r rrrrrrr ; rr r r rrr r rrr
rr r rr r r r r r rrr r rr rr r rrr r r rrr r r r qqqqq qq qqqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r rrr rrr r r rr
qqq r rr rrr r r r rr rr
r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r r
r r r rrr rr r rr r rrr r rrr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rr r r
r r r rrr rr r rr r rrr r rrr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r rr rrr r rr rr r rrr rr
r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr rrr rr r r rr
r rr rrr r rrrr rr r rrrr r r r rrr rr r rr r rr r rr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq qqqq qq q
q r r r r rr r r r rrrrr r
rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrrrr rr rr rr r r r r r r r r r r rr r r rrrr rrrr r rr rr rrrr r r rrrrr r rrrr rrrr
q rr r r rrr r r r r
r rr r rrr rr rr rrr rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rrrr rrrr rr r rr rr r rr rrrr r rrrr r r r rr r rrr r r rrrr rrrr rr rr r rrr r r
q r rrr rr rr rr r r r rr rr rr r r rr
rr rrr rr rr rr rrrrr rr rrr rr rr rr rr rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr rr rr rrr rr r rrr r rrr r rr rrr rr r r rrrrr rr rr rr r rrrr r r rr rr rrrrr r r r rr rr r r r rr r r r rr r r r r r rrr rr
r r rrr rrr rr rrr
r rr rrr r rrrr rrrr rrrrrr r r rr rrr rrrrrr r rr rrr r r rr rrr r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rrr rrrrr r rr r r rr r rrr rrrrr
r rr rr r rr r r r r rr rrrrr r rr r rrrr r
rr rrrr rrrrr r rrrrrrrr rrrrrrrrrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q rr rr r rrrrr rr rrr rr rrr rrr rr rrr rrr r r
rr r rr rrr rrr rrrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr rr r r r rr rr r r rr r rrr rr rrr r rr r r rrr r r r rr rrr r r r r r r r r rrrr r rrr r r r rr r rr rr rrr rr
q r rr rr rrrr
r r rrr rrr rrr r rr r r r rrr rrrr rr rrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr rrr r r rr
q rr rr r rr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr
q rr rr rr rr rr rrr r r rrr rrr r rr r r r rr
rrrrr r rrr rr rrrrr r rrr rrrr rr r rrr rrr rrr rr rrrrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq
qqqqqqqqqq q qqqqqq rr r r rr
q rrrr rr rr
rrrr r rr rr rr rrr r rr rrr r r r r rr rr rr rrr rr rr rr rrrrr rrrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq rr rr r r rrr rrr rrr r r rr r rr rrr rr
r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rrrr rr rr r r r rr rr rrrr rr
qq rr rr rrr rr r rr rr r r rrrr rrr rrrr rrrrrrrrr r rr rrrrr r rr r rrrr rrr rrrr r r rr r r rrr r rrr rr rr rr rrr r rrr r rrrr rrr r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rrr rrrr
qq r rr rrrr r rr rr r rr rr rr rr rr rrr rr rrrr rr rr rr r
rrr rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rr r rr r r r rr rr rr rrr rrr rrr rr r rr rr rrr r rrr rr r rr rrrr rr r rrr r rr r r rr rr r r rr r rr rr r rr r rr r r rr rr
q r rr rr r rrrr rr r rr rr rr rr r
rrrr r r rrr rr rr rr r rr r rrrr rrrrr rrr r r rrr r r r rrr
rr r r rrrr rrr rrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q rrr r rrr r rrr r rrr rr rr r rrr rrrr rr r rrr rr rr r rrr rr rrr rr rrrr rrrr rr
r rr rrrrr rrr rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r rr rr rr rr
rr r rr rrrrr r rr r rrr r rr rrrrr r r rrrr rr rr rr rr r rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rrr rr rr rrr rrr rr r rrr
r rrr rrr rrrr rrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rrr rrr r rrr rrr rrr rrr rrr r rr r rr r rrrr rr r rr r rr rr rr rrrr r r rrr rrr rrr rr rrr r rr
qq r rrr r r rr rr
rr r rrr r rr r r rrrr rr rrr r r rr r rrr r rrrr rrr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rrrr r r
r rr r r r rr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rrrr r r
r rrr rrr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rrr r rrr r r rr rrr
r rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r
qq r rr rr rrr r r rr rr r rrr rrr rrrrr rrr rr rrrrr r rr
r r r rr
rr r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr r rr rrr
qq rr rr rr rr rrr r r r r rr rrr rr rrr rrr r r
r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rr r r r r rr
q r rrr rrr
r rr rr rr r rr rrr r rrrrr r rrr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r r rr rrr r r rr rr r
q r rr r r r rr rrr r r r rrrrrr rrr rr r rr r rr rrr rr r rr r rrr r r rr
rrr rr rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rrr rr r rrrrrr r rr
r r rrrr r rrrrrr rrrrrr r rrrrrr r rr rrrrr rr r r rrrr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rrrr r rr rrrrrr r r
rr rr r rr r rrrrrr rrr r rrr r rr rr r rrrrrr rr rr r rr r rrrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr rr r rrr rr rrrrrr rr r
rr rrrrrr r rr rr rr r rrrrrr rr rr rr rr rrrr r rr r rr r r rr rrrrrr r rr rrrrrr rr r rr rr r r rrrrrr rr r rr rr rrr rr r rr rr rrrrrr r rrr rr r r r rrrr r rr rr rrrrrr rr rrr r r r r r rr r rr rrr rr rrr ; rr r rr rrrr rrr rr rrr r rr r rrrr ; rrrr rr ? rr rrr r ; r ; rrrr r ? ? ?
qq rrr rr rrrr rr r rr r
rrr r rrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr r r rrr rrr rr rr r rr rr r rr rrr rr rrrrrr r rr rr rrr rrrr
qq rr rr rrr rr rr rr rrr r rr rr rrr rr rrr rrr rrr rr rrrr rr rrr r
rrr rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr r r rrr rrr rr rr r rr rr r rr rrr rr rrrrrr r rr rr
rrr rrrr rrr r rrrr rrrrrr r r r r rr rr rrr rrrr r r rr rr r rr r rrr r rrrrrr r rr r r rr r rrr rr rr rr rr rr rr r r rrr rr r r r r r rrrr r rr r
q r rr rr rrr rr rr r r rr rrr r rr rr rr r r rr r rrr rr rrr rrr rr rrrr rr rrr r
rr rrr rrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rrr r r rrr rrr r r r rrr rr rr rr r rr rr r r rrr rr rrr rr r r rr rr
qq r rr rr rrr rrr r rrr r rrrr r rr r r r r r
r rrr rr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r rrr
qq r rrrr rr rr rr rr r
r rr r rrr rrr r rr r r rr rrr r r rr r rrrr rr
qqqqqq q qq qqqqqq qqqq
qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq rr r r rrr rrrr r rrrr rrr rrr rrrrrr
rr r r r rrrrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r r rrr rr r rr rr rr r r rrr r rrrr rr rrrr r r r r r rr r rrrr rr rr rr rr rrrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rr rr rrr rrr r rrr rr rr rr rrrr rrrr rr r rrrr rrrr r r r rrrr r rr r rrr rr r r r r r rr
r rrr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr r rr rrr rr rrrr rrrr r rr rr r rr rr rrr rr rrrrr r rr rr r rrrr r r rr rrrrr rrr r rr rr r r rrrr rr
r r r rr rrrr r rrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r r rr r rr r rrrr
qq rrr rr rrrr r r r rr rr r rrrr rrrrr r r
rr r r r rrrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r rr rrr rrr rr r rr r r r rr r r r r rr r rr r r rr r rrr r rr r rrrrrr rrr r rr rrr rrrr rr
qq r r rr rr r r rr r r rr rrr
rrr r rr r rrr rr rrr rrr rrrrr rr rrr rrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr r r r r r r rrrrr rr r rrrr rr rrr rrrr rr rrr rr r r rrr rr rr rrr rr rr r r r rrr rrr r r rr rrr r r rrr r rr
qq rrr rr rrr rr rrr rr r rrr rr rr r
r rrrr r r rr r r rrrr r rrrr r r rr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r rr rrrr r rr rrrr r
r rr rr rr r rr rrr r r rrrr rr rr rr rrrr rrr rr rrrr r rr r r rr r r rrrr r
r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr
q r rr rr r r r rrr r rr r r r rr r r
r r rr r rrr rr rr rr r r r r rr
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r rr rr rr r rrr r rr rrr rr rrr rr rr rrr rrr r rr rrr r rr rrr rrr r rrrr r r r r
q r r rrrr r r rrrrr r r r rr rr r r r rrrrr rrr rrr r rrrrr rr r
rrr r rrr r rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rrrr r r rr r rr
q r rr rrr r r rr r r r rr rr r r r rrr r r r r r r rr r r r r r r r r rr r r r r r r rr
rrr rr rrrr r rrrr rr
r rrr rrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
rrrr rr r
rr rr r rr rr rrr rrr rrrr rr r rrrr rrrr rr rrrrr r
r r r rr r r r rrr rrr rrr rrr rr rr r r rrr rrrr r rr r r rrrr rrr r rr rrrr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
rr rr rrr r rr r rr r r rrrrr rr
rrrrr r r rr rr rrrrr rrr rr r r rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r r rr rrrrr
q r rr rrr rrr rrrr r rr rr rr rr r rr r rrr rrrr r rr rr rrrr rr r rr r rrr rrr rrrrr r r rr
r r r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rr r rr rrrr rr rrr
rr rrrr rr rrrrrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr rr rr rr rrrr rr rrr
q r rrrrr rr rrr r
r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr rr r rrr rr rr rr rrr r r r rrrrrr rrr r rr rr
q r r rr rr rr rr rr rr rr r rr rr rrr rr rr rrr r r r rr rrrr r rrr rr
rr rrr rr rrr rr rrr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rr rrr r rr rrr rrrrr r rr r rrrr r r rr rr r rr rrrrrr rr rrrr r r rrr
r r rrr rrrr rrr rrrrr rrrrrr r rr r rr rrrrr r
rrrrr rr rrrrrr r qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrrrr rrr rrr r rr rr rrrr rrr r r rrrrr r rrrrrr r rr rr
q rr rr rr rr r r r r rr r rr
rr r rrr r rr r r r
r r r r r r r r r
r r r r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rrrr r r
r rr r r r rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rrr rrr r rrrrr rr r rr r r rrrr r r rrrr rrrrr rrr r r rrrrr rr rr rr r rr
q r rrr r r rr rr
rrr r r rr r rr r r rrrr rr rrr r rrrr rrr rr r rr r rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r r rrrrr rr r r r r rr r rr rr rr r r r r rrr r rr r r rr r rrr r rrr r rr rrr rr rrr rrr rrr rr r rrrr rrr r r rr r r r rrr
r rr rr r rrr rrr r r r rr rr rrr r rrr rrrrr rr rrrrr r rr rrrr rrr rr rr r rr rr r rrr r rr rrrr rr r r r rr
rr r r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr r rr r rr r rr rr
r rr rr rrr rrrr r r r rrr rrrrr r rr rrrr r rrr rrrr r r rrrrr r r rr
r r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r r r rrrrr rr rrrr r r
q r rrrr r r
r rrr rrr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rr rr r r rrr r rrr r rrr r rrr r r r r rrr
rr rr rrr rr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rr rr rrr r rrr rr r rr rrr r rrr r rr r rrr r r rr rr r r r
rr rrr rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr r rr rr r
q r r rrr r r r rr r rrr r rr r r rr r r rr rrr rrr rrr
r rr rr rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr r rrr rrr
q r rr rr r r r rrr rr rr r r rr rrr r rrr rrrr
rrrrr r r rr
rrrr rr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq rrr r r r rr rrrr r r rr
rrrrrr rr r rrrr r rrrr r rrrrrrr rr r r rrrrrrr rr rrrr r r rrrr rrrrrrr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rrr rrr r r r rrrrr r r rr
rr rrr rrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr
qq r r r r rr rr rrr rr rrrrrr
r rr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q rr rrrrr r rrr r rrrr r rrrrr rrr r r r r r rr rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rr rr rr rrrr r r rr r rrr rr rr r rr rr r r r rrr rr rr r rrr rr r rr r r r rrrrr r r rr r r rr r rrr rrr rrr rr rr rr rrrr r rr rrrr r r rr rrr rrr rrr r rr rrr r
q r r rr rr
r r r rr r r rrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r rr rr rrrr r
rr r r rr rrrr rrr rr rr rr rr r rr rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rrr r rr r r rrrrr rr r r r rrrrrr rr r rrr r rr r r rrr r rrrr rr r rrrr r rr r r r r rrr rr r rrr r r rr r rr r
qq r rr rrr rrr r r rrr r r
rr rr rr r r rrr r rr rrrr r r rrr rr rrr r rrr rr r rr rrr r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rrr rr rr rr rr r r r rrr r rr rrr rr r r rrr rrr rrr rrr rr r r r rrr rrr r rr r r rrr r rrrrr r rr rr rrr rrr rr rrr r rr rrr rrr rr rrr r rr rrrr rrr r rr r r r r rr rr r rrr rrr
qq r r r rrr rrr r rr
r r r rrrr rr rrr r r r rrrr r rrr r r r rrrr r rrr r r r rrrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rrr rrr r r r rrrr rr rrr
qq rr rrrrr r rrr r rrrr r rrrrr rrr r rr rr r r r rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr r r r
q r r rr rr rr rr
rr rr rr r rrr r r rr r rrr rr r rr rrrrr r rr rrrrr r r rrrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq rr rrrrr r rrr r rrrr r rrrrr rrr rr rr rrr rrr r r r rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr r
qqqqqq q qq qqqqqq qqqq
qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr rr rrr rr rrrrrr rr rr rrrrrr
qq r rr rr r r rr r rrrrrr r r
r rrr r r r r
r rr r rrr r r rrr r qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r rr rr rr rr rr r rr rrr rr rr rrr r r r rrrr r rrr rr
rrr rrr r rrr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rr r rr rrr rr rrrr rrrr r rr rr r rr rr rrr rr rrrrr r rr rr r rrrr r r rr rrrrr rrr r rr rr r r rrrr rr
r rrrr r rrrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r r r rr r rr rrr r r rr rrrr
r r rr rrrr r r rr rrr rr rr rr r rr rrr rrrr r r r r rr r rr rrr rrr rrr r rr rrr rrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrrr rrr rrrr r rr rrr rr r r rr rrr rr r r r rr rrr rr rrr r rrr rr rrr r rrr rr rrr rr rrr r rrr rrrrr r r rr rr r rrr
qq rr rrrrr r rrr r rrrr r rrrrr rrr r rr r rr rrr rrr r rr rr rr rrr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr r rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r rr rrr rrrr rrr
rrrr r rrr
qq r rr rr rrr r rr rrr rr r rrr rrr r rr r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr r rr rrrr rr rr r r rr
r
rrrr rrrr r r rrr rrrr rrrr r rrrr rr r r rrr rr rr rr r rrr r r r
r r r r
qq rrr rr rr r r r rrr
rrrr r rrrr rrr rrrrr rrrr rr rrr r rrrrr rr rrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr r rrr r r rr rr r r r r rr rrr
r r rrr rrrrr rrrr r r r r rr rr rrr rr rr r r rr
qq r rr rr rr r rr rrr r rr rr r r
rrr rrrrr r r rr rr rrr rrrrr r rrr rr r r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r rrrrr
q rr r rr rr r
rrrr rr r rrr r rrr rrrr r rr rrr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq
rr rrrrr r rrr r rrrr r rrrrr rrr r rrr r r r r rrr rr r rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rrr r r r r rr rr rrr rrrr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr r r r r rrr rr r rr rrr r r
qq r rr rr rrr r rrr rr rr rrrr r rr r rr rrrr r
rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r r r r r rrr r r r r rr r rr r r rr r rrr rr r r rr r
qq rr r rrr r r rrr rr r rrr
rr r r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
rrr r r rrr r r r rr r r
q r r rrr rr r r r rrr rrr r rrrr r r rrr rr rrr rrrr rrrr r rrr r r rrr
rr rrrrrr rrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr r r r rrr rrr r rrrr rrr rr rrr rrrr rrrr
q rr rrrrr r rrr r rrrr r rrrrr rrr rrrr rr r r rr rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr r rr rrrrrrrr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr rr r r r rr rr
qq r r rrrr rr rr rr rrrr rr r r r r rr r
rrr rrr rrr r rrr rrrrrrr rrrrrrrrr r rrr rrr rrrrrr r rrr rrrrrrr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
rrr rrr rrr rrr r rr r r r r rr r rr rr r r rrr rr rrr rrr rrr rrr r r rrrr rrrr rr
qq r rr rrr rr rrrrr r rr rr r rrr r r rr rrr r rr rrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rr rr rr rrr r rrr rrr rr rrrrr rrrr rr r r rrrr r rr r r rrrr r rr rr rrrrr r r rr r r rrrrr r rrrrrr rrrrr rrr rr rrrr rr r r r rrrr rrr rr rrrr rrrrrr rrrrrrr rrrr rrrr r rrr rrr
qq r rr rr rr rr rrrrrr rrr rr rrr r rr rr r r rrr rr rrr r r rr rr r rr
r r
rrr r rrr rr rrr rr rrr r r rrr rr r r rrr rr rrrrr rr r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq rr rrrrr r rrr r rrrr r rrrrr rrr rr r rr r rrr rr rrrrr rr r r rrrr r r rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr r rr rrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r rr r rrr rr rrrrr rr r r rrrr r r r
q rrrr rr rrrr r r r r r
r O r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrrr r r r rr rr rr r r rrr rr r rr r r r r r rrrr r rrr
qq rr rrrrr r rrr r rrrr r rrrrr rrr rrr rr rrr rr rr r r r rrrr rrr rr rr
r rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rrrr r rrrr r r rr rr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr rrr rr rr r rrrr r rrr rr rr r
qq r rr rrr rrrrrr rr r r r r rr rr rrr r
rr r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrrrrr r rr rrr rrr rrr rr r r rr r r rr rr rr rrr r rr rrr r
qq rr rrrrr r rrr r rrrr r rrrrr rrr r r r r rr rr rrr rrrr rrrr r rr rr rrr r rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr rr rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rr r r r r rr r rr rr r rr rrr r r rr rr rrr r rrrrr rr r rr r
r r r r rr rr rrrrr rr rr rrrr r rrr rr rr r r rrr rr r r r r rrr r
q rr rrrrr r rrr r rrrr r rrrrr rrr rrr r rr rr rr r r rr r rrrr r r r r r rr r r r rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr r rr r r rr r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q r rr r r
r rr rrr r r r rrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rrrr r rr r r rr rrr
rrr r r rr rrr r r rr rrr r r r rrr rrrrr rrr r rrr r rrr rrr r r
qq rr r rr rr rr
rrrrrr r r rr r rr r r rr rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr rr r r r rrrr rrr rr rr rrr rrr r r rrr rr r r r rrrr r r r r rrr
qq r rrr rr r rrrrrr r rr
r r rrrr
r rr rrrrr rr r r rrrr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r rrr
r rr rrrr rrrr r rr r rr r rrr rr r r rr
rr r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r ; ? rrrr rrrr r r rrrr rr r rr r rrr r rrr rrr r r rr rr rr rrrr rr rrrrr r rr r r
qq r rr r rr r rr r r rrr rr r r r r rrr rr r r rr rrr rrr rrrrr rrr r rr r r rr
rr rr rr rrr rrr rr rrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
q rr rrrrr r rrr r rrrr r rrrrr rrr r rrrrr r rr r rr r rr rr rr r rr rr r rr r r rrr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rrrr rrr rr
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr r r rr rrr r r r
rr rrr r r r r rrr rrr rr r r r rrr rrr r r r r r r rrr rr r r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr r r r r r rr r r r r r rr r rr r r rrrr rrr r r r rr r rr rrr r r rr rrr r r
qq r rr rr rrr rrr rr rr rr r rrr rr rr rr r r rrr rr r rr r rr rr r rrr rr rr rr r rr rr r rrr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq rr rrrrr r rrr r rrrr r rrrrr rrr rr r rrrr rr r rrr r rr rr r r rr rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr r rr r rr rr r r r rr rr r rrrr rr r r rrr r rrr r
q r r rr rr r r rrr rrr r r rrrr rr r rrr r r rr rr r r rr rrr r rrr r r rr
r r rr rrr rrr r r rr rrr r rrr r r rr rrr rrr r r rr rrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r rr rr rrr r rr rrr rrr rrr r rrrrr r rr rr
q rrr rr rr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rrrr
rrr
qq r rr r r
r rr r rrr rr rr qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r rr rr r r r r rr rrrr rr r rr r r rr r rr rr r r rrr rr r r rr r rr rr r r rrr rr rrr rr rrrr rr rrr r
rrr rrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
rrr r rrrrrr r r r rr rrr rrrr rr rr rrr rrr rrr r rr r r r rr rr rr rrr r rr rrr rr rr r r rr rrrrr r r rr r rr r rr rrr r rr r rr rr r r r r rr rrrr rr rr rrr r rrrr rr rr r rr rr r rrrr rr rr r r r r rr r r r rr rr r r rr r rrrr r rr rr r rr rrr r r rr rr rr rrr rr r rr rr rrrr
qq rr rrrrr r rrr r rrrr r rrrrr rrr rr rr r rrrrrr r rr r r rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr rr r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr rr r O rrrrr r r rr r rrr r rrrrr r rr r
qq rrr r
rrr r rrr rrr rr rrr rr rrr rrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrr rr rrr rr r rrr rr r r r rr
qq r r rrr rr rr r rrrrr r r rr rrrr rrr rrr rr rrrrr r r rr r rrrr rrr r r r r r r rr r
r rrrr r r r r r r r r r r r r rrrr r r qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr rr r rrr r r rr rr rrrr r r rr rrr rrrr r rr rr rr rr rr rrrr r rr rr r rr rr rrrr r r rr rrr r r rr r rrrr r rrrr
qqq r rrr r rr r r rr rrr rrr rr r rrr r rr r r r rrr rr rrrrr rrr rrrrrrr r rrrr rrr r rr rr rr rrr rr rr rr rr r r r r rrr r rrrr r rr rrrr rr r rr rrrr r rr r r r r rr r rrrr
rr r rr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r rrrr rr r rr r rr rrr rr rr rrr r r rr r r rr rr r r r rrr r r rr r r rr rrr rrrr r r rr r r rrrr rr rrr
qqq rrr rr rr rrr rr r rrr
rrrr r rr rr rrrrr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r r r r rr rrrr rr rr rr rrrr r rrr rr rrrr r rr
rrr rr rrr r rrr r rr r rr rr rr rr r r rr r rr r rr r rr rrr r r r rr rrr r r rr rrr rr rrr rrr rr
qqq rr rrrrr r rrr r rrrr r rrrrr rrr r rr rrr rr rr r rr r rr rrrr r rrr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr rrrr rrrr r rrr rr rr rrrr rr rr rr rr rr rrrr rrrr r rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq rr rrrrr r rrr r rrrr r rrrrr rrr r rr rrr rr rr rrr rr r rrrr r r r r rrrr rr r r r r rr r r r rrr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rrrr rrr rr rrrr rrr rr rr rrrrrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr r rrr rrr r r r r rrr rr rr rrrrr r rrrr rr rrr rr rrr r r rrr rr rr r rrrr rrrr r r rrr r rrrr rrr rr r r rr rrr rrrr r rr r r r r r
qq r r r r rr r rr rr rr rr rr r rrr r rrrr r r rrrr r r rr
r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rrr rr r r r rr rrrr r rrrr rr r rrrr rr rr r r r r r rrr r r r rrr r rrrrr r rrr r rr r rr r rr r r rr r rrr rr rrr r r rr rr r r r rrr r rrrr rr r rrrr r r rrr r r r rrr r r r rrr r rr r r r rrr rrr r r r rr rr r r r r rr r rrrr rrr r r rr rrrr r rrrr r rrrr r r rr r r r r
qqq rr rrrrr r rrr r rrrr r rrrrr rrr r rr rrr rr O r r r rr rrr rrr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rr r rr rr rr rrr rr rrr rr r rr r rr rrrr rr r r r rrr r r r rr rrr rr rr rrrrr r rrr rr r rrrr r r r rr rrrrr rrr r rr rr r rr rr rr rrrr rrrr r r r rr rrrr r rr rr rrr rr rr r r rr rr rr rr r r r rrr r rrr r rr r
qqq rr rrrrr r rrr r rrrr r rrrrr rrr r rrrr r rrrrr rr r rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr rr rrrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r rr rrr r r rr r r r rr rr r r r r rrr r r r r r r rr r r r r r r r r rr r r r r r r rr
rrr rr rrrr r rr rrrr rrrr rrr
r r rr rr r r r r r rr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr r r rrr
qqq rr rrrrr r rrr r rrrr r rrrrr rrr
rrr rrrrr rrr r rr rr rr r rrr rr r rrrr r r rr r rrr rrr rr r r rrr r rrrr r rr r rrr rrr
r r rrr rr rrr
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rr rr rrr rr rr rr rrr r rr rrr r rr r rrrrrr r rr r r rr r r rrrrrr rr r r r r rr r rr r rr rr rrr rr r r r r rr rrr r rr rrrrrr r rr
r rrrr r r
qqqqqq q qq qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq rrrr rr r rrr rr rr r rrr rr rr rrr r rr r r r rr rr r rr r rr rr r rr
qqq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r rr rr rr rrr r rr rrr rr rr r
r r rr r
r rr rrrr r r rr r r rrr rr r r rrr r rrr rr r rr r r r r r rrr r rr rr r rrr r r rrr r r r qqqqq qq qqqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r rr rrr r rrrrr r rr rr rrr r rrr rr rrr r rrr rr r rr rr rr r rr r rrrrr rr
r r r rrr rr r rr r rr r rr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r r r
r r r rrr rr r rr r rrr r rrr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rrr r r r rr rr
r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r rr rr r r rr rrr r rr r rr rrr r r r rr rr r rr rrrr r r r rr rr r r r rr rrr rr
r rr rrrr r r rrr r r rrr r rrrrrrr rr r r rrr r rrr rr r rr r r r r r rrr r rr rr r rrr r r rrr r r r qqqqq qq qqqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq r rr qqq qqqqqqq r qqqqq rrr r r rr rrr rrr rrrrr r r r rrr rrrrr rr rrrrr r rr rr rrrrr r r
qqq r rr rr rr rr r rrrr
r r r rrr rr r rr r rrr r rrr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r rr rr rr r rrr rr r rr r r r
r r rr r rrr r rr r r r r rr rr r rrr
r rr rrrr r r r rr rr r rr r rr r r rrr rr rr r rr r r r r r rr r rr rr r rrr r r rrr r r r qqqqq qq qqqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r rr rr rrr rr rrr rr r rrr rrr rr rrrrrrrr r rr rr r r rr rr r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rr rr r rr rrr r r r r r rr
r r r rrr rr r rr r rrr r rrr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rr r r
r r r rrr rr r rr r rrr r rrr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r rr rrr r rr rr r rrr rr
r r r rrr rr r r rrr rrr rrr rr r rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr rrr rr r r rr
r rr rrr r rrrr rr r rrrr r r r rrr rr r rr r rr r rr rrr rr r r
qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
qqq r r r rrr rr r r rrr rrr rrr rr r rrr rr r r qq qqq
qqqqqq q
qq
qqqqqq qqqq qqqqqqqqqq qqqqqqqqqq q qqqqqq
98-361.examcollection.premium.exam.276q Number: 98-361 Passing Score: 800 Time Limit: 120 min File Version: 18.0
Exam code: 98-361 Exam name: Software Development Fundamentals Version 18.0
Question Set 1 QUESTION 1 You are creating an application for computers that run Windows XP or later. This application must run after the computer starts. The user must not be aware that the application is running. The application performs tasks that require permissions that the logged-in user does not have. Which type of application allows this behavior? A. B. C. D.
Windows Service application Windows Forms application DOS batch file Terminate-and-stay-resident (TSR) program
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 2 An application presents the user with a graphical interface. The interface includes buttons that the user clicks to perform tasks. Each time the user clicks a button, a method is called that corresponds to that button. Which term is used to describe this programming model? A. B. C. D.
Functional Service oriented Structured Event driven
Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 3 How does a console-based application differ from a Windows Forms application? A. B. C. D.
Console-based applications require the XNA Framework to run. Windows Forms applications do not provide a method for user input. Windows Forms applications can access network resources. Console-based applications do not display a graphical interface.
Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 4 Which type of Windows application presents a parent window that contains child windows? A. Application programming interface (API)
B. Single-document interface (SDI) C. Multiple-document interface (MDI) D. Command-line interface (CLI) Correct Answer: C Section: [none] Explanation Explanation/Reference: A multiple document interface (MDI) is a graphical user interface in which multiple windows reside under a single parent window. Such systems often allow child windows to embed other windows inside them as well, creating complex nested hierarchies. This contrasts with single document interfaces (SDI) where all windows are independent of each other. QUESTION 5 The purpose of a constructor in a class is to: A. B. C. D.
Initialize an object of that class. Release the resources that the class holds. Create a value type. Inherit from the base class.
Correct Answer: A Section: [none] Explanation Explanation/Reference: Each value type has an implicit default constructor that initializes the default value of that type. QUESTION 6 A class named Manager is derived from a parent class named Employee. The Manager class includes characteristics that are unique to managers. Which term is used to describe this object-oriented concept? A. B. C. D.
Encapsulation Data modeling Inheritance Data hiding
Correct Answer: C Section: [none] Explanation Explanation/Reference: Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors. Incorrect: not A: Encapsulation is sometimes referred to as the first pillar or principle of object-oriented programming. According to the principle of encapsulation, a class or struct can specify how accessible each of its members is to code outside of the class or struct. Methods and variables that are not intended to be used from outside of the class or assembly can be hidden to limit the potential for coding errors or malicious exploits. QUESTION 7 Which term is used to describe a class that inherits functionality from an existing class? A. Base class B. Inherited class C. Derived class
D. Superclass Correct Answer: C Section: [none] Explanation Explanation/Reference: Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors. QUESTION 8 Two classes named Circle and Square inherit from the Shape class. Circle and Square both inherit Area from the Shape class, but each computes Area differently. Which term is used to describe this object-oriented concept? A. B. C. D.
polymorphism encapsulation superclassing overloading
Correct Answer: A Section: [none] Explanation Explanation/Reference: You can use polymorphism to in two basic steps: Create a class hierarchy in which each specific shape class derives from a common base class. Use a virtual method to invoke the appropriate method on any derived class through a single call to the base class method. QUESTION 9 You create an object of type ANumber. The class is defined as follows.
What is the value of _number after the code is executed? A. B. C. D.
Null 0 3 7
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 10 You need to allow a consumer of a class to modify a private data member. What should you do? A. B. C. D.
Assign a value directly to the data member. Provide a private function that assigns a value to the data member. Provide a public function that assigns a value to the data member. Create global variables in the class.
Correct Answer: C Section: [none] Explanation Explanation/Reference: In this example (see below), the Employee class contains two private data members, name and salary. As private members, they cannot be accessed except by member methods. Public methods named GetName and Salary are added to allow controlled access to the private members. The name member is accessed by way of a public method, and the salary member is accessed by way of a public read-only property. Note: The private keyword is a member access modifier. Private access is the least permissive access level. Private members are accessible only within the body of the class or the struct in which they are declared Example: class Employee2 { private string name = "FirstName, LastName"; private double salary = 100.0; public string GetName() { return name; } public double Salary { get { return salary; } } } QUESTION 11 You are designing a class for an application. You need to restrict the availability of the member variable accessCount to the base class and to any classes that are derived from the base class. Which access modifier should you use? A. B. C. D.
Internal Protected Private Public
Correct Answer: C Section: [none]
Explanation Explanation/Reference: QUESTION 12 You are creating an application that presents users with a graphical interface in which they can enter data. The application must run on computers that do not have network connectivity. Which type of application should you choose? A. B. C. D.
Console-based Windows Forms Windows Service ClickOnce
Correct Answer: B Section: [none] Explanation Explanation/Reference: Use Windows Forms when a GUI is needed. QUESTION 13 You are creating an application that presents users with a graphical interface. Users will run this application from remote computers. Some of the remote computers do not have the . NET Framework installed. Users do not have permissions to install software. Which type of application should you choose? A. B. C. D.
Windows Forms Windows Service ASP. NET Console-based
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 14 The elements of an array must be accessed by: A. B. C. D.
Calling the item that was most recently inserted into the array. Calling the last item in the memory array. Using an integer index. Using a first-in, last-out (FILO) process.
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 15 Simulating the final design of an application in order to ensure that the development is progressing as expected is referred to as:
A. B. C. D.
Analyzing requirements Prototyping Software testing Flowcharting
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 16 You have a stack that contains integer values. The values are pushed onto the stack in the following order: 2,4,6,8. The following sequence of operations is executed: Pop Push 3 Pop Push 4 Push 6 Push 7 Pop Pop Pop What is the value of the top element after these operations are executed? A. B. C. D.
2 3 6 7
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 17 What are two methods that can be used to evaluate the condition of a loop at the start of each iteration? (Each correct answer presents a complete solution. Choose two. ) A. B. C. D.
If Do. . . While For While
Correct Answer: CD Section: [none] Explanation Explanation/Reference: For and While constructs check at the start of each iteration. QUESTION 18 You need to evaluate the following expression:
(A>B) AND (C
0 4 5 False Null True
Correct Answer: D Section: [none] Explanation Explanation/Reference: A>B is false. QUESTION 19 You are creating a variable for an application. You need to store data that has the following characteristics in this variable: Consists of numbers and characters Includes numbers that have decimal points Which data type should you use? A. B. C. D.
String Float Char Decimal
Correct Answer: A Section: [none] Explanation Explanation/Reference: Need a string to store characters. QUESTION 20 You execute the following code.
What will the variable result be? A. B. C. D.
0 1 2 3
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 21 The purpose of the Catch section in an exception handler is to: A. B. C. D.
Break out of the error handler. Conclude the execution of the application. Execute code only when an exception is thrown. Execute code regardless of whether an exception is thrown.
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 22 You execute the following code.
How many times will the word Hello be printed? A. B. C. D.
5 6 10 12
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 23 In the life cycle of an ASP. NET Web page, which phase follows the SaveStateComplete phase? A. B. C. D.
PostBack Postlnit Load Render
Correct Answer: D Section: [none] Explanation Explanation/Reference: The SaveStateComplete event is raised after the view state and control state of the page and controls on the page are saved to the persistence medium. This is the last event raised before the page is rendered to the requesting browser. QUESTION 24 You are creating an ASP. NET Web application. Which line of code should you use to require a control to process on the computer that hosts the application? A. B. C. D.
defaultRedirect="ServerPage. htm" redirect="HostPage. htm" AutoEvencWireup="true" runat="server"
Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 25 In this XHTML code sample, what will cause an error?
A. B. C. D.
All tags are not in uppercase. The body tag is missing a background attribute. The line break tag is incorrectly formatted. The HTML tags do not read XHTML.
Correct Answer: C Section: [none] Explanation Explanation/Reference: In XHTML, the
tag must be properly closed, like this:
. QUESTION 26 You create an application that uses Simple Object Access Protocol (SOAP). Which technology provides information about the application's functionality to other applications? A. B. C. D.
Web Service Description Language (WSDL) Extensible Application Markup Language (XAML) Common Intermediate Language (CIL) Universal Description, Discovery, and Integration (UDDI)
Correct Answer: A Section: [none] Explanation Explanation/Reference: WSDL is often used in combination with SOAP and an XML Schema to provide Web services over the Internet. A client program connecting to a Web service can read the WSDL file to determine what operations are available on the server. Any special datatypes used are embedded in the WSDL file in the form of XML Schema. The client can then use SOAP to actually call one of the operations listed in the WSDL file using for example XML over HTTP. QUESTION 27 Which language allows you to dynamically create content on the client side? A. B. C. D.
Extensible Markup Language (XML) Cascading Style Sheets (CSS) Hypertext Markup Language (HTML) JavaScript (JS)
Correct Answer: D Section: [none] Explanation Explanation/Reference: JavaScript (JS) is a dynamic computer programming language. It is most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser,
communicate asynchronously, and alter the document content that is displayed. QUESTION 28 How should you configure an application to consume a Web service? A. B. C. D.
Add the Web service to the development computer. Add a reference to the Web service in the application. Add a reference to the application in the Web service. Add the Web service code to the application.
Correct Answer: B Section: [none] Explanation Explanation/Reference: Start by adding a Service Reference to the project. Right-click the ConsoleApplication1 project and choose "Add Service Reference": QUESTION 29 What are two possible options for representing a Web application within Internet Information Services (IIS)? (Each correct answer presents a complete solution. Choose two. ) A. B. C. D. E.
Web site Web directory Virtual directory Application server Application directory
Correct Answer: AC Section: [none] Explanation Explanation/Reference: * Create a Web Application An application is a grouping of content at the root level of a Web site or a grouping of content in a separate folder under the Web site's root directory. When you add an application in IIS 7, you designate a directory as the application root, or starting point, for the application and then specify properties specific to that particular application, such as the application pool that the application will run in. * You can make an Existing Virtual Directory a Web Application. QUESTION 30 Which language uses Data Definition Language (DDL) and Data Manipulation Language (DML)? A. B. C. D.
SQL C++ Pascal Java
Correct Answer: A Section: [none] Explanation Explanation/Reference: SQL uses DDL and DML. QUESTION 31 A table named Student has columns named ID, Name, and Age. An index has been created on the ID column. What advantage does this index provide? A. It reorders the records alphabetically.
B. It speeds up query execution. C. It minimizes storage requirements. D. It reorders the records numerically. Correct Answer: B Section: [none] Explanation Explanation/Reference: Faster to access an index table. QUESTION 32 Which language was designed for the primary purpose of querying data, modifying data, and managing databases in a Relational Database Management System? A. B. C. D.
Java SQL C++ Visual Basic
Correct Answer: B Section: [none] Explanation Explanation/Reference: SQL is a special-purpose programming language designed for managing data held in a relational database management system (RDBMS). QUESTION 33 You need to ensure the data integrity of a database by resolving insertion, update, and deletion anomalies. Which term is used to describe this process in relational database design? A. B. C. D.
Isolation Normalization Integration Resolution
Correct Answer: B Section: [none] Explanation Explanation/Reference: Database normalization is the process of organizing the fields and tables of a relational database to minimize redundancy. Normalization usually involves dividing large tables into smaller (and less redundant) tables and defining relationships between them. The objective is to isolate data so that additions, deletions, and modifications of a field can be made in just one table and then propagated through the rest of the database using the defined relationships. QUESTION 34 In your student directory database, the Students table contains the following fields: firstName lastName emailAddress telephoneNumtoer You need to retrieve the data from the firstName, lastName, and emailAddress fields for all students listed in the directory. The results must be in alphabetical order according to lastName and then firstName. Which statement should you use?
A. B. C. D.
Option A Option B Option C Option D
Correct Answer: A Section: [none] Explanation Explanation/Reference: to sort use: ORDER BY LastName, FirstName QUESTION 35 A data warehouse database is designed to: A. B. C. D.
Enable business decisions by collecting, consolidating, and organizing data. Support a large number of concurrent users. Support real-time business operations. Require validation of incoming data during real-time business transactions.
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 36 You are creating an application that presents the user with a Windows Form. You need to configure the application to display a message box to confirm that the user wants to close the form. Which event should you handle? A. B. C. D.
Deactivate Leave FormClosed FormClosing
Correct Answer: D Section: [none] Explanation Explanation/Reference: The Closing event occurs as the form is being closed. QUESTION 37 Which type of application has the following characteristics when it is installed? Runs continuously in the background by default when the startup type is set to automatic Presents no user interface A. B. C. D.
Windows Service Windows Forms Console-based Batch file
Correct Answer: A Section: [none] Explanation Explanation/Reference: A Windows service runs in the background and has no interface. QUESTION 38 You are creating an application that accepts input and displays a response to the user. You cannot create a graphical interface for this application. Which type of application should you create? A. B. C. D.
Windows Forms Windows Service Web-based Console-based
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 39 You need to create an application that processes data on a last-in, first-out (LIFO) basis. Which data structure should you use? A. B. C. D.
Queue Tree Stack Array
Correct Answer: C Section: [none] Explanation Explanation/Reference: A stack implements LIFO. QUESTION 40
You are creating an application for a help desk center. Calls must be handled in the same order in which they were received. Which data structure should you use? A. B. C. D.
Binary tree Stack Hashtable Queue
Correct Answer: D Section: [none] Explanation Explanation/Reference: A queue keeps the order of the items. QUESTION 41 In the application life cycle, the revision of an application after it has been deployed is referred to as: A. B. C. D.
Unit testing Integration Maintenance Monitoring
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 42 In which order do the typical phases of the Software Development Life Cycle occur? A. B. C. D.
Development, design, requirements gathering, and testing Design, requirements gathering, development, and testing Design, development, requirements gathering, and testing Requirements gathering, design, development, and testing
Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 43 You execute the following code.
What will the variable result be? A. B. C. D.
1 2 3 4
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 44 You execute the following code.
How many times will the word Hello be printed? A. 49 B. 50
C. 51 D. 100 Correct Answer: B Section: [none] Explanation Explanation/Reference: The % operator computes the remainder after dividing its first operand by its second. All numeric types have predefined remainder operators. In this case the reminder will be nonzero 50 times (for i with values 1, 3, 5,..,99). QUESTION 45 You are creating a routine that will perform calculations by using a repetition structure. You need to ensure that the entire loop executes at least once. Which looping structure should you use? A. B. C. D.
For While Do,,While For. ,,Each
Correct Answer: C Section: [none] Explanation Explanation/Reference: In a Do..While loop the test is at the end of the structure, so it will be executed at least once. QUESTION 46 The purpose of the Finally section in an exception handler is to: A. B. C. D.
Execute code regardless of whether an exception is thrown. Conclude the execution of the application. Execute code only when an exception is thrown. Break out of the error handler.
Correct Answer: A Section: [none] Explanation Explanation/Reference: By using a finally block, you can clean up any resources that are allocated in a try block, and you can run code even if an exception occurs in the try block. Typically, the statements of a finally block run when control leaves a try statement. The transfer of control can occur as a result of normal execution, of execution of a break, continue, goto, or return statement, or of propagation of an exception out of the try statement. QUESTION 47 You are creating the necessary variables for an application. The data you will store in these variables has the following characteristics: Consists of numbers Includes numbers that have decimal points Requires more than seven digits of precision You need to use a data type that will minimize the amount of memory that is used. Which data type should you use? A. decimal
B. double C. byte D. float Correct Answer: B Section: [none] Explanation Explanation/Reference: The double keyword signifies a simple type that stores 64-bit floating-point values. Precision: 15-16 digits Incorrect: Not D: The float keyword signifies a simple type that stores 32-bit floating-point values. Precision: 7 digits QUESTION 48 Your database administrators will not allow you to write SQL code in your application. How should you retrieve data in your application? A. B. C. D.
Script a SELECT statement to a file. Query a database view. Call a stored procedure. Reference an index in the database.
Correct Answer: C Section: [none] Explanation Explanation/Reference: The SQL will only be inside the stored procedure. QUESTION 49 You are reviewing a design for a database. A portion of this design is shown in the exhibits. Note that you may choose either the Crow's Foot Notation or Chen Notation version of the design. (To view the Crow's Foot Notation, click the Exhibit A button. To view the Chen Notation, click the Exhibit B button. )
Which term is used to describe the Customer component? A. B. C. D.
Field Attribute Property Entity
Correct Answer: D Section: [none] Explanation
Explanation/Reference: Customer is a table (entity). QUESTION 50 You have a server that limits the number of data connections. What should you use to optimize connectivity when the number of users exceeds the number of available connections? A. B. C. D.
Connection timeouts Named pipes Normalization Connection pooling
Correct Answer: D Section: [none] Explanation Explanation/Reference: In software engineering, a connection pool is a cache of database connections maintained so that the connections can be reused when future requests to the database are required. QUESTION 51 Your application must pull data from a database that resides on a separate server. Which action must you perform before your application can retrieve the data? A. B. C. D.
Configure the network routers to allow database connections. Install the database on each client computer. Create a routine that bypasses firewalls by using Windows Management Instrumentation (WMI). Establish a connection to the database by using the appropriate data provider.
Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 52 You have a class named Truck that inherits from a base class named Vehicle. The Vehicle class includes a protected method named brake (). How should you call the Truck class implementation of the brake () method? A. B. C. D.
Vehicle. brake (); This. brake (); MyBase. brake(); Truck. brake ();
Correct Answer: C Section: [none] Explanation Explanation/Reference: The MyBase keyword behaves like an object variable referring to the base class of the current instance of a class.MyBase is commonly used to access base class members that are overridden or shadowed in a derived class. QUESTION 53
Which of the following must exist to inherit attributes from a particular class? A. B. C. D.
Public properties A has-a relationship An is-a relationship Static members
Correct Answer: A Section: [none] Explanation Explanation/Reference: There must be some public properties that can be inherited. QUESTION 54 Which type of function can a derived class override? A. B. C. D.
a non-virtual public member function a private virtual function a protected virtual member function a static function
Correct Answer: C Section: [none] Explanation Explanation/Reference: You can override virtual functions defined in a base class from the Visual Studio. The override modifier is required to extend or modify the abstract or virtual implementation of an inherited method, property, indexer, or event. QUESTION 55 Class C and Class D inherit from Class B. Class B inherits from Class A. The classes have the methods shown in the following table.
All methods have a protected scope. Which methods does Class C have access to? A. B. C. D. E. F.
only m3, m4 only m2, m3 only ml, m3 m1, m3, m3 m2, m3, m4 m1, m2, m3
Correct Answer: F Section: [none] Explanation Explanation/Reference:
QUESTION 56 You need to create a property in a class. Consumers of the class must be able to read the values of the property. Consumers of the class must be prevented from writing values to the property. Which property procedure should you include? A. B. C. D.
Return Get Set Let
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 57 How many parameters can a default constructor have? A. B. C. D.
0 1 2 3 or more
Correct Answer: A Section: [none] Explanation Explanation/Reference: If a class contains no instance constructor declarations, a default instance constructor is automatically provided. That default constructor simply invokes the parameterless constructor of the direct base class. QUESTION 58 Which function does Simple Object Access Protocol (SOAP) provide when using Web services? A. B. C. D.
directory of registered Web services communications protocol security model model for describing Web services
Correct Answer: B Section: [none] Explanation Explanation/Reference: SOAP, originally defined as Simple Object Access Protocol, is a protocol specification for exchanging structured information in the implementation of web services in computer networks. It relies on XML Information Set for its message format, and usually relies on other application layer protocols, most notably Hypertext Transfer Protocol (HTTP) or Simple Mail Transfer Protocol (SMTP), for message negotiation and transmission. QUESTION 59 Which term is used to describe small units of text that are stored on a client computer and retrieved to maintain state? A. trace
B. cookie C. server transfer D. cross-page post Correct Answer: B Section: [none] Explanation Explanation/Reference: HTTP is a stateless protocol. This means that user data is not persisted from one Web page to the next in a Web site. One way to maintain state is through the use of cookies. Cookies store a set of user specific information, such as a reference identifier for a database record that holds customer information. QUESTION 60 You are creating a Web application. The application will be consumed by client computers that run a variety of Web browsers. Which term is used to describe the process of making the application available for client computers to access? A. B. C. D.
Casting Deploying Hosting Virtualization
Correct Answer: C Section: [none] Explanation Explanation/Reference: You host web applications. QUESTION 61 You are writing a Web application that processes room reservation requests. You need to verify that the room that a guest has selected is not already reserved by another guest. Which type of programming should you use to determine whether the room is still available when the request is made? A. B. C. D.
client-side server-side multithreaded batch processing
Correct Answer: B Section: [none] Explanation Explanation/Reference: For room availability we need to check a database located on a server. QUESTION 62 You need to group all the style settings into a separate file that can be applied to all the pages in a Web application. What should you do? A. Use a Cascading Style Sheet (CSS). B. Use inline styles. C. Use an Extensible Markup Language (XML) schema.
D. Use a WebKit. Correct Answer: A Section: [none] Explanation Explanation/Reference: Cascading Style Sheets (CSS) is a style sheet language used for describing the look and formatting of a document written in a markup language. CSS is designed primarily to enable the separation of document content from document presentation, including elements such as the layout, colors, and fonts. QUESTION 63 Where must Internet Information Services (IIS) be installed in order to run a deployed ASP. NET application? A. B. C. D.
on the computer that you plan to deploy from on the computer that hosts the application on the Application Layer Gateway Service on the client computers
Correct Answer: B Section: [none] Explanation Explanation/Reference: IIS is run on the web server. The web server is hosting the application. QUESTION 64 What is displayed when you attempt to access a Web service by using a Web browser? A. B. C. D.
a listing of methods that are available in the Web service a directory listing of the Web service's application structure an error page explaining that you have accessed the Web service incorrectly a visual depiction of your preliminary connection to the Web service
Correct Answer: A Section: [none] Explanation Explanation/Reference: The server, in response to this request, displays the Web service's HTML description page. The Web service's HTML description page shows you all the Web service methods supported by a particular Web service. Link to the desired Web service method and enter the necessary parameters to test the method and see the XML response. QUESTION 65 You are writing a Web application that processes room reservation requests. You need to verify that the room that a guest has selected is not already reserved by another guest. Which type of programming should you use to determine whether the room is still available when the request is made? A. B. C. D.
functional dynamic in-browser server-side
Correct Answer: D Section: [none] Explanation
Explanation/Reference: QUESTION 66 You are migrating several HTML pages to your website. Many of these pages contain HTML
and tags. Which XHTML document type declaration should you use?
A. B. C. D.
Option A Option B Option C Option D
Correct Answer: A Section: [none] Explanation Explanation/Reference: The declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in. XHTML 1.0 Transitional This DTD contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like font). Framesets are not allowed. The markup must also be written as well-formed XML. QUESTION 67 This question requires that you evaluate the underlined text to determine if it is correct. When creating a site to utilize message queuing, the "IP address" must be configured to MSMQ. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed protocol host header port
Correct Answer: B Section: [none] Explanation Explanation/Reference: MSMQ is a messaging protocol that allows applications running on separate servers/processes to communicate in a failsafe manner. QUESTION 68
You need to debug a Windows Service application by using breakpoints. What should you do? A. B. C. D.
Write all events to an event log. Set the Windows Service status to Paused. Implement the Console.WriteLine method throughout the Windows Service. Use the Attach to Process menu in Microsoft Visual Studio.
Correct Answer: D Section: [none] Explanation Explanation/Reference: * Because a service must be run from within the context of the Services Control Manager rather than from within Visual Studio, debugging a service is not as straightforward as debugging other Visual Studio application types. To debug a service, you must start the service and then attach a debugger to the process in which it is running. * To debug a service Install your service. Start your service, either from Services Control Manager, Server Explorer, or from code. In Visual Studio, choose Attach to Process from the Debug menu. Etc. QUESTION 69 What does the Console.Error property do within a console-based application? A. B. C. D.
sets the standard error input stream gets the standard error output stream gets the standard error input stream sets the standard error output stream
Correct Answer: B Section: [none] Explanation Explanation/Reference: The Console.Error property gets the standard error output stream. QUESTION 70 This question requires that you evaluate the underlined text to determine if it is correct. The default entry point for a console application is the Class method. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed Main Program Object
Correct Answer: B Section: [none] Explanation Explanation/Reference: The default entry point for a console application is the Class Main. QUESTION 71
This question requires that you evaluate the underlined text to determine if it is correct. Converting an object to a more general type is called upcasting. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed downcasting interfacing flexing
Correct Answer: A Section: [none] Explanation Explanation/Reference: Casting up a hierarchy means casting from a derived object reference to a base object reference. QUESTION 72 You have a class named Glass that inherits from a base class named Window. The Window class includes a protected method named break(). How should you call the Glass class implementation of the break() method? A. B. C. D.
Window.break(); Glass.break(); this.break(); base.break();
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 73 You are developing an application that tracks tennis matches. A match is represented by the following class:
A match is created by using the following code:
How many times is the Location property on the newly created Match class assigned?
A. B. C. D.
0 1 2 3
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 74 This question requires that you evaluate the underlined text to determine if it is correct. The duplication of code so that modifications can happen in parallel is known as separating. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed branching merging splitting
Correct Answer: B Section: [none] Explanation Explanation/Reference: When you develop applications in a team-based environment, you might need to access multiple versions of your application at the same time. If you copy one or more areas of your code into a separate branch, you can update one copy while you preserve the original version, or you can update both branches to meet different needs. Depending on your development goals, you can later merge the changes from multiple branches to create a single version that reflects all changes. QUESTION 75 The following functions are defined:
What does the console display after the following line? Printer(2); A. B. C. D.
210 211 2101 2121
Correct Answer: B Section: [none] Explanation
Explanation/Reference: QUESTION 76 The throw keyword is used to perform which two actions? (Choose two.) A. B. C. D.
stop processing of the code move error handling to a separate thread raise exceptions re-throw exceptions as a different type
Correct Answer: CD Section: [none] Explanation Explanation/Reference: * The Throw statement throws an exception that you can handle with structured exception- handling code (Try...Catch...Finally) or unstructured exception-handling code (On Error GoTo). You can use the Throw statement to trap errors within your code because Visual Basic moves up the call stack until it finds the appropriate exception-handling code. * This example throws an ApplicationException exception. Throw New ApplicationException QUESTION 77 Which three phrases are advantages of connection pooling? (Choose three.) A. B. C. D. E.
reduces time to create a connection requires no configuration reduces load on the server improved scalability improved performance
Correct Answer: ADE Section: [none] Explanation Explanation/Reference: E: In connection pooling, after a connection is created, it is placed in the pool and it is used over again so that a new connection does not have to be established. D: Connection pooling often improves application performance, concurrency and scalability. A: Connection pooling also cuts down on the amount of time a user must wait to establish a connection to the database. QUESTION 78 You are creating a database for a student directory. The Students table contains the following fields:
Which statement will retrieve only the first name, last name, and telephone number for every student listed in the directory? A. B. C. D.
WHERE Students SELECT * SELECT firstName, lastName, telephoneNumber FROM Students SELECT firstName, lastName, telephoneNumber IN Students SELECT * FROM Students
E. WHERE Students SELECT firstName, lastName, telephoneNumber Correct Answer: B Section: [none] Explanation Explanation/Reference: Use SELECT...FROM and list the fields you want to retrieve. QUESTION 79 This question requires that you evaluate the underlined text to determine if it is correct. The benefit of using a transaction when updating multiple tables is that the update cannot fail. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed succeeds or fails as a unit finishes as quickly as possible can be completed concurrently with other transactions
Correct Answer: B Section: [none] Explanation Explanation/Reference: The benefit of using a transaction when updating multiple tables is that the update succeeds or fails as a unit. QUESTION 80 What are two advantages of normalization in a database? (Choose two) A. B. C. D.
prevents data inconsistencies reduces schema limitations minimizes impact of data corruption decreases space used on disk
Correct Answer: AD Section: [none] Explanation Explanation/Reference: QUESTION 81 This question requires that you evaluate the underlined text to determine if it is correct. Unit testing is the final set of tests that must be completed before a feature or product can be considered finished. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed User acceptance System Integration
Correct Answer: B
Section: [none] Explanation Explanation/Reference: User acceptance testing (UAT) is the last phase of the software testing process. During UAT, actual software users test the software to make sure it can handle required tasks in real-world scenarios, according to specifications. UAT is one of the final and critical software project procedures that must occur before newly developed software is rolled out to the market. UAT is also known as beta testing, application testing or end user testing. QUESTION 82 You need to create a stored procedure that passes in a person's name and age. Which statement should you use to create the stored procedure?
A. B. C. D.
Option A Option B Option C Option D
Correct Answer: B Section: [none] Explanation Explanation/Reference: Example (nvarchar and int are best here): The following example creates a stored procedure that returns information for a specific employee by passing values for the employee's first name and last name. This procedure accepts only exact matches for the parameters passed. CREATE PROCEDURE HumanResources.uspGetEmployees @LastName nvarchar(50), @FirstName nvarchar(50) AS SET NOCOUNT ON; SELECT FirstName, LastName, JobTitle, Department FROM HumanResources.vEmployeeDepartment WHERE FirstName = @FirstName AND LastName = @LastName; GO QUESTION 83 You have a SQL Server database named MyDB that uses SQL Server Authentication. Which connection string should you use to connect to MyDB?
A. B. C. D.
Data Source=MyDB; UserID=username; Password=P@sswOrd; Initial Catalog=Sales Data Source=MyDB; Integrated Security=SSPI; Initial Catalog=Sales Data Source=MyDB; Integrated Security=True; Initial Catalog=Sales Data Source=MyDB; Trusted_Connection=True; MultipleActiveResultSets=True; Initial Catalog=Sales
Correct Answer: A Section: [none] Explanation Explanation/Reference: Integrated Security Integrated Security is by default set to false. When false, User ID and Password are specified in the connection. Incorrect: not C: Windows Authentication (Integrated Security = true) remains the most secure way to log in to a SQL Server database. QUESTION 84 You are developing a database that other programmers will query to display race results. You need to provide the ability to query race results without allowing access to other information in the database. What should you do? A. B. C. D.
Disable implicit transactions. place the query into a stored procedure. Create an index on the result table. Add an AFTER UPDATE trigger on the result table to reject updates.
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 85 This question requires that you evaluate the underlined text to determine if it is correct. A piece of text that is 4096 bytes or smaller and is stored on and retrieved from the client computer to maintain state is known as a ViewState. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed cookie form post QueryString
Correct Answer: B Section: [none] Explanation Explanation/Reference: A piece of text that is 4096 bytes or smaller and is stored on and retrieved from the client computer to maintain state is known as a Cookie. QUESTION 86
This question requires that you evaluate the underlined text to determine if it is correct. Internet Information Services (IIS) must be installed on the client computers in order to run a deployed ASP.NET application. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed computer that hosts the application computer that you plan to deploy from Application Layer Gateway Service
Correct Answer: B Section: [none] Explanation Explanation/Reference: Internet Information Services (IIS) must be installed on computer that hosts the application in order to run a deployed ASP.NET application. QUESTION 87 Which programming language is characterized as client-side, dynamic and weakly typed? A. B. C. D.
JavaScript HTML ASP.NET C#
Correct Answer: A Section: [none] Explanation Explanation/Reference: JavaScript is characterized as a dynamic, weakly typed, prototype-based language with first-class functions. It is primarily used in the form of client-side JavaScript for the development of dynamic websites. QUESTION 88 When a web service is referenced from a client application in Microsoft Visual Studio, which two items are created? (Choose two.) A. B. C. D.
a stub a.wsdl file a proxy a .disco file
Correct Answer: BD Section: [none] Explanation Explanation/Reference: A .wsdl file that references the Web service is created, together with supporting files, such as discovery (.disco and .discomap) files, that include information about where the Web service is located. QUESTION 89 All objects in .NET inherit from which item? A. the System.Object class B. a value type C. a reference type
D. the System.Type class Correct Answer: A Section: [none] Explanation Explanation/Reference: The System.Object class supports all classes in the .NET Framework class hierarchy and provides lowlevel services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy. QUESTION 90 You have a class with a property. You need to ensure that consumers of the class can write to the value of the property. Which keyword should you use? A. B. C. D.
value add get set
Correct Answer: D Section: [none] Explanation Explanation/Reference: Set: The set { } implementation receives the implicit argument "value." This is the value to which the property is assigned. * Property. On a class, a property gets and sets values. A simplified syntax form, properties are implemented in the IL as methods (get, set). QUESTION 91 You are creating an application that presents the user with a Windows Form. Which event is triggered each time the Windows Form receives focus? A. B. C. D.
Enter Paint Load Activated
Correct Answer: A Section: [none] Explanation Explanation/Reference: When you change the focus by using the mouse or by calling the Focus method, focus events of the Control class occur in the following order: Enter GotFocus LostFocus Leave Validating Validated QUESTION 92 What are the three basic states that a Windows service can be in? (Choose three.)
A. B. C. D. E.
halted running stopped paused starting
Correct Answer: BCD Section: [none] Explanation Explanation/Reference: A service can exist in one of three basic states: Running, Paused, or Stopped. QUESTION 93 You have a Windows Service running in the context of an account that acts as a non-privileged user on the local computer. The account presents anonymous credentials to any remote server. What is the security context of the Windows Service? A. B. C. D.
LocalSystem User NetworkService LocalService
Correct Answer: D Section: [none] Explanation Explanation/Reference: LocalService , which runs in the context of an account that acts as a non-privileged user on the local computer, and presents anonymous credentials to any remote server; QUESTION 94 This question requires that you evaluate the underlined text to determine if it is correct. Arguments are passed to console applications as a Hashtable object. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed String Array StoredProcedureCollection Dictionary
Correct Answer: B Section: [none] Explanation Explanation/Reference: Arguments are passed to console applications as a String Array object. QUESTION 95 You run the following code:
What is the value of result when the code has completed? A. B. C. D.
0 10 20 30
Correct Answer: B Section: [none] Explanation Explanation/Reference: The conditional-OR operator (||) performs a logical-OR of its bool operands. If the first operand evaluates to true, the second operand isn't evaluated. If the first operand evaluates to false, the second operator determines whether the OR expression as a whole evaluates to true or false. QUESTION 96 This question requires that you evaluate the underlined text to determine if it is correct. To minimize the amount of storage used on the hard drive by an application that generates many small files, you should make the partition as small as possible. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed file allocation table block size folder and file names
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 97 You are designing a Windows Store application. You need to design the application so that users can share content by connecting two or more devices by physically tapping the devices together. Which user experience (UX) guideline for Windows Store applications should you use? A. B. C. D.
Share and data exchange location-awareness device-awareness proximity gestures
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 98 You have a website that includes a form for usemame and password. You need to ensure that users enter their username and password. The validation must work in all browsers. Where should you put the validation control? A. B. C. D.
in both the client-side code and the server-side code in the client-side code only in the Web.config file in the server-side code only
Correct Answer: A Section: [none] Explanation Explanation/Reference: From version 2.0 on, ASP.NET recognized the JavaScript capabilities of these browsers, so client-side validation is now available to all modern browsers, including Opera, Firefox, and others. Support is even better now in ASP.NET 4.0. That said, it's important not to forget that JavaScript can be disabled in any browser, so client-side validation cannot be relied upon--we must always validate any submitted data on the server. QUESTION 99 Which service can host an ASP.NET application? A. B. C. D.
Internet Information Services Cluster Services Remote Desktop Services Web Services
Correct Answer: A Section: [none] Explanation Explanation/Reference: Using Internet Information Services (IIS) Manager, you can create a local Web site for hosting an ASP.NET Web application. QUESTION 100 This question requires that you evaluate the underlined text to determine if it is correct. A table whose attributes depend only on the primary key must be at least second normal form. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed first third fourth
Correct Answer: A
Section: [none] Explanation Explanation/Reference: 2nd Normal Form Definition A database is in second normal form if it satisfies the following conditions: It is in first normal form All non-key attributes are fully functional dependent on the primary key QUESTION 101 You have a table named ITEMS with the following fields: ID (integer, primary key, auto generated) Description (text) Completed (Boolean) You need to insert the following data in the table: "Cheese", False Which statement should you use? A. INSERT INTO ITEMS (ID, Description, Completed) VALUES (1, 'Cheese', 0) B. INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 1) C. INSERT INTO ITEMS (10, Description, Completed) VALUES (NEWID(), 'Cheese', 6) D. INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 0) Correct Answer: D Section: [none] Explanation Explanation/Reference: The string values TRUE and FALSE can be converted to bit values: TRUE is converted to 1 and FALSE is converted to 0. Incorrect: Not A, not C: ID is autogenerated and should not be specified. QUESTION 102 Which three are valid SQL keywords? (Choose three.) A. B. C. D. E.
GET WHAT FROM SELECT WHERE
Correct Answer: CDE Section: [none] Explanation Explanation/Reference: Example: SELECT * FROM Customers WHERE Country='Mexico'; QUESTION 103 This question requires that you evaluate the underlined text to determine if it is correct. The bubble sort algorithm steps through the list to be sorted, comparing adjacent items and swapping them
if they are in the wrong order Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed merge library insertion
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 104 Which two types of information should you include in an effective test case? (Choose two.) A. B. C. D.
the expected result from testing the case multiple actions combined as a single step to test the case any pre-conditions necessary to test the case the stakeholders who originated the test case
Correct Answer: AB Section: [none] Explanation Explanation/Reference: You can create manual test cases using Microsoft Test Manager that have both action and validation test steps. You can also share a set of common test steps between multiple test cases called shared steps. This simplifies maintenance of test steps if your application under test changes. QUESTION 105 You are developing a webpage that enables students to manage races. The webpage will display two lists: past races and upcoming races. The page also contains a sidebar with contact information and a panel with social media settings that can be edited. Race results can be shared on social media. How many components will be on the webpage? A. B. C. D.
2 3 4 5
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 106 This question requires that you evaluate the underlined text to determine if it is correct. Converting a value type to a reference type in an object is called boxing. Select the correct answer if the underlined text does not make the statement correct. Select "No change is
needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed unboxing interfacing mapping
Correct Answer: A Section: [none] Explanation Explanation/Reference: Boxing is an implicit conversion of a Value Types (C# Reference) to the type object or to any interface type implemented by this value type. QUESTION 107 The Dog class and the Cat class inherit from the Animal class. The Animal class includes a breathe() method and a speak() method. If the speak() method is called from an object of type Dog, the result is a bark. If the speak() method is called from an object of type Cat, the result is a meow. Which term is used to describe this object-oriented concept? A. B. C. D.
multiple inheritance polymorphism data hiding encapsulation
Correct Answer: A Section: [none] Explanation Explanation/Reference: Polymorphism is often referred to as the third pillar of object-oriented programming, after encapsulation and inheritance. Polymorphism is a Greek word that means "many-shaped" and it has two distinct aspects: * At run time, objects of a derived class may be treated as objects of a base class in places such as method parameters and collections or arrays. When this occurs, the object's declared type is no longer identical to its run-time type. * Base classes may define and implement virtual methods, and derived classes can override them, which means they provide their own definition and implementation. At run-time, when client code calls the method, the CLR looks up the run-time type of the object, and invokes that override of the virtual method. Thus in your source code you can call a method on a base class, and cause a derived class's version of the method to be executed. QUESTION 108 This question requires that you evaluate the underlined text to determine if it is correct. A data dictionary that describes the structure of a database is called metadata. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed normalization a database management system (DBMS) metacontent
Correct Answer: A Section: [none] Explanation
Explanation/Reference: QUESTION 109 You are reviewing a design for a database. A portion of this design is shown in the exhibit. Note that you may choose to view either the Crow's Foot Notation or Chen Notation version of the design. (To view the Crow's Foot Notation, click the Exhibit A button. To view the Chen Notation, click the Exhibit B button.)
Which term is used to describe the relationship between Customer and Order? A. B. C. D. E.
many-to-many one-to-many one-dimensional one-to-one multi-dimensional
Correct Answer: B Section: [none] Explanation Explanation/Reference: A customer can have many orders. QUESTION 110 This question requires that you evaluate the underlined text to determine if it is correct. To improve performance, a SQL SELECT statement should use indexes. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed joins grouping ordering
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 111 You are building a web application that enables international exchange students to schedule phone calls with their prospective schools. The application allows students to indicate a preferred date and time for phone calls. Students may indicate no preferred time by leaving the date and time field empty. The application must support multiple time
zones. Which data type should you use to record the student's preferred date and time? A. B. C. D.
uLong? DateTime SByte DateTimeOffset?
Correct Answer: D Section: [none] Explanation Explanation/Reference: datetimeoffset: Defines a date that is combined with a time of a day that has time zone awareness and is based on a 24-hour clock. Incorrect: DateTime: Defines a date that is combined with a time of day with fractional seconds that is based on a 24hour clock. sByte: The sbyte keyword indicates an integral type that stores values in the range of -128 to 127. QUESTION 112 Which three items are benefits of encapsulation? (Choose three.) A. B. C. D. E.
maintainability flexibility restricted access inheritance performance
Correct Answer: ABC Section: [none] Explanation Explanation/Reference: Encapsulation is the packing of data and functions into a single component. In programming languages, encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination thereof: * A language mechanism for restricting access to some of the object's components. * A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data. Incorrect: not D: Encapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and abstraction. QUESTION 113 This question requires that you evaluate the underlined text to determine if it is correct. When a base class declares a method as virtual, the method is hidden from implementation bv a derived class. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed can be overridden with its own implementation by a derived class must be overridden in any non-abstract class that directly inherits from that class cannot be overridden with its own implementation by a derived class
Correct Answer: B
Section: [none] Explanation Explanation/Reference: The implementation of a non-virtual method is invariant: The implementation is the same whether the method is invoked on an instance of the class in which it is declared or an instance of a derived class. In contrast, the implementation of a virtual method can be superseded by derived classes. The process of superseding the implementation of an inherited virtual method is known as overriding that method. QUESTION 114 This question requires that you evaluate the underlined text to determine if it is correct. The process of transforming compiled C# code into an XML string for a web service is known as deserialization. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed serialization decoding encoding
Correct Answer: B Section: [none] Explanation Explanation/Reference: Serialization is the process of converting an object into a stream of bytes in order to store the object or transmit it to memory, a database, or a file. Its main purpose is to save the state of an object in order to be able to recreate it when needed. Serialization allows the developer to save the state of an object and recreate it as needed, providing storage of objects as well as data exchange. Through serialization, a developer can perform actions like sending the object to a remote application by means of a Web Service, passing an object from one domain to another, passing an object through a firewall as an XML string, or maintaining security or user-specific information across applications. QUESTION 115 You have a Microsoft ASP.NET web application. You need to store a value that can be shared across users on the server. Which type of state management should you use? A. B. C. D.
Session ViewState Application Cookies
Correct Answer: C Section: [none] Explanation Explanation/Reference: Application state is a data repository available to all classes in an ASP.NET application. Application state is stored in memory on the server and is faster than storing and retrieving information in a database. Unlike session state, which is specific to a single user session, application state applies to all users and sessions. Therefore, application state is a useful place to store small amounts of often-used data that does not change from one user to another. Incorrect:
not A: Session State contains information that is pertaining to a specific session (by a particular client/ browser/machine) with the server. It's a way to track what the user is doing on the site.. across multiple pages...amid the statelessness of the Web. e.g. the contents of a particular user's shopping cart is session data. Cookies can be used for session state. Not B: Viewstate is a state management technique in asp.net. ASP.NET Viewstate is preserving the data between the requests or postbacks and stored in hidden fields on the page. QUESTION 116 This question requires that you evaluate the underlined text to determine if it is correct. The Response.Redirect method is used to transfer processing of the current page to a new page, and then return processing back to the calling page once processing of the new page has completed. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed Server.Transfer method Server.Execute method meta http-equiv="refresh" tag
Correct Answer: C Section: [none] Explanation Explanation/Reference: The Execute method calls an .asp file, and processes it as if it were part of the calling ASP script. The Execute method is similar to a procedure call in many programming languages. Incorrect: * Response.Redirect Method The Redirect method causes the browser to redirect the client to a different URL. * The Server.Transfer method sends all of the information that has been assembled for processing by one .asp file to a second .asp file. QUESTION 117 You are creating an application for a priority help desk center. The most recent call must be handled first. Which data structure should you use? A. B. C. D.
queue hashtable stack binary tree
Correct Answer: C Section: [none] Explanation Explanation/Reference: In computer science, a stack is a particular kind of abstract data type or collection in which the principal (or only) operations on the collection are the addition of an entity to the collection, known as push and removal of an entity, known as pop. The relation between the push and pop operations is such that the stack is a Last-In-First-Out (LIFO) data structure. In a LIFO data structure, the last element added to the structure must be the first one to be removed. QUESTION 118 You plan to create an application for your company. The application will run automated routines and write the results to a text-based log file. Little or no user interaction is required. Security requirements on the host computers prevent you from running applications on startup, and users
must be able to see the status easily on the screen. The host computers also have limited memory and monitors that display only two colors. These computers will have no network connectivity. Which type of application should you use for this environment? A. B. C. D.
Directx Windows Service console-based Windows Store app
Correct Answer: C Section: [none] Explanation Explanation/Reference: Building Console Applications Applications in the .NET Framework can use the System.Console class to read characters from and write characters to the console. Data from the console is read from the standard input stream, data to the console is written to the standard output stream, and error data to the console is written to the standard error output stream. QUESTION 119 You are developing a web application. You need to create the following graphic by using Cascading Style Sheets (CSS):
Use the drop-down menus to select the answer choice that completes each statement. Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 120 You are creating a Windows Store application that uses the following gesture:
Use the drop-down menus to select the answer choice that completes each statement. Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 121 You are extending an application that stores and displays the results of various types of foot races. The application contains the following definitions:
The following code is used to display the result for a race:
The contents of the console must be as follows: 99 seconds 1.65 minutes 99 You need to implement the FootRace class. Match the method declaration to the method body, (To answer, drag the appropriate declaration from the column on the left to its body on the right. Each declaration may be used once, more than once, or not at all. Each correct match is worth one point.) Select and Place:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 122 You have a base class named Tree with a friend property named color and a protected property named NumberOfLeaves. In the same project, you also have a class named Person. For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 123 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 124 You are reviewing the architecture for a system that allows race officials to enter the results of 5K race results. The results are then made available to students using a web application. The architecture is shown below:
Use the drop-down menus to select the answer choice that answers each question. Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 125 You are developing an application that displays a list of race results. The race results are stored in the following class:
You need to implement the Add Race method. Match the code segment to its location. (To answer, drag the appropriate code segment from the column on the left to its location on the right, Each code segment may be used once, more than once, or not at all. Each correct match is worth one point.) Select and Place:
Correct Answer:
Section: [none]
Explanation Explanation/Reference: QUESTION 126 You are developing an application to display track and field race results. The application must display the race results twice. The first time it must display only the winner and runner-up. The second time it must display all participants. The code used to display results is shown below.
You need to implement the Rankings() function. Complete the function to meet the requirements. {To answer, drag the appropriate code segment from the column on the left to its location on the right. Each code segment may be used once, more than once, or not at all. Each correct match is worth one point.) Select and Place:
Correct Answer:
Section: [none] Explanation Explanation/Reference: * You can use a yield break statement to end the iteration. QUESTION 127 You are reviewing the following code that saves uploaded images.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 128 You have the following flowchart:
Use the drop-down menus to select the answer choice that completes each statement Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 129 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 130 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 131 The ASP.NET MVC page lifecycle is shown in the following graphic:
Use the drop-down menus to select the answer choice that completes each statement Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 132 You are reviewing the following class that is used to manage the results of a 5K race:
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 133 You open the Internet Information Services 7.5 Manager console as shown in the following exhibit:
You need to examine the current configuration of the server W2008R2. Use the drop-down menus to select the answer choice that answers each question. Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 134 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation
Explanation/Reference: QUESTION 135 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 136 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 137 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference:
Question Set 1 QUESTION 1 In the life cycle of an ASP. NET Web page, which phase follows the SaveStateComplete phase? A. B. C. D.
Load Render PostInit PostBack
Correct Answer: B Section: [none] Explanation Explanation/Reference: The SaveStateComplete event is raised after the view state and control state of the page and controls on the page are saved to the persistence medium. This is the last event raised before the page is rendered to the requesting browser. QUESTION 2 Which language allows you to dynamically create content on the client side? A. B. C. D.
Cascading Style Sheets (CSS) JavaScript (JS) Extensible Markup Language (XML) Hypertext Markup Language (HTML)
Correct Answer: B Section: [none] Explanation Explanation/Reference: JavaScript (JS) is a dynamic computer programming language. It is most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed. QUESTION 3 You create an application that uses Simple Object Access Protocol (SOAP). Which technology provides information about the application's functionality to other applications? A. B. C. D.
Web Service Description Language (WSDL) Common Intermediate Language (CIL) Extensible Application Markup Language (XAML) Universal Description, Discovery, and Integration (UDDI)
Correct Answer: A Section: [none] Explanation Explanation/Reference: WSDL is often used in combination with SOAP and an XML Schema to provide Web services over the Internet. A client program connecting to a Web service can read the WSDL file to determine what operations are available on the server. Any special datatypes used are embedded in the WSDL file in the form of XML Schema. The client can then use SOAP to actually call one of the operations listed in the WSDL file using for example XML over HTTP. QUESTION 4 How should you configure an application to consume a Web service?
A. B. C. D.
Add the Web service to the development computer. Add a reference to the application in the Web service. Add a reference to the Web service in the application. Add the Web service code to the application.
Correct Answer: C Section: [none] Explanation Explanation/Reference: Start by adding a Service Reference to the project. Right-click the ConsoleApplication1 project and choose "Add Service Reference": QUESTION 5 You are creating an ASP. NET Web application. Which line of code should you use to require a control to process on the computer that hosts the application? A. B. C. D.
runat= "server" redirect*="HostPage. htm" AutoEventWireup="true" defaultRedirect="ServerPage. htm"
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 6 What are two possible options for representing a Web application within Internet Information Services (IIS)? (Each correct answer presents a complete solution. Choose two. ) A. B. C. D. E.
web site virtual directory application directory application server Web directory
Correct Answer: AB Section: [none] Explanation Explanation/Reference: * Create a Web Application An application is a grouping of content at the root level of a Web site or a grouping of content in a separate folder under the Web site's root directory. When you add an application in IIS 7, you designate a directory as the application root, or starting point, for the application and then specify properties specific to that particular application, such as the application pool that the application will run in. * You can make an Existing Virtual Directory a Web Application. QUESTION 7 In this XHTML code sample, what will cause an error?
A. B. C. D.
The line break tag is incorrectly formatted. The HTML tags do not read XHTML. The body tag is missing a background attribute, All tags are not in uppercase.
Correct Answer: A Section: [none] Explanation Explanation/Reference: In XHTML, the
tag must be properly closed, like this:
. QUESTION 8 Which language uses Data Definition Language (DDL) and Data Manipulation Language (DML)? A. B. C. D.
Java C+ + SQL Pascal
Correct Answer: C Section: [none] Explanation Explanation/Reference: SQL uses DDL and DML. QUESTION 9 A table named Student has columns named ID, Name, and Age. An index has been created on the ID column. What advantage does this index provide? A. B. C. D.
It reorders the records alphabetically. It reorders the records numerically. It speeds up query execution. It minimizes storage requirements.
Correct Answer: C Section: [none] Explanation Explanation/Reference: Faster to access an index table. QUESTION 10 A data warehouse database is designed to:
A. B. C. D.
Require validation of incoming data during real-time business transactions. Enable business decisions by collecting, consolidating, and organizing data. Support real-time business operations. Support a large number of concurrent users.
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 11 Which language was designed for the primary purpose of querying data, modifying data, and managing databases in a Relational Database Management System? A. B. C. D.
C++ Java SQL Visual Basic
Correct Answer: C Section: [none] Explanation Explanation/Reference: SQL is a special-purpose programming language designed for managing data held in a relational database management system (RDBMS). QUESTION 12 In your student directory database, the Students table contains the following fields: firstName lastName emailAddress telephoneNumber You need to retrieve the data from the firstName, lastName, and emailAddress fields for all students listed in the directory. The results must be in alphabetical order according to lastName and then firstName. Which statement should you use?
A. B. C. D.
Option A Option B Option C Option D
Correct Answer: D Section: [none] Explanation Explanation/Reference: to sort use: ORDER BY LastName, FirstName QUESTION 13 You need to ensure the data integrity of a database by resolving insertion, update, and deletion anomalies. Which term is used to describe this process in relational database design? A. B. C. D.
Normalization Integration Isolation Resolution
Correct Answer: A Section: [none] Explanation Explanation/Reference: Database normalization is the process of organizing the fields and tables of a relational database to minimize redundancy. Normalization usually involves dividing large tables into smaller (and less redundant) tables and defining relationships between them. The objective is to isolate data so that additions, deletions, and modifications of a field can be made in just one table and then propagated through the rest of the database using the defined relationships. QUESTION 14 You are creating an application for computers that run Windows XP or later. This application must run after the computer starts. The user must not be aware that the application is running. The application performs tasks that require permissions that the logged-in user does not have.
Which type of application allows this behavior? A. B. C. D.
Windows Forms application DOS batch file Terminate-and-stay-resident (TSR) program Windows Service application
Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 15 An application presents the user with a graphical interface. The interface includes buttons that the user clicks to perform tasks. Each time the user clicks a button, a method is called that corresponds to that button. Which term is used to describe this programming model? A. B. C. D.
Event driven Structured Service oriented Functional
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 16 How does a console-based application differ from a Windows Forms application? A. B. C. D.
Windows Forms applications can access network resources. Console-based applications do not display a graphical interface. Console-based applications require the XNA Framework to run. Windows Forms applications do not provide a method for user input.
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 17 Which type of Windows application presents a parent window that contains child windows? A. B. C. D.
Multiple-document interface (MDI) Command-line interface (CLI) Single-document interface (SDI) Application programming interface (API)
Correct Answer: A Section: [none] Explanation
Explanation/Reference: A multiple document interface (MDI) is a graphical user interface in which multiple windows reside under a single parent window. Such systems often allow child windows to embed other windows inside them as well, creating complex nested hierarchies. This contrasts with single document interfaces (SDI) where all windows are independent of each other. QUESTION 18 The purpose of the Catch section in an exception handler is to: A. B. C. D.
Conclude the execution of the application. Break out of the error handler. Execute code only when an exception is thrown. Execute code regardless of whether an exception is thrown.
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 19 You execute the following code.
How many times will the word Hello be printed? A. B. C. D.
5 6 10 12
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 20 You execute the following code.
What will the variable result be? A. B. C. D.
0 1 2 3
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 21 You need to evaluate the following expression: (A>B) AND (C
0 4 5 False Null True
Correct Answer: D Section: [none] Explanation Explanation/Reference: A>B is false. QUESTION 22 You are creating a variable for an application. You need to store data that has the following characteristics in this variable: Consists of numbers and characters Includes numbers that have decimal points Which data type should you use? A. B. C. D.
Decimal Char String Single
Correct Answer: C Section: [none] Explanation Explanation/Reference: Need a string to store characters. QUESTION 23 What are two methods that can be used to evaluate the condition of a loop at the start of each iteration? (Each correct answer presents a complete solution. Choose two. )
A. B. C. D.
For Do. . . While If While
Correct Answer: AD Section: [none] Explanation Explanation/Reference: For and While constructs check at the start of each iteration. QUESTION 24 The purpose of a constructor in a class is to: A. B. C. D.
Initialize an object of that class. Inherit from the base class. Release the resources that the class holds. Create a value type.
Correct Answer: A Section: [none] Explanation Explanation/Reference: Each value type has an implicit default constructor that initializes the default value of that type. QUESTION 25 You are designing a class for an application. You need to restrict the availability of the member variable accessCount to the base class and to any classes that are derived from the base class. Which access modifier should you use? A. B. C. D.
Protected Private Public Friend
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 26 You create an object of type ANumber. The class is defined as follows.
The code is executed as follows. Dim mynumber As ANumber = new ANumber(3); What is the value of _number after the code is executed? A. B. C. D.
Null 0 3 7
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 27 You need to allow a consumer of a class to modify a private data member. What should you do? A. B. C. D.
Provide a public function that assigns a value to the data member. Create global variables in the class. Assign a value directly to the data member. Provide a private function that assigns a value to the data member.
Correct Answer: A Section: [none] Explanation Explanation/Reference: In this example (see below), the Employee class contains two private data members, name and salary. As private members, they cannot be accessed except by member methods. Public methods named GetName and Salary are added to allow controlled access to the private members. The name member is accessed by way of a public method, and the salary member is accessed by way of a public read-only property. Note: The private keyword is a member access modifier. Private access is the least permissive access level. Private members are accessible only within the body of the class or the struct in which they are declared Example: class Employee2 { private string name = "FirstName, LastName"; private double salary = 100.0; public string GetName() { return name; } public double Salary { get { return salary; } } } QUESTION 28 Which term is used to describe a class that inherits functionality from an existing class? A. Superclass
B. Base class C. Inherited class D. Derived class Correct Answer: D Section: [none] Explanation Explanation/Reference: Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors. QUESTION 29 A class named Manager is derived from a parent class named Employee. The Manager class includes characteristics that are unique to managers. Which term is used to describe this object-oriented concept? A. B. C. D.
inheritance data modeling data hiding encapsulation
Correct Answer: A Section: [none] Explanation Explanation/Reference: Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors. Incorrect: not D: Encapsulation is sometimes referred to as the first pillar or principle of object-oriented programming. According to the principle of encapsulation, a class or struct can specify how accessible each of its members is to code outside of the class or struct. Methods and variables that are not intended to be used from outside of the class or assembly can be hidden to limit the potential for coding errors or malicious exploits. QUESTION 30 Two classes named Circle and Square inherit from the Shape class. Circle and Square both inherit Area from the Shape class, but each computes Area differently. Which term is used to describe this object-oriented concept? A. B. C. D.
encapsulation superclassing polymorphism overloading
Correct Answer: C Section: [none] Explanation Explanation/Reference: You can use polymorphism to in two basic steps: Create a class hierarchy in which each specific shape class derives from a common base class. Use a virtual method to invoke the appropriate method on any derived class through a single call to the base class method.
QUESTION 31 You are creating an application that presents users with a graphical interface in which they computers that do not have network connectivity. Which type of application should you choose? A. B. C. D.
ClickOnce Windows Service Windows Forms Console-based
Correct Answer: C Section: [none] Explanation Explanation/Reference: Use Windows Forms when a GUI is needed. QUESTION 32 The elements of an array must be accessed by: A. B. C. D.
Calling the item that was most recently inserted into the array. Using a first-in, last-out (FILO) process. Using an integer index. Calling the last item in the memory array.
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 33 Simulating the final design of an application in order to ensure that the development is progressing as expected is referred to as: A. B. C. D.
Software testing Prototyping Flowcharting Analyzing requirements
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 34 You have a stack that contains integer values. The values are pushed onto the stack in the following order: 2,4,6,8. The following sequence of operations is executed: Pop Push 3 Pop Push 4 Push 6 Push 7 Pop Pop
Pop What is the value of the top element after these operations are executed? A. B. C. D.
2 3 6 7
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 35 You are creating an application that presents users with a graphical interface. Users will run this application from remote computers. Some of the remote computers do not have the . NET Framework installed. Users do not have permissions to install software. Which type of application should you choose? A. B. C. D.
Console-based ASP. NET Windows Service Windows Forms
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 36 You are writing a Web application that processes room reservation requests. You need to verify that the room that a guest has selected is not already reserved by another guest. Which type of programming should you use to determine whether the room is still available when the request is made? A. B. C. D.
client-side batch processing server-side multithreaded
Correct Answer: C Section: [none] Explanation Explanation/Reference: For room availability we need to check a database located on a server. QUESTION 37 Which term is used to describe small units of text that are stored on a client computer and retrieved to maintain state? A. trace B. cross-page post
C. cookie D. server transfer Correct Answer: C Section: [none] Explanation Explanation/Reference: HTTP is a stateless protocol. This means that user data is not persisted from one Web page to the next in a Web site. One way to maintain state is through the use of cookies. Cookies store a set of user specific information, such as a reference identifier for a database record that holds customer information. QUESTION 38 Which function does Simple Object Access Protocol (SOAP) provide when using Web services? A. B. C. D.
communications protocol model for describing Web services directory of registered Web services security model
Correct Answer: A Section: [none] Explanation Explanation/Reference: SOAP, originally defined as Simple Object Access Protocol, is a protocol specification for exchanging structured information in the implementation of web services in computer networks. It relies on XML Information Set for its message format, and usually relies on other application layer protocols, most notably Hypertext Transfer Protocol (HTTP) or Simple Mail Transfer Protocol (SMTP), for message negotiation and transmission. QUESTION 39 Where must Internet Information Services (IIS) be installed in order to run a deployed ASP. NET application? A. B. C. D.
on the computer that you plan to deploy from on the client computers on the computer that hosts the application on the Application Layer Gateway Service
Correct Answer: C Section: [none] Explanation Explanation/Reference: IIS is run on the web server. The web server is hosting the application. QUESTION 40 You are creating a Web application. The application will be consumed by client computers that run a variety of Web browsers. Which term is used to describe the process of making the application available for client computers to access? A. B. C. D.
Deploying Hosting Virtualization Casting
Correct Answer: B
Section: [none] Explanation Explanation/Reference: You host web applications. QUESTION 41 You need to group all the style settings into a separate file that can be applied to all the pages in a Web application. What should you do? A. B. C. D.
Use a Cascading Style Sheet (CSS). Use an Extensible Markup Language (XML) schema. Use inline styles. Use a WebKit.
Correct Answer: A Section: [none] Explanation Explanation/Reference: Cascading Style Sheets (CSS) is a style sheet language used for describing the look and formatting of a document written in a markup language. CSS is designed primarily to enable the separation of document content from document presentation, including elements such as the layout, colors, and fonts. QUESTION 42 You have a server that limits the number of data connections. What should you use to optimize connectivity when the number of users exceeds the number of available connections? A. B. C. D.
Named pipes Normalization Connection timeouts Connection pooling
Correct Answer: D Section: [none] Explanation Explanation/Reference: In software engineering, a connection pool is a cache of database connections maintained so that QUESTION 43 You are reviewing a design for a database. A portion of this design is shown in the exhibits. Note that you may choose either the Crow's Foot Notation or Chen Notation version of the design. (To view the Crow's Foot Notation, click the Exhibit A button. To view the Chen Notation, click the Exhibit B button. )
Which term is used to describe the Customer component? A. B. C. D.
Field Entity Property Attribute
Correct Answer: B Section: [none] Explanation Explanation/Reference: Customer is a table (entity). QUESTION 44 Your application must pull data from a database that resides on a separate server. Which action must you perform before your application can retrieve the data? A. B. C. D.
Establish a connection to the database by using the appropriate data provider. Create a routine that bypasses firewalls by using Windows Management Instrumentation (WMI). Install the database on each client computer. Configure the network routers to allow database connections.
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 45 Your database administrators will not allow you to write SQL code in your application. How should you retrieve data in your application? A. B. C. D.
Reference an index in the database. Call a stored procedure. Query a database view. Script a SELECT statement to a file.
Correct Answer: B Section: [none] Explanation Explanation/Reference: The SQL will only be inside the stored procedure. QUESTION 46 You need to create a property in a class. Consumers of the class must be able to read the values of the property. Consumers of the class must be prevented from writing values to the property. Which property procedure should you include?
A. B. C. D.
Set Get Let Return
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 47 Which of the following must exist to inherit attributes from a particular class? A. B. C. D.
Public properties A has-a relationship Static members An is-a relationship
Correct Answer: A Section: [none] Explanation Explanation/Reference: There must be some public properties that can be inherited. QUESTION 48 How many parameters can a default constructor have? A. B. C. D.
0 1 2 3 or more
Correct Answer: A Section: [none] Explanation Explanation/Reference: If a class contains no instance constructor declarations, a default instance constructor is automatically provided. That default constructor simply invokes the parameterless constructor of the direct base class. QUESTION 49 You have a class named Truck that inherits from a base class named Vehicle. The Vehicle class includes a protected method named brake (). How should you call the Truck Class implementation of the brake () method? A. B. C. D.
Mybase.brake () Truck.brakef) Vehicle.brake() Me.brake ()
Correct Answer: A Section: [none] Explanation
Explanation/Reference: The MyBase keyword behaves like an object variable referring to the base class of the current instance of a class.MyBase is commonly used to access base class members that are overridden or shadowed in a derived class. QUESTION 50 Which type of function can a derived class override? A. B. C. D.
A Protected Overridable member function A Shared function A Private Overridable function A non-overridable public member function
Correct Answer: A Section: [none] Explanation Explanation/Reference: The Overridable modifier allows a property or method in a class to be overridden in a derived class. You cannot specify Overridable or NotOverridable for a Private method. QUESTION 51 Class C and Class D inherit from Class B. Class B inherits from Class A. The classes have the methods shown in the following table.
All methods have a protected scope. Which methods does Class C have access to? A. B. C. D. E. F.
only m1, m3 only m2, m3 m1, m3, m4 m1, m2, m3 m2, m3, m4 only m3, m4
Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 52 You execute the following code.
How many times will the word Hello be printed? A. B. C. D.
49 50 51 100
Correct Answer: B Section: [none] Explanation Explanation/Reference: The mod operator computes the remainder after dividing its first operand by its second. All numeric types have predefined remainder operators. In this case the reminder will be nonzero 50 times (for i with values 1, 3, 5,..,99). QUESTION 53 The purpose of the Finally section in an exception handler is to: A. B. C. D.
Execute code only when an exception is thrown. Break out of the error handler. Execute code regardless of whether an exception is thrown. Conclude the execution of the application.
Correct Answer: C Section: [none] Explanation Explanation/Reference: By using a finally block, you can clean up any resources that are allocated in a try block, and you can run code even if an exception occurs in the try block. Typically, the statements of a finally block run when control leaves a try statement. The transfer of control can occur as a result of normal execution, of execution of a break, continue, goto, or return statement, or of propagation of an exception out of the try statement. QUESTION 54 You are creating the necessary variables for an application. The data you will store in these variables has the following characteristics: Consists of numbers Includes numbers that have decimal points Requires more than seven digits of precision You need to use a data type that will minimize the amount of memory that is used. Which data type should you use? A. B. C. D.
Decimal Single Byte Double
Correct Answer: D Section: [none] Explanation Explanation/Reference: The double keyword signifies a simple type that stores 64-bit floating-point values. Precision: 15-16 digits QUESTION 55
You are creating a routine that will perform calculations by using a repetition structure. You need to ensure that the entire loop executes at least once. Which looping structure should you use? A. B. C. D.
For-Each For While Do-While
Correct Answer: D Section: [none] Explanation Explanation/Reference: In a Do..While loop the test is at the end of the structure, so it will be executed at least once. QUESTION 56 You execute the following code.
What will the variable result be? A. B. C. D.
1 2 3 4
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 57
You are creating an application that accepts input and displays a response to the user. You cannot create a graphical interface for this application. Which type of application should you create? A. B. C. D.
Web-based Windows Service Windows Forms console-based
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 58 You are creating an application that presents the user with a Windows Form. You need to configure the application to display a message box to confirm that the user wants to close the form. Which event should you handle? A. B. C. D.
Deactivate FormClosed Leave FormClosing
Correct Answer: D Section: [none] Explanation Explanation/Reference: The Closing event occurs as the form is being closed. QUESTION 59 Which type of application has the following characteristics when it is installed? Runs continuously in the background by default when the startup type is set to automatic Presents no user interface A. B. C. D.
Console-based Windows Forms Windows Service Batch file
Correct Answer: C Section: [none] Explanation Explanation/Reference: A Windows service runs in the background and has no interface. QUESTION 60 You are creating an application for a help desk center. Calls must be handled in the same order in which they were received. Which data structure should you use? A. Queue B. Hashtable
C. Stack D. Binary tree Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 61 In which order do the typical phases of the Software Development Life Cycle occur? A. B. C. D.
Requirements gathering, design, development, and testing Development, design, requirements gathering, and testing Design, requirements gathering, development, and testing Design, development, requirements gathering, and testing
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 62 You need to create an application that processes data on a last-in, first-out (LIFO) basis. Which data structure should you use? A. B. C. D.
Stack Array Tree Queue
Correct Answer: A Section: [none] Explanation Explanation/Reference: A stack implements LIFO. QUESTION 63 In the application life cycle, the revision of an application after it has been deployed is referred to as: A. B. C. D.
Monitoring Maintenance Unit testing Integration
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 64 This question requires that you evaluate the underlined text to determine if it is correct.
The duplication of code so that modifications can happen in parallel is known as separating. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed branching merging splitting
Correct Answer: B Section: [none] Explanation Explanation/Reference: When you develop applications in a team-based environment, you might need to access multiple versions of your application at the same time. If you copy one or more areas of your code into a separate branch, you can update one copy while you preserve the original version, or you can update both branches to meet different needs. Depending on your development goals, you can later merge the changes from multiple branches to create a single version that reflects all changes QUESTION 65 The following functions are defined:
What does the console display after the following line? Printer(2) A. B. C. D.
210 211 2101 2121
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 66 The throw keyword is used to perform which two actions? (Choose two.) A. B. C. D.
stop processing of the code move error handling to a separate thread raise exceptions re-throw exceptions as a different type
Correct Answer: CD Section: [none] Explanation
Explanation/Reference: * The Throw statement throws an exception that you can handle with structured exception- handling code (Try...Catch...Finally) or unstructured exception-handling code (On Error GoTo). You can use the Throw statement to trap errors within your code because Visual Basic moves up the call stack until it finds the appropriate exception-handling code. * This example throws an ApplicationException exception. Throw New ApplicationException QUESTION 67 You need to debug a Windows Service application by using breakpoints. What should you do? A. B. C. D.
Write all events to an event log. Set the Windows Service status to Paused. Implement the Console.WriteLine method throughout the Windows Service. use the Attach to Process menu in Microsoft Visual Studio.
Correct Answer: D Section: [none] Explanation Explanation/Reference: * Because a service must be run from within the context of the Services Control Manager rather than from within Visual Studio, debugging a service is not as straightforward as debugging other Visual Studio application types. To debug a service, you must start the service and then attach a debugger to the process in which it is running. * To debug a service Install your service. Start your service, either from Services Control Manager, Server Explorer, or from code. In Visual Studio, choose Attach to Process from the Debug menu. Etc. QUESTION 68 What does the Console.Error property do within a console-based application? A. B. C. D.
sets the standard error output stream gets the standard error input stream sets the standard error input stream gets the standard error output stream
Correct Answer: D Section: [none] Explanation Explanation/Reference: The Console.Error property gets the standard error output stream. QUESTION 69 This question requires that you evaluate the underlined text to determine if it is correct. The default entry point for a console application is the Class method. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed Main Program Object
Correct Answer: B Section: [none] Explanation Explanation/Reference: The default entry point for a console application is the Class Main. QUESTION 70 How does a console-based application differ from a Windows Store app? A. B. C. D.
Windows Store apps do not provide a method for user input Console-based applications do not display a graphical interface. Windows Store apps can access network resources. Console-based applications require the XNA Framework to run.
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 71 This question requires that you evaluate the underlined text to determine if it is correct. Converting an object to a more general type is called upcasting. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed downcasting interfacing flexing
Correct Answer: A Section: [none] Explanation Explanation/Reference: Casting up a hierarchy means casting from a derived object reference to a base object reference. QUESTION 72 You are developing an application that tracks tennis matches. A match is represented by the following class:
A match is created by using the following code:
How many times is the Location property on the newly created Match class assigned? A. B. C. D.
0 1 2 3
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 73 You have a class named Glass that inherits from a base class named Window. The Window class includes a protected method named break(). How should you call the Glass class implementation of the break() method? A. B. C. D.
Glass.break() Window.break() Me.break() MyBase.break()
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 74 You are writing a Web application that processes room reservation requests. You need to verify that the room that a guest has selected is not already reserved by another guest. Which type of programming should you use to determine whether the room is still available when the request is made? A. B. C. D.
functional in-browser dynamic server-side
Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 75 What is displayed when you attempt to access a Web service by using a Web browser? A. a visual depiction of your preliminary connection to the Web service B. a listing of methods that are available in the Web service
C. an error page explaining that you have accessed the Web service incorrectly D. a directory listing of the Web services application structure Correct Answer: B Section: [none] Explanation Explanation/Reference: The server, in response to this request, displays the Web service's HTML description page. The Web service's HTML description page shows you all the Web service methods supported by a particular Web service. Link to the desired Web service method and enter the necessary parameters to test the method and see the XML response. QUESTION 76 This question requires that you evaluate the underlined text to determine if it is correct. When creating a site to utilize message queuing, the "IP address" must be configured to MSMQ. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed protocol host header port
Correct Answer: B Section: [none] Explanation Explanation/Reference: MSMQ is a messaging protocol that allows applications running on separate servers/processes to communicate in a failsafe manner. QUESTION 77 You are migrating several HTML pages to your website. Many of these pages contain HTML and tags. Which XHTML document type declaration should you use?
A. B. C. D.
Option A Option B Option C Option D
Correct Answer: C Section: [none] Explanation
Explanation/Reference: The declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in. XHTML 1.0 Transitional This DTD contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like font). Framesets are not allowed. The markup must also be written as well-formed XML. QUESTION 78 Which three phrases are advantages of connection pooling? (Choose three.) A. B. C. D. E.
reduces load on the server improved performance reduces time to create a connection requires no configuration improved scalability
Correct Answer: BCE Section: [none] Explanation Explanation/Reference: B: In connection pooling, after a connection is created, it is placed in the pool and it is used over again so that a new connection does not have to be established. E: Connection pooling often improves application performance, concurrency and scalability. C: Connection pooling also cuts down on the amount of time a user must wait to establish a connection to the database. QUESTION 79 You are creating a database for a student directory. The Students table contains the following fields:
Which statement will retrieve only the first name, last name, and telephone number for every student listed in the directory?
A. B. C. D.
Option A Option B Option C Option D
Correct Answer: A Section: [none] Explanation Explanation/Reference: Use SELECT...FROM and list the fields you want to retrieve. QUESTION 80 What are two advantages of normalization in a database? (Choose two.) A. B. C. D.
reduces schema limitations minimizes impact of data corruption decreases space used on disk prevents data inconsistencies
Correct Answer: CD Section: [none] Explanation Explanation/Reference: QUESTION 81 This question requires that you evaluate the underlined text to determine if it is correct. The benefit of using a transaction when updating multiple tables is that the update cannot fail. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed succeeds or fails as a unit finishes as quickly as possible can be completed concurrently with other transactions
Correct Answer: B Section: [none] Explanation Explanation/Reference: The benefit of using a transaction when updating multiple tables is that the update succeeds or fails as a unit. QUESTION 82 You are creating an application that presents the user with a Windows Form. Which event is triggered each time the Windows Form receives focus? A. B. C. D.
Load Enter Activated paint
Correct Answer: B Section: [none] Explanation Explanation/Reference: When you change the focus by using the mouse or by calling the Focus method, focus events of the Control class occur in the following order:
Enter GotFocus LostFocus Leave Validating Validated QUESTION 83 What are the three basic states that a Windows service can be in? (Choose three.) A. B. C. D. E.
running starting halted stopped paused
Correct Answer: BDE Section: [none] Explanation Explanation/Reference: A service can exist in one of three basic states: Running, Paused, or Stopped. QUESTION 84 You have a Windows Service running in the context of an account that acts as a non-privileged user on the local computer. The account presents anonymous credentials to any remote server. What is the security context of the Windows Service? A. B. C. D.
Local System NetworkService user LocalService
Correct Answer: D Section: [none] Explanation Explanation/Reference: LocalService, which runs in the context of an account that acts as a non-privileged user on the local computer, and presents anonymous credentials to any remote server; QUESTION 85 This question requires that you evaluate the underlined text to determine if it is correct. Arguments are passed to console applications as a Hashtable object. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed String Array StoredProcedureCollection Dictionary
Correct Answer: B Section: [none] Explanation Explanation/Reference:
Arguments are passed to console applications as a String Array object. QUESTION 86 You have a SQL Server database named MyDB that uses SQL Server Authentication. Which connection string should you use to connect to MyDB? A. B. C. D.
Data Source=MyDB; Integrated Security=SSPf; Initial Catalog=Sales Data Source=MyDB; Trusted_Connection=True; MultipleActiveResultSets=True; Initial Catalog=Sales Data Source=MyDB; Integrated Security=True; Initial Catalog=Sales Data Source=MyDB; UserID=username; Password=P@sswOrd; Initial Catalog=Sales
Correct Answer: D Section: [none] Explanation Explanation/Reference: Integrated Security Integrated Security is by default set to false. When false, User ID and Password are specified in the connection. Incorrect: not C: Windows Authentication (Integrated Security = true) remains the most secure way to log in to a SQL Server database. QUESTION 87 You need to create a stored procedure that passes in a person's name and age. Which statement should you use to create the stored procedure?
A. B. C. D.
Option A Option B Option C Option D
Correct Answer: C Section: [none] Explanation Explanation/Reference: Example (nvarchar and int are best here): The following example creates a stored procedure that returns information for a specific employee by passing values for the employee's first name and last name. This procedure accepts only exact matches for the parameters passed. CREATE PROCEDURE HumanResources.uspGetEmployees
@LastName nvarchar(50), @FirstName nvarchar(50) AS SET NOCOUNT ON; SELECT FirstName, LastName, JobTitle, Department FROM HumanResources.vEmployeeDepartment WHERE FirstName = @FirstName AND LastName = @LastName; GO QUESTION 88 You are developing a database that other programmers will query to display race results. You need to provide the ability to query race results without allowing access to other information in the database. What should you do? A. B. C. D.
Add an AFTER UPDATE trigger on the result table to reject updates. Create an index on the result table. Place the query into a stored procedure. Disable implicit transactions.
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 89 This question requires that you evaluate the underlined text to determine if it is correct. A piece of text that is 4096 bytes or smaller and is stored on and retrieved from the client computer to maintain state is known as a ViewState. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed cookie form post QueryString
Correct Answer: B Section: [none] Explanation Explanation/Reference: A piece of text that is 4096 bytes or smaller and is stored on and retrieved from the client computer to maintain state is known as a Cookie. QUESTION 90 Which programming language is characterized as client-side, dynamic and weakly typed? A. B. C. D.
ASP.NET C# JavaScript HTML
Correct Answer: C Section: [none] Explanation
Explanation/Reference: JavaScript is characterized as a dynamic, weakly typed, prototype-based language with first-class functions. It is primarily used in the form of client-side JavaScript for the development of dynamic websites. QUESTION 91 This question requires that you evaluate the underlined text to determine if it is correct. Internet Information Services (IIS) must be installed on the client computers in order to run a deployed ASP.NET application. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed computer that hosts the application computer that you plan to deploy from Application Layer Gateway Service
Correct Answer: B Section: [none] Explanation Explanation/Reference: Internet Information Services (IIS) must be installed on computer that hosts the application in order to run a deployed ASP.NET application. QUESTION 92 When a web service is referenced from a client application in Microsoft Visual Studio, which two items are created? (Choose two.) A. B. C. D.
a stub a proxy a.disco file a.wsdlfile
Correct Answer: CD Section: [none] Explanation Explanation/Reference: A .wsdl file that references the Web service is created, together with supporting files, such as discovery (.disco and .discomap) files, that include information about where the Web service is located. QUESTION 93 This question requires that you evaluate the underlined text to determine if it is correct. Unit testing is the final set of tests that must be completed before a feature or product can be considered finished. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed User acceptance System Integration
Correct Answer: B Section: [none] Explanation
Explanation/Reference: User acceptance testing (UAT) is the last phase of the software testing process. During UAT, actual software users test the software to make sure it can handle required tasks in real-world scenarios, according to specifications. UAT is one of the final and critical software project procedures that must occur before newly developed software is rolled out to the market. UAT is also known as beta testing, application testing or end user testing. QUESTION 94 This question requires that you evaluate the underlined text to determine if it is correct. To minimize the amount of storage used on the hard drive by an application that generates many small files, you should make the partition as small as possible. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed file allocation table block size folder and file names
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 95 You run the following code:
What is the value of result when the code has completed? A. B. C. D.
0 10 20 30
Correct Answer: B Section: [none] Explanation Explanation/Reference: The conditional-OR operator (||) performs a logical-OR of its bool operands. If the first operand evaluates to
true, the second operand isn't evaluated. If the first operand evaluates to false, the second operator determines whether the OR expression as a whole evaluates to true or false. QUESTION 96 All objects in .NET inherit from which item? A. B. C. D.
a reference type the System.Type class a value type the System.Object class
Correct Answer: D Section: [none] Explanation Explanation/Reference: The System.Object class supports all classes in the .NET Framework class hierarchy and provides lowlevel services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy. QUESTION 97 You create an object of type ANumber. The class is defined as follows.
The code is executed as follows.
What is the value of number after the code is executed? A. B. C. D.
Null 0 3 7
Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 98 You have a class with a property. You need to ensure that consumers of the class can write to the value of the property. Which keyword should you use?
A. B. C. D.
Add value Set Get
Correct Answer: C Section: [none] Explanation Explanation/Reference: Set: The set { } implementation receives the implicit argument "value." This is the value to which the property is assigned. * Property. On a class, a property gets and sets values. A simplified syntax form, properties are implemented in the IL as methods (get, set). QUESTION 99 You are designing a Windows Store application. You need to design the application so that users can share content by connecting two or more devices by physically tapping the devices together. Which user experience (UX) guideline for Windows Store applications should you use? A. B. C. D.
share and data exchange device-awareness location-awareness proximity gestures
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 100 This question requires that you evaluate the underlined text to determine if it is correct. The bubble sort algorithm steps through the list to be sorted, comparing adjacent items and swapping them if they are in the wrong order. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed merge library insertion
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 101 Which two types of information should you include in an effective test case? (Choose two.)
A. B. C. D.
any pre-conditions necessary to test the case the expected result from testing the case multiple actions combined as a single step to test the case the stakeholders who originated the test case
Correct Answer: BC Section: [none] Explanation Explanation/Reference: You can create manual test cases using Microsoft Test Manager that have both action and validation test steps. You can also share a set of common test steps between multiple test cases called shared steps. This simplifies maintenance of test steps if your application under test changes. QUESTION 102 You are developing a webpage that enables students to manage races. The webpage will display two lists: past races and upcoming races. The page also contains a sidebar with contact information and a panel with social media settings that can be edited. Race results can be shared on social media. How many components will be on the webpage? A. B. C. D.
2 3 4 5
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 103 This question requires that you evaluate the underlined text to determine if it is correct. A table whose attributes depend only on the primary key must be at least second normal form. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed first third fourth
Correct Answer: A Section: [none] Explanation Explanation/Reference: 2nd Normal Form Definition A database is in second normal form if it satisfies the following conditions: It is in first normal form All non-key attributes are fully functional dependent on the primary key QUESTION 104
You have a table named ITEMS with the following fields: ID (integer, primary key. auto generated) Description (text) Completed (Boolean) You need to insert the following data in the table: "Cheese", False Which statement should you use? A. B. C. D.
INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 1) INSERT INTO ITEMS (ID, Description, Completed) VALUES (NEWID(), 'Cheese', 0) INSERT INTO ITEMS (ID, Description, Completed) VALUES (1, 'Cheese", 0) INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 0)
Correct Answer: D Section: [none] Explanation Explanation/Reference: The string values TRUE and FALSE can be converted to bit values: TRUE is converted to 1 and FALSE is converted to 0. Incorrect: Not B, not C: ID is autogenerated and should not be specified. QUESTION 105 Which three are valid SQL keywords? (Choose three.) A. B. C. D. E.
GET FROM SELECT WHAT WHERE
Correct Answer: BCE Section: [none] Explanation Explanation/Reference: Example: SELECT * FROM Customers WHERE Country='Mexico'; QUESTION 106 You run the following code.
What will the value of the variable iResult be? A. B. C. D.
1 2 3 4
Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 107 The Dog class and the Cat class inherit from the Animal class. The Animal class includes a breathe() method and a speak() method. If the speak() method is called from an object of type Dog, the result is a bark. If the speak() method is called from an object of type Cat, the result is a meow. Which term is used to describe this object-oriented concept? A. B. C. D.
multiple inheritance encapsulation polymorphism data hiding
Correct Answer: C Section: [none] Explanation Explanation/Reference: Polymorphism is often referred to as the third pillar of object-oriented programming, after encapsulation and inheritance. Polymorphism is a Greek word that means "many-shaped" and it has two distinct aspects: * At run time, objects of a derived class may be treated as objects of a base class in places such as method parameters and collections or arrays. When this occurs, the object's declared type is no longer identical to its run-time type. * Base classes may define and implement virtual methods, and derived classes can override them, which means they provide their own definition and implementation. At run-time, when client code calls the method, the CLR looks up the run-time type of the object, and invokes that override of the virtual method. Thus in your source code you can call a method on a base class, and cause a derived class's version of the method
to be executed. QUESTION 108 This question requires that you evaluate the underlined text to determine if it is correct. Converting a value type to a reference type in an object is called boxing. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed unboxing interfacing mapping
Correct Answer: A Section: [none] Explanation Explanation/Reference: Boxing is an implicit conversion of a Value Types (C# Reference) to the type object or to any interface type implemented by this value type. QUESTION 109 Which service can host an ASP.NET application? A. B. C. D.
Remote Desktop Services Internet Information Services web Services Cluster Services
Correct Answer: B Section: [none] Explanation Explanation/Reference: Using Internet Information Services (IIS) Manager, you can create a local Web site for hosting an ASP.NET Web application. QUESTION 110 You have a website that includes a form for usemame and password. You need to ensure that users enter their username and password. The validation must work in all browsers. Where should you put the validation control? A. B. C. D.
in the Web.config file in the server-side code only in the client-side code only in both the client-side code and the server-side code
Correct Answer: D Section: [none] Explanation Explanation/Reference: From version 2.0 on, ASP.NET recognized the JavaScript capabilities of these browsers, so client-side validation is now available to all modern browsers, including Opera, Firefox, and others. Support is even better now in ASP.NET 4.0. That said, it's important not to forget that JavaScript can be disabled in any browser, so client-side validation cannot be relied upon--we must always validate any submitted data on the
server. QUESTION 111 You plan to create an application for your company. The application will run automated routines and write the results to a text-based log file. Little or no user interaction is required. Security requirements on the host computers prevent you from running applications on startup, and users must be able to see the status easily on the screen. The host computers also have limited memory and monitors that display only two colors. These computers will have no network connectivity. Which type of application should you use for this environment? A. B. C. D.
Windows Store app console-based DirectX Windows Service
Correct Answer: B Section: [none] Explanation Explanation/Reference: Building Console Applications Applications in the .NET Framework can use the System.Console class to read characters from and write characters to the console. Data from the console is read from the standard input stream, data to the console is written to the standard output stream, and error data to the console is written to the standard error output stream. QUESTION 112 Which three items are benefits of encapsulation? (Choose three.) A. B. C. D. E.
restricted access flexibility maintainability performance inheritance
Correct Answer: ABC Section: [none] Explanation Explanation/Reference: Encapsulation is the packing of data and functions into a single component. In programming languages, encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination thereof: * A language mechanism for restricting access to some of the object's components. * A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data. Incorrect: not E: Encapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and abstraction. QUESTION 113 This question requires that you evaluate the underlined text to determine if it is correct. When a base class declares a method as virtual, the method is hidden from implementation bv a derived class. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct.
A. B. C. D.
No change is needed can be overridden with its own implementation by a derived class must be overridden in any non-abstract class that directly inherits from that class cannot be overridden with its own implementation by a derived class
Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 114 This question requires that you evaluate the underlined text to determine if it is correct. The Response.Redirect method is used to transfer processing of the current page to a new page, and then return processing back to the calling page once processing of the new page has completed. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed Server.Transfer method Server.Execute method meta http-equiv="refresh" tag
Correct Answer: C Section: [none] Explanation Explanation/Reference: The Execute method calls an .asp file, and processes it as if it were part of the calling ASP script. The Execute method is similar to a procedure call in many programming languages. Incorrect: * Response.Redirect Method The Redirect method causes the browser to redirect the client to a different URL. * The Server.Transfer method sends all of the information that has been assembled for processing by one .asp file to a second .asp file. QUESTION 115 You have a Microsoft ASP.NET web application. You need to store a value that can be shared across users on the server. Which type of state management should you use? A. B. C. D.
session application cookies ViewState
Correct Answer: B Section: [none] Explanation Explanation/Reference: Application state is a data repository available to all classes in an ASP.NET application. Application state is stored in memory on the server and is faster than storing and retrieving information in a database. Unlike session state, which is specific to a single user session, application state applies to all users and sessions.
Therefore, application state is a useful place to store small amounts of often-used data that does not change from one user to another. Incorrect: not A: Session State contains information that is pertaining to a specific session (by a particular client/ browser/machine) with the server. It's a way to track what the user is doing on the site.. across multiple pages...amid the statelessness of the Web. e.g. the contents of a particular user's shopping cart is session data. Cookies can be used for session state. Not D: Viewstate is a state management technique in asp.net. ASP.NET Viewstate is preserving the data between the requests or postbacks and stored in hidden fields on the page. QUESTION 116 This question requires that you evaluate the underlined text to determine if it is correct. The process of transforming compiled C# code into an XML string for a web service is known as deserialization. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct. A. B. C. D.
No change is needed serialization decoding encoding
Correct Answer: B Section: [none] Explanation Explanation/Reference: Serialization is the process of converting an object into a stream of bytes in order to store the object or transmit it to memory, a database, or a file. Its main purpose is to save the state of an object in order to be able to recreate it when needed. Serialization allows the developer to save the state of an object and recreate it as needed, providing storage of objects as well as data exchange. Through serialization, a developer can perform actions like sending the object to a remote application by means of a Web Service, passing an object from one domain to another, passing an object through a firewall as an XML string, or maintaining security or user-specific information across applications. QUESTION 117 This question requires that you evaluate the underlined text to determine if it is correct. A data dictionary that describes the structure of a database is called metadata. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed normalization a database management system (DBMS) metacontent
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 118 You are reviewing a design for a database. A portion of this design is shown in the exhibit. Note that you
may choose to view either the Crow's Foot Notation or Chen Notation version of the design. (To view the Crow's Foot Notation, click the Exhibit A button. To view the Chen Notation, click the Exhibit B button.)
Which term is used to describe the relationship between Customer and Order? A. B. C. D. E.
many-to-many multi-dimensional one-to-many one-to-one one-dimensional
Correct Answer: C Section: [none] Explanation Explanation/Reference: A customer can have many orders. QUESTION 119 This question requires that you evaluate the underlined text to determine if it is correct. To improve performance, a SQL SELECT statement should use indexes. Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct. A. B. C. D.
No change is needed joins grouping ordering
Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 120 You are building a web application that enables international exchange students to schedule phone calls with their prospective schools. The application allows students to indicate a preferred date and time for phone calls. Students may indicate no preferred time by leaving the date and time field empty. The application must support multiple time zones. Which data type should you use to record the student's preferred date and time? A. uLong?
B. DateTimeOffset? C. SByte D. Date Correct Answer: B Section: [none] Explanation Explanation/Reference: datetimeoffset: Defines a date that is combined with a time of a day that has time zone awareness and is based on a 24-hour clock. Incorrect: Date: Defines a date. sByte: The sbyte keyword indicates an integral type that stores values in the range of -128 to 127. QUESTION 121 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 122 You are developing an application that displays a list of race results. The race results are stored in the following class:
The code that manages the list is as follows:
You need to implement the AddRace method. Match the code segment to its location. (To answer, drag the appropriate code segment from the column on the left to its location on the right. Each code segment may be used once, more than once, or not at all. Each correct match is worth one point.) Select and Place:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 123 You are reviewing the architecture for a system that allows race officials to enter the results of 5K race results. The results are then made available to students using a web application. The architecture is shown below:
Use the drop-down menus to select the answer choice that answers each question. Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 124 You have the following flowchart:
Use the drop-down menus to select the answer choice that completes each statement Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 125 You are reviewing the following code that saves uploaded images.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 126 You are developing an application to display track and field race results. The application must display the race results twice. The first time it must display only the winner and runner-up. The second time it must display all participants. The code used to display results is shown below.
You need to implement the Rankings() function.
Complete the function to meet the requirements. (To answer, drag the appropriate code segment from the column on the left to its location on the right. Each code segment may be used once, more than once, or not at all. Each correct match is worth one point.) Select and Place:
Correct Answer:
Section: [none] Explanation Explanation/Reference: * You can use an Exit Function or Return statement to end the iteration. Return expression is required in a Function, Get, or Operator procedure. Expression that represents the value to be returned to the calling code. QUESTION 127 You are creating a Windows Store application that uses the following gesture:
Use the drop-down menus to select the answer choice that completes each statement. Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 128 You are extending an application that stores and displays the results of various types of foot races. The application contains the following definitions:
The following code is used to display the result for a race: The contents of the console must be as follows: 99 seconds 1.65 minutes 99 You need to implement the FootRace class. Match the method declaration to the method body. (To answer, drag the appropriate declaration from the column on the left to its body on the right. Each declaration may be used once, more than once, or not at all. Each correct match is worth one point.) Select and Place:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 129 You have a base class named Tree with a friend property named color and a protected property named NumberOfLeaves. In the same project, you also have a class named Person. For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 130 You are developing a web application. You need to create the following graphic by using Cascading Style Sheets (CSS):
Use the drop-down menus to select the answer choice that completes each statement. Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 131 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 132 The ASP.NET MVC page lifecycle is shown in the following graphic:
Use the drop-down menus to select the answer choice that completes each statement Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 133 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 134 You are reviewing the following class that is used to manage the results of a 5K race:
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 135 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 136 You open the Internet Information Services 7.5 Manager console as shown in the following exhibit:
You need to examine the current configuration of the server W2008R2. Use the drop-down menus to select the answer choice that answers each question. Each correct selection is worth one point.
Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 137 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 138 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference: QUESTION 139 For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. Hot Area:
Correct Answer:
Section: [none] Explanation Explanation/Reference:
Microsoft 98-361
Software Development Fundamentals Version: 14.0
Microsoft 98-361 Exam QUESTION NO: 1 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been asked to create a new program for PassGuide.com. Prior to creating the new program, you plan to create an algorithm to fully comprehend how the processes of the program must run. The algorithm will list the required actions for completing a process in the appropriate sequence. You are informed that your method for creating the algorithm should be as simple, and clear as possible. What option should you use? A. You should consider making use of the flowchart method. B. You should consider making use of the pivotchart method. C. You should consider making use of the data table method. D. You should consider making use of the XML method. Answer: A Explanation:
QUESTION NO: 2 You are employed as a developer at PassGuide.com. You are creating a .NET Framework application. You have been instructed to make sure that you make use of Common Intermediate Language (CLI) for programming the application. What options are TRUE with regards to CLI? (Choose all that apply.) A. CIL is the highest-level human-readable programming language defined by the Common Language Infrastructure specification. B. CIL is the highest-level human-readable programming language defined by the Common Language Infrastructure specification. C. CIL is an object-oriented assembly language, and is entirely stack-based. D. CIL is an object-oriented assembly language, but is not stack-based. Answer: A,C Explanation: BrainDumps.com
2
Microsoft 98-361 Exam
QUESTION NO: 3 You are employed as a developer at PassGuide.com. You make use of Visual Basic .Net for development purposes. You have written the code shown below for declaring an array of a new application: Dim myArray as String = { apples, pears, plums, grapes, oranges, bananas} You want to return the third item in your array. What code would you employ? A. myArray[1] B. myArray[2] C. myArray[3] D. myArray[4] E. myArray[5] F. myArray[6] Answer: B Explanation:
QUESTION NO: 4 You are employed as a developer at PassGuide.com. You are in the process of creating code for a method that does not retrieve a value for the calling code. You want to make sure that this is reflected when declaring the method. What option should you use? A. You should consider making use of the void keyword in the method declaration. B. You should consider making use of the sealed C# statement in the method declaration. C. You should consider making use of the internal C# statement in the method declaration. D. You should consider making use of the public C# statement in the method declaration. E. You should consider making use of the protected C# statement in the method declaration. BrainDumps.com
3
Microsoft 98-361 Exam Answer: A Explanation:
QUESTION NO: 5 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a new program for PassGuide.com using C#. You are informed that the new program should allow for intricate multi-way branching. Furthermore, the code used must not be difficult to make sense of. What is the option you should use? A. You should consider making use of the foreach C# statement. B. You should consider making use of the while C# statement. C. You should consider making use of the protected C# statement. D. You should consider making use of the switch C# statement. Answer: D Explanation:
QUESTION NO: 6 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been tasked with creating a new program for PassGuide.com using C#. The new program will iterate throughout an assortment of lists and arrays. Every element in this assortment must be processed just one time. You are then informed that reading and debugging your code should not be difficult. What action should you take? A. You should consider making use of the switch C# statement as part of your code. B. You should consider making use of the void keyword as part of your code. C. You should consider making use of the foreach C# statement as part of your code. D. You should consider making use of the interface keyword as part of your code.
BrainDumps.com
4
Microsoft 98-361 Exam Answer: C Explanation:
QUESTION NO: 7 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new application for PassGuide.com using C#. The new application must process a loop repeatedly for precisely 7 times. Which of the following represents the code you should write? A. int count = 1; while (count <= 7) { Console.WriteLine("The value of count = {0}", count); count++; } B. int count = 0; while (count <= 7) { Console.WriteLine("The value of count = {7}", count); count++; } C. int count = 1; while (count <= 7) { Console.WriteLine("The value of count = {7}"); count++; } D. int count = 0; while (count <= 7) { Console.WriteLine("The value of count = {0}"); count++; } Answer: A Explanation:
QUESTION NO: 8 BrainDumps.com
5
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for PassGuide.com. The program should be able to affect integer values, which may be positive or negative and be greater than twelve characters. You have to make sure that you are able to store this type of variable. What is the option you should take? A. You should consider making use of the static data type. B. You should consider making use of the string data type. C. You should consider making use of the private data type. D. You should consider making use of the long data type. Answer: D Explanation:
QUESTION NO: 9 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new application that should include a recursive method that computes the factorial of a number. You have written the following code for the method: 01: public static int Factorial(int n) 02: { 03: if (n == 0) 04: { 05: return 1; 06: } 07: else 08: { BrainDumps.com
6
Microsoft 98-361 Exam 09: 10: } 11: } You have to insert suitable code at line 09 to make sure that the proper outcome is reached. What line of code should be inserted? A. return n * Factorial(n - 1); B. return n; C. return n * Factorial(n - 0); D. return 0; Answer: A Explanation:
QUESTION NO: 10 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are writing code for a new PassGuide.com application. The code includes the while statement. You want to make sure that a control enters the while loop six times. Which of the following suitably represents the written code? A. int count = 0; while (count < 6) { when (count == 6) break; count++; } B. int count = 0; while (count < 7) { if (count == 5) break;
BrainDumps.com
7
Microsoft 98-361 Exam count++; } C. int count = 1; while (count < 6) { if (count == 6) break; count++; } D. int count = 1; while (count < 7) { when (count == 5) break; count++; } Answer: B Explanation:
QUESTION NO: 11 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for PassGuide.com. You have to include a repetition structure that allows for the termination condition test to execute at the bottom of the loop not the top. What action should you take? A. You should consider making use of the public C# statement. B. You should consider making use of the sealed C# statement. C. You should consider making use of the private C# statement. D. You should consider making use of the do-while C# statement. Answer: D Explanation:
QUESTION NO: 12 BrainDumps.com
8
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a program that includes code that allows the program to iterate a set amount of times. Regardless of whether the loop body includes complex code, the written code should be understandable and easily maintainable. What option should you use? A. You should consider making use of the public C# statement. B. You should consider making use of the for C# statement. C. You should consider making use of the private C# statement. D. You should consider making use of the sealed C# statement. Answer: B Explanation:
QUESTION NO: 13 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a method for determining the concession for products PassGuide.com sold. A variable, named percentValue, is of the type double and must be only be available in the method. Which of the following actions should you take? A. You should consider making use of the private access modifier for distinguishing the percentValue variable. B. You should consider making use of the void access modifier for distinguishing the percentValue variable. C. You should consider making use of the string access modifier for distinguishing the percentValue variable. D. You should consider making use of the protected access modifier for distinguishing the percentValue variable. Answer: A Explanation:
QUESTION NO: 14 BrainDumps.com
9
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are planning to make use of an InitFields method that obtains two parameters of data type double, but does not retrieve a value for the calling code. You start writing code to define the InitFields method as shown below: public void InitFields(double l, double w) What code should you use to complete the code? A. { retrieve length + width; } B. { length = l; width = w; } C. { retrieve length - width;} D. { retrieve length + width; } Answer: B Explanation:
QUESTION NO: 15 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of creating a class that makes use of a method using the virtual modifier. Which of the following is TRUE with regards to the virtual modifier? (Choose all that apply.) A. You are unable to make use of the virtual modifier with the static, abstract, private or override modifiers. B. You are able to make use of the virtual modifier with the static, abstract, private or override modifiers.
BrainDumps.com
10
Microsoft 98-361 Exam C. The use of the virtual modifier prevents inheritance of the class. D. The virtual modifier is used in a class declaration to indicate that a class is intended only to be a base class of other classes. Answer: A Explanation:
QUESTION NO: 16 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of defining a class to provide functionality for executing custom pivot transforms on big data sets. You have been informed that derived classes should be prevented from inheriting the functionality of the class. What action should you take? A. You should consider making use of the sealed keyword. B. You should consider making use of the static keyword. C. You should consider making use of the public keyword. D. You should consider making use of the int keyword. Answer: A Explanation:
QUESTION NO: 17 You are employed as a developer at PassGuide.com. You are in the process of creating a new application that includes numerous classes, with dissimilar algorithms. You have been instructed to make sure that these classes are configured to print, regardless of their dissimilar algorithms. Which of the following actions should you take? A. You should consider developing a classified interface that is employed by all of the classes. B. You should consider configuring a customized interface for each class. C. You should consider configuring a unique interface for each class. D. You should consider developing a common interface that is employed by all of the classes.
BrainDumps.com
11
Microsoft 98-361 Exam Answer: D Explanation:
QUESTION NO: 18 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process creating a class, named PGMovies. You want to make sure that you have the ability to retrieve a list of all movies, which are arranged by the producer’s surname. You have to make sure that this feature of the class is suitably classified by the code you insert. What action should you take? A. You should consider making use of a method. B. You should consider making use of an element. C. You should consider making use of the while statement. D. You should consider making use of the foreach statement. Answer: A Explanation:
QUESTION NO: 19 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new class. The new class must allow for the immediate initialization of its data members every time an object of the class is created. Which of the following actions should you take? A. You should consider creating an element in the class. B. You should consider creating a constructor in the class. C. You should consider creating a customized interface for the class. D. You should consider developing a common interface for the class. Answer: B Explanation:
BrainDumps.com
12
Microsoft 98-361 Exam
QUESTION NO: 20 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of developing a new derivative of the Shape class. The Shape class makes use of public virtual void to define the Area method. You want to make sure that the Area method in the Shape class allows for new operations, while keeping the execution of the Area method of the Shape class concealed. What option should you use? A. You should consider defining the Area method for the derivative of the Shape class using public new void. B. You should consider defining the Area method for the derivative of the Shape class using private new void. C. You should consider defining the Area method for the derivative of the Shape class using public sealed void. D. You should consider defining the Area method for the derivative of the Shape class using private sealed void. Answer: A Explanation:
QUESTION NO: 21 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are instructed to develop a new Rectangle class. The new class should allow for Rectangle objects to be compared. What option suitably represents the necessary code? A. class Rectangle : IConvertible { public double Length { get; set; } public double Width { get; set; } public double GetArea() BrainDumps.com
13
Microsoft 98-361 Exam { return Length * Width; } public intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; else if (diff > 0) return 1; else return -1; } } B. class Rectangle : IComparable { public Length { get; set; } public Width { get; set; } public GetArea() { return Area; } public intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; else if (diff > 0) return 1; else return -1; } } C. class Rectangle : IComparable { private double Length { get; set; } private double Width { get; set; } private double GetArea() { return Length * Width; } private intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; BrainDumps.com
14
Microsoft 98-361 Exam else if (diff > 0) return 1; else return -1; } } D. class Rectangle : IComparable { private Length { get; set; } private Width { get; set; } private GetArea() { return Area; } private intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; else if (diff > 0) return 1; else return -1; } } Answer: A Explanation:
QUESTION NO: 22 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of creating an application using C#. You have just developed a class that has the same name as a class in a third-party library you are using. You are informed that making use of this class in your code should not affect the clarity of your code. What action should you take? A. You should consider including the namespace C# keyword in your code.
BrainDumps.com
15
Microsoft 98-361 Exam B. You should consider including the int C# keyword in your code. C. You should consider including the void C# keyword in your code. D. You should consider including the static C# keyword in your code. Answer: A Explanation:
QUESTION NO: 23 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a new C# program for PassGuide.com. You want to write code that declares members that belong to the actual class, not to specific objects. What is the action you should take? A. You should consider making use of an abstract keyword. B. You should consider making use of a string keyword. C. You should consider making use of a virtual keyword. D. You should consider making use of a static keyword. Answer: D Explanation:
QUESTION NO: 24 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of creating a new program using C#. Your code has to include an element that meets the following requirements: •Specifies the template for an object. •Must be a characterization of a new data type. What action should you take? A. You should consider including a class. B. You should consider including a delegate. BrainDumps.com
16
Microsoft 98-361 Exam C. You should consider including a method. D. You should consider including a property. Answer: A Explanation:
QUESTION NO: 25 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to develop a new Windows application for PassGuide.com. You are in the process of defining a new class. You want to make sure that code outside the assembly is prevented from accessing the class. Code packaged in the same assembly should however have the ability to access this class, regardless of whether they inherit directly or indirectly from the class. What action should you take? A. You should consider declaring the class using the public access modifier B. You should consider declaring the class using the void access modifier C. You should consider declaring the class using the private access modifier D. You should consider declaring the class using the string access modifier Answer: C Explanation:
QUESTION NO: 26 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to develop a new Windows application for PassGuide.com. You are in the process of defining a new common base class that must be used by various derived classes. You want to declare the new base class What is the option you should use? A. You should consider making use of the actual keyword. B. You should consider making use of the limit keyword. C. You should consider making use of the interface keyword. BrainDumps.com
17
Microsoft 98-361 Exam D. You should consider making use of the concrete keyword. Answer: C Explanation:
QUESTION NO: 27 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to develop a new Windows application for PassGuide.com. You have decided to make use of the inheritance object oriented programming concept. What will this allow for? A. It will enable derived classes to share common functionality with base classes, but prevent them from defining their own unique behavior. B. It will prevent derived classes from sharing common functionality with base classes, while allowing them to define their own unique behavior. C. It will prevent derived classes to share common functionality with base classes, and also prevent them from defining their own unique behavior. D. It will enable derived classes to share common functionality with base classes, while allowing them to define their own unique behavior. Answer: D Explanation:
QUESTION NO: 28 You are employed as a software system developer at PassGuide.com. You are in the process of developing a new software system for PassGuide.com. You are asked to identify the steps required in the development process. What option suitably describes the FIRST step? A. You should consider performing a requirements analysis. B. You should consider choosing a suitable design model. C. You should consider selecting a suitable backup strategy. D. You should consider selecting a release date. BrainDumps.com
18
Microsoft 98-361 Exam Answer: A Explanation:
QUESTION NO: 29 You are employed as a software system developer at PassGuide.com. You are preparing the development of a new software system for PassGuide.com. You are currently analyzing the results of the design process, prior to development. What options form part of the results you are analyzing? A. Plans. B. Modes. C. Architecture. D. Hardware application. Answer: A,B Explanation:
QUESTION NO: 30 You are employed as a software system developer at PassGuide.com. You have received a request for the development of a new software system. You require the assistance of various types of developers during the development process, of which one is an architect. What is the purpose of an architect? A. An architect develops system content. B. An architect develops the system’s technical blueprint. C. An architect deals with quality control. D. An architect develops system manuals and help files. Answer: B Explanation:
QUESTION NO: 31
BrainDumps.com
19
Microsoft 98-361 Exam You are employed as a software system developer at PassGuide.com. You have received a request for the development of a new software system. You require the assistance of various types of developers during the development process, of which one is a technical writer. What is the purpose of a technical writer? A. A technical writer develops system content. B. A technical writer develops the system’s technical blueprint. C. A technical writer deals with quality control. D. A technical writer develops system manuals and help files. Answer: D Explanation:
QUESTION NO: 32 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for PassGuide.com. You have reached the testing stage of the development process. What is the reason for the testing stage? A. It allows you to ascertain whether the program execution meets the initial requirements. B. It allows you to optimize the program for performance and security. C. It allows you to employ a data structure that serves as a buffer for overflow capacity. D. It allows you to analyze the packaging, deployment, delivery, and support plan for the program. Answer: A Explanation:
QUESTION NO: 33 You are employed as a software system developer at PassGuide.com. You have received a request for the development of a new software system. You require the assistance of various people during the development process, of which one is a release manager.
BrainDumps.com
20
Microsoft 98-361 Exam What is the purpose of a release manager? A. A release manager develops system content. B. A release manager creates a rollout plan and certifies release candidates for shipment or deployment. C. A release manager deals with quality control. D. A release manager develops system manuals and help files. Answer: B Explanation:
QUESTION NO: 34 You are employed as a developer at PassGuide.com. You have been instructed to create a new program for PassGuide.com. You want to make sure that when you fix a problem with the program, it does not negatively affect the rest of the program. You need to employ a suitable testing strategy. What option should you use? A. Merger. B. Improvement. C. Rejection. D. Regression. Answer: D Explanation:
QUESTION NO: 35 You are employed as a senior developer at PassGuide.com. You are responsible for running training exercises for junior developers. During one of the training exercises, you are discussing testing. You are explaining what white-box testing entails. What is TRUE with regards to white-box testing? (Choose all that apply.)
BrainDumps.com
21
Microsoft 98-361 Exam A. White-box testing allows for testing every imaginable combination of end-user activities. B. White-box testing requires the creation test cases by studying the code to identify any possible failure scenarios. C. You are allowed to make use of sample applications to integrate and test the application block for white box testing. D. White-box testing is also known as glass box, clear box, and open box testing. Answer: B,D Explanation:
QUESTION NO: 36 You are employed as a senior developer at PassGuide.com. You are responsible for running training exercises for junior developers. During one of the training exercises, you are discussing testing. You are explaining what black-box testing entails. What is TRUE with regards to black-box testing? (Choose all that apply.) A. Black-box testing allows for testing every imaginable combination of end-user activities. B. Black-box testing requires the creation test cases by studying the code to identify any possible failure scenarios. C. You are allowed to make use of sample applications to integrate and test the application block for black box testing. D. Black-box testing is also known as glass box, clear box, and open box testing. Answer: A,C Explanation:
QUESTION NO: 37 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for PassGuide.com. You are planning to make use of a queue data structure. Which of the following options are TRUE with regards to the queue data structure? A. It is a contiguous collection of data items that can be accessed by an ordinal index. BrainDumps.com
22
Microsoft 98-361 Exam B. It does not allow random access. C. It does not support chaining, splitting, cycles, or other features that can leave the queue in a conflicting state. D. It is the most commonly used data structure. Answer: B Explanation:
QUESTION NO: 38 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for PassGuide.com. You are planning to make use of a stack data structure. Which of the following options are TRUE with regards to the stack data structure? A. It is a contiguous collection of data items that can be accessed by an ordinal index. B. It does not support chaining, splitting, cycles, or other features that can leave the stack in a conflicting state. C. It processes items on a first come, last served system. D. It is the most commonly used data structure. Answer: C Explanation:
QUESTION NO: 39 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. PassGuide.com has an application that employs a queue data structure for influencing data. A fellow developer, named Kara Lang, wants to know if the queue includes a data item without having to process the data item. What option would you use? A. You should consider making use of the contains queue operation. B. You should consider making use of the holds queue operation. BrainDumps.com
23
Microsoft 98-361 Exam C. You should consider making use of controls queue operation. D. You should consider making use of retains queue operation. Answer: A Explanation:
QUESTION NO: 40 You are employed as a developer at PassGuide.com. You have created a new application for PassGuide.com. The new application makes use of a stack data structure to handle data. You want to perform a queue operation that enables you to locate the data item that is next in line for processing, without processing that data item. What option should you make use of? A. You should consider making use of the view queue operation. B. You should consider making use of the glance queue operation. C. You should consider making use of the peek queue operation. D. You should consider making use of the stare queue operation. Answer: C Explanation:
QUESTION NO: 41 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of developing a new application. You are making use of an algorithm in your code that requires making use of the comparison and swap techniques. What algorithm are you using? A. MergeSort B. BubbleSort C. BitonicSort D. CounterSort
BrainDumps.com
24
Microsoft 98-361 Exam Answer: B Explanation:
QUESTION NO: 42 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of developing a new application for PassGuide.com. The application must make use of a list that has multiple nodes. You link the application to only the head node. What is TRUE for this scenario? A. It allows you to navigate all of the list’s nodes. B. It prevents you from navigating to any list node. C. It prevents you from randomly accessing the list’s items. D. It allows you to store linked list items in a contiguous memory location. Answer: A Explanation:
QUESTION NO: 43 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new PassGuide.com application that makes use of a data structure that satisfies the following requirements: •Prohibits random access to its items. •Are extremely fast in executing insert and delete operations. •Are not stored in contiguous memory locations. What data structure should you make use of? A. An array data structure. B. A linked list data structure. C. A stack data structure. D. A queue data structure. BrainDumps.com
25
Microsoft 98-361 Exam Answer: B Explanation:
QUESTION NO: 44 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are creating a new application using a doubly linked list data structure. What is a TRUE statement with regards to this type of data structure? A. Doubly linked lists are able to store each of the elements they contain in different and unrelated storage locations. B. It allocates all elements contiguously in memory, and keeps a count of the current number of elements. C. It allows one to handle the structure by a single pointer, instead of two. D. You are able insert or delete a node in a constant number of operations given only that node's address. Answer: A Explanation:
QUESTION NO: 45 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a Web page for PassGuide.com. You are planning to make use of Cascading Style Sheet (CSS) for the Web page. What is TRUE with regards to using Cascading Style Sheet (CSS)? A. It defines how elements are presented and where they are placed on the Web page. B. It consists of a directive, which could extended with one or more attributes, within angle brackets. C. It is used is used to create interactive web applications that are supported by the Netscape browser. D. It is a collection of documents containing cross-reference links that can be used interactively by a user to move directly from one topic to another.
BrainDumps.com
26
Microsoft 98-361 Exam Answer: A Explanation:
QUESTION NO: 46 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have recently developed a Web page for PassGuide.com. PassGuide.com has informed that a picture that resides on a different web server must be presented to users when they access the Web page. The picture can be retrieved via a public URL. What action should you take? A. You should consider making use of the HTML tag. B. You should consider making use of the HTML tag. C. You should consider making use of the HTML tag. D. You should consider making use of the HTML tag. Answer: A Explanation:
QUESTION NO: 47 You are employed as a developer at PassGuide.com. You are in the process of creating a new Web page for PassGuide.com. You are planning to set the HREF attribute of an anchor element. What is TRUE with this setting? A. It defines the shape, coordinates, and related URL of a single hyperlink region within a clientside image map B. It allows you to create hyperlinks on your web page to access other pages on the Internet. C. It enables the current document to establish links to external documents. D. It inserts an image or a video clip in the document. Answer: B Explanation:
BrainDumps.com
27
Microsoft 98-361 Exam
QUESTION NO: 48 You are employed as a developer at PassGuide.com. You are in the process of creating a new Web page for PassGuide.com. You have written JavaScript code for your Web site in a different file. You then set the SRC attribute of the <SCRIPT> tag to connect to the JavaScript file. Which of the following options describe your reasons for doing this? (Choose all that apply.) A. It will allow you to make sure that Web pages take the least time to load. B. It will prevent you from altering the JavaScript code. C. It will allow you to alter the JavaScript code using the least number of actions. D. It will increase the amount of data transmitted over the network. Answer: A,C Explanation:
QUESTION NO: 49 You are employed as a senior developer at PassGuide.com. PassGuide.com makes use of ASP.NET for developing Web applications. You are currently running a training exercise for potential developers. You are discussing the aspnet_wp.exe worker process. What is TRUE with regards to the aspnet_wp.exe worker process? (Choose all that apply.) A. It is only used in IIs 6.0. B. It is responsible for supporting the ASP.NET functionality. C. It is considered an application pool process. D. It is used in IIS 5.0 and earlier. Answer: B,D Explanation:
QUESTION NO: 50 You are employed as a developer at PassGuide.com. You are using ASP.NET to develop a new BrainDumps.com
28
Microsoft 98-361 Exam Web page for PassGuide.com. You have recently written code for a Page_Load method. You then configured the AutoEventWireup attribute of the @page directive to be TRUE. Which of the following describes the results of this configuration? A. The Page_Load method will be performed as soon as the Load event of the Web page is fired. B. The Page_Load method will be prevented from completing. C. The Page_Load method will be validated prior to firing. D. The Page_Load method will not be validated prior to firing. Answer: A Explanation:
QUESTION NO: 51 You are employed as a developer at PassGuide.com. You are using ASP.NET and C# to develop a new Web site for PassGuide.com. The Web site will be used to find places of interest. You are instructed to make sure that the Web pages presents a list, in the bottom left-hand side, of the places of interest that were browsed in recent times. Furthermore, you are informed that the browsing data should be accessible to all Web pages, even if the user restarts the browser. You want to complete your task using as little administrative effort, and without making use of server side resources. What option should you take? A. You should consider making use of the browser’s History tab. B. You should consider making use of the browser’s Favorites tab. C. You should consider making use of cookies. D. You should consider making use of the browser’s Feeds tab. Answer: C Explanation:
BrainDumps.com
29
Microsoft 98-361 Exam QUESTION NO: 52 You are employed as a developer at PassGuide.com. You make use of ASP.NET and C# for development purposes. PassGuide.com has an Internet Information Services (IIS) server, named PassGuide-SR07, which hosts a newly developed Web application. You are then informed that you must ensure that all PassGuide.com’s staff is able to make use of the new Web application. Which of the following actions should you take? A. You should consider making sure that all client workstations have Windows 7 installed. B. You should consider making sure that all client workstations have the necessary hardware requirements. C. You should consider making sure that all client workstations are password protected. D. You should consider making sure that all client workstations have a suitable Web browser installed. Answer: D Explanation:
QUESTION NO: 53 You are employed as a developer at PassGuide.com. You are in the process of creating a Web service using ASP.NET. You have attached the WebMethod attribute to a Public method. Which of the following options describe your reasons for doing this? (Choose all that apply.) A. It specifies that you want to expose the method as part of the Web service. B. It prevents you from exposing the method as part of the Web service. C. It allows you to make use of the properties of this attribute to further configure the behavior of the Web service method. D. Further configuration of the behavior of the Web service method is disallowed. Answer: A,C Explanation:
QUESTION NO: 54
BrainDumps.com
30
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. PassGuide.com uses Visual Studio in their business. You recently made use of C# to develop a new Web service that supports mapping data. You want to make sure that the Web service produces the proper output using the least amount of effort. Which of the following actions should you take? A. You should analyze the test page that is shown in the Web browser after using Visual Studio to execute the Web services project. B. You should consider making use of white-box testing. C. You should consider making use of black-box testing. D. You should consider making use of alpha testing -box testing. Answer: A Explanation:
QUESTION NO: 55 You are employed as a developer at PassGuide.com. You are using ASP.NET to develop a new Web application, named PGWebApp for PassGuide.com. PGWebApp makes use of a Web service to obtain data. You want to make sure that you are able to make use of the methods of this Web service inside PGWebApp by creating the client-side proxy classes. Which of the following actions should you take? A. You should consider inserting the reference in the machine.config file B. You should consider inserting the reference in the app.config file C. You should consider inserting the reference in the Web.config file. D. You should consider configuring a Web reference to identify the Web service. Answer: D Explanation:
BrainDumps.com
31
Microsoft 98-361 Exam QUESTION NO: 56 You are employed as a developer at PassGuide.com. You have received instructions to create a new Windows application for PassGuide.com. You are informed that the application should include a unique user interface element that allows for user contribution. Furthermore, you are informed that a number of additional applications will be employing this unique user interface. You have noticed that the Visual Studio toolbox does not have suitable tools to complete your task. You then decide to create the necessary code from scratch. What option should you make use of? A. You should consider generating a custom control for the unique user interface. B. You should consider generating a Web Form C. You should consider generating a Windows Service. D. You should consider generating a new User Form. Answer: A Explanation:
QUESTION NO: 57 You are employed as a developer at PassGuide.com. You have been instructed to create a user interface component for a new PassGuide.com application. You are required to make use of an event programming construct. What is the reason for this? A. It allows the user interface component the react to user actions. B. It prevents the user interface component from reacting to user actions. C. It allows the user interface component to send messages to the Event Log. D. It prevents the user interface component from sending messages to the Event Log. Answer: A Explanation:
BrainDumps.com
32
Microsoft 98-361 Exam QUESTION NO: 58 You are employed as a developer at PassGuide.com. You have received instructions to create a new Windows application for PassGuide.com. You are planning to create a Single Document Interface (SDI) application. What option is TRUE with regards to using Single Document Interface (SDI)? A. It is made up of one or more independent windows, which appears separately on the Windows desktop. B. It is made up of a single main window, and the application's windows are contained within or float on top of the main window. C. It is an interface that enables business managers to track and manage all the business processes from SharePoint Team Services. D. It includes only the signatures of methods, delegates or events. Answer: A Explanation:
QUESTION NO: 59 You are employed as a developer at PassGuide.com. You have been instructed to create a new application for PassGuide.com. The application must be configured to update records on a daily basis. The application should be configured to store error messages that take place while the application is running in a .txt file. You should also make sure that the application starts automatically, without human input. You have been informed that your solution should reduce the amount of processes required for development, installation, and updates. What option should you use? A. You should consider developing a custom control. B. You should consider developing a stored procedure. C. You should consider developing a custom user interface. D. You should consider developing a console application. Answer: D Explanation: BrainDumps.com
33
Microsoft 98-361 Exam
QUESTION NO: 60 You are employed as a developer at PassGuide.com. You have received instructions to create a new application for entering data. You have been informed that users will enter data via a keyboard or a bar-code scanner. Furthermore, an image of an item must be displayed onscreen as soon as a code is entered. To keep an eye on communication with the bar-code scanner, the application must log its operation to a console window. Which of the following actions should you take? A. You should consider creating a Windows Service application project, and configuring the Output type as Console Application. B. You should consider creating a Windows Forms application project with the Output type set to Console Application. C. You should consider creating a Web application project with the Output type set to Windows Forms Application. D. You should consider creating a Console Application project with the Output type set to Windows Forms. Answer: B Explanation:
QUESTION NO: 61 You are employed as a developer at PassGuide.com. You have been instructed to create a new application for PassGuide.com. You want to make sure that the application allows for: •Internet communication via Electronic Data Interface (EDI). •Continual execution in the background. •Messages to be written to the Windows application event log, and has no user interface. •A user to log off without interrupting the application’s processes.
BrainDumps.com
34
Microsoft 98-361 Exam What option should you make use of? A. You should consider creating a Windows Service application. B. You should consider creating an Active Directory application. C. You should consider creating a Federated application. D. You should consider creating a Global Service application. Answer: A Explanation:
QUESTION NO: 62 You are employed as a developer at PassGuide.com. You have recently created a new application for PassGuide.com. Messages written by the new application will be stored in the Windows application event log of the local workstation. You want to examine these messages on a daily basis. What option should you make use of? A. You should consider accessing the Event Viewer on the local workstation. B. You should consider accessing the app.config file on the local workstation. C. You should consider accessing the machine.config file on the local workstation. D. You should consider accessing the web.config file on the local workstation. Answer: A Explanation:
QUESTION NO: 63 You are employed as a developer at PassGuide.com. You are making use of .NET Framework 4.5 to develop Windows service applications. You have been instructed to create a new service application for PassGuide.com. Your code will include the System.ServiceProcess.ServiceInstaller class. What is a TRUE statement with regards to this class? A. It installs an executable containing classes that expand ServiceBase. BrainDumps.com
35
Microsoft 98-361 Exam B. It installs a class that expands ServiceBase to execute a service. C. It specifies a description for a property or event. D. It permits declarative service controller permission checks. Answer: B Explanation:
QUESTION NO: 64 You are employed as a developer at PassGuide.com. You have been instructed to create an order processing Windows service application. Your solution should allow for the postponement of the process when system maintenance is required, as well as the resumption of the process subsequent to the maintenance being completed. Which of the following actions should you take? A. You should consider configuring the CanPauseAndContinue property of the service to true. B. You should consider configuring the CanShutdown property of the service to false. C. You should consider configuring the CanStop property of the service to true. D. You should consider configuring the ExitCode property of the service to true. Answer: A Explanation:
QUESTION NO: 65 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. You have been instructed to create a Windows service application for PassGuide.com. The application will include a trio of Windows services that are dissimilar. You want to make sure that the services are operational by installing them prior to use. You are then informed that the services must be installed using a suitable Windows installer tool. Which of the following actions should you take? A. You should consider configuring the Windows service project to include an application installer. B. You should consider configuring the Windows service project to include an SMS installer. C. You should consider configuring the Windows service project to include a Custom Installation BrainDumps.com
36
Microsoft 98-361 Exam Wizard. D. You should consider configuring the Windows service project to include a service installer. Answer: D Explanation:
QUESTION NO: 66 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. You have been instructed to create a new windows program for PassGuide.com. The program must be able to record messages in the event log. You have decided to include the Source property of the EventLog class in your code. Which of the following best describes the purpose of the Source property in the EventLog class? A. The Source property is used to set the source name to register and use when writing to the event log. B. The Source property is used to set the object used to marshal the event handler calls issued as a result of an EventLog entry written event. C. The Source property is used to set the name of the log to read from or write to. D. The Source property is used to set the contents of the event log. Answer: A Explanation:
QUESTION NO: 67 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. You have been instructed to create a Windows service. This Windows service must have the ability to retrieve data hosted by the Windows Registry. What action should you take? A. You should consider executing this service using the LocalSystem account. BrainDumps.com
37
Microsoft 98-361 Exam B. You should consider executing this service using the GlobalSystem account. C. You should consider executing this service using the Admin account. D. You should consider executing this service using the GlobalService account. Answer: A Explanation:
QUESTION NO: 68 You are employed as a developer at PassGuide.com. You are making use of .NET Framework 4.5 to develop Windows Forms applications. You have just completed creating a new Windows Forms application for PassGuide.com. You are preparing to configure the IsMdiContainer property of the form. Which of the following is TRUE with regards to this configuration? A. It enables you to alter the display and performance of the form to an MDI parent form. B. It obtains a value indicating whether the form is a MDI child form. C. It prevents you from altering the display and performance of the form to an MDI parent form. D. It obtains a value indicating whether the form is a MDI parent form. Answer: A Explanation:
QUESTION NO: 69 You are employed as a developer at PassGuide.com. You have receive instructions to create a new multiple document interface (MDI) Windows Form. You want to make sure that the code you create allows for the child windows to be displayed perpendicularly inside the client area of the MDI parent form. What option should you use in your code? A. You should consider making use of MdiLayout.TileVertical. B. You should consider making use of MdiLayout.TilePerpendicular. C. You should consider making use of MdiLayout.TileParallel. D. You should consider making use of MdiLayout.TileDiagonal. Answer: A
BrainDumps.com
38
Microsoft 98-361 Exam Explanation:
QUESTION NO: 70 You are employed as a developer at PassGuide.com. You have been instructed to create a new command-line application for PassGuide.com. You want to make sure that you are able to retrieve a response from the command-line. What option should you make use of? A. You should consider making use of the Fill method. B. You should consider making use of the StreamWriter class. C. You should consider executing the Dfsutil.exe command. D. You should consider making use of the Console.Read method. Answer: D Explanation:
QUESTION NO: 71 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. You have recently created a Windows service for PassGuide.com. You are then instructed to run a newly created Windows service from the command-line. What is the option you should take? A. You should consider making use of the net start command. B. You should consider making use of the Nslookup command. C. You should consider making use of the net use command. D. You should consider making use of the net config command. Answer: A Explanation:
QUESTION NO: 72
BrainDumps.com
39
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. You have just completed the creation of a Windows service. You are now preparing to apply the service by installing it. What option should you use? A. You should consider executing the Snmputil.exe command. B. You should consider executing the Fed-Util.exe command. C. You should consider executing the InstallUtil.exe command. D. You should consider executing the Dfsutil.exe command. Answer: C Explanation:
QUESTION NO: 73 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. You are creating a new application for PassGuide.com. The new application should be configured to PassGuide.com’s client list in a .txt file. You have been informed that your solution should allow for the file to be accessed by ordinary text editors. You have also been informed that the file should take up as little space as possible. What action should you take? A. You should consider making use of the DMLWriter class. B. You should consider making use of the StreamWriter class. C. You should consider making use of the DDLWriter class. D. You should consider making use of the SSLWriter class. Answer: B Explanation:
QUESTION NO: 74 You are employed as a developer at PassGuide.com. You are using ASP.NET and C# to develop a new Web site for PassGuide.com.
BrainDumps.com
40
Microsoft 98-361 Exam You have created a new application for PassGuide.com using C#. The new application must be able to retrieve a single value from a PassGuide.com SQL Server database. You want to make sure that this process takes as little time as possible. What option should you make use of? A. You should consider making use of the SqlCommand.ExecuteReader method. B. You should consider making use of the SqlCommand.ExecuteScalar method. C. You should consider making use of the SqlCommand.ExecuteXmlReader method. D. You should consider making use of the SqlCommand.BeginExecuteXmlReader method. Answer: B Explanation:
QUESTION NO: 75 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. PassGuide.com has a database table, named PGItems. You want to make sure that obsolete items are expunged from PGItems when you update it. What action should you take? A. You should consider making use of the FILL SQL statement. B. You should consider making use of the DISCONTINUE SQL statement. C. You should consider making use of the REFRESH SQL statement. D. You should consider making use of the DELETE SQL statement. Answer: D Explanation:
QUESTION NO: 76 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment.
BrainDumps.com
41
Microsoft 98-361 Exam You have been instructed to create a new program for PassGuide.com. the program must be able to return a list of data from a PassGuide.com database and allow you to view the returned data, regardless of whether you are linked to the SQL server or not. What action should you take? A. You should consider configuring the DataTable class to store the data. B. You should consider configuring the DataSet class to store the data. C. You should consider configuring the OleDbDataReader class to store the data. D. You should consider configuring the StreamReader class to store the data. Answer: B Explanation:
QUESTION NO: 77 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. You have been instructed to create a new program for PassGuide.com. This new program must be able to write information to a flat file. You decide to include a BinaryWriter class in your code. What is TRUE with regards to the BinaryWriter class? A. It writes characters using an encoding value to convert the characters to bytes. B. It allows characters to be read using an encoding value to convert the characters from bytes. C. It writes basic types in binary to a stream and supports writing strings in a specific encoding. D. It writes a forward-only stream of data rows to a data source. Answer: C Explanation:
QUESTION NO: 78 You are employed as a developer at PassGuide.com. You have received instructions to create a new application for PassGuide.com. The new application must have the ability to duplicate information hosted by a PassGuide.com SQL server data table in a Dataset. BrainDumps.com
42
Microsoft 98-361 Exam What action should you take? A. You should consider making use of the Fill method in the written code. B. You should consider making use of the Copy method in the written code. C. You should consider making use of the Duplicate method in the written code. D. You should consider making use of the ReturnData method in the written code. Answer: A Explanation:
QUESTION NO: 79 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. You are currently running a training exercise for potential developers. You are in the process of discussing stored procedures. What are options that suitably describe the advantages of making use of stored procedures in SQL Server? (Choose all that apply.) A. Stored procedures can improve the security of your application. B. Stored procedures prevent modular programming. C. Stored procedures are created once, and can be called any number of times in your program. D. Stored procedures are stored locally on client computers. Answer: A,C Explanation:
QUESTION NO: 80 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. PassGuide.com has an application that contains a SqlDataAdapter object and an OleDbDataAdapter object. You are required to link up to a SQL Server database table. PassGuide.com’s application contains a DataSet object for this specific table. You want to make sure that data from the database is loaded into the DataSet object using a strategy that provides the most efficient execution. BrainDumps.com
43
Microsoft 98-361 Exam What method should be included in your code? A. You should consider making use of the Read method. B. You should consider making use of the Get method. C. You should consider making use of the Set method. D. You should consider making use of the Fill method. Answer: D Explanation:
QUESTION NO: 81 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. You have created a new application for PassGuide.com that contains a SqlDataAdapter object. The SqlDataAdapter object has been linked to a table. You are planning to make use of the Fill method for returning information from the table. You have been informed that the Fill method should access the SQL server database connection, read the data, and leave a closed connection. What actions should you take? (Choose all hat apply.) A. You should consider setting the Connection property of the SqlDataAdapter object to an applicable SQL Server database connection. B. You should consider setting the Connection property of the SqlDataAdapter object to an applicable data table. C. You should consider configuring the SQL Server database connection to be in a closed state. D. You should consider configuring the SQL Server database connection to be in an open state. Answer: A,C Explanation:
QUESTION NO: 82 You are employed as a developer at PassGuide.com. You are in the process of developing a new database for PassGuide.com. You are informed that
BrainDumps.com
44
Microsoft 98-361 Exam the new database’s tables should satisfy normalization rules for the first normal form. What options suitable describes these rules for the first normal form? (Choose all that apply.) A. Repeating groups in individual tables should be removed. B. Separate tables should be created for arrays of values that pertain to multiple data. C. A separate table should be created for every array of related data. D. These tables should be linked with a foreign key. E. Every array of related data should be identified with a primary key. F. Fields that is not dependant on the foreign key should be removed. Answer: A,C,E Explanation:
QUESTION NO: 83 You are employed as a developer at PassGuide.com. You are in the process of developing a new database for PassGuide.com. You are informed that the new database’s tables should satisfy the following normalization rules: •Repeating groups in individual tables should be removed. •A separate table should be created for every array of related data. •Every array of related data should be identified with a primary key. •Separate tables should be created for arrays of values that pertain to multiple data. •These tables should be linked with a foreign key. What normal form is satisfied by these rules? A. 1 NF B. 2 NF C. 3 NF D. 4 NF Answer: B Explanation:
QUESTION NO: 84 BrainDumps.com
45
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. You are in the process of developing a new database for PassGuide.com. You are informed that the new database’s tables should satisfy normalization rules for the third normal form. What option must be present to satisfy the third normal form? A. Repeating groups in individual tables should be removed. B. Separate tables should be created for arrays of values that pertain to multiple data. C. A separate table should be created for every array of related data. D. These tables should be linked with a foreign key. E. Every array of related data should be identified with a primary key. F. Fields that is not dependant on the foreign key should be removed. Answer: F Explanation:
QUESTION NO: 85 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. You have been instructed to develop a new PassGuide.com database. You are currently analyzing the normalization rules for the new database’s tables. You then configure rules to ensure the following: •That not a single column in the table is allowed to host multiple values in the same row of data. •That the entire primary key determines the functionality of all non-key columns. •That functional dependency is not shared by non-key attributes. What prerequisites does this configuration allow for? A. The prerequisites of 4NF. B. The prerequisites of 3NF. C. The prerequisites of 2NF. D. The prerequisites of 1NF. Answer: B Explanation:
BrainDumps.com
46
Microsoft 98-361 Exam
QUESTION NO: 86 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. You have received instructions to create a relational database for a recently developed application. Part of the process requires specifying a suitable structure for the database. What option is TRUE with regards to this process? A. You should specify the necessary tables and rows. B. Secondary keys for the tables must be selected. C. You should specify the connection between tables. D. Normalization does not form part of this process. Answer: C Explanation:
QUESTION NO: 87 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server 2000 databases in their environment. You are in the process of creating a new program for PassGuide.com using C#. The program must be configured to read data from a PassGuide.com database on a nightly basis. Thereafter, the data must be written to a flat file that must be sent to a PassGuide.com vendor. You want to make sure that the data is returned minimum effect on the server, while enhancing operations. What is the option you should use? A. You should consider making use of the DataView class. B. You should consider making use of the StreamReader class. C. You should consider making use of the SqlDataReader class. D. You should consider making use of the BinaryWriter class. Answer: C
BrainDumps.com
47
Microsoft 98-361 Exam Explanation:
QUESTION NO: 88 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server 2005 databases in their environment. You want to make sure that all PassGuide.com's orders processed on the 8th May 2012 are returned by a query to the PGOrders database table. You start by writing the line of code shown below: SELECT * FROM Orders Which of the following is the line of code that would suitably complete the query? A. WHERE OrderDate = '08/05/2012' B. WHERE OrderDate = '8th May 2012' C. IF OrderDate = '01/01/2011' D. IF OrderDate = ''8th May 2012' Answer: A Explanation:
BrainDumps.com
48
Microsoft 98-361
Software Development Fundamentals Version: 14.0
Microsoft 98-361 Exam QUESTION NO: 1 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been asked to create a new program for PassGuide.com. Prior to creating the new program, you plan to create an algorithm to fully comprehend how the processes of the program must run. The algorithm will list the required actions for completing a process in the appropriate sequence. You are informed that your method for creating the algorithm should be as simple, and clear as possible. What option should you use? A. You should consider making use of the flowchart method. B. You should consider making use of the pivotchart method. C. You should consider making use of the data table method. D. You should consider making use of the XML method. Answer: A Explanation:
QUESTION NO: 2 You are employed as a developer at PassGuide.com. You are creating a .NET Framework application. You have been instructed to make sure that you make use of Common Intermediate Language (CLI) for programming the application. What options are TRUE with regards to CLI? (Choose all that apply.) A. CIL is the highest-level human-readable programming language defined by the Common Language Infrastructure specification. B. CIL is the highest-level human-readable programming language defined by the Common Language Infrastructure specification. C. CIL is an object-oriented assembly language, and is entirely stack-based. D. CIL is an object-oriented assembly language, but is not stack-based. Answer: A,C Explanation: BrainDumps.com
2
Microsoft 98-361 Exam
QUESTION NO: 3 You are employed as a developer at PassGuide.com. You make use of Visual Basic .Net for development purposes. You have written the code shown below for declaring an array of a new application: Dim myArray as String = { apples, pears, plums, grapes, oranges, bananas} You want to return the third item in your array. What code would you employ? A. myArray[1] B. myArray[2] C. myArray[3] D. myArray[4] E. myArray[5] F. myArray[6] Answer: B Explanation:
QUESTION NO: 4 You are employed as a developer at PassGuide.com. You are in the process of creating code for a method that does not retrieve a value for the calling code. You want to make sure that this is reflected when declaring the method. What option should you use? A. You should consider making use of the void keyword in the method declaration. B. You should consider making use of the sealed C# statement in the method declaration. C. You should consider making use of the internal C# statement in the method declaration. D. You should consider making use of the public C# statement in the method declaration. E. You should consider making use of the protected C# statement in the method declaration. BrainDumps.com
3
Microsoft 98-361 Exam Answer: A Explanation:
QUESTION NO: 5 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a new program for PassGuide.com using C#. You are informed that the new program should allow for intricate multi-way branching. Furthermore, the code used must not be difficult to make sense of. What is the option you should use? A. You should consider making use of the foreach C# statement. B. You should consider making use of the while C# statement. C. You should consider making use of the protected C# statement. D. You should consider making use of the switch C# statement. Answer: D Explanation:
QUESTION NO: 6 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been tasked with creating a new program for PassGuide.com using C#. The new program will iterate throughout an assortment of lists and arrays. Every element in this assortment must be processed just one time. You are then informed that reading and debugging your code should not be difficult. What action should you take? A. You should consider making use of the switch C# statement as part of your code. B. You should consider making use of the void keyword as part of your code. C. You should consider making use of the foreach C# statement as part of your code. D. You should consider making use of the interface keyword as part of your code.
BrainDumps.com
4
Microsoft 98-361 Exam Answer: C Explanation:
QUESTION NO: 7 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new application for PassGuide.com using C#. The new application must process a loop repeatedly for precisely 7 times. Which of the following represents the code you should write? A. int count = 1; while (count <= 7) { Console.WriteLine("The value of count = {0}", count); count++; } B. int count = 0; while (count <= 7) { Console.WriteLine("The value of count = {7}", count); count++; } C. int count = 1; while (count <= 7) { Console.WriteLine("The value of count = {7}"); count++; } D. int count = 0; while (count <= 7) { Console.WriteLine("The value of count = {0}"); count++; } Answer: A Explanation:
QUESTION NO: 8 BrainDumps.com
5
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for PassGuide.com. The program should be able to affect integer values, which may be positive or negative and be greater than twelve characters. You have to make sure that you are able to store this type of variable. What is the option you should take? A. You should consider making use of the static data type. B. You should consider making use of the string data type. C. You should consider making use of the private data type. D. You should consider making use of the long data type. Answer: D Explanation:
QUESTION NO: 9 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new application that should include a recursive method that computes the factorial of a number. You have written the following code for the method: 01: public static int Factorial(int n) 02: { 03: if (n == 0) 04: { 05: return 1; 06: } 07: else 08: { BrainDumps.com
6
Microsoft 98-361 Exam 09: 10: } 11: } You have to insert suitable code at line 09 to make sure that the proper outcome is reached. What line of code should be inserted? A. return n * Factorial(n - 1); B. return n; C. return n * Factorial(n - 0); D. return 0; Answer: A Explanation:
QUESTION NO: 10 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are writing code for a new PassGuide.com application. The code includes the while statement. You want to make sure that a control enters the while loop six times. Which of the following suitably represents the written code? A. int count = 0; while (count < 6) { when (count == 6) break; count++; } B. int count = 0; while (count < 7) { if (count == 5) break;
BrainDumps.com
7
Microsoft 98-361 Exam count++; } C. int count = 1; while (count < 6) { if (count == 6) break; count++; } D. int count = 1; while (count < 7) { when (count == 5) break; count++; } Answer: B Explanation:
QUESTION NO: 11 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for PassGuide.com. You have to include a repetition structure that allows for the termination condition test to execute at the bottom of the loop not the top. What action should you take? A. You should consider making use of the public C# statement. B. You should consider making use of the sealed C# statement. C. You should consider making use of the private C# statement. D. You should consider making use of the do-while C# statement. Answer: D Explanation:
QUESTION NO: 12 BrainDumps.com
8
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a program that includes code that allows the program to iterate a set amount of times. Regardless of whether the loop body includes complex code, the written code should be understandable and easily maintainable. What option should you use? A. You should consider making use of the public C# statement. B. You should consider making use of the for C# statement. C. You should consider making use of the private C# statement. D. You should consider making use of the sealed C# statement. Answer: B Explanation:
QUESTION NO: 13 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a method for determining the concession for products PassGuide.com sold. A variable, named percentValue, is of the type double and must be only be available in the method. Which of the following actions should you take? A. You should consider making use of the private access modifier for distinguishing the percentValue variable. B. You should consider making use of the void access modifier for distinguishing the percentValue variable. C. You should consider making use of the string access modifier for distinguishing the percentValue variable. D. You should consider making use of the protected access modifier for distinguishing the percentValue variable. Answer: A Explanation:
QUESTION NO: 14 BrainDumps.com
9
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are planning to make use of an InitFields method that obtains two parameters of data type double, but does not retrieve a value for the calling code. You start writing code to define the InitFields method as shown below: public void InitFields(double l, double w) What code should you use to complete the code? A. { retrieve length + width; } B. { length = l; width = w; } C. { retrieve length - width;} D. { retrieve length + width; } Answer: B Explanation:
QUESTION NO: 15 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of creating a class that makes use of a method using the virtual modifier. Which of the following is TRUE with regards to the virtual modifier? (Choose all that apply.) A. You are unable to make use of the virtual modifier with the static, abstract, private or override modifiers. B. You are able to make use of the virtual modifier with the static, abstract, private or override modifiers.
BrainDumps.com
10
Microsoft 98-361 Exam C. The use of the virtual modifier prevents inheritance of the class. D. The virtual modifier is used in a class declaration to indicate that a class is intended only to be a base class of other classes. Answer: A Explanation:
QUESTION NO: 16 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of defining a class to provide functionality for executing custom pivot transforms on big data sets. You have been informed that derived classes should be prevented from inheriting the functionality of the class. What action should you take? A. You should consider making use of the sealed keyword. B. You should consider making use of the static keyword. C. You should consider making use of the public keyword. D. You should consider making use of the int keyword. Answer: A Explanation:
QUESTION NO: 17 You are employed as a developer at PassGuide.com. You are in the process of creating a new application that includes numerous classes, with dissimilar algorithms. You have been instructed to make sure that these classes are configured to print, regardless of their dissimilar algorithms. Which of the following actions should you take? A. You should consider developing a classified interface that is employed by all of the classes. B. You should consider configuring a customized interface for each class. C. You should consider configuring a unique interface for each class. D. You should consider developing a common interface that is employed by all of the classes.
BrainDumps.com
11
Microsoft 98-361 Exam Answer: D Explanation:
QUESTION NO: 18 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process creating a class, named PGMovies. You want to make sure that you have the ability to retrieve a list of all movies, which are arranged by the producer’s surname. You have to make sure that this feature of the class is suitably classified by the code you insert. What action should you take? A. You should consider making use of a method. B. You should consider making use of an element. C. You should consider making use of the while statement. D. You should consider making use of the foreach statement. Answer: A Explanation:
QUESTION NO: 19 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new class. The new class must allow for the immediate initialization of its data members every time an object of the class is created. Which of the following actions should you take? A. You should consider creating an element in the class. B. You should consider creating a constructor in the class. C. You should consider creating a customized interface for the class. D. You should consider developing a common interface for the class. Answer: B Explanation:
BrainDumps.com
12
Microsoft 98-361 Exam
QUESTION NO: 20 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of developing a new derivative of the Shape class. The Shape class makes use of public virtual void to define the Area method. You want to make sure that the Area method in the Shape class allows for new operations, while keeping the execution of the Area method of the Shape class concealed. What option should you use? A. You should consider defining the Area method for the derivative of the Shape class using public new void. B. You should consider defining the Area method for the derivative of the Shape class using private new void. C. You should consider defining the Area method for the derivative of the Shape class using public sealed void. D. You should consider defining the Area method for the derivative of the Shape class using private sealed void. Answer: A Explanation:
QUESTION NO: 21 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are instructed to develop a new Rectangle class. The new class should allow for Rectangle objects to be compared. What option suitably represents the necessary code? A. class Rectangle : IConvertible { public double Length { get; set; } public double Width { get; set; } public double GetArea() BrainDumps.com
13
Microsoft 98-361 Exam { return Length * Width; } public intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; else if (diff > 0) return 1; else return -1; } } B. class Rectangle : IComparable { public Length { get; set; } public Width { get; set; } public GetArea() { return Area; } public intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; else if (diff > 0) return 1; else return -1; } } C. class Rectangle : IComparable { private double Length { get; set; } private double Width { get; set; } private double GetArea() { return Length * Width; } private intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; BrainDumps.com
14
Microsoft 98-361 Exam else if (diff > 0) return 1; else return -1; } } D. class Rectangle : IComparable { private Length { get; set; } private Width { get; set; } private GetArea() { return Area; } private intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; else if (diff > 0) return 1; else return -1; } } Answer: A Explanation:
QUESTION NO: 22 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of creating an application using C#. You have just developed a class that has the same name as a class in a third-party library you are using. You are informed that making use of this class in your code should not affect the clarity of your code. What action should you take? A. You should consider including the namespace C# keyword in your code.
BrainDumps.com
15
Microsoft 98-361 Exam B. You should consider including the int C# keyword in your code. C. You should consider including the void C# keyword in your code. D. You should consider including the static C# keyword in your code. Answer: A Explanation:
QUESTION NO: 23 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a new C# program for PassGuide.com. You want to write code that declares members that belong to the actual class, not to specific objects. What is the action you should take? A. You should consider making use of an abstract keyword. B. You should consider making use of a string keyword. C. You should consider making use of a virtual keyword. D. You should consider making use of a static keyword. Answer: D Explanation:
QUESTION NO: 24 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of creating a new program using C#. Your code has to include an element that meets the following requirements: •Specifies the template for an object. •Must be a characterization of a new data type. What action should you take? A. You should consider including a class. B. You should consider including a delegate. BrainDumps.com
16
Microsoft 98-361 Exam C. You should consider including a method. D. You should consider including a property. Answer: A Explanation:
QUESTION NO: 25 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to develop a new Windows application for PassGuide.com. You are in the process of defining a new class. You want to make sure that code outside the assembly is prevented from accessing the class. Code packaged in the same assembly should however have the ability to access this class, regardless of whether they inherit directly or indirectly from the class. What action should you take? A. You should consider declaring the class using the public access modifier B. You should consider declaring the class using the void access modifier C. You should consider declaring the class using the private access modifier D. You should consider declaring the class using the string access modifier Answer: C Explanation:
QUESTION NO: 26 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to develop a new Windows application for PassGuide.com. You are in the process of defining a new common base class that must be used by various derived classes. You want to declare the new base class What is the option you should use? A. You should consider making use of the actual keyword. B. You should consider making use of the limit keyword. C. You should consider making use of the interface keyword. BrainDumps.com
17
Microsoft 98-361 Exam D. You should consider making use of the concrete keyword. Answer: C Explanation:
QUESTION NO: 27 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to develop a new Windows application for PassGuide.com. You have decided to make use of the inheritance object oriented programming concept. What will this allow for? A. It will enable derived classes to share common functionality with base classes, but prevent them from defining their own unique behavior. B. It will prevent derived classes from sharing common functionality with base classes, while allowing them to define their own unique behavior. C. It will prevent derived classes to share common functionality with base classes, and also prevent them from defining their own unique behavior. D. It will enable derived classes to share common functionality with base classes, while allowing them to define their own unique behavior. Answer: D Explanation:
QUESTION NO: 28 You are employed as a software system developer at PassGuide.com. You are in the process of developing a new software system for PassGuide.com. You are asked to identify the steps required in the development process. What option suitably describes the FIRST step? A. You should consider performing a requirements analysis. B. You should consider choosing a suitable design model. C. You should consider selecting a suitable backup strategy. D. You should consider selecting a release date. BrainDumps.com
18
Microsoft 98-361 Exam Answer: A Explanation:
QUESTION NO: 29 You are employed as a software system developer at PassGuide.com. You are preparing the development of a new software system for PassGuide.com. You are currently analyzing the results of the design process, prior to development. What options form part of the results you are analyzing? A. Plans. B. Modes. C. Architecture. D. Hardware application. Answer: A,B Explanation:
QUESTION NO: 30 You are employed as a software system developer at PassGuide.com. You have received a request for the development of a new software system. You require the assistance of various types of developers during the development process, of which one is an architect. What is the purpose of an architect? A. An architect develops system content. B. An architect develops the system’s technical blueprint. C. An architect deals with quality control. D. An architect develops system manuals and help files. Answer: B Explanation:
QUESTION NO: 31
BrainDumps.com
19
Microsoft 98-361 Exam You are employed as a software system developer at PassGuide.com. You have received a request for the development of a new software system. You require the assistance of various types of developers during the development process, of which one is a technical writer. What is the purpose of a technical writer? A. A technical writer develops system content. B. A technical writer develops the system’s technical blueprint. C. A technical writer deals with quality control. D. A technical writer develops system manuals and help files. Answer: D Explanation:
QUESTION NO: 32 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for PassGuide.com. You have reached the testing stage of the development process. What is the reason for the testing stage? A. It allows you to ascertain whether the program execution meets the initial requirements. B. It allows you to optimize the program for performance and security. C. It allows you to employ a data structure that serves as a buffer for overflow capacity. D. It allows you to analyze the packaging, deployment, delivery, and support plan for the program. Answer: A Explanation:
QUESTION NO: 33 You are employed as a software system developer at PassGuide.com. You have received a request for the development of a new software system. You require the assistance of various people during the development process, of which one is a release manager.
BrainDumps.com
20
Microsoft 98-361 Exam What is the purpose of a release manager? A. A release manager develops system content. B. A release manager creates a rollout plan and certifies release candidates for shipment or deployment. C. A release manager deals with quality control. D. A release manager develops system manuals and help files. Answer: B Explanation:
QUESTION NO: 34 You are employed as a developer at PassGuide.com. You have been instructed to create a new program for PassGuide.com. You want to make sure that when you fix a problem with the program, it does not negatively affect the rest of the program. You need to employ a suitable testing strategy. What option should you use? A. Merger. B. Improvement. C. Rejection. D. Regression. Answer: D Explanation:
QUESTION NO: 35 You are employed as a senior developer at PassGuide.com. You are responsible for running training exercises for junior developers. During one of the training exercises, you are discussing testing. You are explaining what white-box testing entails. What is TRUE with regards to white-box testing? (Choose all that apply.)
BrainDumps.com
21
Microsoft 98-361 Exam A. White-box testing allows for testing every imaginable combination of end-user activities. B. White-box testing requires the creation test cases by studying the code to identify any possible failure scenarios. C. You are allowed to make use of sample applications to integrate and test the application block for white box testing. D. White-box testing is also known as glass box, clear box, and open box testing. Answer: B,D Explanation:
QUESTION NO: 36 You are employed as a senior developer at PassGuide.com. You are responsible for running training exercises for junior developers. During one of the training exercises, you are discussing testing. You are explaining what black-box testing entails. What is TRUE with regards to black-box testing? (Choose all that apply.) A. Black-box testing allows for testing every imaginable combination of end-user activities. B. Black-box testing requires the creation test cases by studying the code to identify any possible failure scenarios. C. You are allowed to make use of sample applications to integrate and test the application block for black box testing. D. Black-box testing is also known as glass box, clear box, and open box testing. Answer: A,C Explanation:
QUESTION NO: 37 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for PassGuide.com. You are planning to make use of a queue data structure. Which of the following options are TRUE with regards to the queue data structure? A. It is a contiguous collection of data items that can be accessed by an ordinal index. BrainDumps.com
22
Microsoft 98-361 Exam B. It does not allow random access. C. It does not support chaining, splitting, cycles, or other features that can leave the queue in a conflicting state. D. It is the most commonly used data structure. Answer: B Explanation:
QUESTION NO: 38 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for PassGuide.com. You are planning to make use of a stack data structure. Which of the following options are TRUE with regards to the stack data structure? A. It is a contiguous collection of data items that can be accessed by an ordinal index. B. It does not support chaining, splitting, cycles, or other features that can leave the stack in a conflicting state. C. It processes items on a first come, last served system. D. It is the most commonly used data structure. Answer: C Explanation:
QUESTION NO: 39 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. PassGuide.com has an application that employs a queue data structure for influencing data. A fellow developer, named Kara Lang, wants to know if the queue includes a data item without having to process the data item. What option would you use? A. You should consider making use of the contains queue operation. B. You should consider making use of the holds queue operation. BrainDumps.com
23
Microsoft 98-361 Exam C. You should consider making use of controls queue operation. D. You should consider making use of retains queue operation. Answer: A Explanation:
QUESTION NO: 40 You are employed as a developer at PassGuide.com. You have created a new application for PassGuide.com. The new application makes use of a stack data structure to handle data. You want to perform a queue operation that enables you to locate the data item that is next in line for processing, without processing that data item. What option should you make use of? A. You should consider making use of the view queue operation. B. You should consider making use of the glance queue operation. C. You should consider making use of the peek queue operation. D. You should consider making use of the stare queue operation. Answer: C Explanation:
QUESTION NO: 41 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of developing a new application. You are making use of an algorithm in your code that requires making use of the comparison and swap techniques. What algorithm are you using? A. MergeSort B. BubbleSort C. BitonicSort D. CounterSort
BrainDumps.com
24
Microsoft 98-361 Exam Answer: B Explanation:
QUESTION NO: 42 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are in the process of developing a new application for PassGuide.com. The application must make use of a list that has multiple nodes. You link the application to only the head node. What is TRUE for this scenario? A. It allows you to navigate all of the list’s nodes. B. It prevents you from navigating to any list node. C. It prevents you from randomly accessing the list’s items. D. It allows you to store linked list items in a contiguous memory location. Answer: A Explanation:
QUESTION NO: 43 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new PassGuide.com application that makes use of a data structure that satisfies the following requirements: •Prohibits random access to its items. •Are extremely fast in executing insert and delete operations. •Are not stored in contiguous memory locations. What data structure should you make use of? A. An array data structure. B. A linked list data structure. C. A stack data structure. D. A queue data structure. BrainDumps.com
25
Microsoft 98-361 Exam Answer: B Explanation:
QUESTION NO: 44 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You are creating a new application using a doubly linked list data structure. What is a TRUE statement with regards to this type of data structure? A. Doubly linked lists are able to store each of the elements they contain in different and unrelated storage locations. B. It allocates all elements contiguously in memory, and keeps a count of the current number of elements. C. It allows one to handle the structure by a single pointer, instead of two. D. You are able insert or delete a node in a constant number of operations given only that node's address. Answer: A Explanation:
QUESTION NO: 45 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a Web page for PassGuide.com. You are planning to make use of Cascading Style Sheet (CSS) for the Web page. What is TRUE with regards to using Cascading Style Sheet (CSS)? A. It defines how elements are presented and where they are placed on the Web page. B. It consists of a directive, which could extended with one or more attributes, within angle brackets. C. It is used is used to create interactive web applications that are supported by the Netscape browser. D. It is a collection of documents containing cross-reference links that can be used interactively by a user to move directly from one topic to another.
BrainDumps.com
26
Microsoft 98-361 Exam Answer: A Explanation:
QUESTION NO: 46 You are employed as a developer at PassGuide.com. You make use of C# and ASP.NET for development purposes. You have recently developed a Web page for PassGuide.com. PassGuide.com has informed that a picture that resides on a different web server must be presented to users when they access the Web page. The picture can be retrieved via a public URL. What action should you take? A. You should consider making use of the HTML tag. B. You should consider making use of the HTML tag. C. You should consider making use of the HTML tag. D. You should consider making use of the HTML tag. Answer: A Explanation:
QUESTION NO: 47 You are employed as a developer at PassGuide.com. You are in the process of creating a new Web page for PassGuide.com. You are planning to set the HREF attribute of an anchor element. What is TRUE with this setting? A. It defines the shape, coordinates, and related URL of a single hyperlink region within a clientside image map B. It allows you to create hyperlinks on your web page to access other pages on the Internet. C. It enables the current document to establish links to external documents. D. It inserts an image or a video clip in the document. Answer: B Explanation:
BrainDumps.com
27
Microsoft 98-361 Exam
QUESTION NO: 48 You are employed as a developer at PassGuide.com. You are in the process of creating a new Web page for PassGuide.com. You have written JavaScript code for your Web site in a different file. You then set the SRC attribute of the <SCRIPT> tag to connect to the JavaScript file. Which of the following options describe your reasons for doing this? (Choose all that apply.) A. It will allow you to make sure that Web pages take the least time to load. B. It will prevent you from altering the JavaScript code. C. It will allow you to alter the JavaScript code using the least number of actions. D. It will increase the amount of data transmitted over the network. Answer: A,C Explanation:
QUESTION NO: 49 You are employed as a senior developer at PassGuide.com. PassGuide.com makes use of ASP.NET for developing Web applications. You are currently running a training exercise for potential developers. You are discussing the aspnet_wp.exe worker process. What is TRUE with regards to the aspnet_wp.exe worker process? (Choose all that apply.) A. It is only used in IIs 6.0. B. It is responsible for supporting the ASP.NET functionality. C. It is considered an application pool process. D. It is used in IIS 5.0 and earlier. Answer: B,D Explanation:
QUESTION NO: 50 You are employed as a developer at PassGuide.com. You are using ASP.NET to develop a new BrainDumps.com
28
Microsoft 98-361 Exam Web page for PassGuide.com. You have recently written code for a Page_Load method. You then configured the AutoEventWireup attribute of the @page directive to be TRUE. Which of the following describes the results of this configuration? A. The Page_Load method will be performed as soon as the Load event of the Web page is fired. B. The Page_Load method will be prevented from completing. C. The Page_Load method will be validated prior to firing. D. The Page_Load method will not be validated prior to firing. Answer: A Explanation:
QUESTION NO: 51 You are employed as a developer at PassGuide.com. You are using ASP.NET and C# to develop a new Web site for PassGuide.com. The Web site will be used to find places of interest. You are instructed to make sure that the Web pages presents a list, in the bottom left-hand side, of the places of interest that were browsed in recent times. Furthermore, you are informed that the browsing data should be accessible to all Web pages, even if the user restarts the browser. You want to complete your task using as little administrative effort, and without making use of server side resources. What option should you take? A. You should consider making use of the browser’s History tab. B. You should consider making use of the browser’s Favorites tab. C. You should consider making use of cookies. D. You should consider making use of the browser’s Feeds tab. Answer: C Explanation:
BrainDumps.com
29
Microsoft 98-361 Exam QUESTION NO: 52 You are employed as a developer at PassGuide.com. You make use of ASP.NET and C# for development purposes. PassGuide.com has an Internet Information Services (IIS) server, named PassGuide-SR07, which hosts a newly developed Web application. You are then informed that you must ensure that all PassGuide.com’s staff is able to make use of the new Web application. Which of the following actions should you take? A. You should consider making sure that all client workstations have Windows 7 installed. B. You should consider making sure that all client workstations have the necessary hardware requirements. C. You should consider making sure that all client workstations are password protected. D. You should consider making sure that all client workstations have a suitable Web browser installed. Answer: D Explanation:
QUESTION NO: 53 You are employed as a developer at PassGuide.com. You are in the process of creating a Web service using ASP.NET. You have attached the WebMethod attribute to a Public method. Which of the following options describe your reasons for doing this? (Choose all that apply.) A. It specifies that you want to expose the method as part of the Web service. B. It prevents you from exposing the method as part of the Web service. C. It allows you to make use of the properties of this attribute to further configure the behavior of the Web service method. D. Further configuration of the behavior of the Web service method is disallowed. Answer: A,C Explanation:
QUESTION NO: 54
BrainDumps.com
30
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. PassGuide.com uses Visual Studio in their business. You recently made use of C# to develop a new Web service that supports mapping data. You want to make sure that the Web service produces the proper output using the least amount of effort. Which of the following actions should you take? A. You should analyze the test page that is shown in the Web browser after using Visual Studio to execute the Web services project. B. You should consider making use of white-box testing. C. You should consider making use of black-box testing. D. You should consider making use of alpha testing -box testing. Answer: A Explanation:
QUESTION NO: 55 You are employed as a developer at PassGuide.com. You are using ASP.NET to develop a new Web application, named PGWebApp for PassGuide.com. PGWebApp makes use of a Web service to obtain data. You want to make sure that you are able to make use of the methods of this Web service inside PGWebApp by creating the client-side proxy classes. Which of the following actions should you take? A. You should consider inserting the reference in the machine.config file B. You should consider inserting the reference in the app.config file C. You should consider inserting the reference in the Web.config file. D. You should consider configuring a Web reference to identify the Web service. Answer: D Explanation:
BrainDumps.com
31
Microsoft 98-361 Exam QUESTION NO: 56 You are employed as a developer at PassGuide.com. You have received instructions to create a new Windows application for PassGuide.com. You are informed that the application should include a unique user interface element that allows for user contribution. Furthermore, you are informed that a number of additional applications will be employing this unique user interface. You have noticed that the Visual Studio toolbox does not have suitable tools to complete your task. You then decide to create the necessary code from scratch. What option should you make use of? A. You should consider generating a custom control for the unique user interface. B. You should consider generating a Web Form C. You should consider generating a Windows Service. D. You should consider generating a new User Form. Answer: A Explanation:
QUESTION NO: 57 You are employed as a developer at PassGuide.com. You have been instructed to create a user interface component for a new PassGuide.com application. You are required to make use of an event programming construct. What is the reason for this? A. It allows the user interface component the react to user actions. B. It prevents the user interface component from reacting to user actions. C. It allows the user interface component to send messages to the Event Log. D. It prevents the user interface component from sending messages to the Event Log. Answer: A Explanation:
BrainDumps.com
32
Microsoft 98-361 Exam QUESTION NO: 58 You are employed as a developer at PassGuide.com. You have received instructions to create a new Windows application for PassGuide.com. You are planning to create a Single Document Interface (SDI) application. What option is TRUE with regards to using Single Document Interface (SDI)? A. It is made up of one or more independent windows, which appears separately on the Windows desktop. B. It is made up of a single main window, and the application's windows are contained within or float on top of the main window. C. It is an interface that enables business managers to track and manage all the business processes from SharePoint Team Services. D. It includes only the signatures of methods, delegates or events. Answer: A Explanation:
QUESTION NO: 59 You are employed as a developer at PassGuide.com. You have been instructed to create a new application for PassGuide.com. The application must be configured to update records on a daily basis. The application should be configured to store error messages that take place while the application is running in a .txt file. You should also make sure that the application starts automatically, without human input. You have been informed that your solution should reduce the amount of processes required for development, installation, and updates. What option should you use? A. You should consider developing a custom control. B. You should consider developing a stored procedure. C. You should consider developing a custom user interface. D. You should consider developing a console application. Answer: D Explanation: BrainDumps.com
33
Microsoft 98-361 Exam
QUESTION NO: 60 You are employed as a developer at PassGuide.com. You have received instructions to create a new application for entering data. You have been informed that users will enter data via a keyboard or a bar-code scanner. Furthermore, an image of an item must be displayed onscreen as soon as a code is entered. To keep an eye on communication with the bar-code scanner, the application must log its operation to a console window. Which of the following actions should you take? A. You should consider creating a Windows Service application project, and configuring the Output type as Console Application. B. You should consider creating a Windows Forms application project with the Output type set to Console Application. C. You should consider creating a Web application project with the Output type set to Windows Forms Application. D. You should consider creating a Console Application project with the Output type set to Windows Forms. Answer: B Explanation:
QUESTION NO: 61 You are employed as a developer at PassGuide.com. You have been instructed to create a new application for PassGuide.com. You want to make sure that the application allows for: •Internet communication via Electronic Data Interface (EDI). •Continual execution in the background. •Messages to be written to the Windows application event log, and has no user interface. •A user to log off without interrupting the application’s processes.
BrainDumps.com
34
Microsoft 98-361 Exam What option should you make use of? A. You should consider creating a Windows Service application. B. You should consider creating an Active Directory application. C. You should consider creating a Federated application. D. You should consider creating a Global Service application. Answer: A Explanation:
QUESTION NO: 62 You are employed as a developer at PassGuide.com. You have recently created a new application for PassGuide.com. Messages written by the new application will be stored in the Windows application event log of the local workstation. You want to examine these messages on a daily basis. What option should you make use of? A. You should consider accessing the Event Viewer on the local workstation. B. You should consider accessing the app.config file on the local workstation. C. You should consider accessing the machine.config file on the local workstation. D. You should consider accessing the web.config file on the local workstation. Answer: A Explanation:
QUESTION NO: 63 You are employed as a developer at PassGuide.com. You are making use of .NET Framework 4.5 to develop Windows service applications. You have been instructed to create a new service application for PassGuide.com. Your code will include the System.ServiceProcess.ServiceInstaller class. What is a TRUE statement with regards to this class? A. It installs an executable containing classes that expand ServiceBase. BrainDumps.com
35
Microsoft 98-361 Exam B. It installs a class that expands ServiceBase to execute a service. C. It specifies a description for a property or event. D. It permits declarative service controller permission checks. Answer: B Explanation:
QUESTION NO: 64 You are employed as a developer at PassGuide.com. You have been instructed to create an order processing Windows service application. Your solution should allow for the postponement of the process when system maintenance is required, as well as the resumption of the process subsequent to the maintenance being completed. Which of the following actions should you take? A. You should consider configuring the CanPauseAndContinue property of the service to true. B. You should consider configuring the CanShutdown property of the service to false. C. You should consider configuring the CanStop property of the service to true. D. You should consider configuring the ExitCode property of the service to true. Answer: A Explanation:
QUESTION NO: 65 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. You have been instructed to create a Windows service application for PassGuide.com. The application will include a trio of Windows services that are dissimilar. You want to make sure that the services are operational by installing them prior to use. You are then informed that the services must be installed using a suitable Windows installer tool. Which of the following actions should you take? A. You should consider configuring the Windows service project to include an application installer. B. You should consider configuring the Windows service project to include an SMS installer. C. You should consider configuring the Windows service project to include a Custom Installation BrainDumps.com
36
Microsoft 98-361 Exam Wizard. D. You should consider configuring the Windows service project to include a service installer. Answer: D Explanation:
QUESTION NO: 66 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. You have been instructed to create a new windows program for PassGuide.com. The program must be able to record messages in the event log. You have decided to include the Source property of the EventLog class in your code. Which of the following best describes the purpose of the Source property in the EventLog class? A. The Source property is used to set the source name to register and use when writing to the event log. B. The Source property is used to set the object used to marshal the event handler calls issued as a result of an EventLog entry written event. C. The Source property is used to set the name of the log to read from or write to. D. The Source property is used to set the contents of the event log. Answer: A Explanation:
QUESTION NO: 67 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. You have been instructed to create a Windows service. This Windows service must have the ability to retrieve data hosted by the Windows Registry. What action should you take? A. You should consider executing this service using the LocalSystem account. BrainDumps.com
37
Microsoft 98-361 Exam B. You should consider executing this service using the GlobalSystem account. C. You should consider executing this service using the Admin account. D. You should consider executing this service using the GlobalService account. Answer: A Explanation:
QUESTION NO: 68 You are employed as a developer at PassGuide.com. You are making use of .NET Framework 4.5 to develop Windows Forms applications. You have just completed creating a new Windows Forms application for PassGuide.com. You are preparing to configure the IsMdiContainer property of the form. Which of the following is TRUE with regards to this configuration? A. It enables you to alter the display and performance of the form to an MDI parent form. B. It obtains a value indicating whether the form is a MDI child form. C. It prevents you from altering the display and performance of the form to an MDI parent form. D. It obtains a value indicating whether the form is a MDI parent form. Answer: A Explanation:
QUESTION NO: 69 You are employed as a developer at PassGuide.com. You have receive instructions to create a new multiple document interface (MDI) Windows Form. You want to make sure that the code you create allows for the child windows to be displayed perpendicularly inside the client area of the MDI parent form. What option should you use in your code? A. You should consider making use of MdiLayout.TileVertical. B. You should consider making use of MdiLayout.TilePerpendicular. C. You should consider making use of MdiLayout.TileParallel. D. You should consider making use of MdiLayout.TileDiagonal. Answer: A
BrainDumps.com
38
Microsoft 98-361 Exam Explanation:
QUESTION NO: 70 You are employed as a developer at PassGuide.com. You have been instructed to create a new command-line application for PassGuide.com. You want to make sure that you are able to retrieve a response from the command-line. What option should you make use of? A. You should consider making use of the Fill method. B. You should consider making use of the StreamWriter class. C. You should consider executing the Dfsutil.exe command. D. You should consider making use of the Console.Read method. Answer: D Explanation:
QUESTION NO: 71 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. You have recently created a Windows service for PassGuide.com. You are then instructed to run a newly created Windows service from the command-line. What is the option you should take? A. You should consider making use of the net start command. B. You should consider making use of the Nslookup command. C. You should consider making use of the net use command. D. You should consider making use of the net config command. Answer: A Explanation:
QUESTION NO: 72
BrainDumps.com
39
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. You have just completed the creation of a Windows service. You are now preparing to apply the service by installing it. What option should you use? A. You should consider executing the Snmputil.exe command. B. You should consider executing the Fed-Util.exe command. C. You should consider executing the InstallUtil.exe command. D. You should consider executing the Dfsutil.exe command. Answer: C Explanation:
QUESTION NO: 73 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. You are creating a new application for PassGuide.com. The new application should be configured to PassGuide.com’s client list in a .txt file. You have been informed that your solution should allow for the file to be accessed by ordinary text editors. You have also been informed that the file should take up as little space as possible. What action should you take? A. You should consider making use of the DMLWriter class. B. You should consider making use of the StreamWriter class. C. You should consider making use of the DDLWriter class. D. You should consider making use of the SSLWriter class. Answer: B Explanation:
QUESTION NO: 74 You are employed as a developer at PassGuide.com. You are using ASP.NET and C# to develop a new Web site for PassGuide.com.
BrainDumps.com
40
Microsoft 98-361 Exam You have created a new application for PassGuide.com using C#. The new application must be able to retrieve a single value from a PassGuide.com SQL Server database. You want to make sure that this process takes as little time as possible. What option should you make use of? A. You should consider making use of the SqlCommand.ExecuteReader method. B. You should consider making use of the SqlCommand.ExecuteScalar method. C. You should consider making use of the SqlCommand.ExecuteXmlReader method. D. You should consider making use of the SqlCommand.BeginExecuteXmlReader method. Answer: B Explanation:
QUESTION NO: 75 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. PassGuide.com has a database table, named PGItems. You want to make sure that obsolete items are expunged from PGItems when you update it. What action should you take? A. You should consider making use of the FILL SQL statement. B. You should consider making use of the DISCONTINUE SQL statement. C. You should consider making use of the REFRESH SQL statement. D. You should consider making use of the DELETE SQL statement. Answer: D Explanation:
QUESTION NO: 76 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment.
BrainDumps.com
41
Microsoft 98-361 Exam You have been instructed to create a new program for PassGuide.com. the program must be able to return a list of data from a PassGuide.com database and allow you to view the returned data, regardless of whether you are linked to the SQL server or not. What action should you take? A. You should consider configuring the DataTable class to store the data. B. You should consider configuring the DataSet class to store the data. C. You should consider configuring the OleDbDataReader class to store the data. D. You should consider configuring the StreamReader class to store the data. Answer: B Explanation:
QUESTION NO: 77 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. You have been instructed to create a new program for PassGuide.com. This new program must be able to write information to a flat file. You decide to include a BinaryWriter class in your code. What is TRUE with regards to the BinaryWriter class? A. It writes characters using an encoding value to convert the characters to bytes. B. It allows characters to be read using an encoding value to convert the characters from bytes. C. It writes basic types in binary to a stream and supports writing strings in a specific encoding. D. It writes a forward-only stream of data rows to a data source. Answer: C Explanation:
QUESTION NO: 78 You are employed as a developer at PassGuide.com. You have received instructions to create a new application for PassGuide.com. The new application must have the ability to duplicate information hosted by a PassGuide.com SQL server data table in a Dataset. BrainDumps.com
42
Microsoft 98-361 Exam What action should you take? A. You should consider making use of the Fill method in the written code. B. You should consider making use of the Copy method in the written code. C. You should consider making use of the Duplicate method in the written code. D. You should consider making use of the ReturnData method in the written code. Answer: A Explanation:
QUESTION NO: 79 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. You are currently running a training exercise for potential developers. You are in the process of discussing stored procedures. What are options that suitably describe the advantages of making use of stored procedures in SQL Server? (Choose all that apply.) A. Stored procedures can improve the security of your application. B. Stored procedures prevent modular programming. C. Stored procedures are created once, and can be called any number of times in your program. D. Stored procedures are stored locally on client computers. Answer: A,C Explanation:
QUESTION NO: 80 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server databases in their environment. PassGuide.com has an application that contains a SqlDataAdapter object and an OleDbDataAdapter object. You are required to link up to a SQL Server database table. PassGuide.com’s application contains a DataSet object for this specific table. You want to make sure that data from the database is loaded into the DataSet object using a strategy that provides the most efficient execution. BrainDumps.com
43
Microsoft 98-361 Exam What method should be included in your code? A. You should consider making use of the Read method. B. You should consider making use of the Get method. C. You should consider making use of the Set method. D. You should consider making use of the Fill method. Answer: D Explanation:
QUESTION NO: 81 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. You have created a new application for PassGuide.com that contains a SqlDataAdapter object. The SqlDataAdapter object has been linked to a table. You are planning to make use of the Fill method for returning information from the table. You have been informed that the Fill method should access the SQL server database connection, read the data, and leave a closed connection. What actions should you take? (Choose all hat apply.) A. You should consider setting the Connection property of the SqlDataAdapter object to an applicable SQL Server database connection. B. You should consider setting the Connection property of the SqlDataAdapter object to an applicable data table. C. You should consider configuring the SQL Server database connection to be in a closed state. D. You should consider configuring the SQL Server database connection to be in an open state. Answer: A,C Explanation:
QUESTION NO: 82 You are employed as a developer at PassGuide.com. You are in the process of developing a new database for PassGuide.com. You are informed that
BrainDumps.com
44
Microsoft 98-361 Exam the new database’s tables should satisfy normalization rules for the first normal form. What options suitable describes these rules for the first normal form? (Choose all that apply.) A. Repeating groups in individual tables should be removed. B. Separate tables should be created for arrays of values that pertain to multiple data. C. A separate table should be created for every array of related data. D. These tables should be linked with a foreign key. E. Every array of related data should be identified with a primary key. F. Fields that is not dependant on the foreign key should be removed. Answer: A,C,E Explanation:
QUESTION NO: 83 You are employed as a developer at PassGuide.com. You are in the process of developing a new database for PassGuide.com. You are informed that the new database’s tables should satisfy the following normalization rules: •Repeating groups in individual tables should be removed. •A separate table should be created for every array of related data. •Every array of related data should be identified with a primary key. •Separate tables should be created for arrays of values that pertain to multiple data. •These tables should be linked with a foreign key. What normal form is satisfied by these rules? A. 1 NF B. 2 NF C. 3 NF D. 4 NF Answer: B Explanation:
QUESTION NO: 84 BrainDumps.com
45
Microsoft 98-361 Exam You are employed as a developer at PassGuide.com. You are in the process of developing a new database for PassGuide.com. You are informed that the new database’s tables should satisfy normalization rules for the third normal form. What option must be present to satisfy the third normal form? A. Repeating groups in individual tables should be removed. B. Separate tables should be created for arrays of values that pertain to multiple data. C. A separate table should be created for every array of related data. D. These tables should be linked with a foreign key. E. Every array of related data should be identified with a primary key. F. Fields that is not dependant on the foreign key should be removed. Answer: F Explanation:
QUESTION NO: 85 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. You have been instructed to develop a new PassGuide.com database. You are currently analyzing the normalization rules for the new database’s tables. You then configure rules to ensure the following: •That not a single column in the table is allowed to host multiple values in the same row of data. •That the entire primary key determines the functionality of all non-key columns. •That functional dependency is not shared by non-key attributes. What prerequisites does this configuration allow for? A. The prerequisites of 4NF. B. The prerequisites of 3NF. C. The prerequisites of 2NF. D. The prerequisites of 1NF. Answer: B Explanation:
BrainDumps.com
46
Microsoft 98-361 Exam
QUESTION NO: 86 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server in their environment. You have received instructions to create a relational database for a recently developed application. Part of the process requires specifying a suitable structure for the database. What option is TRUE with regards to this process? A. You should specify the necessary tables and rows. B. Secondary keys for the tables must be selected. C. You should specify the connection between tables. D. Normalization does not form part of this process. Answer: C Explanation:
QUESTION NO: 87 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server 2000 databases in their environment. You are in the process of creating a new program for PassGuide.com using C#. The program must be configured to read data from a PassGuide.com database on a nightly basis. Thereafter, the data must be written to a flat file that must be sent to a PassGuide.com vendor. You want to make sure that the data is returned minimum effect on the server, while enhancing operations. What is the option you should use? A. You should consider making use of the DataView class. B. You should consider making use of the StreamReader class. C. You should consider making use of the SqlDataReader class. D. You should consider making use of the BinaryWriter class. Answer: C
BrainDumps.com
47
Microsoft 98-361 Exam Explanation:
QUESTION NO: 88 You are employed as a developer at PassGuide.com. PassGuide.com makes use of SQL Server 2005 databases in their environment. You want to make sure that all PassGuide.com's orders processed on the 8th May 2012 are returned by a query to the PGOrders database table. You start by writing the line of code shown below: SELECT * FROM Orders Which of the following is the line of code that would suitably complete the query? A. WHERE OrderDate = '08/05/2012' B. WHERE OrderDate = '8th May 2012' C. IF OrderDate = '01/01/2011' D. IF OrderDate = ''8th May 2012' Answer: A Explanation:
BrainDumps.com
48
Microsoft 98-361
Software Development Fundamentals Version: 4.0
Microsoft 98-361 Exam QUESTION NO: 1 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been asked to create a new program for ABC.com. Prior to creating the new program, you plan to create an algorithm to fully comprehend how the processes of the program must run. The algorithm will list the required actions for completing a process in the appropriate sequence. You are informed that your method for creating the algorithm should be as simple, and clear as possible. What option should you use? A. You should consider making use of the flowchart method. B. You should consider making use of the pivotchart method. C. You should consider making use of the data table method. D. You should consider making use of the XML method. Answer: A Explanation:
QUESTION NO: 2 You are employed as a developer at ABC.com. You are creating a .NET Framework application. You have been instructed to make sure that you make use of Common Intermediate Language (CLI) for programming the application. What options are TRUE with regards to CLI? (Choose all that apply.) A. CIL is the highest-level human-readable programming language defined by the Common Language Infrastructure specification. B. CIL is the highest-level human-readable programming language defined by the Common Language Infrastructure specification. C. CIL is an object-oriented assembly language, and is entirely stack-based. D. CIL is an object-oriented assembly language, but is not stack-based. Answer: A,C Explanation:
"Pass Any Exam. Any Time." - www.actualtests.com
2
Microsoft 98-361 Exam QUESTION NO: 3 You are employed as a developer at ABC.com. You make use of Visual Basic .Net for development purposes. You have written the code shown below for declaring an array of a new application: Dim myArray as String = { apples, pears, plums, grapes, oranges, bananas} You want to return the third item in your array. What code would you employ? A. myArray[1] B. myArray[2] C. myArray[3] D. myArray[4] E. myArray[5] F. myArray[6] Answer: B Explanation:
QUESTION NO: 4 You are employed as a developer at ABC.com. You are in the process of creating code for a method that does not retrieve a value for the calling code. You want to make sure that this is reflected when declaring the method. What option should you use? A. You should consider making use of the void keyword in the method declaration. B. You should consider making use of the sealed C# statement in the method declaration. C. You should consider making use of the internal C# statement in the method declaration. D. You should consider making use of the public C# statement in the method declaration. E. You should consider making use of the protected C# statement in the method declaration.
"Pass Any Exam. Any Time." - www.actualtests.com
3
Microsoft 98-361 Exam Answer: A Explanation:
QUESTION NO: 5 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a new program for ABC.com using C#. You are informed that the new program should allow for intricate multi-way branching. Furthermore, the code used must not be difficult to make sense of. What is the option you should use? A. You should consider making use of the foreach C# statement. B. You should consider making use of the while C# statement. C. You should consider making use of the protected C# statement. D. You should consider making use of the switch C# statement. Answer: D Explanation:
QUESTION NO: 6 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been tasked with creating a new program for ABC.com using C#. The new program will iterate throughout an assortment of lists and arrays. Every element in this assortment must be processed just one time. You are then informed that reading and debugging your code should not be difficult. What action should you take? A. You should consider making use of the switch C# statement as part of your code. B. You should consider making use of the void keyword as part of your code. C. You should consider making use of the foreach C# statement as part of your code. D. You should consider making use of the interface keyword as part of your code.
"Pass Any Exam. Any Time." - www.actualtests.com
4
Microsoft 98-361 Exam Answer: C Explanation:
QUESTION NO: 7 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new application for ABC.com using C#. The new application must process a loop repeatedly for precisely 7 times. Which of the following represents the code you should write? A. int count = 1; while (count <= 7) { Console.WriteLine("The value of count = {0}", count); count++; } B. int count = 0; while (count <= 7) { Console.WriteLine("The value of count = {7}", count); count++; } C. int count = 1; while (count <= 7) { Console.WriteLine("The value of count = {7}"); count++; } D. int count = 0; while (count <= 7) { Console.WriteLine("The value of count = {0}"); count++; } Answer: A Explanation:
QUESTION NO: 8 "Pass Any Exam. Any Time." - www.actualtests.com
5
Microsoft 98-361 Exam You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for ABC.com. The program should be able to affect integer values, which may be positive or negative and be greater than twelve characters. You have to make sure that you are able to store this type of variable. What is the option you should take? A. You should consider making use of the static data type. B. You should consider making use of the string data type. C. You should consider making use of the private data type. D. You should consider making use of the long data type. Answer: D Explanation:
QUESTION NO: 9 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new application that should include a recursive method that computes the factorial of a number. You have written the following code for the method: 01: public static int Factorial(int n) 02: { 03: if (n == 0) 04: { 05: return 1; 06: } 07: else 08: {
"Pass Any Exam. Any Time." - www.actualtests.com
6
Microsoft 98-361 Exam 09: 10: } 11: } You have to insert suitable code at line 09 to make sure that the proper outcome is reached. What line of code should be inserted? A. return n * Factorial(n - 1); B. return n; C. return n * Factorial(n - 0); D. return 0; Answer: A Explanation:
QUESTION NO: 10 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are writing code for a new ABC.com application. The code includes the while statement. You want to make sure that a control enters the while loop six times. Which of the following suitably represents the written code? A. int count = 0; while (count < 6) { when (count == 6) break; count++; } B. int count = 0; while (count < 7) { if (count == 5) break; count++;
"Pass Any Exam. Any Time." - www.actualtests.com
7
Microsoft 98-361 Exam } C. int count = 1; while (count < 6) { if (count == 6) break; count++; } D. int count = 1; while (count < 7) { when (count == 5) break; count++; } Answer: B Explanation:
QUESTION NO: 11 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for ABC.com. You have to include a repetition structure that allows for the termination condition test to execute at the bottom of the loop not the top. What action should you take? A. You should consider making use of the public C# statement. B. You should consider making use of the sealed C# statement. C. You should consider making use of the private C# statement. D. You should consider making use of the do-while C# statement. Answer: D Explanation:
QUESTION NO: 12
"Pass Any Exam. Any Time." - www.actualtests.com
8
Microsoft 98-361 Exam You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a program that includes code that allows the program to iterate a set amount of times. Regardless of whether the loop body includes complex code, the written code should be understandable and easily maintainable. What option should you use? A. You should consider making use of the public C# statement. B. You should consider making use of the for C# statement. C. You should consider making use of the private C# statement. D. You should consider making use of the sealed C# statement. Answer: B Explanation:
QUESTION NO: 13 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a method for determining the concession for products ABC.com sold. A variable, named percentValue, is of the type double and must be only be available in the method. Which of the following actions should you take? A. You should consider making use of the private access modifier for distinguishing the percentValue variable. B. You should consider making use of the void access modifier for distinguishing the percentValue variable. C. You should consider making use of the string access modifier for distinguishing the percentValue variable. D. You should consider making use of the protected access modifier for distinguishing the percentValue variable. Answer: A Explanation:
QUESTION NO: 14 "Pass Any Exam. Any Time." - www.actualtests.com
9
Microsoft 98-361 Exam You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are planning to make use of an InitFields method that obtains two parameters of data type double, but does not retrieve a value for the calling code. You start writing code to define the InitFields method as shown below: public void InitFields(double l, double w) What code should you use to complete the code? A. { retrieve length + width; } B. { length = l; width = w; } C. { retrieve length - width;} D. { retrieve length + width; } Answer: B Explanation:
QUESTION NO: 15 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are in the process of creating a class that makes use of a method using the virtual modifier. Which of the following is TRUE with regards to the virtual modifier? (Choose all that apply.) A. You are unable to make use of the virtual modifier with the static, abstract, private or override modifiers. B. You are able to make use of the virtual modifier with the static, abstract, private or override modifiers.
"Pass Any Exam. Any Time." - www.actualtests.com
10
Microsoft 98-361 Exam C. The use of the virtual modifier prevents inheritance of the class. D. The virtual modifier is used in a class declaration to indicate that a class is intended only to be a base class of other classes. Answer: A Explanation:
QUESTION NO: 16 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are in the process of defining a class to provide functionality for executing custom pivot transforms on big data sets. You have been informed that derived classes should be prevented from inheriting the functionality of the class. What action should you take? A. You should consider making use of the sealed keyword. B. You should consider making use of the static keyword. C. You should consider making use of the public keyword. D. You should consider making use of the int keyword. Answer: A Explanation:
QUESTION NO: 17 You are employed as a developer at ABC.com. You are in the process of creating a new application that includes numerous classes, with dissimilar algorithms. You have been instructed to make sure that these classes are configured to print, regardless of their dissimilar algorithms. Which of the following actions should you take? A. You should consider developing a classified interface that is employed by all of the classes. B. You should consider configuring a customized interface for each class. C. You should consider configuring a unique interface for each class. D. You should consider developing a common interface that is employed by all of the classes.
"Pass Any Exam. Any Time." - www.actualtests.com
11
Microsoft 98-361 Exam Answer: D Explanation:
QUESTION NO: 18 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are in the process creating a class, named ABCMovies. You want to make sure that you have the ability to retrieve a list of all movies, which are arranged by the producer’s surname. You have to make sure that this feature of the class is suitably classified by the code you insert. What action should you take? A. You should consider making use of a method. B. You should consider making use of an element. C. You should consider making use of the while statement. D. You should consider making use of the foreach statement. Answer: A Explanation:
QUESTION NO: 19 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new class. The new class must allow for the immediate initialization of its data members every time an object of the class is created. Which of the following actions should you take? A. You should consider creating an element in the class. B. You should consider creating a constructor in the class. C. You should consider creating a customized interface for the class. D. You should consider developing a common interface for the class. Answer: B Explanation:
"Pass Any Exam. Any Time." - www.actualtests.com
12
Microsoft 98-361 Exam
QUESTION NO: 20 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are in the process of developing a new derivative of the Shape class. The Shape class makes use of public virtual void to define the Area method. You want to make sure that the Area method in the Shape class allows for new operations, while keeping the execution of the Area method of the Shape class concealed. What option should you use? A. You should consider defining the Area method for the derivative of the Shape class using public new void. B. You should consider defining the Area method for the derivative of the Shape class using private new void. C. You should consider defining the Area method for the derivative of the Shape class using public sealed void. D. You should consider defining the Area method for the derivative of the Shape class using private sealed void. Answer: A Explanation:
QUESTION NO: 21 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are instructed to develop a new Rectangle class. The new class should allow for Rectangle objects to be compared. What option suitably represents the necessary code? A. class Rectangle : IConvertible { public double Length { get; set; } public double Width { get; set; } public double GetArea() "Pass Any Exam. Any Time." - www.actualtests.com
13
Microsoft 98-361 Exam { return Length * Width; } public intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; else if (diff > 0) return 1; else return -1; } } B. class Rectangle : IComparable { public Length { get; set; } public Width { get; set; } public GetArea() { return Area; } public intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; else if (diff > 0) return 1; else return -1; } } C. class Rectangle : IComparable { private double Length { get; set; } private double Width { get; set; } private double GetArea() { return Length * Width; } private intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; "Pass Any Exam. Any Time." - www.actualtests.com
14
Microsoft 98-361 Exam else if (diff > 0) return 1; else return -1; } } D. class Rectangle : IComparable { private Length { get; set; } private Width { get; set; } private GetArea() { return Area; } private intCompareTo(object obj) { Rectangle target = (Rectangle)obj; double diff = this.GetArea() - target.GetArea(); if (diff == 0) return 0; else if (diff > 0) return 1; else return -1; } } Answer: A Explanation:
QUESTION NO: 22 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are in the process of creating an application using C#. You have just developed a class that has the same name as a class in a third-party library you are using. You are informed that making use of this class in your code should not affect the clarity of your code. What action should you take? A. You should consider including the namespace C# keyword in your code.
"Pass Any Exam. Any Time." - www.actualtests.com
15
Microsoft 98-361 Exam B. You should consider including the int C# keyword in your code. C. You should consider including the void C# keyword in your code. D. You should consider including the static C# keyword in your code. Answer: A Explanation:
QUESTION NO: 23 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a new C# program for ABC.com. You want to write code that declares members that belong to the actual class, not to specific objects. What is the action you should take? A. You should consider making use of an abstract keyword. B. You should consider making use of a string keyword. C. You should consider making use of a virtual keyword. D. You should consider making use of a static keyword. Answer: D Explanation:
QUESTION NO: 24 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are in the process of creating a new program using C#. Your code has to include an element that meets the following requirements: •Specifies the template for an object. •Must be a characterization of a new data type. What action should you take? A. You should consider including a class. B. You should consider including a delegate. "Pass Any Exam. Any Time." - www.actualtests.com
16
Microsoft 98-361 Exam C. You should consider including a method. D. You should consider including a property. Answer: A Explanation:
QUESTION NO: 25 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to develop a new Windows application for ABC.com. You are in the process of defining a new class. You want to make sure that code outside the assembly is prevented from accessing the class. Code packaged in the same assembly should however have the ability to access this class, regardless of whether they inherit directly or indirectly from the class. What action should you take? A. You should consider declaring the class using the public access modifier B. You should consider declaring the class using the void access modifier C. You should consider declaring the class using the private access modifier D. You should consider declaring the class using the string access modifier Answer: C Explanation:
QUESTION NO: 26 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to develop a new Windows application for ABC.com. You are in the process of defining a new common base class that must be used by various derived classes. You want to declare the new base class What is the option you should use? A. You should consider making use of the actual keyword. B. You should consider making use of the limit keyword. C. You should consider making use of the interface keyword. "Pass Any Exam. Any Time." - www.actualtests.com
17
Microsoft 98-361 Exam D. You should consider making use of the concrete keyword. Answer: C Explanation:
QUESTION NO: 27 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to develop a new Windows application for ABC.com. You have decided to make use of the inheritance object oriented programming concept. What will this allow for? A. It will enable derived classes to share common functionality with base classes, but prevent them from defining their own unique behavior. B. It will prevent derived classes from sharing common functionality with base classes, while allowing them to define their own unique behavior. C. It will prevent derived classes to share common functionality with base classes, and also prevent them from defining their own unique behavior. D. It will enable derived classes to share common functionality with base classes, while allowing them to define their own unique behavior. Answer: D Explanation:
QUESTION NO: 28 You are employed as a software system developer at ABC.com. You are in the process of developing a new software system for ABC.com. You are asked to identify the steps required in the development process. What option suitably describes the FIRST step? A. You should consider performing a requirements analysis. B. You should consider choosing a suitable design model. C. You should consider selecting a suitable backup strategy. D. You should consider selecting a release date. "Pass Any Exam. Any Time." - www.actualtests.com
18
Microsoft 98-361 Exam Answer: A Explanation:
QUESTION NO: 29 You are employed as a software system developer at ABC.com. You are preparing the development of a new software system for ABC.com. You are currently analyzing the results of the design process, prior to development. What options form part of the results you are analyzing? A. Plans. B. Modes. C. Architecture. D. Hardware application. Answer: A,B Explanation:
QUESTION NO: 30 You are employed as a software system developer at ABC.com. You have received a request for the development of a new software system. You require the assistance of various types of developers during the development process, of which one is an architect. What is the purpose of an architect? A. An architect develops system content. B. An architect develops the system’s technical blueprint. C. An architect deals with quality control. D. An architect develops system manuals and help files. Answer: B Explanation:
QUESTION NO: 31
"Pass Any Exam. Any Time." - www.actualtests.com
19
Microsoft 98-361 Exam You are employed as a software system developer at ABC.com. You have received a request for the development of a new software system. You require the assistance of various types of developers during the development process, of which one is a technical writer. What is the purpose of a technical writer? A. A technical writer develops system content. B. A technical writer develops the system’s technical blueprint. C. A technical writer deals with quality control. D. A technical writer develops system manuals and help files. Answer: D Explanation:
QUESTION NO: 32 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for ABC.com. You have reached the testing stage of the development process. What is the reason for the testing stage? A. It allows you to ascertain whether the program execution meets the initial requirements. B. It allows you to optimize the program for performance and security. C. It allows you to employ a data structure that serves as a buffer for overflow capacity. D. It allows you to analyze the packaging, deployment, delivery, and support plan for the program. Answer: A Explanation:
QUESTION NO: 33 You are employed as a software system developer at ABC.com. You have received a request for the development of a new software system. You require the assistance of various people during the development process, of which one is a release manager.
"Pass Any Exam. Any Time." - www.actualtests.com
20
Microsoft 98-361 Exam What is the purpose of a release manager? A. A release manager develops system content. B. A release manager creates a rollout plan and certifies release candidates for shipment or deployment. C. A release manager deals with quality control. D. A release manager develops system manuals and help files. Answer: B Explanation:
QUESTION NO: 34 You are employed as a developer at ABC.com. You have been instructed to create a new program for ABC.com. You want to make sure that when you fix a problem with the program, it does not negatively affect the rest of the program. You need to employ a suitable testing strategy. What option should you use? A. Merger. B. Improvement. C. Rejection. D. Regression. Answer: D Explanation:
QUESTION NO: 35 You are employed as a senior developer at ABC.com. You are responsible for running training exercises for junior developers. During one of the training exercises, you are discussing testing. You are explaining what white-box testing entails. What is TRUE with regards to white-box testing? (Choose all that apply.)
"Pass Any Exam. Any Time." - www.actualtests.com
21
Microsoft 98-361 Exam A. White-box testing allows for testing every imaginable combination of end-user activities. B. White-box testing requires the creation test cases by studying the code to identify any possible failure scenarios. C. You are allowed to make use of sample applications to integrate and test the application block for white box testing. D. White-box testing is also known as glass box, clear box, and open box testing. Answer: B,D Explanation:
QUESTION NO: 36 You are employed as a senior developer at ABC.com. You are responsible for running training exercises for junior developers. During one of the training exercises, you are discussing testing. You are explaining what black-box testing entails. What is TRUE with regards to black-box testing? (Choose all that apply.) A. Black-box testing allows for testing every imaginable combination of end-user activities. B. Black-box testing requires the creation test cases by studying the code to identify any possible failure scenarios. C. You are allowed to make use of sample applications to integrate and test the application block for black box testing. D. Black-box testing is also known as glass box, clear box, and open box testing. Answer: A,C Explanation:
QUESTION NO: 37 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for ABC.com. You are planning to make use of a queue data structure. Which of the following options are TRUE with regards to the queue data structure? A. It is a contiguous collection of data items that can be accessed by an ordinal index. "Pass Any Exam. Any Time." - www.actualtests.com
22
Microsoft 98-361 Exam B. It does not allow random access. C. It does not support chaining, splitting, cycles, or other features that can leave the queue in a conflicting state. D. It is the most commonly used data structure. Answer: B Explanation:
QUESTION NO: 38 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new program for ABC.com. You are planning to make use of a stack data structure. Which of the following options are TRUE with regards to the stack data structure? A. It is a contiguous collection of data items that can be accessed by an ordinal index. B. It does not support chaining, splitting, cycles, or other features that can leave the stack in a conflicting state. C. It processes items on a first come, last served system. D. It is the most commonly used data structure. Answer: C Explanation:
QUESTION NO: 39 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server databases in their environment. ABC.com has an application that employs a queue data structure for influencing data. A fellow developer, named Kara Lang, wants to know if the queue includes a data item without having to process the data item. What option would you use? A. You should consider making use of the contains queue operation. B. You should consider making use of the holds queue operation. "Pass Any Exam. Any Time." - www.actualtests.com
23
Microsoft 98-361 Exam C. You should consider making use of controls queue operation. D. You should consider making use of retains queue operation. Answer: A Explanation:
QUESTION NO: 40 You are employed as a developer at ABC.com. You have created a new application for ABC.com. The new application makes use of a stack data structure to handle data. You want to perform a queue operation that enables you to locate the data item that is next in line for processing, without processing that data item. What option should you make use of? A. You should consider making use of the view queue operation. B. You should consider making use of the glance queue operation. C. You should consider making use of the peek queue operation. D. You should consider making use of the stare queue operation. Answer: C Explanation:
QUESTION NO: 41 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are in the process of developing a new application. You are making use of an algorithm in your code that requires making use of the comparison and swap techniques. What algorithm are you using? A. MergeSort B. BubbleSort C. BitonicSort D. CounterSort
"Pass Any Exam. Any Time." - www.actualtests.com
24
Microsoft 98-361 Exam Answer: B Explanation:
QUESTION NO: 42 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are in the process of developing a new application for ABC.com. The application must make use of a list that has multiple nodes. You link the application to only the head node. What is TRUE for this scenario? A. It allows you to navigate all of the list’s nodes. B. It prevents you from navigating to any list node. C. It prevents you from randomly accessing the list’s items. D. It allows you to store linked list items in a contiguous memory location. Answer: A Explanation:
QUESTION NO: 43 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have been instructed to create a new ABC.com application that makes use of a data structure that satisfies the following requirements: •Prohibits random access to its items. •Are extremely fast in executing insert and delete operations. •Are not stored in contiguous memory locations. What data structure should you make use of? A. An array data structure. B. A linked list data structure. C. A stack data structure. D. A queue data structure. "Pass Any Exam. Any Time." - www.actualtests.com
25
Microsoft 98-361 Exam Answer: B Explanation:
QUESTION NO: 44 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You are creating a new application using a doubly linked list data structure. What is a TRUE statement with regards to this type of data structure? A. Doubly linked lists are able to store each of the elements they contain in different and unrelated storage locations. B. It allocates all elements contiguously in memory, and keeps a count of the current number of elements. C. It allows one to handle the structure by a single pointer, instead of two. D. You are able insert or delete a node in a constant number of operations given only that node's address. Answer: A Explanation:
QUESTION NO: 45 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have received instructions to create a Web page for ABC.com. You are planning to make use of Cascading Style Sheet (CSS) for the Web page. What is TRUE with regards to using Cascading Style Sheet (CSS)? A. It defines how elements are presented and where they are placed on the Web page. B. It consists of a directive, which could extended with one or more attributes, within angle brackets. C. It is used is used to create interactive web applications that are supported by the Netscape browser. D. It is a collection of documents containing cross-reference links that can be used interactively by a user to move directly from one topic to another.
"Pass Any Exam. Any Time." - www.actualtests.com
26
Microsoft 98-361 Exam Answer: A Explanation:
QUESTION NO: 46 You are employed as a developer at ABC.com. You make use of C# and ASP.NET for development purposes. You have recently developed a Web page for ABC.com. ABC.com has informed that a picture that resides on a different web server must be presented to users when they access the Web page. The picture can be retrieved via a public URL. What action should you take? A. You should consider making use of the HTML tag. B. You should consider making use of the HTML tag. C. You should consider making use of the HTML tag. D. You should consider making use of the HTML tag. Answer: A Explanation:
QUESTION NO: 47 You are employed as a developer at ABC.com. You are in the process of creating a new Web page for ABC.com. You are planning to set the HREF attribute of an anchor element. What is TRUE with this setting? A. It defines the shape, coordinates, and related URL of a single hyperlink region within a clientside image map B. It allows you to create hyperlinks on your web page to access other pages on the Internet. C. It enables the current document to establish links to external documents. D. It inserts an image or a video clip in the document. Answer: B Explanation:
"Pass Any Exam. Any Time." - www.actualtests.com
27
Microsoft 98-361 Exam
QUESTION NO: 48 You are employed as a developer at ABC.com. You are in the process of creating a new Web page for ABC.com. You have written JavaScript code for your Web site in a different file. You then set the SRC attribute of the <SCRIPT> tag to connect to the JavaScript file. Which of the following options describe your reasons for doing this? (Choose all that apply.) A. It will allow you to make sure that Web pages take the least time to load. B. It will prevent you from altering the JavaScript code. C. It will allow you to alter the JavaScript code using the least number of actions. D. It will increase the amount of data transmitted over the network. Answer: A,C Explanation:
QUESTION NO: 49 You are employed as a senior developer at ABC.com. ABC.com makes use of ASP.NET for developing Web applications. You are currently running a training exercise for potential developers. You are discussing the aspnet_wp.exe worker process. What is TRUE with regards to the aspnet_wp.exe worker process? (Choose all that apply.) A. It is only used in IIs 6.0. B. It is responsible for supporting the ASP.NET functionality. C. It is considered an application pool process. D. It is used in IIS 5.0 and earlier. Answer: B,D Explanation:
QUESTION NO: 50 You are employed as a developer at ABC.com. You are using ASP.NET to develop a new Web "Pass Any Exam. Any Time." - www.actualtests.com
28
Microsoft 98-361 Exam page for ABC.com. You have recently written code for a Page_Load method. You then configured the AutoEventWireup attribute of the @page directive to be TRUE. Which of the following describes the results of this configuration? A. The Page_Load method will be performed as soon as the Load event of the Web page is fired. B. The Page_Load method will be prevented from completing. C. The Page_Load method will be validated prior to firing. D. The Page_Load method will not be validated prior to firing. Answer: A Explanation:
QUESTION NO: 51 You are employed as a developer at ABC.com. You are using ASP.NET and C# to develop a new Web site for ABC.com. The Web site will be used to find places of interest. You are instructed to make sure that the Web pages presents a list, in the bottom left-hand side, of the places of interest that were browsed in recent times. Furthermore, you are informed that the browsing data should be accessible to all Web pages, even if the user restarts the browser. You want to complete your task using as little administrative effort, and without making use of server side resources. What option should you take? A. You should consider making use of the browser’s History tab. B. You should consider making use of the browser’s Favorites tab. C. You should consider making use of cookies. D. You should consider making use of the browser’s Feeds tab. Answer: C Explanation:
"Pass Any Exam. Any Time." - www.actualtests.com
29
Microsoft 98-361 Exam QUESTION NO: 52 You are employed as a developer at ABC.com. You make use of ASP.NET and C# for development purposes. ABC.com has an Internet Information Services (IIS) server, named ABC-SR07, which hosts a newly developed Web application. You are then informed that you must ensure that all ABC.com’s staff is able to make use of the new Web application. Which of the following actions should you take? A. You should consider making sure that all client workstations have Windows 7 installed. B. You should consider making sure that all client workstations have the necessary hardware requirements. C. You should consider making sure that all client workstations are password protected. D. You should consider making sure that all client workstations have a suitable Web browser installed. Answer: D Explanation:
QUESTION NO: 53 You are employed as a developer at ABC.com. You are in the process of creating a Web service using ASP.NET. You have attached the WebMethod attribute to a Public method. Which of the following options describe your reasons for doing this? (Choose all that apply.) A. It specifies that you want to expose the method as part of the Web service. B. It prevents you from exposing the method as part of the Web service. C. It allows you to make use of the properties of this attribute to further configure the behavior of the Web service method. D. Further configuration of the behavior of the Web service method is disallowed. Answer: A,C Explanation:
QUESTION NO: 54
"Pass Any Exam. Any Time." - www.actualtests.com
30
Microsoft 98-361 Exam You are employed as a developer at ABC.com. ABC.com uses Visual Studio in their business. You recently made use of C# to develop a new Web service that supports mapping data. You want to make sure that the Web service produces the proper output using the least amount of effort. Which of the following actions should you take? A. You should analyze the test page that is shown in the Web browser after using Visual Studio to execute the Web services project. B. You should consider making use of white-box testing. C. You should consider making use of black-box testing. D. You should consider making use of alpha testing -box testing. Answer: A Explanation:
QUESTION NO: 55 You are employed as a developer at ABC.com. You are using ASP.NET to develop a new Web application, named ABCWebApp for ABC.com. ABCWebApp makes use of a Web service to obtain data. You want to make sure that you are able to make use of the methods of this Web service inside ABCWebApp by creating the client-side proxy classes. Which of the following actions should you take? A. You should consider inserting the reference in the machine.config file B. You should consider inserting the reference in the app.config file C. You should consider inserting the reference in the Web.config file. D. You should consider configuring a Web reference to identify the Web service. Answer: D Explanation:
"Pass Any Exam. Any Time." - www.actualtests.com
31
Microsoft 98-361 Exam QUESTION NO: 56 You are employed as a developer at ABC.com. You have received instructions to create a new Windows application for ABC.com. You are informed that the application should include a unique user interface element that allows for user contribution. Furthermore, you are informed that a number of additional applications will be employing this unique user interface. You have noticed that the Visual Studio toolbox does not have suitable tools to complete your task. You then decide to create the necessary code from scratch. What option should you make use of? A. You should consider generating a custom control for the unique user interface. B. You should consider generating a Web Form C. You should consider generating a Windows Service. D. You should consider generating a new User Form. Answer: A Explanation:
QUESTION NO: 57 You are employed as a developer at ABC.com. You have been instructed to create a user interface component for a new ABC.com application. You are required to make use of an event programming construct. What is the reason for this? A. It allows the user interface component the react to user actions. B. It prevents the user interface component from reacting to user actions. C. It allows the user interface component to send messages to the Event Log. D. It prevents the user interface component from sending messages to the Event Log. Answer: A Explanation:
"Pass Any Exam. Any Time." - www.actualtests.com
32
Microsoft 98-361 Exam QUESTION NO: 58 You are employed as a developer at ABC.com. You have received instructions to create a new Windows application for ABC.com. You are planning to create a Single Document Interface (SDI) application. What option is TRUE with regards to using Single Document Interface (SDI)? A. It is made up of one or more independent windows, which appears separately on the Windows desktop. B. It is made up of a single main window, and the application's windows are contained within or float on top of the main window. C. It is an interface that enables business managers to track and manage all the business processes from SharePoint Team Services. D. It includes only the signatures of methods, delegates or events. Answer: A Explanation:
QUESTION NO: 59 You are employed as a developer at ABC.com. You have been instructed to create a new application for ABC.com. The application must be configured to update records on a daily basis. The application should be configured to store error messages that take place while the application is running in a .txt file. You should also make sure that the application starts automatically, without human input. You have been informed that your solution should reduce the amount of processes required for development, installation, and updates. What option should you use? A. You should consider developing a custom control. B. You should consider developing a stored procedure. C. You should consider developing a custom user interface. D. You should consider developing a console application. Answer: D Explanation:
"Pass Any Exam. Any Time." - www.actualtests.com
33
Microsoft 98-361 Exam QUESTION NO: 60 You are employed as a developer at ABC.com. You have received instructions to create a new application for entering data. You have been informed that users will enter data via a keyboard or a bar-code scanner. Furthermore, an image of an item must be displayed onscreen as soon as a code is entered. To keep an eye on communication with the bar-code scanner, the application must log its operation to a console window. Which of the following actions should you take? A. You should consider creating a Windows Service application project, and configuring the Output type as Console Application. B. You should consider creating a Windows Forms application project with the Output type set to Console Application. C. You should consider creating a Web application project with the Output type set to Windows Forms Application. D. You should consider creating a Console Application project with the Output type set to Windows Forms. Answer: B Explanation:
QUESTION NO: 61 You are employed as a developer at ABC.com. You have been instructed to create a new application for ABC.com. You want to make sure that the application allows for: •Internet communication via Electronic Data Interface (EDI). •Continual execution in the background. •Messages to be written to the Windows application event log, and has no user interface. •A user to log off without interrupting the application’s processes. What option should you make use of?
"Pass Any Exam. Any Time." - www.actualtests.com
34
Microsoft 98-361 Exam A. You should consider creating a Windows Service application. B. You should consider creating an Active Directory application. C. You should consider creating a Federated application. D. You should consider creating a Global Service application. Answer: A Explanation:
QUESTION NO: 62 You are employed as a developer at ABC.com. You have recently created a new application for ABC.com. Messages written by the new application will be stored in the Windows application event log of the local workstation. You want to examine these messages on a daily basis. What option should you make use of? A. You should consider accessing the Event Viewer on the local workstation. B. You should consider accessing the app.config file on the local workstation. C. You should consider accessing the machine.config file on the local workstation. D. You should consider accessing the web.config file on the local workstation. Answer: A Explanation:
QUESTION NO: 63 You are employed as a developer at ABC.com. You are making use of .NET Framework 4.5 to develop Windows service applications. You have been instructed to create a new service application for ABC.com. Your code will include the System.ServiceProcess.ServiceInstaller class. What is a TRUE statement with regards to this class? A. It installs an executable containing classes that expand ServiceBase. B. It installs a class that expands ServiceBase to execute a service. C. It specifies a description for a property or event. D. It permits declarative service controller permission checks. "Pass Any Exam. Any Time." - www.actualtests.com
35
Microsoft 98-361 Exam Answer: B Explanation:
QUESTION NO: 64 You are employed as a developer at ABC.com. You have been instructed to create an order processing Windows service application. Your solution should allow for the postponement of the process when system maintenance is required, as well as the resumption of the process subsequent to the maintenance being completed. Which of the following actions should you take? A. You should consider configuring the CanPauseAndContinue property of the service to true. B. You should consider configuring the CanShutdown property of the service to false. C. You should consider configuring the CanStop property of the service to true. D. You should consider configuring the ExitCode property of the service to true. Answer: A Explanation:
QUESTION NO: 65 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server databases in their environment. You have been instructed to create a Windows service application for ABC.com. The application will include a trio of Windows services that are dissimilar. You want to make sure that the services are operational by installing them prior to use. You are then informed that the services must be installed using a suitable Windows installer tool. Which of the following actions should you take? A. You should consider configuring the Windows service project to include an application installer. B. You should consider configuring the Windows service project to include an SMS installer. C. You should consider configuring the Windows service project to include a Custom Installation Wizard. D. You should consider configuring the Windows service project to include a service installer.
"Pass Any Exam. Any Time." - www.actualtests.com
36
Microsoft 98-361 Exam Answer: D Explanation:
QUESTION NO: 66 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server databases in their environment. You have been instructed to create a new windows program for ABC.com. The program must be able to record messages in the event log. You have decided to include the Source property of the EventLog class in your code. Which of the following best describes the purpose of the Source property in the EventLog class? A. The Source property is used to set the source name to register and use when writing to the event log. B. The Source property is used to set the object used to marshal the event handler calls issued as a result of an EventLog entry written event. C. The Source property is used to set the name of the log to read from or write to. D. The Source property is used to set the contents of the event log. Answer: A Explanation:
QUESTION NO: 67 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server in their environment. You have been instructed to create a Windows service. This Windows service must have the ability to retrieve data hosted by the Windows Registry. What action should you take? A. You should consider executing this service using the LocalSystem account. B. You should consider executing this service using the GlobalSystem account. C. You should consider executing this service using the Admin account. D. You should consider executing this service using the GlobalService account. "Pass Any Exam. Any Time." - www.actualtests.com
37
Microsoft 98-361 Exam Answer: A Explanation:
QUESTION NO: 68 You are employed as a developer at ABC.com. You are making use of .NET Framework 4.5 to develop Windows Forms applications. You have just completed creating a new Windows Forms application for ABC.com. You are preparing to configure the IsMdiContainer property of the form. Which of the following is TRUE with regards to this configuration? A. It enables you to alter the display and performance of the form to an MDI parent form. B. It obtains a value indicating whether the form is a MDI child form. C. It prevents you from altering the display and performance of the form to an MDI parent form. D. It obtains a value indicating whether the form is a MDI parent form. Answer: A Explanation:
QUESTION NO: 69 You are employed as a developer at ABC.com. You have receive instructions to create a new multiple document interface (MDI) Windows Form. You want to make sure that the code you create allows for the child windows to be displayed perpendicularly inside the client area of the MDI parent form. What option should you use in your code? A. You should consider making use of MdiLayout.TileVertical. B. You should consider making use of MdiLayout.TilePerpendicular. C. You should consider making use of MdiLayout.TileParallel. D. You should consider making use of MdiLayout.TileDiagonal. Answer: A Explanation:
"Pass Any Exam. Any Time." - www.actualtests.com
38
Microsoft 98-361 Exam QUESTION NO: 70 You are employed as a developer at ABC.com. You have been instructed to create a new command-line application for ABC.com. You want to make sure that you are able to retrieve a response from the command-line. What option should you make use of? A. You should consider making use of the Fill method. B. You should consider making use of the StreamWriter class. C. You should consider executing the Dfsutil.exe command. D. You should consider making use of the Console.Read method. Answer: D Explanation:
QUESTION NO: 71 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server databases in their environment. You have recently created a Windows service for ABC.com. You are then instructed to run a newly created Windows service from the command-line. What is the option you should take? A. You should consider making use of the net start command. B. You should consider making use of the Nslookup command. C. You should consider making use of the net use command. D. You should consider making use of the net config command. Answer: A Explanation:
QUESTION NO: 72 You are employed as a developer at ABC.com. You have just completed the creation of a Windows service. You are now preparing to apply the "Pass Any Exam. Any Time." - www.actualtests.com
39
Microsoft 98-361 Exam service by installing it. What option should you use? A. You should consider executing the Snmputil.exe command. B. You should consider executing the Fed-Util.exe command. C. You should consider executing the InstallUtil.exe command. D. You should consider executing the Dfsutil.exe command. Answer: C Explanation:
QUESTION NO: 73 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server in their environment. You are creating a new application for ABC.com. The new application should be configured to ABC.com’s client list in a .txt file. You have been informed that your solution should allow for the file to be accessed by ordinary text editors. You have also been informed that the file should take up as little space as possible. What action should you take? A. You should consider making use of the DMLWriter class. B. You should consider making use of the StreamWriter class. C. You should consider making use of the DDLWriter class. D. You should consider making use of the SSLWriter class. Answer: B Explanation:
QUESTION NO: 74 You are employed as a developer at ABC.com. You are using ASP.NET and C# to develop a new Web site for ABC.com. You have created a new application for ABC.com using C#. The new application must be able to retrieve a single value from a ABC.com SQL Server database.
"Pass Any Exam. Any Time." - www.actualtests.com
40
Microsoft 98-361 Exam You want to make sure that this process takes as little time as possible. What option should you make use of? A. You should consider making use of the SqlCommand.ExecuteReader method. B. You should consider making use of the SqlCommand.ExecuteScalar method. C. You should consider making use of the SqlCommand.ExecuteXmlReader method. D. You should consider making use of the SqlCommand.BeginExecuteXmlReader method. Answer: B Explanation:
QUESTION NO: 75 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server in their environment. ABC.com has a database table, named ABCItems. You want to make sure that obsolete items are expunged from ABCItems when you update it. What action should you take? A. You should consider making use of the FILL SQL statement. B. You should consider making use of the DISCONTINUE SQL statement. C. You should consider making use of the REFRESH SQL statement. D. You should consider making use of the DELETE SQL statement. Answer: D Explanation:
QUESTION NO: 76 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server databases in their environment. You have been instructed to create a new program for ABC.com. the program must be able to return a list of data from a ABC.com database and allow you to view the returned data, regardless of whether you are linked to the SQL server or not.
"Pass Any Exam. Any Time." - www.actualtests.com
41
Microsoft 98-361 Exam What action should you take? A. You should consider configuring the DataTable class to store the data. B. You should consider configuring the DataSet class to store the data. C. You should consider configuring the OleDbDataReader class to store the data. D. You should consider configuring the StreamReader class to store the data. Answer: B Explanation:
QUESTION NO: 77 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server databases in their environment. You have been instructed to create a new program for ABC.com. This new program must be able to write information to a flat file. You decide to include a BinaryWriter class in your code. What is TRUE with regards to the BinaryWriter class? A. It writes characters using an encoding value to convert the characters to bytes. B. It allows characters to be read using an encoding value to convert the characters from bytes. C. It writes basic types in binary to a stream and supports writing strings in a specific encoding. D. It writes a forward-only stream of data rows to a data source. Answer: C Explanation:
QUESTION NO: 78 You are employed as a developer at ABC.com. You have received instructions to create a new application for ABC.com. The new application must have the ability to duplicate information hosted by a ABC.com SQL server data table in a Dataset. What action should you take?
"Pass Any Exam. Any Time." - www.actualtests.com
42
Microsoft 98-361 Exam A. You should consider making use of the Fill method in the written code. B. You should consider making use of the Copy method in the written code. C. You should consider making use of the Duplicate method in the written code. D. You should consider making use of the ReturnData method in the written code. Answer: A Explanation:
QUESTION NO: 79 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server databases in their environment. You are currently running a training exercise for potential developers. You are in the process of discussing stored procedures. What are options that suitably describe the advantages of making use of stored procedures in SQL Server? (Choose all that apply.) A. Stored procedures can improve the security of your application. B. Stored procedures prevent modular programming. C. Stored procedures are created once, and can be called any number of times in your program. D. Stored procedures are stored locally on client computers. Answer: A,C Explanation:
QUESTION NO: 80 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server databases in their environment. ABC.com has an application that contains a SqlDataAdapter object and an OleDbDataAdapter object. You are required to link up to a SQL Server database table. ABC.com’s application contains a DataSet object for this specific table. You want to make sure that data from the database is loaded into the DataSet object using a strategy that provides the most efficient execution. What method should be included in your code? "Pass Any Exam. Any Time." - www.actualtests.com
43
Microsoft 98-361 Exam A. You should consider making use of the Read method. B. You should consider making use of the Get method. C. You should consider making use of the Set method. D. You should consider making use of the Fill method. Answer: D Explanation:
QUESTION NO: 81 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server in their environment. You have created a new application for ABC.com that contains a SqlDataAdapter object. The SqlDataAdapter object has been linked to a table. You are planning to make use of the Fill method for returning information from the table. You have been informed that the Fill method should access the SQL server database connection, read the data, and leave a closed connection. What actions should you take? (Choose all hat apply.) A. You should consider setting the Connection property of the SqlDataAdapter object to an applicable SQL Server database connection. B. You should consider setting the Connection property of the SqlDataAdapter object to an applicable data table. C. You should consider configuring the SQL Server database connection to be in a closed state. D. You should consider configuring the SQL Server database connection to be in an open state. Answer: A,C Explanation:
QUESTION NO: 82 You are employed as a developer at ABC.com. You are in the process of developing a new database for ABC.com. You are informed that the new database’s tables should satisfy normalization rules for the first normal form.
"Pass Any Exam. Any Time." - www.actualtests.com
44
Microsoft 98-361 Exam What options suitable describes these rules for the first normal form? (Choose all that apply.) A. Repeating groups in individual tables should be removed. B. Separate tables should be created for arrays of values that pertain to multiple data. C. A separate table should be created for every array of related data. D. These tables should be linked with a foreign key. E. Every array of related data should be identified with a primary key. F. Fields that is not dependant on the foreign key should be removed. Answer: A,C,E Explanation:
QUESTION NO: 83 You are employed as a developer at ABC.com. You are in the process of developing a new database for ABC.com. You are informed that the new database’s tables should satisfy the following normalization rules: •Repeating groups in individual tables should be removed. •A separate table should be created for every array of related data. •Every array of related data should be identified with a primary key. •Separate tables should be created for arrays of values that pertain to multiple data. •These tables should be linked with a foreign key. What normal form is satisfied by these rules? A. 1 NF B. 2 NF C. 3 NF D. 4 NF Answer: B Explanation:
QUESTION NO: 84 You are employed as a developer at ABC.com.
"Pass Any Exam. Any Time." - www.actualtests.com
45
Microsoft 98-361 Exam You are in the process of developing a new database for ABC.com. You are informed that the new database’s tables should satisfy normalization rules for the third normal form. What option must be present to satisfy the third normal form? A. Repeating groups in individual tables should be removed. B. Separate tables should be created for arrays of values that pertain to multiple data. C. A separate table should be created for every array of related data. D. These tables should be linked with a foreign key. E. Every array of related data should be identified with a primary key. F. Fields that is not dependant on the foreign key should be removed. Answer: F Explanation:
QUESTION NO: 85 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server in their environment. You have been instructed to develop a new ABC.com database. You are currently analyzing the normalization rules for the new database’s tables. You then configure rules to ensure the following: •That not a single column in the table is allowed to host multiple values in the same row of data. •That the entire primary key determines the functionality of all non-key columns. •That functional dependency is not shared by non-key attributes. What prerequisites does this configuration allow for? A. The prerequisites of 4NF. B. The prerequisites of 3NF. C. The prerequisites of 2NF. D. The prerequisites of 1NF. Answer: B Explanation:
QUESTION NO: 86 "Pass Any Exam. Any Time." - www.actualtests.com
46
Microsoft 98-361 Exam You are employed as a developer at ABC.com. ABC.com makes use of SQL Server in their environment. You have received instructions to create a relational database for a recently developed application. Part of the process requires specifying a suitable structure for the database. What option is TRUE with regards to this process? A. You should specify the necessary tables and rows. B. Secondary keys for the tables must be selected. C. You should specify the connection between tables. D. Normalization does not form part of this process. Answer: C Explanation:
QUESTION NO: 87 You are employed as a developer at ABC.com. ABC.com makes use of SQL Server 2000 databases in their environment. You are in the process of creating a new program for ABC.com using C#. The program must be configured to read data from a ABC.com database on a nightly basis. Thereafter, the data must be written to a flat file that must be sent to a ABC.com vendor. You want to make sure that the data is returned minimum effect on the server, while enhancing operations. What is the option you should use? A. You should consider making use of the DataView class. B. You should consider making use of the StreamReader class. C. You should consider making use of the SqlDataReader class. D. You should consider making use of the BinaryWriter class. Answer: C Explanation:
QUESTION NO: 88
"Pass Any Exam. Any Time." - www.actualtests.com
47
Microsoft 98-361 Exam You are employed as a developer at ABC.com. ABC.com makes use of SQL Server 2005 databases in their environment. You want to make sure that all ABC.com's orders processed on the 8th May 2012 are returned by a query to the ABCOrders database table. You start by writing the line of code shown below: SELECT * FROM Orders Which of the following is the line of code that would suitably complete the query? A. WHERE OrderDate = '08/05/2012' B. WHERE OrderDate = '8th May 2012' C. IF OrderDate = '01/01/2011' D. IF OrderDate = ''8th May 2012' Answer: A Explanation:
"Pass Any Exam. Any Time." - www.actualtests.com
48
M I C R O S O F T T E C H N O L O G Y A S S O C I AT E
Student Study Guide EXAM 98-361
Software Development Fundamentals
Preparing for for MTA C Cert Certifi ertificca cation ation n MICROSOFT TECHNOLOGY TEC ECHNOLOGY CHNOLOGY A ASSOCIATE SSOCIATE ((MTA) (MTA MTA A) STUDENT STUDY UDY GUIDE FOR F DEVELOPERS DEVELOPERS
98-361
Software Development Fundamentals
Authors Tim McMichael (Software Development and Windows Development). Tim has been a high school computer science teacher for the past 11 years. He currently teaches Advanced Placement Computer Science, .NET programming, and computer game programming at Raymond S. Kellis High School in Glendale, Arizona. He also serves as Curriculum Coordinator for IT classes within the Peoria Unified School District. Prior to teaching, Tim worked for several years as a database application developer. Tim earned his B.A. from Colorado State University and his M.Ed. in Secondary Education from Arizona State University. In his free time he enjoys creating games with XNA Game Studio and spending time with his young daughter. Tim is the author of the Windows Development Exam Review Kit in the MTA Exam Review Kit series.
Patricia Phillips (Lead Author and Project Manager). Patricia taught computer science for 20 years in Janesville, Wisconsin. She served on Microsoft’s National K-12 Faculty Advisory Board and edited the Microsoft MainFunction website for technology teachers for two years. For the past five years she has worked with Microsoft in a variety of roles related to K-12 curriculum development and pilot programs including Expression Studio web design and XNA game development. In her role as an author and editor, Patricia wrote several articles and a student workbook on topics including computer science, web design, and computational thinking. She is currently the editor of the Computer Science Teachers Association newsletter, the Voice.
This content is only for use by or provision to students for their personal use. Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or should be inferred. Microsoft and other trademarks listed at http://www.microsoft.com/about/legal/en/us/IntellectualProperty/Trademarks/EN-US .aspx are trademarks of the Microsoft group of companies. All other marks are property of their respective owners. © 2010 Microsoft Corporation. All Rights Reserved. This content is provided “as-is” and Microsoft makes no warranties, express or implied.
Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v Career Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi Exploring Job Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii Value of Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x 98-361 CHAPTER 1
CHAPTER 2
SOFTWARE DEVELOPMENT FUNDAMENTALS
Understanding Core Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1
Understand computer storage and data types . . . . . . . . . . . . . . . . . . . 5
1.2
Understand computer decision structures . . . . . . . . . . . . . . . . . . . . . . . 7
1.3
Identify the appropriate method for handling repetition . . . . . . . . . . 9
1.4
Understand error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Understanding Object Oriented Programming . . . . . . . . . . . . . . . . . 13 2.1
Understand the fundamentals of classes . . . . . . . . . . . . . . . . . . . . . . . 15
2.2
Understand inheritance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.3
Understand polymorphism. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.4
Understand encapsulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
CHAPTER 3
Understanding General Software Development . . . . . . . . . . . . . . . . 23 3.1 Understand application life-cycle management . . . . . . . . . . . . . . . . . 25 3.2 Interpret application specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.3 Understand algorithms and data structures . . . . . . . . . . . . . . . . . . . . 29
CHAPTER 4
Understanding Web Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.1
Understand Web page development . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.2 Understand Microsoft ASP.NET Web application development . . . . 35
CHAPTER 5
4.3
Understand Web hosting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.4
Understand Web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Understanding Desktop Applications . . . . . . . . . . . . . . . . . . . . . . . . . 41 5.1/5.2 Understand Windows Forms applications; Understand console-based applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 53
CHAPTER 6
Understand Windows services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Understanding Databases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 6.1 Understand relational database management systems . . . . . . . . . . . 49
iv
Contents
6.2
Understand database query methods . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.3
Understand database connection methods . . . . . . . . . . . . . . . . . . . . 53
Introduction
M
TA validates building-block technology concepts and helps students explore, discover and pursue successful careers in Information Technology (IT) in an exciting and rewarding way! As the first step in the Microsoft Technology Certification Series, this new, entry-level certification provides students with confidence, credibility, and differentiation. Explore IT career options without committing a lot of time and resources MTA exams validate the core technology knowledge that is in demand today by businesses around the world. Whether you want to explore becoming a network administrator, software engineer, web developer, or database analyst, MTA gets you started on the right path. Prepare to compete A little investment in IT can go a long way in today’s job market. Becoming MTA certified helps you build a solid foundation to prepare for intermediate technology studies and for Microsoft Certified Technology Specialist (MCTS) certifications. It can also help you compete on college admissions and jumpstart your IT career planning!
Empower yourself As the first step toward becoming an MCTS, MTA shows your commitment to technology while connecting you with a community of more than five million Microsoft Certified Professionals. Learn from them and show them what you know by becoming MTA certified! This MTA Student Study Guide serves as a study tool to help students prepare for their MTA certification exam. Students are challenged with real-life situations for each of the major topics covered in the exam. Although successful completion of the study guide exercises does not guarantee that you will pass your MTA exam, it is an excellent way to gauge your readiness to take the exam and build confidence that you know your stuff on exam day. I wish you all the best as you prepare for a successful career in technology! Victoria Pohto Victoria Pohto MTA Product Marketing Manager
Introduction
v
Career Planning
M
ost IT solutions or infrastructure built on Microsoft technologies require proficiency with one or all of the following products, often referred to as “The Microsoft Stack.” • Microsoft Windows® Server® as the data center or development platform • Microsoft SQL Server® as the data and business intelligence (BI) platform • Microsoft Visual Studio® as the suite of application life-cycle management tools MTA is the starting point of Microsoft technology certifications, providing aspiring technologists with the fundamental knowledge essential to succeed with continued studies and a successful career with technology. Preparing for and becoming MTA certified helps you explore a variety of career paths in technology without investing a lot of time and money in a specialized career path. When you find a path that is right for you, Microsoft learning products and certification can help you prepare and guide your longer-term career planning. If you already know that you want to start building a career in technology, MTA preparation and certification is the recommended entry point. Becoming MTA certified shows that you have a firm working
vi
Career Planning
knowledge of the fundamental IT concepts critical for success with intermediate learning and certifications such as Microsoft Certified Technology Specialist (MCTS). Moreover, Microsoft certifications demonstrate an individual’s commitment of selfinvestment and confidence to take his or her knowledge and skills to the next level with an industry-recognized credential. MTA is not a “career certification,” meaning that employers recognize you as “job ready,” but it is the first step toward that career goal and can help differentiate you for an internship or to college admissions committees. As you prepare for your first job focusing on technology, be sure that you are equipped with an MCTS credential—the intermediate level certification that validates Microsoft product and technology skills. The MTA Certification path on the next page shows you the MTA exams that are recommended prior to taking on some of Microsoft’s intermediate technology certification, MCTS.
Career Planning
vii
Exploring Job Roles
C
hoosing a career path is a big decision and it’s not always easy, but you’re not alone! Microsoft created a career site to help students understand the options and possibilities of pursuing a career in IT. The site also connects you with learning resources, student techie communities, and much more to help you prepare for a career in technology.
viii
Server Administrator
To chart your career with Microsoft technology, visit www.microsoft.com/learning/career/en/us/ career-org-charts.aspx.
As a server administrator, you are in charge of implementing and managing some of the most important technology in your organization—the servers. You use extensive monitoring and profiling tools to manage the network and tune systems so they perform at optimal levels. You are an expert in Active Directory®, and you have an in-depth understanding of network protocols, and file and directory security.
Database Administrator
Computer Support Technician
As a database administrator, you are in charge of important databases that span multiple platforms and environments. You are a strong team player who thrives in a fast-paced environment. You build complex, highly scalable databases that meet business needs and security requirements. You are an expert in optimizing, maintaining, and troubleshooting databases, but also in designing archival, data distribution, and highavailability solutions.
Consider starting your IT career by becoming a consumer support technician. You don’t need any formal work experience, but a company might require that you know how to install, administer, and troubleshoot operating systems in a home network environment that has desktop computers, laptops, and printers. As a consumer support technician, you’ll also handle network, virus, malicious software, and hardware support issues. You’ll typically find this position in small to medium-sized organizations.
Exploring Job Roles
Exploring Job Roles Web Developer As a web developer, you are an expert in using the dynamic programming tools and languages that fuel the web. You might work independently or be part of a team that builds and integrates interactive web sites, applications, and services for both internal and public sites. Your role is to make it work, which means developing web applications and testing them on various browsers, enhancing and modifying them as necessary to ensure the best experience for the user. As a web developer, you might also architect websites, design data-driven applications, and find efficient clientserver solutions. You must have an in-depth understanding of the software development life cycle and be able to communicate project status, issues, and resolutions.
Windows Developer As a Windows client developer, knowing how to optimize Windows code and track bugs is a given. But you also know how to use Microsoft Visual Studio® and the Microsoft .NET framework to design, develop, test, and deploy Windowsbased applications that run on both corporate servers and desktop computers. Your key talents include understanding multiple Windows application models
and n-tier applications, and knowing how to work with object-oriented programming, algorithms, data structures, and multithreading. Windows developers have an in-depth understanding of software engineering principles, software life cycles, and security principles. Additional Online Resources for New Developers: http://msdn.microsoft.com/beginner http://msdn.microsoft.com/rampup
Imagine Cup The Imagine Cup is the world’s premier student technology competition where students from around the world can learn new skills, make new friends, and change the world. Competitions include Software Design, Embedded Development, Game Design, Digital Media and Windows Phone 7. The brightest young minds harness the power of technology to take on the world’s toughest problems. www.imaginecup.com
Exploring Job Roles
ix
Value of Certification
T
echnology plays a role in virtually everything we do. In the 20-plus years since Microsoft has been certifying people on its products and technologies, millions of people have gained the knowledge, expertise, and credentials to enhance their careers, optimize business solutions, and create innovation within just about every business and social sector imaginable. Today’s Information Technology (IT) hiring managers are more often using professional credentials, such as Microsoft certification, to identify properly skilled IT candidates. Certification becomes a way to easily differentiate qualified candidates in a sea of resumes. The job outlook for IT professionals, as reported in a study prepared by the U.S. Department of Labor’s Bureau of Labor Statistics (BLS), is positive! The BLS indicates an increase that will be “faster than the average for all occupations through 2014” for Computer Support Specialists, Systems Engineers, Database Administrators, and Computer Software Engineers. One significant message resulting from this study is that information and communications
x
Value of Cer tification
technology (ICT) skills are the entry ticket to the job market, regardless of the country, industry, or job function. Information Technology is clearly an area worth investing time, resources, and education in – and technology certification is a key part of the education process, validating product and technology expertise as a result of their learning experiences. Microsoft IT Certifications provide objective validation of the ability to perform critical IT functions successfully for worldwide IT professionals, developers, and information workers. Microsoft certifications represent a rich and varied spectrum of knowledge, job roles, and responsibilities. Further, earning a specific certification provides objective validation of the candidate’s ability to perform critical IT functions successfully. Embraced by industry professionals worldwide, Microsoft certification remains one of the most effective ways to help reach long-term career goals.
MTA 98-361
SOFTWARE DEVELOPMENT FUNDAMENTALS
1
Understanding Core Programming IN THI S C HAP TE R ■
1.1 Understand computer storage and data types
■
1.2 Understand computer decision structures
■
1.3 Identify the appropriate method for handling repetition
■
1.4 Understand error handling
OBJECTIVE
U N D E R S TA N D I N G C O R E PR O G R A M M I N G 1 . 1
Understand computer storage and data types SCENARIO: Ken is a soccer coach who has a difficult time keeping track of all of his players: At the beginning of
the season, each of his players filled out a paper with personal data, but it always takes him a long time to find the information he needs.
Cassie is one of his brightest players, and Ken knows that she’s a computer programmer. Tired of shuffling through the huge stack of papers, he asks her to create a program to keep track of his records. The program will need to store each player’s full name, jersey number, age, gender, height and weight, as well as goals scored and number of games played. Cassie agrees to develop the software for him, but she has some decisions to make . . .
1. Which of the following data types would be the best choice for keeping track of players’ ages and jersey numbers using the least amount of memory? a. short b. byte c. int
2. As with any program, some data will be stored on the heap, while other
data is placed on the stack. Which of the following will be stored on the heap? a. player’s name b. height c. age
Remember: String is a reference data type.
3. It would make sense to store one of these variables as a char. Which one? a. player’s name b. weight c. gender
Understand computer storage and data types
5
Answers 1. A good choice for keeping track of jersey numbers and ages is: b. byte. It uses the least amount of memory, but still holds numbers up to 255—more than enough for ages or jersey numbers!
2. Player data that will be stored on the heap includes: a. player’s name. This will be stored as a String.
3. The variable that could be stored as a char is: c. gender. ‘M’ for males, ‘F’ for females!
Essential details • Integral data types, such as byte, integer, short, and long store whole numbers—such as the number of goals a player has scored. • Floating point data types, like float, single, and double can represent numbers that include fractional data, such as a player’s height. • Value data types go on the stack; reference data types go on the heap. Look at the first vowel in each to help you remember: Value = stack. Reference = heap. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/beginner/ff715351.aspx • http://msdn.microsoft.com/en-us/library/ms173104.aspx • http://msdn.microsoft.com/en-us/library/asz1fz8b.aspx
6
CHAPTER 1: Understanding Core Programming
_______ /3
OBJECTIVE
U N D E R S TA N D I N G C O R E PR O G R A M M I N G 1 . 2
Understand computer decision structures SCENARIO: Reina has created a simple DVR application to record her favorite television programs, but her code has some bugs. She’s a big sports fan and always wants to record the broadcasts of sporting events, even if they conflict with another of her favorite programs.
For non-sport favorites, she does not want to record reruns; however, if the scheduled time of a favorite program conflicts with another favorite and will be broadcast again later, she wants to wait and record it in the future. Unfortunately, her program is not working correctly. Many television programs that she doesn’t want are being recorded; the programs she DOES want are only being recorded if they are broadcast later. The C# code (with line numbers added) of Reina’s DVR program looks like this: 1: if (isSportsEvent) { 2: 3:
RecordShowNow(); }
4: else { 5:
if (!isConflict || !isRerun) {
6:
RecordShowNow();
7:
}
8:
if (isConflict && isOnLater); {
9: 10:
RecordShowLater(); }
11: }
1. Which line is causing shows to be recorded now even if there is a conflict?
2. How should line 8 be rewritten? a. if (isOnLater); { b. if (isConflict || isOnLater); { c. if (isConflict && isOnLater) {
3. Reina has placed two
control structures (lines 5–7 and lines 8–10) inside her first control structure. This technique is known as: a. parenting b. encapsulating c. nesting
Indentation used in the code is good programming style, but it has no effect on the execution of the statement.
a. line 4 b. line 5 c. line 8 Understand computer decision structures
7
Answers 1. Shows are being recorded now even if there is a conflict because: b. Line 5. The conditional-OR ( || ) returns true if the show isn’t a rerun, even if isConflict is true.
2. Line 8 should read: c. if (isConflict && isOnLater) { The semicolon at the end of the line terminates the conditional—RecordShowLater() will always be called.
3. Placing control structures inside other control structures is called: c. nesting
Essential details • The code in the parentheses of an if-statement must be a complete Boolean (“conditional”) expression. Example: • “If a person is at least 18 years old, that person will vote” if (age > 18) vote(); • Logical operators allow programmers to join two expressions. Examples: • “I will stay home if it’s raining OR if it’s snowing.” (logical-OR) if (isRaining | isSnowing) stayHome(); If EITHER is true, the entire expression is true; stayHome is called. • We will buy a new computer if the current one is more than three years old AND computers are on sale. (logical-AND) if (computerAge > 3 & isOnSale) buyComputer(); If BOTH are true, the entire expression is true; buyComputer is called. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/beginner/bb308749.aspx • http://msdn.microsoft.com/en-us/library/8y82wx12.aspx
8
CHAPTER 1: Understanding Core Programming
_______ /3
OBJECTIVE
U N D E R S TA N D I N G C O R E PR O G R A M M I N G 1 . 3
Identify the appropriate method for handling repetition SCENARIO: Adriana is creating a point-of-sale (cash register) application for Fourth Coffee. Her responsibility is to create a password-protected login system to ensure security of the system. She has finished the login window and password check, but she is having trouble implementing it correctly.
Adriana’s project manager wants the system to give the user three attempts to login correctly before locking the system. In Adriana’s most recent version, the system prompts the user for a name and password three times— even if the user correctly logs in on the first try. After the third attempt, the system always locks—even if the input is correct.
1. Adriana is using a for loop, which works best when: a. the number of iterations is known and is unlikely to change during execution b. the number of iterations is known but is likely to change during execution c. the number of iterations is unknown
2. What control structure would be best for Adriana’s login system? a. for loop b. while loop c. a recursive method
3. How many times does a do..while loop execute? a. at least zero times b. at least one time c. at least two times
An “iteration,“ in this context, is one trip through the loop.
Identif y the appropriate method for handling repetition
9
Answers 1. for loops work best when: a. the number of iterations is known and is unlikely to change
2. The best control structure for this situation is: b. while loop. The number of times the loop will need to be executed is uncertain: It depends on the data entered by the user. In this case, a while loop (or do..while) is usually the best choice.
3. How many times does a do..while loop execute? b. at least one time. Unlike a do..while loop, a while loop may not execute at all!
Essential details • The for loop executes a statement, or a block of statements, based on the value of a control variable (also called a counter). Example: for (int i = 0; i < 10; i++) Console.WriteLine(i);
Note: i (the control variable) is initialized to zero. The loop will continue as long as i is less than 10. After each iteration, i is incremented. • The while loop executes a statement or block of statements repetitively based on a Boolean expression. You can think of it as a repeating if statement. Example: int i = 0; while (i < 10) { Console.WriteLine(i);
Note: This loop is essentially identical to the for loop example. The Boolean expression is checked before the loop executes, so it may never run at all. For instance, if i was initialized to 20, the expression would evaluate to false and the loop would not execute. • The do..while loop is similar to a while loop, but the Boolean expression is not checked until after the code executes. Example: int i = 0; do { Console.WriteLine(i); ne(i); ; i++;} while (i < 10); 0);
Note: Even if i is initialized ized to 20 (instead of 0), the e loop will execute one time me before the Boolean expression is evaluated..
i++;}
FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/library/32dbftby.aspx • http://msdn.microsoft.com/en-us/beginner/bb308747.aspx 10
CHAPTER 1: Understanding Core Programming
_______ /3
OBJECTIVE
U N D E R S TA N D I N G C O R E PR O G R A M M I N G 1 . 4
Understand error handling SCENARIO: Lionel is a student at the School of Fine Art. To help pay his tuition, he took a job in the school’s student records department. He developed a program that calculates each student’s grade point average (GPA). He thought it would be simple, because he knows that the formula is:
total grade points divided by total credit hours attempted However, Lionel’s program crashes with new students who have not attempted any credit hours, instead of just giving them a GPA of 0.0. Here is his code in C# (line numbers added): 1: double GPA; 2: GPA = totalGP / creditHoursAttempted; 3: Console.WriteLine(GPA);
1. Given what we know about the problem, what is the most likely exception this code will throw? a. DivideByZeroException b. NullReferenceException c. StackOverflowException
2. What structure should Lionel use to handle the exception? a. do-catch b. catch-exception c. try-catch
3. Which of the following should Lionel’s catch-block probably include? a. creditHoursAttempted = 1.0; b. totalGP = 4.0; c. GPA = 0.0;
An exception is an error that cannot be detected by the compiler but occurs when the program is executed. It is referred to as a “runtime error.”
Understand error handling
11
Answers 1. The exception most likely creating the problem is:
a. DivideByZeroException. If a student’s creditHoursAttempted is zero,
an exception will occur.
2. The structure that will handle the exception is: c. try-catch
3. Lionel’s catch-block should probably include: c. GPA = 0.0;. Because the division has already been attempted, there’s no reason to change the values used in the calculation.
Essential details • An exception is an object that contains information about an error. • Developers use the terms throw and catch when talking about exceptions. When an exception occurs it is thrown. Therefore, you should catch any exceptions your program may encounter. • Think of a try statement as a warning to the computer that you’re about to try something that may not work. “I’m going to do some division, and it might result in a DivideByZeroException!” • The catch block executes if the exception does occur. You can leave this block empty but generally it’s good to put your “backup plan” in the catch block. In Lionel’s case, that means setting the GPA to 0.0. If no exception is thrown, the catch block is skipped. d. • A try-catch structure doesn’t prevent the exception from being thrown, it simply gives i the developer a chance to keep the program from crashing. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/library/ms173160.aspx • http://msdn.microsoft.com/en-us/beginner/bb308817.aspx
12
CHAPTER 1: Understanding Core Programming
_______ /3
2
Understanding Object Oriented Programming IN THI S C HAP TE R ■
2.1 Understand the fundamentals of classes
■
2.2 Understand inheritance
■
2.3 Understand polymorphism
■
2.4 Understand encapsulation
14
CHAPTER 2: Understanding Object Oriented Programming
OBJECTIVE
U N D E R S TA N D I N G O B J E C T O R I E N T E D PR O G R A M M I N G 2 . 1
Understand the fundamentals of classes Tailspin Toys is developing a simple, robotic dog for small children. The dog will connect to a computer via a USB cable, and kids will be able to use a simple application to personalize the toy to their liking. Although the hardware is nearly complete, Tailspin has not yet created the software that owners will use to customize their toy dog. Viktor has been hired to begin work on the software. SCENARIO:
Initially, Viktor will need to design a class to represent the dogs. Naturally, the class will be named Dog. The toy—and therefore the Dog class—will need to keep track of the dog’s name, age, and gender, and it will be able to bark, walk, wag its tail, and sit. So far, he has written the following C# code public class Dog { public Dog() { name = “Hugo”; age = 1; gender = ‘M’; } }
1. Which of the following would
Many classes have more than one constructor.
be a property in the Dog class? a. bark
b. name c. Dog()
2. To create a Dog with a different
name, age, or gender, Viktor should add: a. another constructor
b. more properties c. a creation event
3. Which line of code correctly
creates a new Dog in C#? a. Dog hugo = Dog.new(); b. Dog hugo = new Dog(); c. new Dog hugo = Dog(); Understand the fundamentals of classes
15
Answers 1. Which member is a property? b. name
2. To create a different Dog, Viktor should add: a. another constructor
3. Which C# code creates a Dog? b. Dog hugo = new Dog();
Essential details • An object often represents something from the real world; in this case, the Dog class represents the robotic toy (or, it simply represents a dog). • In object-oriented design, verbs (such as barking, walking, tail-wagging, and sitting) are typically methods; attributes (such as name, age, and gender) are properties or fields. • A field is a variable declared within a class; a property provides a simple way to access the data stored in a field. • A class is like a blueprint. It defines the properties and methods that all objects of that class will have in the same way a blueprint defines the attributes of a house. • Multiple objects can be created from a class, or instantiated. Similarly, many houses can be built from one blueprint. • Objects are instantiated (created) with the new keyword.
_______ /3 FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/library/ms173109.aspx • http://msdn.microsoft.com/en-us/library/x9afc042.aspx • http://msdn.microsoft.com/en-us/library/x9fsa0sw.aspx
16
CHAPTER 2: Understanding Object Oriented Programming
OBJECTIVE
U N D E R S TA N D I N G O B J E C T O R I E N T E D PR O G R A M M I N G 2 . 2
Understand inheritance SCENARIO: As Tailspin Toys continues to develop its robotic dog toy, early marketing tests reveal that customers would like to choose from different breeds of robotic dogs. As a result, Tailspin has decided to create three variations: a poodle, a bulldog, and a golden retriever. The company has indicated that they will consider adding additional breeds in the future. The breeds will have a set of common attributes and behaviors, but each breed may have some unique capabilities.
This presents some challenges for Viktor as he designs the software children will use to customize the dogs. He doesn’t want to write all of his code three times—once for each breed. He also doesn’t want future programmers to create new breeds that are not compatible with his original design. Since Viktor realizes that a poodle “is a” dog, and the same is true for the other breeds, Viktor decides to use inheritance.
1. In Viktor’s new design, Poodle, Bulldog, and GoldenRetriever are all: a. abstract classes b. base classes c. derived classes
2. To allow breeds to reuse code, and to help ensure that future breeds are compatible, Dog could be declared as: a. abstract
b. derived c. sealed
3. Which of the following are NOT going to be inherited
Base classes are referred to as “parent” classes or “superclasses;” derived classes are referred to as “child” classes or “subclasses.”
by the three derived classes? a. constructors
b. properties c. methods Understand inheritance
17
Answers 1. In this design, the three breeds are: c. derived classes
2. To take advantage of code reuse, the Dog should be declared as: a. abstract. Abstract classes cannot be instantiated, but implemented methods will be shared by all derived classes.
3. Which of these will NOT be inherited by the derived classes? a. constructors
Essential details • Inheritance allows you to create new classes that reuse, extend, and modify the behavior that is defined in other classes. • Derived classes inherit all the members of the base class, except for constructors and destructors. • Use the “is a” test to see if inheritance is appropriate. In Viktor’s case, a Poodle is a Dog, a Bulldog is a Dog, and a GoldenRetriever is a Dog; therefore, his use of inheritance is correct. However, a Tarantula is not a Dog, so if Tailspin decides to make robotic spiders, they’ll need a new base class. Otherwise, the spider would bark and wag its tail! • An abstract class cannot be instantiated. In other words, Tailspin can no longer make a robotic dog—each toy will have to be a poodle, bulldog, or golden retriever. ver. • Interfaces are similar to abstract classes, but it does not have to adhere to the “is a” guideline. If Tailspin did decide to make robotic spiders, Viktor could create an interface erface that both dogs and spiders could implement. Perhaps it would be called IRobotic. ic. ic • In C#, a colon is used to indicate inheritance, as in this example: public class Poodle : Dog FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/library/ms173149.aspx • http://msdn.microsoft.com/en-us/library/ms173150.aspx 18
CHAPTER 2: Understanding Object Oriented Programming
_______ /3
OBJECTIVE
U N D E R S TA N D I N G O B J E C T O R I E N T E D PR O G R A M M I N G 2 . 3
Understand polymorphism SCENARIO: Viktor’s work with Tailspin Toys’ robotic dogs is progressing well. He knows that his software for personalizing the dogs will be popular with customers. Viktor feels that his basic class design ideas are good and he’s ready to think about the details, as long as the engineers and marketers stop making changes!
Viktor knows that while all dogs share some common behaviors, such as barking, that bark may be very different from one breed to the next. The Bark method he creates for a Poodle will need to be different from the Bark method he implements for a GoldenRetriever. In his Dog class, he’s created a few methods. Here are the headers, written in C#: public void Bark() { … } public void WagTail() { … } public void Walk() { … }
1. To be able to override these methods in the derived classes, what modifier should Viktor add to all three headers? a. new b. static c. virtual
2. How can Viktor invoke the Bark method in the Dog class from within a derived class? a. Bark() b. Dog.Bark() c. base.Bark()
3. What should Viktor do if he wants the Bulldog class to just use the Walk
Overriding a method allows a derived class to have its own implementation, different from other derived classes.
method from Dog? a. Implement Walk in Bulldog, copying and pasting the code from Dog b. Implement Walk in Bulldog and simply call Dog’s Walk method c. Do not implement Walk in Bulldog
Understand polymorphism
19
Answers 1. What modifier should Viktor add to the three methods? c. virtual
2. How can Viktor invoke the Dog’s Bark()method? c. base.Bark(). The base keyword is used to access members of the base class.
3. How should Viktor retain the base class’s Walk method in a derived class?
c. Do not implement Walk in Bulldog. No need to call base.Walk()—if a derived class does
not override an inherited method, the base class’s method will automatically be used.
Essential details • Important keywords: • base: Used to access members of the base class from within a derived class. • virtual: Allows a method’s implementation to be overridden in a derived class. • sealed: When applied to a class, prevents other class from inheriting from it; when applied to a member, prevents that member from being overridden by other classes. • new: When used as a modifier, this hides a base class member; the new member replaces the implementation in the base class. Note: This is different than the new operator used to instantiate an object! • override: Required to replace an inherited member. • The following C# code shows how Viktor can replace Dog’s methods in his derived d classes (assuming he corrects Dog as indicated by question 1):
public override void Bark() { … } public override void WagTail() { … } public override void Walk() { … } FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/library/ms173152.aspx • http://msdn.microsoft.com/en-us/library/ms173153.aspx 20
CHAPTER 2: Understanding Object Oriented Programming
_______ /3
OBJECTIVE
U N D E R S TA N D I N G O B J E C T O R I E N T E D PR O G R A M M I N G 2 . 4
Understand encapsulation SCENARIO: Viktor has done a great job designing software to customize Tailspin Toys’ robotic dogs. So great, in fact, that his boss wants to give him a promotion. Unfortunately, that means Viktor won’t be able to finish writing the software himself; instead, a new developer will take over the project. On the new developer’s first day, however, she accidentally sets the robot’s age to -237 and crashes the program.
To ensure that the new developer doesn’t damage code that already works, Viktor decides to “black box” the code he’s already implemented. This means that the new developer won’t need to see Viktor’s code, but will be able to use it as she continues the project. Viktor can also ensure that values are checked before any changes are made so that a dog doesn’t end up with a negative age.
1. Viktor has implemented several methods in the Dog class that he uses for Bark, such as OpenMouth and CloseMouth. He doesn’t want those methods to be called by any derived classes. Which access modifier should he use for those “black-boxed” methods? a. public b. protected c. private
2. Viktor’s primary methods, Bark, Sit, Walk, and WagTail should be accessible from anywhere in the project. Which access modifier should he use for those methods? a. public
b. protected c. private
3. Which of the following provides a means for reading and/or modifying private attributes? a. an interface
In C# and Visual Basic, properties provide “getter” and “setter” (also called “accessor” and “mutator”) functionality for instance variables.
b. a constructor c. a property Understand encapsulation
21
Answers 1. Which accessibility should Viktor’s “black boxed” methods use? c. private
2. Which accessibility level should Viktor use for his primary methods? a. public
3. Reading and/or modifying private attributes is provided by: c. a property
Essential details • This type of “black boxing” is often referred to as encapsulation. • In keeping with the principle of encapsulation, instance variables (attributes or fields) should be given the most restrictive accessibility level possible. That means making instance variables private whenever possible. • Instance variables of base classes are often defined as protected; this allows derived classes (such as the Poodle class) access to the data, while still hiding the data from other parts of the program. • One important reason for restricting access to data is to ensure validity when data is changed. Remember when the new developer tried to set the age attribute to a negative number? Likewise, the gender attribute should not accept a value of “green.” FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/library/ms173121.aspx • http://msdn.microsoft.com/en-us/beginner/bb308891.aspx
22
CHAPTER 2: Understanding Object Oriented Programming
_______ /3
3
Understanding General Software Development IN THI S C HAP TE R ■
3.1 Understand application life-cycle management
■
3.2 Interpret application specifications
■
3.3 Understand algorithms and data structures
24
CHAPTER 2: Understanding General Sof tware Development
OBJECTIVE
U N D E R S TA N D I N G G E N E R A L S O F T WA R E D E V E L O P M E N T 3 . 1
Understand application life-cycle management SCENARIO: Nupur has been named Project Manager of a new reservation system for Blue Yonder Airlines. She will lead a team of developers tasked with all phases of the application life cycle.
Napur and her team met with managers from each branch of the company and discussed the company’s needs and the basic features that everyone requires. The application will be web-based, and will allow Blue Yonder’s customers to search flights, book reservations, and check in online. After the meeting, Napur and her developers began outlining the program from their perspective. Although they haven’t begun coding, the developers are beginning to sketch out the classes and objects of the project using UML. Their outline is not complete, but a plan for accomplishing the required tasks is coming together. Napur wants to divide the job in such a way that team members can work on different parts of the program at the same time.
1. Napur’s meeting with the company’s managers is part of which stage of the application life cycle? a. Design b. Development c. Planning
2. The use of UML in this scenario: a. is a waste of time because they haven’t started writing code. b. helps ensure that different components will work together when finished. c. helps ensure that the clients understand how the team will create the software.
3. As the team writes code, Napur will ask each team to test their classes independently. What is this strategy called? a. Load testing
Developers may use different names for the stages or phases of managing the application life cycle, but the basic process is the same!
b. Unit testing c. Integration testing
Understand application life-cycle management
25
Answers 1. Napur’s meeting was the: c. Planning stage of the application life cycle. Planning (also called envisioning) includes gathering the client’s needs and requirements; in this case, the rest of the company is Napur’s client.
2. Napur’s use of UML: b. helps ensure that different components will work together when finished. The clients probably don’t need to know how to organize the actual development!
3. Testing individual components separately is called: b. Unit testing
Essential details • The phases of application life cycle management (ALM) are: planning, designing, developing, testing, and maintenance. • The ALM process is iterative, meaning that it repeats. When the application is deployed, new issues or feature requests are likely to come up, so the process starts again. • Notice that actually writing code (developing) is only a small part of the overall process. • UML stands for Unified Modeling Language. It provides a way to create visual models of the different components of an application. • Many programmers are familiar with “class diagrams” in object-oriented programming—these are generally drawn as UML diagrams. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/library/fda2bad5%28VS.100%29.aspx • http://msdn.microsoft.com/en-us/library/dd409393%28VS.100%29.aspx
26
CHAPTER 3: Understanding General Sof tware Development
_______ /3
OBJECTIVE
U N D E R S TA N D I N G G E N E R A L S O F T WA R E D E V E L O P M E N T 3 . 2
Interpret application specifications SCENARIO: Ari has just completed an internship with Contoso Pharmaceuticals, working with their developers on software used by the company’s employees. His supervisor is very impressed, and has offered Ari a job on the development team for Contoso’s next-generation application. The company has decided to start from scratch, allowing the new team to develop the application while employees continue to use the old system.
The company currently produces more than 1,000 products and plans to expand. The new application will track all of the company’s inventory as well as some basic shipping and receiving details. Employees should be able to search through the company’s product catalog and view product details such as product description, a product image, in-stock quantity, and cost.
1. What type of application will be a good fit for these requirements? a. console application b. database application c. Windows service application
2. Many of the company’s computers are old, with limited RAM and hard drive space, but are all connected to the company’s intranet. How can Ari ensure the new version will work on all of the systems? a. Write the program in an older programming language, such as C. b. Develop the program in an older operating system, such as Windows 98. c. Make the program a web application so that it can be accessed by a browser.
3. Ari’s supervisor has asked him to prepare a non-functioning demonstration
Application specifications help developers understand the needs of the client or user.
of what the new application will look like so that department managers understand what is being developed and how they will interface with the application. This is called:
a. a mock-up b. alpha testing c. diagramming Interpret application specifications
27
Answers 1. The most appropriate type of application is: b. database application. The program will need to store, view, and update a large number of inventory records.
2. Ari can make sure the software will run on old systems by: c. making the program a web application. Any computer with a reasonably current web browser should be able to access the web application without a problem.
3. A non-functioning demonstration is referred to as: a. a mock-up. A mock-up may not do anything, but it shows the client what the user interface will look like.
Essential details • The application specification describes the problem that needs to be solved and communicates the requirements to the developer. • Developers take this set of requirements, which are usually created from the perspective of a client or user, and translate them into a program design. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/library/5b13a7k4.aspx • http://msdn.microsoft.com/en-us/library/aa984771%28VS.71%29.aspx
_______ /3
28
CHAPTER 3: Understanding General Sof tware Development
OBJECTIVE
U N D E R S TA N D I N G G E N E R A L S O F T WA R E D E V E L O P M E N T 3 . 3
Understand algorithms and data structures SCENARIO: Some time ago, Cassie agreed to help her soccer coach, Ken, keep track of the team by creating a software program especially for the task. The roster application will make it much easier for the coach to keep track of his players’ personal information and some simple statistics.
Now that Cassie has completed some initial planning, she needs to decide how to organize all of the data in her program. The application will need to keep track of many players, allowing the user to search through and pull up any individual’s data. And of course the coach will need to print a few reports, such as a complete roster sorted by jersey numbers, a phone list arranged alphabetically by the players’ last names, and the team’s leaders in goals.
1. Which of the following data structures would be a good choice for organizing the players? a. stack b. array c. linked List
2. Which of the following would help Cassie arrange the players in alphabetical order? a. a binary search b. a queue c. a bubble sort
3. Which data structure could Cassie use if she only wanted to retrieve players
Data structures are classes used to organize data and perform various operations upon that data.
using a “last in, first out” model? a. stack
b. queue c. linked List
Understand algorithms and data structures
29
Answers 1. The data structure Cassie should use is: b. array. Arrays are well-suited for programs that need to access the data in any order, as when the user performs a search.
2. Cassie will easily be able to put the collection into a specified order with: c. a bubble sort
3. The data structure that uses a “LIFO” pattern for adding and retrieving records is: a. stack
Essential details • Common data structures: • array: A list of data values or objects, all of the same type, any element of which can be referenced by an expression consisting of the array name followed by an indexing expression. • linked list: A list of nodes or elements of a data structure connected by pointers. Linked lists are great for collections that require many insertions in the middle of the list because such insertions simply require updating a couple of pointers. • queue: A structure from which elements can be removed only in the same order in which they were inserted; that is, it follows a “first-in, first-out” (FIFO) logic. • stack: A structure from which elements can be removed only in the reverse order in which they were inserted; this is referred to as “last-in, first-out” (LIFO). • A sort algorithm puts a collection of data elements into a sequenced order, sometimes based on one or more key values in each element. Common sort algorithms include bubble sort, selection sort, and insertion sort. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/vcsharp/aa336800.aspx • http://msdn.microsoft.com/en-us/library/ms379570.aspx • http://msdn.microsoft.com/en-us/library/aa288453.aspx
30
CHAPTER 3: Understanding General Sof tware Development
_______ /3
4
Understanding Web Applications IN THI S C HAP TE R ■
4.1 Understand Web page development
■
4.2 Understand Microsoft ASP.NET Web application development
■
4.3 Understand Web hosting
■
4.4 Understand Web services
32
CHAPTER 3: Understanding Web Applications
OBJECTIVE
U N D E R S TA N D I N G W E B A P P L I C AT I O N S 4 . 1
Understand Web page development SCENARIO: Tanja owns a small dance studio and is looking for ways to bring in new customers and improve communications with her existing customers. She is not particularly knowledgeable about web design, but several years ago one of her dance students offered to create a website for the studio. That student has moved on to the university, so Tanja has relied on a few different volunteers to maintain the site. As a result, the site is disorganized and lacks consistency—the volunteers all used different colors and fonts that resulted in a very non-professional website.
Knowing that she can’t fix the site herself, she has asked her nephew, Maxim, to help. Before Maxim creates a page, he wants Tanja to have at least a basic understanding of the technology involved.
1. Which technology uses “tags” to indicate how information should be displayed in a web browser? a. HTML b. XML c. JavaScript
2. Which of the following is a key advantage of using CSS? a. It allows a web page to be interactive. b. It allows a site to incorporate multimedia clips, such as videos and music. c. It simplifies the formatting of multiple pages within a site.
3. What is JavaScript? a. a markup tag that manages various font settings b. a server-side technology for running Java applications
CSS stands for Cascading Style Sheet.
c. a client-side technology for making web pages interactive
Understand Web page development
33
Answers 1. What uses tags to specify how data should be displayed on a web page? a. HTML
2. An advantage of CSS is: c. It simplifies the formatting of multiple pages within a site.
3. JavaScript is: c. a client-side technology for making web pages interactive
Essential details • HTML stands for HyperText Markup Language and uses markup tags to specify how information should be displayed on a web page. • HTML tags are surrounded by angle brackets. The tag indicates a paragraph. • Most HTML tags work in pairs—an opening tag and a closing tag. • CSS works in conjunction with HTML to indicate how data should be presented, including colors and fonts. • Although styles can be defined for an individual page, they can also be defined in a separate document and shared by each web page in a site. That means a developer can make a change to the CSS document and the look of the entire site will change! This makes it easy to ensure that each page in a site looks consistent. • JavaScript is a scripting language that allows developers to write code that goes beyond the markup limitations of HTML. • JavaScript is frequently used to make web pages more interactive. • Although JavaScript itself is a client-side technology, it is often used in conjunction with server-side technologies such as ASP.NET. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/beginner/bb308786.aspx • http://msdn.microsoft.com/en-us/library/bb330932.aspx • http://msdn.microsoft.com/en-us/library/bb330916.aspx 34
CHAPTER 4: Understanding Web Applications
_______ /3
OBJECTIVE
U N D E R S TA N D I N G W E B A P P L I C AT I O N S 4 . 2
Understand Microsoft ASP.NET Web application development SCENARIO: Maxim has spent quite a bit of time talking with his aunt, Tanja, about a new website for her dance studio and he is beginning to get ideas on how to update and improve the site. Tanja’s old site is pretty basic, and Maxim believes he can add a lot of exciting features that will appeal to younger, websavvy customers.
One of his first priorities is to make the site a little more interactive with buttons that respond to mouse rollovers and a slideshow to display images of the studio. He also wants to implement online shopping for dance apparel. That update would include a “wish list” feature for users to “save” items they’re interested in purchasing at a later time.
1. Maxim’s mouse rollover effect can be accomplished with a client-side script. Which of the following is a client-side technology? a. PHP b. ASP.NET c. JavaScript
2. In a standard HTML site, page information is lost each time the user refreshes a page or moves to a different page. Which of the following allows page information to be retained? a. state management b. page life cycle c. CSS
Client-side scripts are run by the user’s web browser.
3. Maxim wants to use cookies to keep track of users’ wish lists. What is a cookie? a. text data stored by the users’ web browser b. a back-end database for storing user information c. a server-side scripting tool for saving session data
Understand Microsof t ASP.NET Web application development
35
Answers 1. A client-side technology is: c. JavaScript
2. The process that allows page information to be retained is: a. state management
3. A cookie is: a. text data stored by the users’ web browser
Essential details • In a web application, a program or script can be either client-side or server-side. • A client-side script is downloaded by the user’s web browser and executed on that user’s computer (the “client”) when the page is loaded. • A server-side script is executed by the web server before the web page is sent to the user’s computer. • The event model in a web application is similar to that of a client application. One significant difference is that an event is raised on the client side (for example, when the user clicks a button), but the event is handled on the server side. • When an ASP.NET page runs, the page performs a series of processing steps in what is called the page life cycle. These steps include initialization, instantiating controls, restoring and maintaining state, running event handler code, and rendering. • State management refers to the process by which a developer maintains page information over multiple requests for the same or different pages. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/beginner/bb308770.aspx • http://msdn.microsoft.com/en-us/beginner/bb308809.aspx • http://msdn.microsoft.com/en-us/beginner/bb308818.aspx
36
CHAPTER 4: Understanding Web Applications
_______ /3
OBJECTIVE
U N D E R S TA N D I N G W E B A P P L I C AT I O N S 4 . 3
Understand Web hosting SCENARIO: With plans for Tanja’s dance studio website beginning to take shape, it’s time for Maxim to think about how he will put the site on the Internet. Maxim doesn’t have a lot of experience creating web applications—most of his experience is with traditional Windows applications. He knows that a website is hosted on a server, but he’s never worked with a server before. Plus, his aunt doesn’t have a lot of money for this project, so he has to keep costs to a minimum until the site brings in some business.
1. Why is an ISP probably a good choice for Maxim? a. ISPs are always free. b. An ISP subscription includes a copy of Windows Server. c. The ISP will provide technical support and maintenance.
2. An employee at a reputable ISP tells Maxim that they use Windows Server and that he needs
to understand the basics of Internet Information Services (IIS). Which of the following is NOT a role of IIS? a. to deliver HTML documents to web browsers b. to enable server-side scripting, such as ASP.NET c. to enable client-side scripting, such as JavaScript
3. The ISP tells Maxim they support Virtual Directories. What is a Virtual
Directory? a. a folder on Maxim’s computer that maps to the ISP, so he can easily publish the site b. a directory name that maps to the physical location on the server c. a listing service that ensures that users can find the site with a search engine
Web hosting allows a developer to publish a website so that it is accessible via the World Wide Web.
Understand Web hosting
37
Answers 1. Maxim should use an ISP because: c. The ISP provides technical support and maintenance. With an ISP, a developer can focus on developing the site without worrying about setting up or maintaining a server.
2. The following is NOT a role of IIS: b. to enable server-side scripting, such as ASP.NET
3. A Virtual Directory is: b. a directory name that maps to the physical location on the server
Essential details • An ISP (Internet Service Provider) is a business that supplies Internet connectivity services, often including web hosting. • An ISP will generally provide: • space on a server • maintenance and support • email service • security and stability • IIS (Internet Information Services) is a part of Windows Server that delivers content such as web pages by using HTTP over the World Wide Web. • IIS provides functionality essential for deploying ASP.NET web applications. • IIS also supports other server-side scripting, such as PHP. • Virtual Directories can be configured in IIS and allow access to folders and files outside of the site’s home folder. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/beginner/bb308861.aspx • www.iis.net
38
CHAPTER 4: Understanding Web Applications
_______ /3
OBJECTIVE
U N D E R S TA N D I N G W E B A P P L I C AT I O N S 4 . 4
Understand Web services SCENARIO: Maxim has worked hard to publish an exciting, professional site for Tanja’s dance studio. It’s been available for more than a month now and customers have given Tanja great feedback. They love all of the interactive media and the simple consistency of the overall design.
Best of all, the new site has increased Tanja’s income by attracting new students and by allowing customers to purchase items from home. With the extra money, she wants to pay Maxim to put a little more into the site—no major changes, just some catchy additions. She’d like her home page to display the current weather and traffic conditions, and she thinks a Bing search box would help users find information quickly. Although Maxim has never programmed this type of functionality before, he knows he can use web services to help.
1. In this context, what is a web service? a. a process for running a script and serving the resulting HTML to a client b. a program that enables secure web-based interactions c. a system that allows multiple programs to interact via the Internet
2. When using the Bing API to add search capabilities to a site, what is the web service role of Bing? a. requester b. provider c. processer
3. Which of the following is a framework commonly used to access a web service?
An API (Application Programming Interface) provides a framework for accessing a program. The Bing API allows developers to add Bing to their sites.
a. Java b. SOAP c. ASP.NET Understand Web ser vices
39
Answers 1. A web service is: c. a system that allows multiple programs to interact via the Internet
2. The role of Bing in this implementation is as the: b. provider. The dance studio website is the requester.
3. The framework used to access a web service is: b. SOAP
Essential details • Web services are frameworks that allow programs (or sites) to communicate with each other via the web. • SOAP (Simple Object Access Protocol) is an XML-based protocol for exchanging structured and typed information via the web. • Numerous SOAP services are available, including searches (such as Bing), current weather, stock quotes, traffic conditions, and more. • WSDL (Web Services Description Language) is an XML format that allows for better interoperability among web services and development tools. • WSDL uses SOAP to pass messages to the provider and interpret the results. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/library/aa480728.aspx • http://msdn.microsoft.com/en-us/library/ms950421.aspx
40
CHAPTER 4: Understanding Web Applications
_______ /3
5
Understanding Desktop Applications IN THI S C HAP TE R ■
5.1/5.2 Understand Windows Forms applications; Understand console-based applications
■
5.3 Understand Windows services
42
CHAPTER 3: Understanding Desktop Applications
OBJECTIVE
U N D E R S TA N D I N G D E S K T O P A P P L I C AT I O N S 5 . 1 / 5 . 2
Understand Windows Forms applications; Understand console-based applications SCENARIO: Julia doesn’t have a lot of free time while she’s studying computer science at her university, but in the evenings she enjoys playing online role-playing games (RPGs). She plays several games on a regular basis, and she enjoys “leveling-up” her characters and completing quests for special items.
However, because her playing time is both limited and fragmented, she has difficulty keeping track of the status of each of her characters. So she decides to create an application to keep track of the progress of her different characters, including levels and quests. She envisions a simple application that will allow her to select a character and then view and edit relevant information (a picture of the character, its current level, XP needed to advance, current quest item, and so on).
1. What type of application would best fit Julia’s needs? a. console application b. Windows Forms application implementing SDI c. Windows Forms application implementing MDI
2. For which one of the following situations would visual inheritance be useful? a. several different forms displaying the same data in different ways b. several different forms displaying data from tables in the same database c. several different forms using the same basic layout and UI features
3. Which of the following describes how the event model might function in Julia’s program?
SDI is Single Document Interface. MDI is Multiple Document Interface.
a. A Button click event is handled by code that creates a new character. b. A new character event is handled by code that asks for user input. c. A loop event cycles through the various characters, displaying each on the form.
Understand Windows Forms applications; Understand console-based applications
43
Answers 1. Julia should make a:
b. Windows Forms application with SDI. Although any application could work, SDI is ideal because the user only needs one window at a time. Note that a console application could not display images of Julia’s characters.
2. Visual inheritance would be useful when: c. Several different forms use same the same basic layout and UI features.
3. The event model could function in Julia’s program when:
a. A Button click event is handled by code that creates a new character.
Essential details • Windows Forms is a rich Windows client library for building Windows client applications. • A console application uses a text-only interface and usually requires only a keyboard for input. • The user interface is the portion of a program with which a user interacts. Different types of UIs include graphical user interfaces (GUIs), such as the Windows user interface, as well as command-line interfaces used by console applications. • The two basic styles of Windows interfaces are SDI and MDI. • Single Document Interface (SDI) is an interface in which each document frame window is separate from others and contains its own menu and toolbar. • Multiple Document Interface (MDI) is an interface in which multiple document ment frame windows may be open in the same instance of an application; the eside. application features a parent window in which multiple child windows can reside. • More recent applications tend to favor the SDI approach. gram • An event is an action or occurrence, often generated by the user, to which a program might respond. Examples include key presses, button clicks, and mouse movements. nts. • Code that is executed in response to an event is called an event handler. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/beginner/bb308740.aspx • http://msdn.microsoft.com/en-us/beginner/bb308743.aspx 44
CHAPTER 5: Understanding Desktop Applications
_______ /3
OBJECTIVE
U N D E R S TA N D I N G D E S K T O P A P P L I C AT I O N S 5 . 3
Understand Windows Services SCENARIO: Employees at Contoso, Ltd., engage in extensive word processing sessions while preparing manuscripts for publication. Managers are worried that employees who type for extended periods of time may have problems with repetitive motion injuries and eye strain, as well as general fatigue. They have asked the IT department to come up with a way to help reduce the chance of such injuries.
Anna is developing an application that will monitor keystrokes. When a user has typed 2,000 words in fewer than 30 minutes, the application will display a notification reminding the user to take a brief break and stand up for a stretch. Anna has decided to write the application as a Windows Service.
1. What type of user interface (UI) do most Windows Services—including Anna’s reminder application—employ? a. little or no UI b. a console UI c. a standard Windows GUI
2. Which of the following is NOT a characteristic of many Windows Services? a. intended to run continuously while the computer is on b. can be configured to start when the operating system is booted c. generally designed to require user intervention at timed intervals
3. A Windows Service generally has three different states after being started: running, stopped, and: a. interrupted
You’ve probably used many Windows Services applications—a common example is antivirus software!
b. completed c. paused
Understand Windows Ser vices
45
Answers 1. Typically Windows Services use: a. little or no UI
2. All are true of Windows Services except that they are not: c. generally designed to require user intervention at timed intervals
3. The three possible states of a Windows Service after being started include running, stopped, and: d. paused
Essential details • A Windows Service application is a long-running program that generally does not show a user interface. • Many users think of Windows Services as running “in the background” and taking care of tasks necessary to keep the system running smoothly. • Common examples include antivirus applications, applications to help use printers and other hardware, and applications that aid in network communications. • Services are managed by the Windows Services Control Manager. To run, they must be installed via this manager and then started. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/library/d56de412.aspx • http://msdn.microsoft.com/en-us/library/zt39148a.aspx
46
CHAPTER 5: Understanding Desktop Applications
_______ /3
6
Understanding Databases IN THI S C HAP TE R ■
6.1 Understand relational database management systems
■
6.2 Understand database query methods
■
6.3 Understand database connection methods
48
CHAPTER 1: Understanding Databases
OBJECTIVE
U N D E R S TA N D I N G DATA B A S E S 6 . 1
Understand relational database management systems SCENARIO: Jesper pays for school by working part-time in a vintage record shop that sells music albums on vinyl. The store has thousands of albums by thousands of different artists, but the owner does not have an inventory system—he simply organizes the albums by artist on the store shelves. That means when a customer asks if a particular album is in stock, Jesper must go out to the shelves and look for the album.
Jesper wants to put together a simple inventory system so that he can look up which albums are in stock from a computer behind the counter. He’ll set up a relational database to store the information. He’ll start by giving each artist a random and unique Artist ID number. Likewise, each album will get an Album ID number.
1. What function do Artist ID and Album ID fulfill in Jesper’s relational database, as described above? a. relationships b. constraints c. primary keys
2. Jesper will link albums to artists by adding an Artist ID field to his Albums table. In this Albums table, what is the Artist ID? a. primary key b. foreign key c. link key
3. Which of the following will result from the use of a relational database for this project? a. minimize or eliminate redundant (repetitive) data
There will be two tables in the database: Artists will store artist information; Albums will hold data related to individual albums.
b. increase processing time resulting from inefficient storage of data c. require the use of a web server
Understand relational database management systems
49
Answers 1. Artist ID and Album ID are: c. primary keys
2. The Artist ID field in the Albums table is a: b. foreign key. A foreign key from one table (Albums) refers to a primary key in another table (Artists). This establishes a relationship between the two tables.
3. The use of a relational database in this project will: a. minimize or eliminate redundant (repetitive) data
Essential details • A relational database is a system for storing potentially large amounts of data. Relational databases consist of one or more tables that can be visualized as columns and rows. • One of the primary advantages of a relational database is the reduction of data redundancy—data in multiple tables can be linked instead of stored twice. • In a table, a primary key defines a column that uniquely identifies each row. • A relationship can be established by setting up a foreign key constraint. Each album in the store includes the corresponding Artist ID. That foreign key establishes a link between the album and the artist who recorded it. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/beginner/bb308825.aspx • http://www.asp.net/sql-server/videos/designing-relational-database-tabless
50
CHAPTER 6: Understanding Databases
_______ /3
OBJECTIVE
U N D E R S TA N D I N G DATA B A S E S 6 . 2
Understand database query methods SCENARIO: Now that Jesper has designed and implemented a relational database to keep track of the inventory at the record shop, he needs to be able to read and modify the data itself. He’ll use SQL queries for his database operations.
The application must enable Jesper to add to the database when the store gets a new album, and to modify data such as the quantity in stock and the price. Additionally, he will need to pull data from the database: find artists or albums, list the current inventory, and list albums that are currently out of stock. Reviewing SQL concepts will help Jesper quickly complete the project.
1. Which SQL command should Jesper use to add a new album to his database? a. ADD b. INSERT c. UPDATE
2. Jesper can save frequently used queries as: a. UPDATE files b. database methods c. stored procedures
3. Which query could retrieve the artist “U2” from the table of artists? a. SELECT “U2” FROM Artists b. SELECT * FROM Artists WHERE ArtistName = “U2” c. SELECT * FROM Artists WHERE “U2” IN ArtistName
SQL stands for Structured Query Language and is used to execute most common actions on a relational database.
Understand database quer y methods
51
Answers 1. A new row can be added to the database with: b. INSERT
2. Queries can be saved to the database as: c. stored procedures
3. “U2” can be retrieved from the table of artists with: b. SELECT * FROM Artists WHERE ArtistName = “U2”
Essential details • Structured Query Language (SQL) is used to manage data in a relational database. • SQL queries can be used interactively with the database itself or implemented in an application that accesses the database. Basic statements in SQL queries include: • SELECT to retrieve data • INSERT to add rows to the database • UPDATE to modify existing rows • DELETE to remove an existing row • Other clauses can be added to indicate the desired table (FROM), to filter data based on comparisons (WHERE), and to sort (ORDER BY), among others. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/beginner/bb308825.aspx • http://www.w3schools.com/sql/default.asp
52
CHAPTER 6: Understanding Databases
_______ /3
OBJECTIVE
U N D E R S TA N D I N G DATA B A S E S 6 . 3
Understand database connection methods SCENARIO: With a solid database design in place and a few stored procedures to help manage his SQL queries, Jesper turned his attention to a user interface for his application. Using Windows Forms, he now has the essential elements in place to connect his application to the database.
Jesper decides to use a “disconnected” approach, meaning that he will copy what he needs from the database to memory, then disconnect from the database. When the user changes data, the application can connect again and update the database.
1. What is the advantage of Jesper’s use of a disconnected data access model? a. It minimizes the impact on the database server. b. It does not require an Internet connection. c. It prevents unauthorized access to the database.
2. What is the term used to describe an in-memory cache of the database? a. dataset b. XML c. OLE DB
3. What object contains the information ADO needs to connect to a database? a. SQL Query b. file path c. connection string
ActiveX Data Objects (ADO) is an interface that allows developers to access databases without worrying about details of database connections.
Understand database connection methods
53
Answers 1. An advantaged of using a disconnected data access is: a. It minimizes the impact on the database server.
2. The name of the in-memory database object is: a. dataset
3. The information needed to connect to a database is stored in the: c. connection string
Essential details • To bring data into your application (and send changes back to the data source), a two-way communication path needs to be established. This connection is usually configured with a connection string that stores information necessary to find and access the data source. • Data sources don’t have to be relational databases. • Extensible Markup Language (XML) files are common on the Internet. They share the same syntax as HTML, so many users are comfortable working with them. • Language Integrated Query (LINQ) allows developers to connect to a wide range of data sources, including arrays and other data structures. • Flat files are conventional computer files that store database information. • Many developers use a disconnected data access model. By connecting to a data source only as long as it takes to retrieve or update data, the developer gains several advantages: • Reduced load on the database server. • Scalability, or the ability to continue to function as the work load increases. • Multiple users can access the same database without “locking” file access. FAST TR ACK HELP
• http://msdn.microsoft.com/en-us/beginner/bb308825.aspx • http://www.w3schools.com/ado/default.asp 54
CHAPTER 6: Understanding Databases
_______ /3