Vous êtes sur la page 1sur 17

[1] What are the two main components of the .NET Framework?

Choice a the .NET Framework Class Library an Common Type !ystem.


Choice b the Common Lan"#a"e $#ntime an Common Type !ystem.
***Choice c The Common Language Runtime and the .NET Framework Class
Library.
Choice The Common Lan"#a"e $#ntime an the %ntermeiate Lan"#a"e coe.
[&] Which of the followin" oes not belon" to a .NET Framework class library?
Choice a Classes
'''Choice b !tr#cts
Choice c (etaata
Choice %nterfaces
[)] The coe which is processor inepenent coe is
Choice a *nmana"e coe
'''Choice b %ntemaiate Lan"#a"e coe
Choice c Nati+e coe
Choice (ana"e coe
[,] The #tility #se to +iew metaata is
Choice a %L-!(
'''Choice b %L.-!(
Choice c -L
Choice L.-!(

[/] Which of the followin" statement is correct?
Choice a
CL$ hanles ob0ect creation an estr#ction an hence relie+es pro"rammer from estroyin"
the ob0ects e1plicitly.
Choice b
CL$ hanles the r#ntime errors an informs the concerne application abo#t them.
Choice c
CL$ e1tens the Winows r#ntime concept of process by pro+iin" application omains.
'''Choice -ll of the abo+e
[2] The coe that tar"ets the r#ntime is known as
Choice a *nmana"e coe
'''Choice b (ana"e coe
Choice c Nati+e coe
Choice (icrosoft %ntermeiate Lan"#a"e coe

[3] Which of the followin" statement is not correct?
Choice a
The CL$ of the .NET Framework r#ns on operatin" system.
'''Choice b
The #nmana"e applications r#n #ner the control of CL$ an
#se the .NET 4ase Class Library an c#stom class library.
Choice c
5n the ser+er6sie %nternet %nformation !er+ices r#n on top of 5!.
Choice
-!7.NET r#ntime internally #ses CL$ an as its own feat#res specific to processin" 8TT7
re9#ests.

[:] Which of the followin" feat#res of common lan"#a"e r#ntime is not correct?
Choice a
Cross6lan"#a"e inte"ration; especially cross6lan"#a"e inheritance.
Choice b
<arba"e collection; which mana"es ob0ect lifetime so that reference co#ntin" is #nnecessary.
Choice c
The ability to compile once an r#n on any C7* an operatin" system that s#pports the
r#ntime.
'''Choice
None of the abo+e
[=] Which compiler compiles the %L coe to nati+e coe?
Choice a Common Lan"#a"e $#ntime compiler
Choice b %ntemeiate Lan"#a"e compiler
'' 'Choice c >#st6%n6Time compiler
Choice None of the abo+e

[1?] *nmana"e coe is
'' 'Choice a The coe r#n by the Common Lan"#a"e $#ntime @CL$A
Choice b The nati+e machine coe that r#ns witho#t the Common Lan"#a"e
$#ntimeBs help
Choice c The coe r#n by the 5!
Choice None of the abo+e
[1&] %n .NET the term FCL stans for
'' 'Choice a Framework Class Library
Choice b Framework Common Lan"#a"e
Choice c Framework Class Lan"#a"e
Choice Framework Common Library

[1)] Which of the followin" r#le that is lai own by CL! is not correct?
Choice a
<lobal +ariables an methos are not interoperable.
Choice b
%f two +ariables are to be consiere istinct; they m#st iffer by more than 0#st their case.
Choice c
!in"le type an name sho#l not be #se for a metho an a +ariable.
'''Choice
-ll imensions of an array m#st ha+e a Cero #pper bo#n.
[1,] -ll classes in the .NET Framework Class Library are or"aniCe in ifferent
Choice a Classes
'''Choice b Namespaces
Choice c !tr#ct#res
Choice (o#les

[1/] Which of the followin" is #se by CL$ to know which files belon" to an assembly?
Choice a (anifest
Choice b Common %ntermeiate Lan"#a"e
Choice c Framework Class Library
'''Choice Compile nati+e coe

[12] %n .NET the term CT! stans for
Choice a Class Type !ystem
''' Choice b Common Type !ystem
Choice c Common Type !oftware
Choice None of the abo+e
[13] Which of the followin" statement is not correct abo#t mana"e mo#le?
Choice a E+ery CL$6compliant compiler m#st pro#ce metaata.
Choice b E+ery mana"e6mo#le contains metaata escribin" the mo#leBs contents.
'''Choice c (etaata is optional.
Choice E+ery mana"e6mo#le is self6escribin".
[1:] The r#ntime that pro+ies scalable an rob#st en+ironment for the applications r#nnin"
#ner it is
'''Choice a Common Lan"#a"e $#ntime
Choice b %ntermeiate Lan"#a"e $#ntime
Choice c Common Library $#ntime
Choice Class Library $#ntime
[1=] Which of the followin" statement is not correct?
Choice a
When a .NET compliant lan"#a"e compiler compiles the so#rce coe; it emits coe in
intermeiate lan"#a"e. This coe is processor epenent coe.
Choice b
The >#st6%n6Time compiler that the CL$ pro+ies compiles the %ntermaiate Lan"#a"e coe to
the nati+e coe.
Choice c
The a+anta"e of the %L is that it can be e1ec#te where+er .NET is present.
'''Choice
The common lan"#a"e r#ntime makes it easy to esi"n components an applications whose
ob0ects interact across lan"#a"es.

[&?] (ana"e applications are
'''Choice a The applications whose e+ery action is s#b0ect to appro+al by Common
Lan"#a"e $#ntime.
Choice b The applications whose e1ec#tion is controlle by 5!.
Choice c The applications whose ata mana"ement is one by the pro"rammer.
Choice The applications whose e1ec#tion is controlle by .Net Framework Class Library.

[&1] (ana"e coe consists of
Choice a -ssembly lan"#a"e instr#ctions
Choice b Common %ntermeiate Lan"#a"e instr#ctions
Choice c (icrosoft %ntermeiate Lan"#a"e instr#ctions
'''Choice None of the abo+e
[&&] .NET s#pports which of the followin" feat#res?
Choice a Cross lan"#a"e inheritance
Choice b Cross lan"#a"e eb#""in"
Choice c Cross lan"#a"e E1ceptions
'''Choice -ll of the abo+e
[&)] Which of the followin" f#nctionalities pro+ie by the .NET Framework is correct?
Choice a $#ns pro"rams that are inepenent of harware an operatin" systems.
Choice b !#pports common network protocols; an connects seamlessly with D(L Web
ser+ices.
Choice c 5btains optimal performance in "eneratin" nati+e coe #sin" 0#st6in6time @>%TA
compilation.
'''Choice -ll of the abo+e.
[&,] Consier followin" coe snippetE
5ption !trict 5ff
(o#le (o#le1
!#b (ain@ A
.im i -s %nte"er
.im b -s 4oolean
i F Tr#e
b F 61?
Console.WriteLine @ G H ? I H 1 I G; i; b A
En !#b
En (o#le
What wo#l be the o#tp#t of the abo+e coe?
Choice a Tr#e 61?
'''Choice b J1 Tr#e
Choice c 1 False
Choice 1 Tr#e
[&/] Consier followin" statementE
.im i -s %nte"er F 1
Which of the followin" coe is correct that "enerates a m#ltiplication table of &?
'''Choice a
While i KF 1?
Console.WriteLine @ & ' i A
i F i L 1
En While
Choice b
While i KF 1?
Console.WriteLine @ & ' i A
i F i L 1
Choice c
While i KF 1? Then
Console.WriteLine @ & ' i A
i F i L 1
En While
Choice
While i KF 1?
Console.WriteLine @ & ' i A
En While


[&2] Which of the followin" coe is correct that sets a "rae as pass for a st#ent if he scores
marks MF 2??
'''Choice a
%f marks MF 2? Then
"rae F G7assG
En %f
Choice b
%f marks MF 2?
"rae F G7assG
En %f
Choice c
%f marks is "reater than 2?
"rae F G7assG
En %f
Choice
%f marks MF 2?
"rae F G7assG
[&3] Consier followin" coe snippetE
(o#le (o#le1
!#b (ain@ A
.im 1; y; C -s %nte"er
1 F 11 N &
y F 11 O &
C F 11 (o &
Console.WriteLine @ G H ? I H 1 I H & IG; 1; y; C A
En !#b
En (o#le
What wo#l be the o#tp#t of the abo+e coe?

Choice a 1 / 2
Choice b 2 / 1
'''Choice c / 2 1
Choice 1 2 /
[&:] Consier followin" coe snippetE
(o#le (o#le1
!#b (ain@ A
.im i -s %nte"er F /
.im 0; res -s %nte"er
res F f#n @ i; 0 A
Console.WriteLine @ 0 P G G P res A
En !#b
F#nction f#n@ 4yQal 1 -s %nte"er; 4y$ef y -s %nte"er A -s %nte"er
y F 1 ' 1
$et#rn 1 ' 1 ' 1
En F#nction
En (o#le
What wo#l be the o#tp#t of the abo+e coe?

Choice a / 1&/
Choice b 1&/ 1&/
'''Choice c &/ 1&/
Choice None of the abo+e
[&=] Consier followin" coe snippetE
5ption !trict 5n
(o#le (o#le1
!#b (ain@ A
.im b -s 4oolean
b F 1
Console.WriteLine@ b A
En !#b
En (o#le
Which of the followin" statement is correct abo#t the abo+e coe?
'''''''Choice a ErrorE B5ption !trict 5n isallows implicit con+ersions from %nte"er to
4ooleanB
Choice b ErrorE B5ption !trict 5n isallows implicit con+ersions from 4oolean to %nte"erB
Choice c ErrorE BName b is not eclareB
Choice The coe r#ns s#ccessf#lly.
Choice None of the abo+e
[)?] Consier followin" coe snippetE
(o#le (o#le1
!#b (ain@ A
im tr#e as 4oolean F False
Console.WriteLine@ tr#e A
En !#b
En (o#le
Which of the followin" statement is correct abo#t the abo+e coe?
Choice a ErrorE BName tr#e is not eclareB
'''Choice b ErrorE BReywor is not +ali as an ientifierB
Choice c ErrorE B%entifier is not +ali as a keyworB
Choice The coe r#ns s#ccessf#lly.

ETC. S#estionE
[&?] The technolo"y #se to create web applications an ynamic web sites is
Choice a CLL
Choice b QCLL
Choice c Q4
''''''''Choice -!7.NET

[&=] Consier followin" coe snippetE
5ption E1plicit 5ff
(o#le (o#le1
!#b (ain@ A
.im i -s %nte"er
.im b -s 4oolean
1 F /?
En !#b
En (o#le
Which of the followin" statement is correct abo#t the abo+e coe?
'''Choice a The coe r#ns s#ccessf#lly.
Choice b ErrorE BName 1 is not eclareB
Choice c ErrorE B*nreference local +ariables i; bB
Choice ErrorE BE1plicit initialiCation is not permitteB
[13] Which of the followin" applications can be e+elope in Q4.NET?
'''''''''' Choice a Component Library
Choice b (obile -pplications
Choice c .istrib#te -pplications
Choice -ll of the abo+e

Vous aimerez peut-être aussi