1. Using a ________ variable does not enable us to create read-only properties that are often required by a class. A. public B. private C. protected D. friend 2. A ___________ perfors invisible tas!s even if you "rite no code. A. destructor B. private ethod C. constructor D. function #. $he ___________________________________ does not describe inherited eber functions% inherited operators% and overridden virtual eber functions. A. Class Library Reference B. &ibrary C. 'b(ects D. Classes ). $he ______________________ group classes according to their coon services. A. ob(ects B. inheritance C. Namespaces D. progras *. +henever an application is created% a ______ is added. A. Form B. Class C. ,roperty D. 'b(ect
. _________ are interactive ob(ects that you place in dialog boes or other "indo"s to carry out user actions. A. Controls B. 'b(ects C. Classes D. /ors 0. $he _______________ class provides static ethods to start% stop% or filter +indo"s essages in an application. A. /ors B. +indo"s C. Application D. Control . $he ___________is a systeatic syst eatic class frae"or! used for the developent of syste tools and utilities. A. .Net Framework Class Library (FCL) B. .et tools C. 3isual Basic 244* D. 3isual Basic 5. $he ______________ ethod converts the value of this instance to a double representing the '&6 autoation date. A. /ro 'A Date B.TO B.TO OA Date C. $oday D. o" 14. $he _________________ enable us to pass data bet"een a progra and a class. A. /unctions B. roperties C. ,rocedures D. 3ariables
1. +hich of the follo"ing &oop structure does not supported by 3B.et7 3 B.et7 A. Do ................ &oop B8 /or ................... et C8 Do ................ !"ile D8 /or 6ach ............ +hile 2. $he _____ odel does not offer a odel for source code reuse. A. C'9: B. DC'9 C. CO# D. .et #. _____ allo" custo ites of inforation about a progra eleent to be stored "ith an assebly;s etadata. A. ,roperties B. Attributes C. 9ethods D. Classes ). $he corresponding .et /C& type for
clear> of the Array class that sets a range of array eleents to ?ero% false or null reference is a _____________ ethod. A. $"are B. 9ethod C. Class D. 'b(ect
. $he ___________ ethod converts an '&6 autoation date value to a Date$ie Date$ie =nstance. A. $oday B. $ie'fDay C. o" D. FromOADate 0. $he function procedures are ___________ by default. A. public B. private C. protected D. inherited . 6very optional arguent in the procedure definition ust specify a _________ value "hich ust be a constant epression. A. constant B. efault C. integer D. character 5. $ype casting in 3B.et is ipleented by eans of ____________ stateent. A. $ype@8 B. $ypeDef@8 C. Btype@8 D. Ctype() 14.
Sr. no Que1Which language is not a true object-oriented programming language? language? (a.) VB.N! (b.) VB 6 (c.) "## (d.) $%V% &% ' (a.) uses buttons* menus* and icons. (b.) should be eas+ ,or a user to manipulate manipulate.. (c.) stands ,or 'raphic se nteraction. (d.) Both a and b. Visual Studio .N! proides /hich ,eature0 (a.) debugging (b.) application deplo+ment (c.) s+nta chec2ing (d.) All of the above 3What does 4 stand ,or? (a.) Integrated Development Environment (b.) ntegrated 4esign nironme nironment nt (c.) nterior 4eelopment nironment (d.) nterior 4esign nironme nironment nt 5Which t+pe o, project can a deeloper choose in the Ne/ 6roject dialog bo? (a.) Visual Basic 6rojects (b.) Visual "7 6rojects (c.) Visual "## 6rojects (d.) All of the above. 8Which is not a main component o, the Visual Studio 4? (a.) Solution plorer (b.) !ool bo (c.) start menu (d.) designer /indo/ 9Which does the solution eplorer not displa+?
(a.) Form Properties (b.) :e,erence ;older (c.) ;orm ;ile (d.) %ssemble ;ile Which are the standard prees ,or the Button and "ombo bo controls respectiel+? (a.) btn and chb (b.) btn and !bo (c.) bto and chb (d.) bto and cbo 11Which are the standard prees ,or the tet bo and label controls respectiel+? (a.) te and lbl (b.) te and lab (c.) t#b and lbl (d.) tb and lab 1&Which tas2 is accomplished in the "ode editor? (a.) %dding ,orms to the project (b.) %dding controls to the ,orm (c.) Adding event pro!edures to the form (d.) %ll o, the aboe. 1Which is not a ,eature o, a ' that ma2es learning a program eas+ ,or users? (a.) @nline help (b.) WASWA' ,ormatting (c.) 4ialog boes (d.) Detailed $ey stro$es and !ommands
13%n object is composed o,0(a.) properties. (b.) methods. (c.) eents. (d.) All of the above.15Which above. 15Which statement about objects is true? (a.) @ne object is used to create one class. (b.) @ne class is used to create one object. (c.) @ne object can create man+ classes. (d.) %ne !lass !an !reate many ob&e!ts. 18Which is not true about ,orms and controls in Visual Basic? (a.) !he+ are pre-built. (b.) !he+ are graphical objects. (c.) 'e versions of the !lasses must be !reated ith ea!h pro&e!t. (d.) Buttons can be created /ith the drag and drop method. 19Which is an eample o, Visual Basic @bjects? (a.) "ontrol objects (b.) %S6.N! (c.) %[email protected]! (d.) All of the above. 1>> classes. (b.) uses namespaces to manage all o, the classes. (c.) has the S+stem.;orm namespace ,or classes used in Windo/s-based application. (d.) Both a and b. 1=Which is not a propert+ o, the "ommon control class? (a.) sho (b.) Bac2"olor (c.) ;ont (d.) ;ore"olor &>Which propert+ determines determines /hether a control is displa+ed to the user? (a.) ide (b.) Sho/ (c.) Visible (d.) nabled &1!he Button control can be actiated0
(a.) programmaticall+ through the clic2 eent. (b.) b+ clic2ing the button /ith the mouse. (c.) /ith the ,ormCs 4e,aultButton propert+. (d.) Both a and b. &&!he "ancelButton propert+ belongs to /hich object? (a.) Button (b.) Form (c.) Dabel (d.) !etBo &% clic2 eent procedure stud ,or the label control can be created b+0 (a.) selecting the object and eent ,rom the code editor /indo/Cs drop-do/n boes. (b.) t+ping the code in the code editor /indo/. (c.) b+ double clic2ing the control. (d.) All of the above. &3n eent-drien programming an eent is generated b+0 (a.) the s+stem. (b.) a userCs action. (c.) the program itsel,. (d.) All of the above.
&5Which is not a common control eent? (a.) "lic2 (b.) (ingle)li!$ (c.) 4ouble"lic2 (d.) EouseEoe &8!he !ic2 eent is ,ound onl+ in /hich object? (a.) ;orm (b.) Button (c.) !etBo (d.) Timer &9!he %ctiated eent is ,ound onl+ in /hich object? (a.) Form (b.) Button
(c.) !etBo (d.) Dabel &.>1 and 1.>>. (b.) integer alue bet/een >.>1 and 1.>>. (c.) decimal alue bet/een >.> and 1.>. (d.) de!imal value beteen *.* and up to +.*, but not in!luding +.*. &=!he anal+sis phase o, so,t/are deelopment inoles0 (a.) !olle!ting the re-uirements about hat the program ill a!!omplish. (b.) creating a detailed plan on ho/ the program /ill accomplish the reFuirements. (c.) /riting the so,t/are /ith a program such as VB.N!. (d.) Both a and b. >Which phase o, project deelopment t+picall+ costs the most? (a.) %nal+sis (b.) 4esign (c.) mplementati mplementation on (d.) aintenan!e
1Which is not an integer data t+pe? (a.) (ingle (b.) B+te (c.) Short (d.) nteger &Which is a numeric data t+pe? (a.) ;loating 6oint (b.) nteger (c.) Boolean (d.) Both a and b Which seFuence o, char data t+pes is listed ,rom lo/est to highest? (a.) a* %* G* H (b.) a* G* %* H (c.) %* a* H* G (d.) A, /, a, 0
3!he 4ate data t+pe does not hold /hich t+pe o, in,ormation. (a.) Seconds (b.) ours (c.) 4a+s (d.) 1uarters 5!he Boolean data t+pe0 (a.) is unsigned. (b.) has t/o states. (c.) is displa+ed b+ the program as +es or no. (d.) Both a and b. 8Which is a alid statement ,or declaring a ariable? (a.) "onst ;orm %s nteger (b.) "onst m+;orm %s nteger (c.) 4im ;orm %s nteger (d.) Dim myForm As Integer
9VB.Net identiers0 (a.) are case sensitie. (b.) !an begin ith an unders!ore. (c.) can begin /ith a number. (d.) %ll o, the aboe. With % I ;alse and B I !rue* /hich statement ealuates as !rue?
(a.) % %N4 % (b.) % %N4 B (c.) B %N4 % (d.) B A'D B 31With % I ;alse and B I !rue* /hich statement ealuates as ;alse? (a.) A %2 A (b.) % @: B (c.) B @: % (d.) B @: B 3&Which operator is ealuated rst? (a.) '%T (b.) %N4 (c.) J@: (d.) @:
3!he le,t side o, an assignment statement /ill hold0 (a.) a ariable. (b.) an object propert+. (c.) an epression. (d.) Both a and b.