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

Object-Orientation Concepts, UML Interview Questions

This document provides an overview of object-oriented concepts and UML interview questions. Some key topics covered include inheritance, composition vs aggregation, class diagrams, design patterns, system analysis vs design, use case diagrams, and more. Questions range from basic OOP concepts to more advanced topics like modeling associations, static vs dynamic classification, design by contract, and object constraint language.

Uploaded by

saranya_gupta_2
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views

Object-Orientation Concepts, UML Interview Questions

This document provides an overview of object-oriented concepts and UML interview questions. Some key topics covered include inheritance, composition vs aggregation, class diagrams, design patterns, system analysis vs design, use case diagrams, and more. Questions range from basic OOP concepts to more advanced topics like modeling associations, static vs dynamic classification, design by contract, and object constraint language.

Uploaded by

saranya_gupta_2
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 68

Object-Orientation Concepts, UML interview Questions

1. What is inheritance? 2. Difference between Composition and Aggregation. 3. Difference: Sequence Diagrams Co!!aboration Diagrams. ". Difference: #uses# #e$tends# #inc!udes# %. What sha!! & go for 'ac(age Diagram? ). What is 'o!*morphism? +. &s c!ass an ,b-ect? &s ob-ect a c!ass? .. Comment: C// 0inc!udes0 beha1ior and -a1a 0imports0 2. What do *ou mean b* 03ea!i4ation0? 15. What is a 'resistent 6ransient ,b-ect? 11. What is the use of ,perator ,1er!oading? 12. Does 789 guarantee pro-ect success? 13. Difference: Acti1it* Diagram and Sequence Diagram. 1". What is association? 1%. :ow to reso!1e man* to man* re!ationship? 1). :ow do *ou represent static members and abstract c!asses in C!ass Diagram? 1+. Can we use 789 for user interface ;7&< design? 1.. =1er* ob-ect has : state beha1ior and identit* > e$p!ain 12. :ow to re1erse engineer C// code in 789? 25. What are the too!s *ou used for ,,AD? 21. Difference: ,b-ect ,riented Ana!*sis ;,,A< and ,b-ect ,riented Design ;,,D<? 22. What are the four phases of the 7nified 'rocess ? 23. :ow do *ou con1ert uses cases into test cases? 2". =$p!ain C!ass Diagram in Detai!. 2%. What are the Design 'atterns *ou (now. 2). When do *ou prefer to use composition than aggregation? 2+. 789: &S it a process method or notation? 2.. Does a concept :A?= to become a c!ass in Design? 22. What are the good practices to use whi!e designing for reuse? 35. Can *ou thin( of some nice e$amp!es where @mu!tip!e@ actors are associated with a use case ? 31. :ow to use C3C Cards for C!ass Design? 32. What is the difference between static and d*namic C!assificaition.Ai1e some e$amp!es. 33. =$p!ian fo!!owing terms: Constraint 3u!es Design b* contract. 3". What is ,b-ect Constraint 9anguage ;,C9<? 3%. Difference Between Attribute and Association. 3). What are associati1e c!asses?

C/C++ Questions

1. What is the output of printf("%d") 2. What wi!! happen if & sa* delete this 3. Difference between 0C structure0 and 0C// structure0. ". Diffrence between a 0assignment operator0 and a 0cop* constructor0 %. What is the difference between 0o1er!oading0 and 0o1erridding0? ). =$p!ain the need for 0?irtua! Destructor0. +. Can we ha1e 0?irtua! Constructors0? .. What are the different t*pes of po!*morphism? 2. What are ?irtua! Cunctions? :ow to imp!ement 1irtua! functions in 0C0 15. What are the different t*pes of Storage c!asses? 11. What is Damespace? 12. What are the t*pes of S69 containers?. 13. Difference between 01ector0 and 0arra*0? 1". :ow to write a program such that it wi!! de!ete itse!f after e$ectution? 1%. Can we generate a C// source code from the binar* fi!e? 1). What are in!ine functions? 1+. What is 0strstream0 ? 1.. =$p!ain 0passing b* 1a!ue0 0passing b* pointer0 and 0passing b* reference0 12. :a1e *ou heard of 0mutab!e0 (e*word? 25. What is a 0366&0? 21. &s there something that & can do in C and not in C//? 22. What is the difference between 0ca!!oc0 and 0ma!!oc0? 23. What wi!! happen if & a!!ocate memor* using 0new0 and free it using 0free0 or a!!ocate sing 0ca!!oc0 and free it using 0de!ete0? 2". Difference between 0printf0 and 0sprintf0. 2%. What is 0map0 in S69? 2). When sha!! & use 8u!tip!e &nheritance? 2+. =$p!ain wor(ing of printf.

2.. 22. 6a!( sometiming about profi!ing? 35. :ow man* !ines of code *ou ha1e written for a sing!e program? 31. :ow to write 8u!tithreaded app!ications using C//? 32. Write an* sma!! program that wi!! compi!e in 0C0 but not in 0C//0 33. What is 8emor* A!ignment? 3". Wh* preincrement operator is faster than postincrement? 3%. What are the techniques *ou use for debugging? 3). :ow to reduce a fina! si4e of e$ecutab!e? 3+. Ai1e 2 e$amp!es of a code optimi4ation.

Java Interview Questions

1. 8eaning > Abstract c!asses abstract methods 2. Difference > Ea1a C// 3. Difference between FF and equa!s method ". =$p!ain Ea1a securit* mode! %. =$p!ain wor(ing of Ea1a ?irtua! 8achine ;E?8< ). Difference : Ea1a Beans Ser1!ets +. Difference : AW6 Swing .. Disad1antages of Ea1a 2. What is BG6= Code ? 15. What gi1es -a1a it#s 0write once and run an*where0 nature? 11. Does Ea1a ha1e 0goto0? 12. What is the meaning of 0fina!0 (e*word? 13. Can & create fina! e$ecutab!e from Ea1a? 1". =$p!ain Aarbage co!!ection mechanism in Ea1a 1%. Wh* Ea1a is not 155H pure ob-ect oriented !anguage? 1). What are interfaces? or :ow to support mu!tip!e inhertance in Ea1a? 1+. :ow to use C// code in Ea1a 'rogram? 1.. Difference between 0A''9=60 and 0A''9&CA6&,D0
Visual Basic Interview Questions

1. 3 main differences between f!e$grid contro! and dbgrid contro! 2. Acti1eI and 6*pes of Acti1eI Components in ?B 3. Ad1antage of Acti1eI D!! o1er Acti1e =$e ". Ad1antages of disconnected recordsets %. Benefit of wrapping database ca!!s into 86S transactions ). Benefits of using 86S +. Can database schema be changed with DA, 3D, or AD,? .. Can *ou create a tab!et*pe of recordset in Eet > connected ,DBC database engine? 2. Constructors and distructors 15. Contro!s which do not ha1e e1ents 11. Defau!t propert* of datacontro! 12. Define the scope of 'ub!ic 'ri1ate Criend procedures? 13. Describe Database Connection poo!ing re!ati1e to 86S 1". Describe: &n of 'rocess 1s. ,ut of 'rocess component. Which is faster? 1%. Difference between a function and a subroutine D*naset and Snapshot ear!* and !ate binding image and picture contro!s 9in(ed ,b-ect and =mbedded ,b-ect !istbo$ and combo bo$ 9istinde$ and 6ab inde$ moda! and modu!ess window ,b-ect and C!ass Juer* un!oad and un!oad in form Dec!aration and &nstantiation an ob-ect? 1). Draw and e$p!ain Sequence 8oda! of DA, 1+. :ow can ob-ects on different threads communicate with one another? 1.. :ow can *ou force new ob-ects to be created on new threads? 12. :ow does a DC,8 component (now where to instantiate itse!f?

25. :ow to register a component? 21. :ow to set a shortcut (e* for !abe!? 22. Kind of components can be used as DC,8 ser1ers 23. Dame of the contro! used to ca!! a windows app!ication 2". Dame the four different cursor and !oc(ing t*pes in AD, and describe them brief!* 2%. Deed of 4order method no of contro!s in form 'ropert* used to add a menus at runtime 'ropert* used to count number of items in a combobo$ resi4e a !abe! contro! according to *our caption. 2). 3eturn 1a!ue of ca!!bac( function 6he need of tabinde$ propert* 2+. 6hread poo! and management of threads within a thread poo! 2.. 6o set the command button for =SC Which propert* needs to be changed? 22. 6*pe 9ibrar* and what is it#s purpose? 35. 6*pes of s*stem contro!s container ob-ects combo bo$ 31. 7nder the AD, Command ,b-ect what co!!ection is responsib!e for input to stored procedures? 32. ?B and ,b-ect ,riented 'rogramming 33. What are the AD, ob-ects? =$p!ain them. 3". What are the different compatibi!it* t*pes when we create a C,8 component? 3%. What do B*?a! and B*3ef mean and which is the defau!t? 3). What does ,ption =$p!icit refer to? 3+. What does the &mp!ements statement do? 3.. What is ,9= and DD=? =$p!ain. 32. What is the difference between 8sgbo$ Statement and 8sgbo$J function? "5. What (e*word is associated with raising s*stem !e1e! e1ents in ?B? "1. What methods are ca!!ed from the ,b-ectConte$t ob-ect to inform 86S that the transaction was successfu! or unsuccessfu!? "2. What t*pes of data access ha1e *ou used. "3. What was introduced to ?isua! Basic to a!!ow the use of Ca!!bac( Cunctions? "". Which contro!s can not be p!aced in 8D&? "%. Which contro!s ha1e refresh method c!ear method "). Which 'ropert* is used to compress a image in image contro!? "+. Which propert* of menu cannot be set at run time? ".. Which propert* of te$tbo$ cannot be changed at runtime and What#s the ma$imum si4e of a te$tbo$? "2. Which too! is used to configure the port range and protoco!s for DC,8 communications?
etwor!in", #oc!et $ro"ra%%in", Inter-$rocess Co%%unication

1. 7ser;s< are comp!aining of de!a*s when using the networ(. What wou!d *ou do? 2. What are some of the prob!ems associated with operating a switched 9AD? 3. Dame some of the wa*s of combining 6C'L&' traffic and SDA traffic o1er the same !in(. ". What sort of cab!ing is suitab!e for Cast =thernet protoco!s?

%. What is a C!ass D &' address? ). Wh* do & sometimes !ose a ser1er#s address when using more than one ser1er? +. What is Cirewa!!? .. :ow do & monitor the acti1it* of soc(ets? 2. :ow wou!d & put m* soc(et in non>b!oc(ing mode? 15. What are 3AW soc(ets? 11. What is the ro!e of 6C' protoco! and &' protoco!. 12. What is 7D'? 13. :ow can & ma(e m* ser1er a daemon? 1". :ow shou!d & choose a port number for m* ser1er? 1%. 9a*ers in 6C'L&' 1). :ow can & be sure that a 7D' message is recei1ed? 1+. :ow to get &' header of a 7D' message 1.. Writing 7D'LS,CKMDA3A8 app!ications 12. :ow man* b*tes in an &'I networ( address? 25. What is the difference between 876=I and Semaphore? 21. What is priorit* in1ersion? 22. Different So!utions to dining phi!osophers prob!em. 23. What is a message queue? 2". Juestions on Shared 8emor*. 2%. What is D:C'? 2). Wor(ing of ping te!net gopher. 2+. Can & connect two computers to internet using same !ine ?
Operatin" #&ste%s

1. What is 876=I ? 2. What isthe difference between a #thread# and a #process#? 3. What is &D,D=? ". =$p!ain the wor(ing of ?irtua! 8emor*. %. :ow does Windows D6 supports 8u!titas(ing? ). =$p!ain the 7ni$ Kerne!. +. What is Concurrenc*? =$pain with e$amp!e Dead!oc( and Star1ation. .. What are *our so!ution strategies for 0Dining 'hi!osophers 'rob!em0 ? 2. =$p!ain 8emor* 'artitioning 'aging Segmentation. 15. =$p!ain Schedu!ing. 11. ,perating S*stem Securit*. 12. What is Semaphore? 13. =$p!ain the fo!!owing fi!e s*stems : D6CS 8acintosh;:'CS< CA6 . 1". What are the different process states? 1%. What is 8arsha!!ing? 1). Define and e$p!ain C,8? 1+. What is 8arsha!!ing? 1.. Difference > 9oading and 9in(ing ?

'(e )orl* o+ )))

1. What is :66'? =$p!ain its wor(ing? 2. What is DDS? 3. Wh* do & need a domain name !i(e #,neSmartC!ic(.Com#? ". What happens when & t*pe in some ur! and press enter? %. :ow does CA& wor(? Can & use #C# !anguage to write a CA&? ). Wor(ing of 'ro$* Ser1er Coo(ies t*pes of coo(ies? +. What is Cirewa!!? .. :ow to redirect to another page? 2. Some questions on web ser1ers. 15. What is D,8? 11. Connection 'oo!ing in &&S 3.5 and ".5 12. What is Code Base St*!e Sheets? 13. Deed for CSS 1". D:689: Difference between ContSi4e and Cont Si4e? 1%. 9a*ers in 6C'L&' 1). Some sites wor( with 0http:LLsitename.com0 but for some sites we need to specif* 0www0 > !i(e 0http:LLwww.sitename.com0. Wh*? 1+. =$p!ain 0739 =ncoding0 :689 0entit*0 A=6 method ',S6 method 1.. &f we force I89 for web design the brow4er si4e wi!! reduce. :ow? 12. :ow does D6D wor(? 25. Difference between AS' and D:689? 21. :ow to create 1irtua! director* in &&S? 22. Can & host mu!ip!e sites on same machine? 23. Administration of &&S. 2". Some questions on ,DBC and internet. 2%. I89 and propritor* databbases. 2). Wor(ing of ping te!net gopher. 2+. Some questions about cross>brow4er compatibi!it*.
,atabase Questions

1. What are the different t*pes of -oins? 2. =$p!ain norma!i4ation with e$amp!es. 3. What cursor t*pe do *ou use to retrie1e mu!tip!e recordsets? ". Diffrence between a 0where0 c!ause and a 0ha1ing0 c!ause %. What is the difference between 0procedure0 and 0function0? ). :ow wi!! *ou cop* the structure of a tab!e without cop*ing the data? +. :ow to find out the database name from SJ9@'97S command prompt? .. 6adeoffs with ha1ing inde$es 2. 6a!( about 0=$ception :and!ing0 in '9LSJ9? 15. What is the diference between 0D799 in C0 and 0D799 in ,rac!e?0 11. What is 'ro@C? What is ,C&? 12. Ai1e some e$amp!es of Ana!*tica! functions. 13. What is the difference between 0trans!ate0 and 0rep!ace0?

1". What is DGDA8&C SJ9 method "? 1%. :ow to remo1e dup!icate records from a tab!e? 1). What is the use of ADA9GNing the tab!es? 1+. :ow to run SJ9 script from a 7ni$ She!!? 1.. What is a 0transaction0? Wh* are the* necessar*? 12. =$p!ain Dorma!i4ationa dn Denorma!i4ation with e$amp!es. 25. When do *ou get contraint 1io!taion? What are the t*pes of constraints? 21. :ow to con1ert 3AW datat*pe into 6=I6? 22. Difference > 'rimar* Ke* and Aggregate Ke* 23. :ow functiona! dependenc* is re!ated to database tab!e design? 2". What is a 0trigger0? 2%. Wh* can a 0group b*0 or 0order b*0 c!ause be e$pensi1e to process? 2). What are 0:&D6S0? What is 0inde$ co1ering0 of a quer*? 2+. What is a ?&=W? :ow to get script for a 1iew? 2.. What are the 9arge ob-ect t*pes suported b* ,rac!e? 22. What is SJ9@9oader? 35. Difference between 0?A3C:A30 and 0?A3C:A320 datat*pes. 31. What is the difference among 0dropping a tab!e0 0truncating a tab!e0 and 0de!eting a!! records0 from a tab!e. 32. Difference between 0,3AC9=0 and 08&C3,S,C6 ACC=SS0 databases. 33. :ow to create a database !in( ?
-e.uire%ents Mana"e%ent

1. What is *our pro-ect about? What stage or phase is it current!* in? What is *our current ro!e in *our pro-ect? 2. =$p!ain how *ou manage requirements in *our pro-ect? 3. Where and how do *ou document *our requirements? ". What and where are the po!ic* statements for requirement management? %. :ow do *ou ensure that *ou base *our software p!ans wor( items and products on the requirement? ). &f during some stage down the !ife c*c!e the initia! requirements change what wi!! *ou do? :ow wi!! *ou hand!e an* changes in the requirements? +. Who re1iews the requirements and the changes to the requirements? .. =$p!ain the contract re1iew process fo!!owed in *our pro-ect? 2. When requirements change how do *ou hand!e the changes it ma* !ead to pro-ect progress and schedu!e? 15. :ow do *ou hand!e an* ris( that might arise due to changes in requirements? 11. :ow do *ou ensure that *ou are consistent!* meeting the requirements during 1arious stages in the !ife c*c!e of the software product? 12. :ow do interna! qua!it* audits co1er requirements management acti1ities in the pro-ect? 13. Who is responsib!e for managing the requirements in *our pro-ect? 1". What wi!! *ou do if *ou find that *ou cannot meet the requirements?

1%. Whi!e doing :9DL99DLCodingL6esting how do *ou (now that a specific :9DL99D component program code unit or test case re!ates to a particu!ar requirement?
#o+tware $roject $lannin"

1. What is the pro-ect management structure in *our pro-ect? &s a '9 assigned to the pro-ect? 2. :ow do *ou (now that a particu!ar indi1idua! is the pro-ect !eader ;or< how do *ou (now that *ou are the 'ro-ect 9eader? 3. What and where are the po!ic* statements for software pro-ect p!anning? ". =$p!ain the 1arious acti1ities *ou do ;as a '9< when the pro-ect is started up. %. :ow do *ou (now what *ou need to de!i1er or do in *our pro-ect? ). :ow do *ou create the Software 'ro-ect 8anagement '!an ;S'8'<? +. What training ha1e *ou undergone in pro-ect p!anning? .. :ow do *ou ensure that *our pro-ect p!an is a1ai!ab!e for others to see? Where wi!! *ou find the p!ans of other pro-ects e$ecuted ;in the past or current!*< in the center? 2. :ow did *ou choose the appropriate !ifec*c!e for *our pro-ect? 15. What are the documents that *ou wi!! refer to create the p!an? 11. :ow do *ou estimate the effort for *our pro-ect? Where is the estimation procedure documented? 12. What procedures do *ou fo!!ow to arri1e at the pro-ect schedu!e? 13. Where and how are the ris(s associated with *our pro-ect identified and documented? 1". When *ou come in to the office how do *ou (now what *ou ha1e to do during the da*? 1%. :ow do *ou report the status of *our pro-ect? 1). :ow are the team members (ept informed about the current status of the pro-ect? 1+. :ow do the audits co1er p!anning acti1ities? 1.. :ow does the senior management re1iew *our pro-ect#s progress? 12. :ow do *ou trac( the technica! acti1ities in *our pro-ect? :ow is the status of the pro-ect communicated to the team? 25. :ow do *ou trac( the si4e or changes to si4e of the wor( products in *our pro-ect? 21. When do re1ise *our pro-ect p!an? When do *ou (now *ou ha1e to re1ise *our pro-ect p!an? Where is the p!an re1ision frequenc* documented? 22. :ow do *ou ensure that *ou and a!! the other team members in *our pro-ect ha1e the required technica! s(i!!s to e$ecute the pro-ect? 23. :ow do *ou assign tas(s to *our team members? ? 2". What is the document that shou!d be consu!ted to (now about *our pro-ect the acti1ities *ou do *our schedu!es and mi!estones?

#o+tware Qualit& /ssurance

1. What and where are the po!ic* statements that dictate qua!it* assurance in *our pro-ect? 2. What are the functions of the Jua!it* Assurance Aroup ;JAA<? 3. :ow are the qua!it* assurance acti1ities p!anned ? ". What is a non>conformance report ;DC3<? %. When a non>conformance is noted during these 0re1iews0 what happens ne$t? ). What is is =$terna! Jua!it* Assurance ;=JA< and Cina! &nspection ;C&<? +. &s the qua!it* assurance group ;for the JAA< audited? Who does these audits? .. :ow frequent!* is *our pro-ect audited? :ow do *ou (now the resu!t of these audits? 2. What is an interna! qua!it* audit? What happens during this audit?

1< :' acquired this compan* in 2552. Which is the compan* a<Compaq b<De!! c<option 3 d< ,ption" Ans: a 2< what does 3A denote

a< 3rd generation mobi!e communication b< 3rd generation computer !anguages c< option 3 d< option" Ans: a 3<an app!ication program that is used b* the users to get the information from the bac(end of some app!ication !i(e databases: a< app!ication ser1er b<pro$* ser1er c<database ser1er d<option " Ans: database ser1er "< which of the fo!!owing is not true about the e>mai! a< it can be accessed b* a c!ient program using ',' b< it can be accessed b* a c!ient program using imap protoco! c< option 3 d< option " Ans: & don#t remember the answer but first 2 are true. %< Some quesion regarding the compan* and who de1e!oped it ; the thing to remember is that App!e produce 8acintosh computers<. %< What is I.2%? a<option 1 b<option 2 Ans: find out??:>< c<option 3 d<option "

"OEa1a section: questions on -a1a re!ated stuff. 1< Ea1a was initia!!* code named as: a<,a( b<green c<mi!!er d<option" Ans: ,a( 2< what is not true about the fo!!owing statements about -a1a. a< it is compi!ed using -a1ac compi!er b< the compi!ed fi!es ha1e .c!ass e$tension. c< such fi!es cannot be transfered from one comp to another. d< the* use the -a1a interpreter Ans: c 3< Wh* is the s*nchroni4e used? a< to initia!i4e mu!tip!e ob-ects b<to !oc( an ob-ect Ans: b ;probab!*< Some question on C =$terna! ?ariab!es. c<option3 d<option "

1. What are the t*pes of Ser1!et=ngines?

Standa!one Ser1!et=ngine:A standa!one engine is a ser1er that inc!udes bui!t>in support for ser1!ets. Add>on Ser1!et=ngine:&ts a p!ug>in to an e$isting ser1er.&t adds ser1!et support to a ser1er that was not origina!!* designed with ser1!ets in mind. =mbedded Ser1!et=ngine: 2.What is the difference between a Aeneric Ser1!et and :ttp Ser1!et? Aeneric Ser1!et :ttp Ser1!et C!ass which interna!!* imp!ements An abstract c!ass which acts as a chi!d c!ass both for Ser1!et and Ser1!etConfig AenericSer1!et and in addition pro1ides interfaces. some additiona! methods !i(e doAet;< do'ost;< doDe!ete;< P do'ut;<. 3.What is a Session &d? &t is a unique id assigned b* the ser1er to the user when a user first accesses a site or an app!ication ie. when a request is made. ". 9ist out Differences between CA& 'er! and Ser1!et? Ser1!et '!atform independent 9anguage dependent %. What is Bootstrapping in 38&? D*namic !oading of stubs and s(e!etons is (nown as Boot Strapping. ). What are different t*pes of =$ceptions?. 3untime e$ceptions =rrors 'rogram =$ceptions +. What are t*pes of app!ets?. 6rusted App!ets: App!ets with predefined securit* 7ntrusted App!ets: App!ets without an* securit* .. When does an =$ception occur?. Whene1er an error occurs in an App!ication ;either at compi!e time<or runtime it raises an =$ception. 2. What is ser1!et tunne!!ing?. CA& '!atform dependent. 9anguage independent.

7sed in app!et to ser1!et communications a !a*er o1er http is bui!t so as to enab!e ob-ect seria!i4ation. 15. What is a coo(ie?. Coo(ies are a wa* for a ser1er to send some information to a c!ient to store and for the ser1er to !ater retrie1e its data from that c!ient.Web browser supports 25 coo(iesLhost of "(b each. 11.What is the frontend in Ea1a?.A!so what is Bac(end?. Crontend: App!et Bac(end : ,rac!e 8s>Access;7sing EDBC<. 12. Define a ES'?. Ea1a Ser1er 'ages inc!udes scripp!ets of Ser1!etcode in an :tm! page.6his creates d*namism in the other>wise static :689.A ES' is a document that describes how to process a request to creeate response. 13. 6he !ength of an identifier is 1". Stored procedures can be ca!!ed b* Ca!!ab!e Statement. 1%. Stac( c!ass imp!ements 9&C,;9ast &n Cirst ,ut<. 1). Ser1!et C!ass defines init. 1+. 3eference of an* instance 1ariab!e inside a static method is !ega! if dec!ared static. 1.. What wi!! a read;< function do?. A method in &nput Stream.&t reads a sing!e b*te or an arra* of b*tes.3eturns no of b*tes read or >1 if =,C;=nd of fi!e<is reached. 12.6o imp!ement a 6hrowab!e arra* which c!ass is used. ?ector 9in(ed9ist Stac( Arra*9ist > Answer;6o be Confirmed< 25. 6he method for precompi!ed SJ9 Statement in EDBC is prepareStatement;<. 21. Static binding occurs at Compi!e 6ime 3untime Both at compi!e and runtime. 22. ?irtua! 8ethods are defau!t in

Ea1a C C// > Answer A!! 23. Storage space in -a1a is of the form Stac( Jueue :eap 9ist 2". What is -a1a code embedded in a web page (nown as App!ets Ser1!ets script!ets snippets 2%. Which of the fo!!owing attributes are compu!sor* with an Qapp!etO tag?. code height P width. 2). What does #C,D=BAS=# in an app!et tag specif*?. Ci!es abso!ute path. 2+. What are AccessSpecifiers P Access 8odifiers. Access Specifiers: Ai1e access pre1i!eges to outside app!ications or users. 6he* are :> 'ub!ic: an* one can access pri1ate:on!* c!ass members can access.cannot be inherited. protected: can be accessed b* a deri1ed c!ass. defau!t: can access data from the current director*. Access 8odifiers: Which gi1es additiona! meaning to data methods and c!asses. ;i< Cina!: cannot be modified at an* point of time. 2.. 6oo!s pro1ided b* EDK ;i< -a1ac > compi!er ;ii< -a1a > interpretor ;iii< -db > debugger ;i1< -a1ap > Disassemb!es ;1< app!et1iewer > App!ets ;1i< -a1adoc > documentation generator ;1ii< -a1ah > #C# header fi!e generator 22.:osti!e App!ets:&ts an app!et which when down!oaded attempts to e$p!oit *our s*stem#s resources in an inappropriate manner.&t performs or causes *ou to perform an action which *ou wou!d not otherwise care to perform.

35.3emote,b-ects: ,b-ects that ha1e methods that can be ca!!ed accross 1irtua! machines are 3emote ,b-ects.An ob-ect becomes 3emote b* imp!ementing 3emote &nterface. 31.Compi!ing: Con1ersion of 'rogrammer>readab!e 6e$t into B*tecodes which are p!atform independent is (nown as Compi!ing. 32.Ea1a 'rimiti1e Data 6*pes: B*te>.>bit short>1)>bit int>32>bit 9ong>)">bit C!oat>32>bit f!oating point Boub!e>)">bit f!oating point Char>1)>bit 7nicode 33.What is a unicode? 7nicode is a standard that supports &nternationa! Characters. 3". What are b!oc(s?. 6he* are statements appearing within braces RS. 3%. What are t*pes of Ea1a app!ications?. ;i< Standa!one app!ications;Do browser<. ;ii< App!ets;Browser<. 3). What is the method that gets in1o(ed first in a stand a!one app!ication?. 6he main;<method. 3+. What is throwing an =$ception?. 6he act of passing an =$ception ,b-ect to the runtime s*stem is ca!!ed 6hrowing an =$ception. 3.. What are the pac(ages in EDK?. 6here are . pac(ages ;i< -a1a.!ang;ii<-a1a.uti!;iii<-a1a.io;i1<-a1a.app!et;1< -a1a.awt ;1i< -a1a.awt.image;1ii<-a1a.awt.peer;1iii<-a1a.awt.net 32. What is a thread?. &ts a sing!e sequentia! stream of e$ecution. "5. What is runnab!e?. &ts an &nterface through which Ea1a imp!ements 6hreads.6he c!ass can e$tend from an* c!ass but if it imp!ements 3unnab!e 6hreads can be used in that particu!ar app!ication. "1. What is preempti1e and Don>preempti1e 6ime Schedu!ing?.

'reempti1e: 3unning tas(s are gi1en sma!! portions of time to e$ecute b* using time> s!icing. Don>'reempti1e: ,ne tas( doesn#t gi1e another tas( a chance to run unti! its finished or has norma!!* *ie!ded its time. "2. What is s*nchroni4ation?. 6wo or more threads tr*ing to access the same method at the same point of time !eads to s*nchroni4ation.&f that particu!ar method is dec!ared as s*nchroni4ed on!* one thread can access it at a time. Another thread can access it on!* if the first thread#s tas( is comp!ete. "3. What are the 1arious thread priorities?. ;i< 8in>'riorit*>1a!ue;1<. ;ii< Dorma!>'riorit*>1a!ue;%<. ;iii<8a$>'riorit*>1a!ue;15<. "".What is &nter>6hread communication?. 6o e$change information between two threads. "%.6he pac(age -a1a.app!et.@ has on!* one c!ass. ").Border9a*out is the defau!t !a*out of Dia!og ob-ect. "+.e$ecuteJuer*;< returns 3esu!tSet. "..6hrowab!e c!ass is a sub>c!ass of ob-ect and imp!ements Seria!i4ab!e. "2.Super c!ass of 6e$tArea and 6e$tCie!d is 6e$tComponent. %5. S(e!etons are ser1er side pro$ies and stubs are c!ient side pro$ies. %1. AridBagConstraints c!ass he!ps in positioning of parameters of a component within an ob-ect !aidout using AridBag9a*out. %2. Detscape introduced EScript !anguage > 6rue %3. =1entDe!egation mode! was introduced b* EDK 1.1 > Ca!se %". String6o(eni4er pro1ides two constructors > Ca!se %%. -a1a.app!et is one of the sma!!est pac(age in Ea1a A'& > 6rue %). Drag and Drop A'& consist of -a1a.awt.dnd pac(age > Ca!se %+. What is &'?. &' is &nternet 'rotoco!. &t is the networ( protoco! which is used to send information from one computer to another o1er the networ( o1er the internet in the form of pac(ets.

%.. What is a port?. A port is an 1)>bit address within a computer.'orts for some common &nternet App!ication protoco!s. Ci!e 6ransfer 'rotoco!>21. 6e!net 'rotoco!>23. Simp!e 8ai! 6ransfer 'rotoco!>2%. :*perte$t 6ransfer 'rotoco!>.5. %2.What is h*perte$t?. Soc(ets are endpoints of &nternet Communication.6he* are associated with a host address and a port address.C!ients create c!ient soc(ets and connect them to ser1er soc(ets. 7D' is a connection!ess protoco!. 8&8=;8u!tipurpose &nternet 8ai! =$tension< is a genera! method b* which the content of different t*pes of &nternet ob-ects can be identified. )1. What is an abstract c!ass?. A c!ass which cannot be &nstantiated. )2.Ser1!et3unner options are: >p>port number;.5.5<. >b>bac(!og connections;%5<. >m>ma$imum no.of connection hand!ers;155<. >t>connection timeout in mi!!iseconds >d>ser1!et director* ;current director*< >s>ser1!et properties fi!e )3.:ow man* standard ports are a1ai!ab!e?. 152". )".What is a po!ic*?. &t#s an abstract c!ass for representing the s*stem securit* po!ic* for a Ea1a app!ication en1ironment;specif*ing which permissions are a1ai!ab!e for code from 1arious sources<. Ea1a securit* properties fi!e resides in QEA?A>:,8=OL!ibLsecurit*L-a1a.securit* director*. ?a!ue of 0po!ic*.pro1ider0 shou!d be changed. )%. What are different wa*s of Session>6rac(ing?. ;i< 7ser>Authori4ation ;ii< :idden Ci!es ;iii< 'ersistant Coo(ies ;i1< 739 3ewriting. )). &f the browser does not support coo(ies or if the* are disab!ed how is session trac(ing done?.

Session trac(ing is done b* 739 3ewriting. @ 8u!tip!e requests can be hand!ed b* a ser1!et and it a!so can s*nchroni4e them.e$: ,n> !ine conferencing. @ Ser1!ets ha1e no Araphic 7ser &nterface. @ We can s*nchroni4e the ser1ice;< method for a ma-or performance impact as mu!tip!e requests are in1o!1ed in case of ser1!ets. @ We can ma(e a ser1!et hand!e a sing!e c!ientLrequest b* imp!ementing sing!e threadmode! interface. )+. What is a Swing?. &t is a A7& component with a p!uggab!e !oo( and fee!. ).. What is defau!t 9oo(>and>Cee! of a Swing Component?. Ea1a 9oo(>and>Cee!. )2. Awt Components and Swing Components can be inter>ming!ed in an App!ication > Ca!se +5. What are the features coming with ECC?. ;i< '!uggab!e 9oo(>and>Cee! ;ii< Accessibi!it* A'& ;iii< Ea1a 2DLA'&;EDK 1.2<. ;i1< Drag and Drop Support;EDK 1.2< +1. What does $ mean in -a1a$.swing?. =$tension of -a1a. +2. &mages can be disp!a*ed on Swing Components > 6rue +3. Borders can be changed or added for a 9ightWeight Components > 6rue +". Swing Components are a!wa*s rectangu!ar > Ca!se +%. When Swing components o1er!ap with :ea1*weight components it is the !atter that is on the top > 6rue +). What are the components which are termed to be :ea1*>weight a1ai!ab!e in 9ight> weight component?. ++. What are in1isib!e components?. 6he* are !ight weight components that perform no painting but can ta(e space in the A7&. +.. What is the defau!t !a*out for a Content'ane in ECC?. Border9a*out.

+2. What are the borders pro1ided b* Swing?. ;i< Simp!e ;ii< 8atte iii< 6it!ed

i1< Compound.

.5. What does 3ea!i4ed mean?. 3ea!i4ed mean that the component has been painted on screen or that is read* to be painted. 3ea!i4ation can ta(e p!ace b* in1o(ing an* of these methods. set?isib!e;true< show;< or pac(;<. .1. What is a con1ertor?. &ts an app!ication that con1erts distance measurements between metric and 7.S units. .2. What is the return t*pe of interrupt method?. 1oid. .3. What is the superc!ass of e$ception?. 6hrowab!e. .". What is ser1!et e$ception?. &t indicates that there is a prob!em in the ser1!et. .%. What is the difference between a Can1as and a Scro!! 'ane?. Can1as Scro!!'ane &ts a component A rectangu!ar area where the app!ication can draw or trap input e1ents. &ts a container. &mp!ements hori4onta! and 1ertica! scro!!ing.

.). What are the restrictions imposed b* a Securit* 8anager on App!ets?. i< cannot read or write fi!es on the host that#s e$ecuting it. ii< cannot !oad !ibraries or define nati1e methods. iii< cannot ma(e networ( connections e$cept to the host that it came from i1< cannot start an* program on the host that#s e$ecuting it. 1< cannot read certain s*stem properties. 1i< windows that an app!et brings up !oo( different than windows that an app!ication brings up. .+. Can we access a database using app!ets?. Ges. ... What is the defau!t :ttp3equest method?. doAet;<. .2. What is the !ife c*c!e of a ser1!et?. 3emo1ing :and!ing 4ero or more c!ient requests.9oading and &nitia!i4ing. 25. 3'C stands for 3emote 'rocedure Ca!!. 21. 6he three !a*ers in 38& are App!ication 9a*er 3emote3eference9a*er and Detwor( 9a*er.

What sorting a!gos ha1e their best and worst case times equa! ? Ans. ,;n!ogn< for mergesort and heap sort J. What page rep!acement a!go . has minimumn number of page fau!ts ? Ans. ,ptima!it* a!gorithm J. What is the use of 1irtua! base c!ass in c// Ans. 8u!tip!e !ines between deri1ed c!asses. J. Cind the eccentricit* of a gi1en node in a directed graph J. Con1ert the infi$ to postfi$ for A>;B/C<@;DL=< Ans. ABC/D=L@> J. What is swapping J. Assignment operator targets to Ans. !>1a!ue J. A b*te addressab!e computer has memor* capacit* of 2 power m Kb*tes and can perform 2 power n operations an instruction in1o!1ing three operands and one operator needs ma$imum of >>>bits Ans. 3m / n J. &n round robin schedu!ing if time quatum is too !arge then it degenerates to Ans. CCCS J. What is networ( schema? J. 'ac(et Burst is MMMMMM J. 'icard#s method uses MMMMMMM? Ans. Successi1e Differentiation.

Wh* paging is used ? >OWhich is the best page rep!acement a!go and Wh* ? >OW:at is software !ife c*c!e ? >O:ow much time is spent usua!!* in each phases and wh* ? >OWhat is testing ? >OWhich are the different t*pes of testing ? >OWhich are the different phases in Software !ife c*c!e ;as(ed again< >OWh* is ana!*sis and testing phases 1er* important ? >OWh* networ(s are !a*ered ? What is the ad1antage of that ? >O:ow man* !a*ers are there in ,S& ? Wh* is it ca!!ed ,S& mode! ? >Onetwor( topo!ogies ? >OWhich are the different networ( top!ogies ? >Oan e$amp!e of bus t*pe networ(. >OWhat is the Bandwidth of ethernet ? >O=$p!ain the ad1antage and disad1antage of ethernet ? >OWhich is the protoco! used in ethernet. ;CS8ALCD< Wh* is it ca!!ed so ? >OWhat is the ad1antage of 3ing networ( ? >OCompare it with ethernet. >OWhat is inheritance encapsu!ation etc. >O&f there are too man* page fau!ts what is the prob!em? >O6o ensure one pgm. doesnt corrupt other pgm. in a 8u!ti>pgm. en1iornment what *ou shou!d do?

>OWhich one *ou wi!! use to imp!ement critica! section? Binar* Semaphore >O Which one is not needed for 8u!ti>pgm. en1iornment? options are: 1irtua! memor* securit* time sharing none of the abo1e. >OWhich one is not done b* Data !in( !a*er ? bit stuffing 93C C3C parit* chec( >O Which one is not re!ated to Data !in( !a*er? >O Which one is not suitab!e for c!ient>ser1er app!ication? tcpLip message passing rpc none of the abo1e. >O6erm stic(i!* bit is re!ated to a<(erne! b<unde!etab!e fi!e c< d<none >Osemaphore 1ariab!e is different from ordinar* 1ariab!e b* ? >Ouni$ s*stem is a<mu!ti processing b<mu!ti processing mu!tiuser c<mu!ti processing mu!tiuser mu!titas(ing d<mu!tiuser mu!titas(ing >O$.2% protoco! encapsu!ates the fo!!wing !a*ers a<networ( b<data!in( c<ph*sica! d<a!! of the abo1e e<none of the abo1e >O6C'L&' can wor( on a<ethernet b<to(enring

c<aPb d<none >Oa node has the ip address 13..%5.15.+ and 13..%5.15.2.But it is transmitting data from node1 to node2on!*. 6he reason ma* be a<a node cannot ha1e more than one address b<c!ass A shou!d ha1e second octet different c<c!assB 0 0 0 0 0 d<a b c >Othe ,S& !a*er from bottom to top >Ofor an app!ication which e$ceeds )"( the memor* mode! shou!d be a<medium b<huge c<!arge d<none >Othe condition required for dead !oc( in uni$ sustem is >Oset>user>id is re!ated to ;in uni$< >Obourne she!! has a<histor* record b< c< d< >Owrong statement about c// a<code remo1ab!* b<encapsu!ation of data and code

c<program eas* maintenance d<program runs faster >Owhich is true a<bridge connects dissimi!er 9AD and protoco! insensiti1e b<router 0 0 0 0 0 c<gatewa* 0 0 0 0 0 d<none of the abo1e >Oconst char @ char @ const What is the differnce between the abo1e tow?. >O&n 7ni$ inter process communication ta(e p!ace using?. >OAbout i>node numbers >O8a$ re!a$ab!e permisssion 1a!ue with out gi1ing write permission to others?. >OAbout !n;!in(ing< >O9in(ing across directories?. >Oprocess id for (erne!! process >O1er* first process created b* (erne!! >Ofunction to repaint a window immediate!*?. >OCunction entr* for D99 in win3.1 >Owin 3.1 is a >Owin 3.1 supports which t*pe of mu!ti tas(ing?. >O8essage disp!a*ed when a window is destro*ed >OAbout for(;<? >OAbout send message and post message

>O8essage to !imit the si4e of window >OS*stem ca!! e$ecutab!e binar* fi!e intoa process >OAbout AD& ob-ect?. >OA'& used to hide window >O&nitia!i4e contents of a dia!og?. >>>>>>>>>>>>>>>>C SK&99 S=6>>>>>>> >O:ow do *ou write a program which produces its own source code as its output? >O:ow can & find the da* of the wee( gi1en the date? >OWh* doesn#t C ha1e nested functions? >OWhat is the most efficient wa* to count the number of bits which are set in a 1a!ue? >O:ow can & con1ert integers to binar* or he$adecima!? >O:ow can & ca!! a function gi1en its name as a string? >O:ow do & access command>!ine arguments? >O:ow can & return mu!tip!e 1a!ues from a function? >O:ow can & in1o(e another program from within a C program? >O:ow can & access memor* !ocated at a certain address? >O:ow can & a!!ocate arra*s or structures bigger than )"K? >O:ow can & find out how much memor* is a1ai!ab!e? >O:ow can & read a director* in a C program? >O:ow can & increase the a!!owab!e number of simu!taneous!* open fi!es? >OWhat#s wrong with the ca!! 0fopen;0c:TnewdirTfi!e.dat0 0r0<0?

32. W:A6 &S 8=AD6 BG S6A6&C ?A3&AB9= ?R3=C=3 DA6A S6,3AA= 6=C:D&J7=SS 33. W:A6 &S 8=AD6 BG J7=7=? R3=C=3 ADG DA6A S637C673=S 6=I6S 3". W:A6 &S 8=AD6 BG S6ACK? R3=C=3 ADG DA6A S637C673=S 6=I6S

3%. 6:= '3,C=SS,3 7S=D &D C&3S6 &B8 'C? ;.5.) .5.. N&A" &D6=9< 3). D&CC=3=DC= B=6W==D .52.) ADD .52.+ O O >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> O < W:A6 &S ,'=3A6,3 ,?=39,AD&DA ? O A< 7S&DA 6:= ,'=3A6,3 &D A C7DC6&,D O B< 7S&DA 6:= ,'=3A,6,3 &D A '3,C=D73= O C< A&?&DA D=W C7DC6&,DA9&6G 6, 6:= ,'=3A6,3. O D< D,D= O O 2< C,DS637C6,3S ADD D=S637C6,3S A3= O A< 8ADDA6,3G C,3 A C9ASS &D C// O B< C,DS637C6,3 &S D,6 8ADDA6,3G B76 D=S637C6,3 &S. O C< D=S637C6,3 &S D,6 8ADDA6,3G B76 C,DS637C6,3 &S. O D< D=&6:=3 ,C 6:&S 8ADDA6,3G. O O O 3< 6:= C=A673=S ,C ,,'S A3= O 1<',9G8,3':&S8 2< A7& 3< DA6A ABS63AC6&,D O O A< 1 P 2 O B< 2 P 3 O C< 1 P 3 O D< 1 2 P 3 O O O "< W:A6 &S 6:= '3,C=D73= C,3 SWA''&DA A B ? O A< 68' F A U A F B U B F 68'U O B< A F A / B U B F A > BU A F A > BU O C< A F A > BU B F A / BU A F B > A U O D< A99 ,C 6:= AB,?= O O O %< W:A6 W&99 B= 6:= ?A97= ,C 68' ? O A&?=D A F B F C F D F = F C F % ADD O 68' F ;A / B < @ ;C > D< > ;= L C< U O A< 2 O B< >1

O C< 5 O D< D,D= O O O O 15< 6:= '3&8A3G AD?AD6AA=S ,C A DGDA8&C 9&DK=D O 9&B3A3G A3=: O O ;A< 3=D7C=D S&N= ,C 6:= =I=C76AB9= O O ;B< 8,3= A8=DAB9= 6, 8A&D6=DADC= O O ;C< CAS6=3 =I=C76&,D O O ;D< ;A< ADD ;B< AB,?= O O ;=< ;A< ;B< ADD ;C< AB,?= O O O 11< 3,W&D &S O A< 6:= '3&8A3G C,978D ,C 6:= 6AB9= O B< A 7D&J7= D78B=3 ASS&AD=D 6, =AC: 3,W BG 6:= 7S=3 O C< A DA6A 6G'= W:&C: &S 7S=D 6, S6,3= 6:= ADD3SS ,C O =AC: 3=C,3DS O O 12< 7D&,D &S 6:= ,'=3A6,3 7S=D O A< A=6 6:= C,88,D 3,WS ,C 6:= 6,W ,3 8,3= J7&3=S O B< 6, 8=3A= 6:= 3=S796 ,C 6:= 6,W ,3 8,3= J7&3=S O C< D,D= ,C 6:= AB,?= O O O C,DS&D=3 A 6AB9= =8' W&6: C,99,W&DA S637C673= O O =8' D, > '3&8A3G K=G DA8= SA9A3G O 15 AA 1555 O 25 BB 2555 O 35 CC 3555 O O 13< 6:= C,99,W&DA SJ9 S6A6=8=D6 W&99 3=S796 &D O SGD6AI =33,3 ,3 D,6 O &DS=36 &D6, =8' ?A97=S ;"5 VDD#<U O A< 6:&S W&99 A SGD6AI =33,3 O B< W&99 37D S7C=SSC79G O O O 1"< W:=D W= 37D 6:= C,99,W&DA SJ9

O 7'DA6= =8' S=6 SA9A3G F O D=C,D=;SA9A3G D799 1555 SA9A3G<U O 1< 6:&S W&99 D,6 ACC=C6 ADG 3,WS O 2< 6:&S W&99 7'DA6= 3,WS ,D9G &C 6:= S9A3G &S D799 O 3< 7'DA6= A99 6:= 3,WS. O "< D,D= ,C 6:= AB,?= O O 1%< S=9=C6 S78;SA9A3G< C3,8 =8' A3,7' BG =8'MD, O :A?&DA S78;SA9A3G< O 2555 W&99 3=S796 O A< S78 ,C A99 6:= =8'9,G==#S SA9A3G W:,S= SA9A3G O A3= A3A6=3 6:AD 2555 O B< SA9A3G ,C 6:= =8'9,G==S W:,S= SA9A3G &S A3A6=3 O 6:AD 2555 O C< W&99 A&?= SGD6AI =33,3 O O ASS78= A 6AB9= 61 W&6: 8 3,WS ADD I C,978DS O A 6AB9= 62 W&6: D 3,WS ADD G C,978DS O O C,DS&D=3 6:= C,99,W&DA : O O S=9=C6 @ C3,8 61 62U O O 1). :,W 8ADG 3=C,3DS D,=S 6:= AB,?= S=9=C6 O S6A6=8=D6 3=673D? O A< 8WD O B< 8I / DG O C< DWD O D< 8D O =< 8 / D O O 1+ :,W 8ADG C,978DS D,=S 6:= AB,?= S=9=C6 3=673D? O A< IWG O B< GWI O C< 8I/DG O D< IG O =< I/G O O 1.. C,DS&D=3 6:= C,99,W&DA S=9=C6 S6A6=8=D6 O ; S=9=C6 @ C3,8 61< 7D&,D ;S=9=C6 @ O C3,8 62< O W:=3= 61 P 62 C,99,WS 6:= SA8= O D=C&D&6&,D AS S'=C&C&=D &D J7=S6&,D ". O O 6:= AB,?= S6A6=8=D6 W&99 CA&9 7D9=SS O A< IXF G O B< I O G

O C< IFG O D< I QF0G0 ADG K=G DA6A '3&8A3G 6AB9= C,978D 7S&DA O DA6ABAS= '9 J7=3G =I=C76=D &D6, &DS=36 &D S=9=C6 O B=6W==D DA8= A BF0% CF15U0 V=# V9# O '3&D6C;?HC? S63Y%Z<U &DD&A?<U S63C'G;S63 ?,3AC9= O S63Y25ZU 5 1 >1 5 5 5 HD? >>& E//<U '3&D6C;?HD O 3=673D;>>G<U G< C7DC2;&D6 3=673D;3=61<U O 3=61F0C7DC2;D//<U0 3=61U C7DC1;&D6 '3&D6C;?HD? 3=6<U O 3=6F0C7DC1;&<U0 3=6 &F0%U0 AB,?=. 9,,' =DD9=SS ASC&& O 5 1.2%) '3&D6C;?HC? &<U ;&F05U&QF2%)U&//<0 2% C 2" D O 22 21 = 12 1. 1) 1" 13 12 11 SA2 &D6=3?A9 6&8= O 'A36&C79A3 A6 ,CC73S. =?=D A76,8A6&CA99G =I=C76= O 63&AA=3 CA99&DA =I'9&C&69G 2%< C&3S6. =IC='6 VA# O D.DA8=S S=C,DD S6A36&DA C.DA8=S VA# B.DA8=S A.DA8=S O D&S'9AG=D? DA8=S A.W:&C: ?MAH?U 9&K= W:=3= =8'9,G== O C3,8 C,88ADD: 2".G,7 ?A97=S. 3,W C733=D6 :,9D 9,AD= O C9,S=S C73S,3 ,'=DS S6A6=8=D6 C=6C: 3,WS :A''=DS O 8ADG>6,>8ADG 8ADG>6,>,D= ,D=>6,>8ADG >,D= >6, ,D= O D,C6,3 'A6&=D6 =I&S6S S:&' 3=9A6&,D =D6&6G 6G'= O C,88&6 7'DA6= D=9=6= 63ADSAC6&,DS CA7S=S &DD=I=S O ?&=WS 6AB9=S S6,3=D 3DB8S ADG,D= A9':AD78=3&C S:,79D O C:A3AC6=3 IOC>B ? B:CU O '3&D6C;0HD0 A<U O S O O A< 15 O B< % O C< 5 O D< =33,3 O O )<. &C 6:= 3=8A&DD=3 &S 1 W:=D 6:= &D6=A=3 D &S O D&?&D=D BG 1% W:A6 &S 6:= 3=8A&DD=3 W:=D D &S O D&?&D=D BG %? O Y1Z 1 Y2Z 2 Y3Z 3 Y"Z " Y%Z &6 CADD,6 B= O D=6=38&D=D C3,8 6:= &DC,38A6&,D A&?=D O O 6W, ,'=3A6,3S [ ADD \ C,3 3=A9 D78B=3S A ADD B A3= O D=C&D=D AS C,99,WS: O O ;&< A [ B F A / B &C B,6: A ADD B A3= ',S&6&?= O F 1 ,6:=3W&S= O ;&&< A \ B F ;AB< A/B &C AB &S ',S&6&?= O F 1 ,6:=3W&S= O O +. 6:= ?A97= ,C ; 2 [ 3< [; ;>1< \ %< &S O ;1 \ 2< [ ;;>1< [ %<

O Y1Z 2L3 Y2Z ] Y3Z O 1L3 Y"Z D,D= ,C 6:=S= O O .. 6:= ?A97= ,C ;;1 [ 1< [ 2< > ;15 1..3 [ 9,A O 15 5.1 < &S O 2?1 O Y1Z ;" > 15 1.3<L2 Y2Z 1L. Y3Z O 3L. Y"Z 1%L. O O 2. W:A6 &S A '3,C=SS? O A< A C,88ADD O B< A 9,AA=D &D 7S=3 O C< A C,8'&9=D =I=C76AB9= O D< AD =I=C76&DA '3,A3A8 O =< D,D= ,C 6:= AB,?= O O 15. 6:= 7DD=39G&DA '3,6,C,9 C,3 6:= W,39D W&D= O W=B ; WWW < &S O A< :G'=3 6=I6 63ADSC=3 '3,6,C,9 ;:66'< . O B< W,39D W&D= W=B '3,6,C,9 ;WWW'< . O C< &D6=3D=6 '3,6,C,9 ?=3S&,D ) ;&' ?)< O D< :G'=3 6=I6 8A3K7' 9ADA7AA= ; :689< O O 11< &D ,3AC9= 6:= DA6A 6G'= VDA6=# &S 7S=D 6, S6,3= O A< DA6= A9,D= O B< DA6= ADD 6&8= O C< 6&8= ,D9G O O 12< 3,WD78 &S O A< A 'S=7D, C,978D O B< 6:= ':GS&CA9 S=J7ADC= D78B=3 ,C 6:= 3,W &D 6:= O 6AB9= O C< 7S=3 D=C&D=D C,978D O O J7=S6&,DS 13 > 12 O O ASS78= 6:=3= A3= 6W, 6AB9=S =8' ADD SA9 W&6: O C,99,W&DA S637C673= ADD DA6A O O 6AB9= : =8' O =8'MD, DA8= D='6D, O1 3A8 1 O2 AEAG 2 O3 3A?& 2 O O 6AB9= : SA9

O =8'MD, BAS&C O1 15 555 O2 25 555 O" 35 555 O O O 13< S=9=C6 =8'.DA8= D?9;SA9.BAS&C 5< O C3,8 =8' SA9 O W:=3= =8'.=8'MD, F SA9.=8'MD, O ADD =8'.=8'MD, F 3U O O W:A6 &S 6:= ,76'76 ,C 6:= AB,?= SJ9? O A< 3A?& D799 O B< 3A?& 5 O C< D, 3=C,3DS A3= 3=673D=D BG 6:= SJ9 O D< D,D= ,C 6:= AB,?= O O 1"< S=9=C6 D?9;=8'.DA8= VD, DA8=#< O D?9;SA9.BAS&C 5< O C3,8 =8' SA9 O W:=3= =8'.=8'MD, F SA9.=8'MD,;/<U O A< 3A8 15555 AEAG 25555 3A?& 5 O B< 3A8 15555 AEAG 25555 D, DA8= 5 O C< =33,3 O O 1%< S=9=C6 S78;SA9.BAS&C< O C3,8 SA9 O W:=3= SA9.=8'MD, D,6 &D O ;S=9=C6 =8'MD, C3,8 =8'<U O O A< %5 555 O B< 35 555 O C< 25 555 O D< 15 555 O O 1)< S=9=C6 C,7D6;=8'MD,< C3,8 =8' O A3,7' BG D='6D, O :A?&DA C,7D6;@< O 1U O A< 2 O B< 1 O C< 2 3 O D< =33,3 : D,6 A A3,7' BG =I'3=SS&,D O O 1+< S=9=C6 =8'.DA8= C3,8 =8' O W:=3= =I&S6S ;S=9=C6 #I# C3,8 SA9 W:=3= SA9.=8'MD, O F =8'.=8'MD,<U

O A< 3A8 AEAG 3A?& O B< 3A8 AEAG O C< 3A8 3A?& O D< D, 3,WS S=9=C6=D O O 1.< 7'DA6= SA9 S=6 BAS&C F BAS&C / %555 O W:=3= =8'MD, &D ; S=9=C6 =8'MD, C3,8 W:=3= O D='6D, F 2<U O 6:&S 7'DA6= W&99 7'DA6= :,W 8ADG 3,WS ? O O A< 1 O B< 2 O C< 5 O D< =33,3 O O 12< W:A6 &S 6:= ,76'76 ,C 6:= C,99,W&DA SJ9 : O O S=9=C6 S7BS63;V6=S6 C,3 ,3AC9=# 15< O C3,8 D7A9U O A< 6=S6 C,3 ,3AC9= O B< 6=S6 C,3 O C< ,3AC9= O D< , O =< 3AC9= O O 25< W:A6 &S 6:= ,76'76 ,C 6:= C,99,W&DA : O O &DS=36 &D6, =8' .. O C3=A6= 6AB9= 6=S6 ;6=S6MD, D78B=3;3<<U O O 3,99BACK U O O A< 6AB9= 6=S6 &S C3=A6=D B76 &DS=36 CA&9S O B< 6AB9= 6=S6 &S C3=A6=D ADD &DS=36 A9S, :A''=DS O C< D=&6:=3 6AB9= D,3 &DS=36 :A''=DS O D< 6AB9= &S D,6 C3=A6=D B76 &DS=36 :A''=DS O O 21< W:&C: ,C 6:= C,99,W&DA &S 637= AB,76 A '3,C=D73= O? O O A< CAD 3=673D A ?A97= O B< CAD B= 7S=D &D SJ9 S6A6=8=D6 O C< A99 ,C 6:= AB,?= O D< D,D= ,C 6:= AB,?= O O 22< W:&C: ,C 6:= C,99,W&DA &S 637= AB,76 7D&J7=

O &DD=I ? O O A< A99 ?A97=S S:,79D B= 7D&J7= O B< D799 ?A97=S A3= D,6 ACC='6=D O C< D,D= ,C 6:= AB,?= O D< A P B O O O 23< W:&C: ,C 6:= C,99,W&DA &S 637= AB,76 C,3=&AD O K=G ? O O A< A99,W D799 ?A97=S O B< A99,W D7'9&CA6= ?A97=S O C< A P B O D< D,D= ,C 6:= AB,?= O O 2"< W:&C: ,C 6:= C,99,W&DA &S 637= ? O O A< D799 &S SA8= AS B9ADK O B< D799 &S SA8= AS N=3, O C< A P B O D< D,D= ,C 6:= AB,?= O O O 2%< :,W 8ADG E,&D C,DD&6&,DS A3= D==D=D &D A E,&D O J7=3G 6, O A?,&D A CA36=S&AD '3,D7C6 ? O O A< D,. ,C 6AB9=S / 1 O B< D,. ,C C,978DS / 1 O C< D,. ,C 6AB9=S > 1 O D< D,. C,978DS > 1 O O O SA3 O O1 C O2 A O3 B O" B O% A O) 1 O+ 1 O. 2 O2 D O 15 A

O 11 B O 12 A O 13 C O 1" B O 1% B O 1) A O 1+ B O 1. A O 12 C O 25 A O 21 D O 22 A O 23 C O 2" D O 2% C O O >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> O .A CA8' C,7DS=9,3 &S ,3AAD&N&DA A AA8= A8,DA D&D= O CA8'=3S. 6:3== ,C 6:= CA8'=3S > C A ADD : > A3= O =&A:6 G=A3 ,9DSU 6:= ,6:=3 S&I CA8'=3S > E K 8 , O ' ADD S > A3= D&D= G=A3 ,9DS. 6W, >6=A8S > 6=A8 1 O ADD 6=A8 2 > W&99 B= ,3AAD&N=D. 6=A8 1 W&99 :A?= O C,73 CA8'=3SU 6=A8 2 W&99 :A?= C&?= CA8'=3S. &D O ASS&AD&DA CA8'=3S 6, 6=A8S 6:= C,7DS=9,3 ,BS=3?=S O 6:= C,99,W&DA 3=S63&C6&,DS: O O 6=A8 1 87S6 :A?= =IAC69G 6W, ,C 6:= =&A:6 > G=A3 > O ,9D CA8'=3S. O K 87S6 B= ,D 6:= SA8= 6=A8 AS , O C ADD E CADD,6 B= ,D =&6:=3 ,C 6:= 6=A8S 6,A=6:=3. O 8 ADD ' CADD,6 B= ,D =&6:=3 ,C 6:= 6=A8S 6,A=6:=3. O &C K &S ,D 6:= SA8= 6=A8 AS ' 6:=D : 87S6 B= ,D O 6:= 6=A8 6:A6 D,=S D,6 &DC97D= K ADD '. O O ). W:&C: ,C 6:= C,99,W&DA &S A ',SS&B9= O ASS&AD8=D6 ,C CA8'=3S 6, 6:= 6W, 6=A8S? O 6=A8 1 6=A8 2 O Y1Z C A K , : E 8 ' OS O Y2Z C A 8 S : E K , O' O Y3Z C : E 8 A K , ' OS O Y"Z C : 8 S A E K ,

O' O Y%Z C K ' S A : E 8 O, O O +. &C S ADD , A3= ,D 6=A8 2 6:= CA8'=3S O ASS&AD=D 6, 6=A8 1 C,79D B= O Y1Z C : K 8 Y2Z A : E K Y3Z A : O E ' Y"Z A : K 8 Y%Z A E 8 ' O O .. &C : ADD K A3= ,D 6=A8 2 W:&C: ,C 6:= O C,99,W&DA &S A 'A&3 ,C CA8'=3S W:, 87S6 B= ,D 6=A8 O 1? O Y1Z C ADD 8 Y2Z C ADD , Y3Z C ADD ' Y"Z O E ADD ' Y%Z 8 ADD S O O2 &C C 8 ADD S A3= ,D 6=A8 1 W:&C: O ,C 6:= C,99,W&DA 87S6 B= 637=? O Y1Z A &S ,D 6=A8 2 Y2Z : &S ,D 6=A8 2 Y3Z O K &S ,D 6=A8 1 O Y"Z , &S ,D 6=A8 1 Y%Z ' &S ,D 6=A8 1 O O 15. &C A &S ,D 6:= SA8= 6=A8 AS : W:&C: ,C 6:= O C,99,W&DA 87S6 B= 637=? O Y1Z A &S ,D 6:= SA8= 6=A8 AS E Y2Z O 8 &S D,6 ,D 6:= SA8= 6=A8 AS S O Y3Z ' &S ,D 6:= SA8= 6=A8 AS S Y"Z C &S O D,6 ,D 6:= SA8= 6=A8 AS 8 O Y%Z E &S D,6 ,D 6:= SA8= 6=A8 AS ' O O 11. W:A6 &S 6:= ,76'76 ,C 6:= C,99,W&DA SJ9 : O O S=9=C6 S7BS63;V6=S6 C,3 ,3AC9=# 15< O C3,8 D7A9U O A< 6=S6 C,3 ,3AC9= O B< 6=S6 C,3 O C< ,3AC9= O D< , O =< 3AC9= O O 12. A '9LSJ9 B9,CK CAD =I&S6 W&6: O O A< D=C9A3= S=C6&,D A9,D= O B< B,DG A9,D= O C< =IC='6&,D A9,D= O D< D=C9A3= ADD =IC='6&,D O

O 13. W:&C: ,C 6:= C,99,W&DA &S ?A9&D AB,76 ?&=WS ? O O A< ?&=W CAD B= BAS=D ,D9G ,D A S&DA9= 6AB9= O B< ?&=W CAD B= BAS=D ,D 8,3= 6:AD ,D= 6AB9= O C< ?&=W &S 7S=D 6, S6,3= DA6A O D< D,D= ,C 6:= AB,?= O O 1". W:&C: ,C 6:= C,99,W&DA &S 637= AB,76 7D&J7= O &DD=I ? O O A< A99 ?A97=S S:,79D B= 7D&J7= O B< D799 ?A97=S A3= D,6 ACC='6=D O C< D,D= ,C 6:= AB,?= O D< A P B O O 1%< 6:= 3 ,'=3A6,3S 7S=D &D 6:= 3=9A6&,DA9 8,D=9 O A3= O A. S=9=C6 7D&,D '3,E=C6 O B. S=9=C6 E,&D &D6=3S=C6 O C. S=9=C6 '3,E=C6 E,&D O D. D,D= ,C 6:= AB,?= O O 1)< W:A6 &S 6:= 8AI&878 ?A97= ,C AD &D6=A=3 6:A6 CAD O B= S6,3=D &D A 2 BG6= S&AD=D &D6=A=3 DA6A6G'=: O A< 32+). O B< )%%3) O C< " O D< 155 O =< D,D= ,C 6:= AB,?= O O 1+< 6AB9= =8'MSA9 :AS 25 3,WS W&6: SA9A3G AB,?= 255 O. O :,W 8ADG 3,WS D, 6:= C,99,W&DA J7=3G W&99 O 3=63&=?= ? O O S=9=C6 =8'MDA8= C3,8 =8'MSA9 O W:=3= SA9 O 255 O ADD 3,WD78 O 15 U O O A< 15 O B< 25 O C< D, 3,WS S=9=C6=D O O 1.< D=C9A3= O DA8=1 ?A3C:A32;15<U O DA8=2 C:A3;15<U

O B=A&D O DA8=1 :F VABC#U O DA8=2 :F VABC# O &C DA8=1 F DA8=2 6:=D O '3&D6;0:&0<U O =9S= O '3&D6;0:=99,0<U O =DD &CU O =DDU O W:A6 &S 6:= ,76 '76 ,C AB,?= '9LSJ9 O A< :& O B< :=99, O C< =33,3 > C:A3 CAD D,6 B= C,8'A3=D W&6: ?A3C:A32 O O 12< W:&C: C9A7S= W,79D G,7 7S= 6, =IC97D= 3,WS O B=C,3= A3,7'&DA O 6:=8 ? O O A< W:=3= O B< :A?&DA O C< A3,7' BG O D< 8&D7S O O 25< W:&C: 6G'= ,C =D6&6G 3=9A6&,D S:&' =I&S6S O B=6W==D 'A6&=D6 ADD D,C6,3 ? O A< ,D= >6, >,D= O B< ,D=>6,>8ADG O C< 8ADG>6,>,D= O D< 8ADG>6,>8ADG O O 21< W:A6 :A''=DS W:=D 3,WS A3= C,7DD 7S&DA A C=6C: O S6A6=8=D6 ? O A< 6:= C73S,3 ,'=DS O B< 6:= C73S,3 C9,S=S O C< 6:= C733=D6 3,W ?A97=S A3= 9,AD= &D6, ?A3&AB9=S O D< ?A3&AB9= A3= C3=A6=D 6, :,9D 6:= C733=D6 3,W O ?A97=S. O O 22< =?A97A6= 6:&S '9LSJ9 B9,CK: O O D=C9A3= O ?M9,W=3 D78B=3 :F 2U O ?M7''=3 D78B=3 :F 155U O ?MC,7D6 D78B=3 :F 1U O O B=A&D

O C,3 & &D ?M9,W=3..?M9,W=3 9,,' O &DS=36 &D6, 6=S6;3=S796S< O ?A97=S ;?MC,7D6<U O ?MC,7D6 :F ?MC,7D6 / 1U O =DD 9,,'U O =DDU O O :,W 8ADG 6&8=S W&99 6:= =I=C76AB9= S6A6=8=D6S &DS&D= O 6:= C,3 9,,' =I=C76=? O A< 5 O B< 1 O C< 2 O D< 2. O =< 155 O O 23< C,3 =?=3G D=W BA99'9AG=3 ADD=D 6, 6:= '9AG=3 O 6AB9= A 3=C,3D 87S6 B= &DS=36=D &D6, 6:= O '9AG=3MBA6MS6A6 6AB9=. G,7 :A?= W3&66=D A 63&AA=3 O 6, ACC,8'9&S: 6:&S 6ASK. O O 6, W:&C: 6&8&DA W&99 6:&S 63&AA=3 B= ASS&AD=D? O A< AC6=3 O B< B=C,3= O C< S6A6=8=D6 O A< '3=>&DS=36 O O 2". &DS63 C7DC6&,D &S 7S=D 6,: O A< 3=673D 6:= ',S&6&,D W&6:&D S63&DA1 W:=3= S63&DA2 O &S '9AC=D O B< 3=673D 6:= 9=DA6: ,C 6:= S63&DA O C< 3=673D ',36&,D ,C S63&DA O D< D,D= ,C 6:= AB,?= O O 2%. 3,W&D &S 3='3=S=D6=D &D 6:= C,99,W&DA C,38A6: O A< 3,W.B9,CK.C&9= O B< C&9=.B9,CK.3,W O C< B9,CK.3,W.C&9= O D< B9,CK.3,W O O O SA" O O1 C O2 C O3 A O" D

O% C O) " O+ 3 O. 3 O2 1 O 15 1 O 11 C O 12 B O 13 B O 1" A O 1% B O 1) A O 1+ A O 1. B O 12 A O 25 C O 21 C O 22 B O 23 A O 2" A O 2% C@ O @ 6:=3= &S '3,B9=8 &D J7=S6&,D 'A'=3 O O >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> O 1. W:&C: ,C 6:= C,99,W&DA &S A DA=8,D '3,C=SS O A. A=66G '3,C=SS O B. 9,A&D '3,C=SS O C. C S:=99 '3,C=SS O D. A99 6:= AB,?= O O O O 2. 7D&I &D6=3 '3,C=SS C,887D&CA6&,D &S ACC,8'9&S:=D O 6:3,7A: 6:= 7S= ,C O A. S=8A':,3=S O B. 8=SSAA= J7=7=S O C. S:A3=D 8=8,3G O D. A99 6:= AB,?= O =. D,D= ,C 6:= AB,?= O O O O 3. W:&C: ,C 6:= C,99,W&DA A3= ?A9&D 9AG=3S &D 6:= O &S,>,S& A3C:&6=C673= O A. A''9&CA6&,D 9AG=3

O B. S=SS&,D 9AG=3 O C. '3,6,C,9 9AG=3 O D. A ADD B ,D9G O =. A B ADD C O O O O ". W:A6 &S 3S>232C O A. A ':GS&CA9 &D6=3CAC= C,3 DA6A C,887D&CA6&,D O B. A CA3D &D A 'C O C. B=9,DAS 6, 6:= ,S& '3,6,C,9 S7&6= O D. DA8= ,C A CAB9= C,8'ADG O =. A99 ,C 6:= AB,?= O O O O %. A SA?= ',&D6 &S O A. A SGDC:3,D&NA6&,D ',&D6 &D DB O B. &DD&CA6=S 6:A6 DB B7CC=3S 87S6 B= SA?=D &D D&SK O 6, :=9' &D 3=C,?=3G O C. A ',&D6 W:&C: &DD&CA6=S A '9AC= &D 63ADSAC6&,D O C,3 'A36&9A 3,99BACKS 9A6=3 O D. AD A76,>6&8=3 8=C:AD&S8 6:A6 &DD&CA6=S 6, 7=S3 O 6, SA?= :&S W,3K O O O O O O ). &D 3DB8S VS W:&C: ,C 6:= C,99,W&DA A3= 637= O A. A 3=9A6&,D 87S6 A9WAGS :A?= A '3&8A3G K=G O B. A 3=9A6&,D 87S6 A9WAGS :A?= A C,3=&AD K=G O C. A 3=9A6&,D 87S6 :A?= &DD=I=S O D. A99 ,C 6:= AB,?= O =. D,D= ,C 6:= AB,?= O O O O +. B7CC=3SF%5 &D C,DC&A.SGS 8=ADS O O A. 8AI&878 ,C %5 6=8',3A3G B7CC=3S CAD B= 7S=D 6:= O S,36 C,88ADD O B. C,3 B7CC=3&DA 6:= 8,S6 3=C=D6 %5 C,88ADDS C,3 O D,SK=G O C. 7S=D C,3 D&SK CA6C:&DA O D. D,D= ,C 6:= AB,?=

O O O O .. &D6 21 &S O A. D,S &D6=337'6 O B. B&,S &D6=337'6 O C. :A3DWA3= &D6=337'6 O D. D,D= ,C 6:= AB,?= O O O O 2. 6:= 3 ,'=3A6,3S 7S=D &D 6:= 3=9A6&,DA9 8,D=9 A3= O A. S=9=C6 7D&,D '3,E=C6 O B. S=9=C6 E,&D &D6=3S=C6 O C. S=9=C6 '3,E=C6 E,&D O D. D,D= ,C 6:= AB,?= O O O O 15. &C G,7 A3= 7S&DA D=?=9,'=3 2555 6:= C,99,W&DA O &S 637= O A. 3=S63&C6=D '3,C=D73=S CAD B= 7S=D &D A99 O 63&AA=3S O B. 3=S63&C6=D '3,C=D73=S CAD B= 7S=D &D 3=S63&C6=D O 8,D= O C. 3=S63&C6=D '3,C=D73=S CAD B= 7S=D &D K=G O 63&AA=3S O D. D,D= ,C 6:= AB,?= O O O O O 11. 6:= D&CC=3=DC= B=6W==D C,3K ADD =I=C &D 7D&I ,S O &S O A. C,3K C3=A6=S A C:&9D '3,C=SS ADD =I=C C3=A6=S A O 'A3=D6 '3,C=SS O B. C,3K C3=A6=S A C:&9D '3,C=SS ADD =I=C =I=C76=S A O '3,C=SS O C. C,3K C3=A6=S A 'A3=D6 '3,C=SS ADD =I=C =I=C76=S O A '3,C=SS O D. C,3K C3=A6=S AD &D=D6&CA9 C:&9D '3,C=SS ADD =I=C O ,?=39AGS 6:= =I&S6&DA '3,C=SS. O O O O 12. W:&C: ,C 6:= C,99,W&DA '3,C=SS SC:=D79&DA

O A9A,3&6:8S 8AG 9=AD 6, S6A3?A6&,D? O A. 3,7DD 3&B,D O B. C&3S6 C,8= C&3S6 S=3?= O C. '3&,3&6G BAS=D O D. S:,36=S6 E,B C&3S6 O =. A99 ,C 6:= AB,?= O O O O O 13. &D A 6G'&CA9 D&SK SGS6=8 &C G,7 W=3= 6, ,3D=3 O S==K 6&8= 9A6=DCG ADD 63ADSC=3 6&8= &D 6:= ,3D=3 O C3,8 :&A:=S6 6, 9,W=S6 6:= ,3D=3 W,79D B=: O A. 63ADSC=3 6&8= 9A6=DCG S==K 6&8= O B. S==K 6&8= 63ADSC=3 6&8= 9A6=DCG O C. 63ADSC=3 6&8= S==K 6&8= 9A6=DCG O D. S==K 6&8= 9A6=DCG 63ADSC=3 6&8= O =. 9A6=DCG S==K 6&8= 63ADSC=3 6&8= O O O

hat is the output of the abo1e code? O O a< 6he code does not compi!e. O b< 6he fina! resu!t of the e$pression is a doub!e O c< 6he fina! resu!t of the e$pression is a f!oat O d< 6he fina! resu!t of the e$pression is an int O O Answer : b O O Juestion 23: O O Where in a constructor can *ou p!ace a ca!! to a O constructor defined in the super c!ass? O O a< An*where O b< 6he first statement in the constructor O c< 6he !ast statement in the constructor O d< Gou can#t ca!! super in a constructor O

O Se!ect the most appropriate answer. O O Answer : b O O Juestion 2": O O Which of the fo!!owing wi!! compi!e correct!* O O a< short m*short F 22SU O b< String name F #=$ce!!ent tutoria! 8r Areen#U O c< char c F 1+cU O d< <int 4 F 51%U O Answer : d Which of the fo!!owing is not true about O seria!i4ation O O a< ,n!* an ob-ect that imp!ements the Seria!i4ab!e O interface can be sa1ed and restored O b< 6he Seria!i4ab!e interface defines no members O c< transient 1ariab!es can be sa1ed b* the O seria!i4ation faci!ities O d< static 1ariab!es are not sa1ed b* the O seria!i4ation faci!ities O O Answer : c O

S=C6&,D 2: O 1). D,MDA6AMC,7DD =$ception is raised on!* O O ;A< When the Where c!ause of an e$p!icit cursor does O not match an* rows O ;B< for S=9=C6 ..&D6, statements when the where O c!ause of the quer* does not match an* rows O ;C< for updateLde!ete statement when the W:=3= O c!ause does not match an* rows O ;D< A!! the Abo1e

O O 1+. Consider the fo!!owing '9LSJ9 Code O O D=C9A3= O Cursor cMemp is O se!ect @ O from emp1 O where dno F 15 O for update U O 1Mempinfo cMempHrowt*pe U O B=A&D O C,3 1Mempinfo in cMemp 9,,' O update emp1 O set sa!ar* F sa!ar* @ 15 O where current of cMemp U O commit U O =DD 9,,' U O =DD U OL O O Data in =8' 6ab!e : O O =mpno Dame Sa! Dno O O 155 abc 1555 15 O 255 def 2555 15 O 355 ghi 3555 25 O O What is the output ? O O ;A< ;=mpno Sa!< >O ;155 15555< ; O 255 25555< ;355 35555< O ;B< ;=mpno Sa!< >O O ;155 15555< ;255 25555< ;355 3555< O ;C< =rror : 07se of Where Current of 3estricted O0 O ;D< =rror : 0Cetch ,ut of Sequence 0 O O 1.. Consider the fo!!owing '9LSJ9 code. O O dec!are O 1Mchar 1archar2;3< :F #ABCD#U O begin O dbmsMoutput.putM!ine;#?a!ue of 1Mchar # ^^ 1Mchar<U O O e$ception

O when others then O dbmsMoutput.putM!ine;#=$ception Captured#<U O endU OL O O O What is the output ? O O ;A< 0?a!ue of 1Mchar ABCD0 O ;B< 0=$ception Captured0 O ;C< ,3A>5)%52: '9LSJ9: numeric or 1a!ue error O ;D< ,3A>1"%.>in1a!id !ength inside 1ariab!e O character string O O 12. Consider the fo!!owing '9LSJ9 Code O O dec!are O empno emp1.empnoHt*pe U O begin O O se!ect empno O into empno O from emp1 O where sa! O 1555 O and rownum Q 2 U O O update emp1 O set sa! F sa! / 1555 O where empno F empno U O O e$ception when others then O dbmsMoutput.putM!ine;#=$ception 3aised# <U O O O end U OL O O Data in =mp 6ab!e : O O =mpno Dame Sa! O 155 ABC 1555 O 255 D=C 2555 O 355 A:& 3555 O O What wi!! be the output ? O

O ;A< ;=mpno Sa!< >O ;155 1555 255 3555 355 "555< O ;B< ;=mpno Sa!< >O ;155 1555< ;255 3555< ;355 3555< O ;C< ;=mpno Sa!< >O ;155 2555< ;255 3555< ;355 "555< O ;D< =rror: &n1a!id usage of 1ariab!e name which is O same as co!umn name O O 25. Consider the fo!!owing '9LSJ9 Code O O Create or rep!ace procedure 6estM'roc; O pMempno in number O pMdno in number O pMsa! in out number < is O 1Mtemp1ar number U O begin O if pMsa! Q 1555 then O pMdno F 25 U O pMsa! F pMsa!/ 1555 U O end if U O end U OL O O When the abo1e procedure is compi!ed it wi!! O O ;A< Create procedure 6estM'roc if one a!read* O e$ists rep!ace it. O ;B< =rror : =$pression #'MDD,# cannot be used as an O assignment target O ;C< =rror : #'MSA9# cannot be used as both 0&n0 and O 0,ut0 O ;D< Warning : 1Mtemp1ar not used an*where O O 21. &dentif* the 1a!ue of !Mresu!t at the end of the O fo!!owing '9LSJ9 b!oc(: O O D=C9A3= O !M1arM1 D78B=3 :F 1U O !M1arM2 C:A3;"< :F #6est#U O !Mresu!t ?A3C:A32 ;25<U O B=A&D O D=C9A3= O !M1arM1 ?A3C:A32;15< :F 15U O !M1arM3 D78B=3 :F 2U O B=A&D O !Mresu!t :F !M1arM3 @ !M1arM1U O =DDU O !Mresu!t :F !M1arM2 ^^ !Mresu!t ^^ !M1arM1U

O dbmsMoutput.putM!ine ;!Mresu!t<U O =DDU O O O ;A< 6est21 O ;B< 6est2515 O ;C< 6est251 O ;D< 6est215 O O 22. Consider the fo!!owing '9LSJ9 b!oc(. O O D=C9A3= O !M1ar D78B=3 :F 1U O B=A&D O &C ;!M1ar F 1< 6:=D O A,6, EumpU O =DD &CU O &C ;!M1ar Q %< 6:=D O QO O dbmsMoutput.putM!ine ;!M1ar<U O =DD &CU O =DDU O O Which of the fo!!owing statements is correct? O O ;A< 7sage of !abe!s is in1a!id in '9LSJ9. O ;B< A,6, cannot branch into an &C statement O ;C< A,6, is not a 1a!id s*nta$. O ;D< ;A< and ;C< are correct statements. O O 23. Consider the fo!!owing '9LSJ9 b!oc(. O O D=C9A3= O !M1ar1 D78B=3 :F PaU O !M1ar2 D78B=3 :F PbU O DataMprob!em =IC='6&,DU O B=A&D O B=A&D O &C ;!M1ar1 O !M1ar2< 6:=D O 3A&S= D,MDA6AMC,7DDU O =9S= O 3A&S= DataM'rob!emU O =DD &CU O =IC='6&,D O W:=D D,MDA6AMC,7DD 6:=D O dbmsMoutput.putM!ine ;#Do Data#<U

O W:=D DataM'rob!em 6:=D O 3A&S= DataMprob!emU O =DDU O =IC='6&,D O W:=D DataMprob!em 6:=D O dbmsMoutput.putM!ine ;#Data 'rob!em#<U O O =DDU O O &dentif* which of the fo!!owing statements isLare O correct. O O ;A< ,utput printed is #Do Data# when a O b . O ;B< =$ception cannot be used to mo1e from inner to O outer b!oc(. O ;C< ,utput printed is #Data 'rob!em# when b O a . O ;D< Statements A and C are correct. O O 2". =mp!o*ee tab!e has records of 15 emp!o*ees. O =$ecution of the fo!!owing '9LSJ9 b!oc( gi1en be!ow O wi!! resu!t in : O O D=C9A3= O C73S,3 C1 &S O S=9=C6 name basic/hra sa!ar* O C3,8 emp!o*ee U O &ncenti1e D78B=3U O !Mname ?A3C:A32;35<U O !Msa!ar* D78B=3U O B=A&D O 9,,' O Cetch c1 &D6, !Mname !Msa!ar*U O =I&6 W:=D c1HD,6C,7DD ,3 O c1H3,WC,7D6 F 2 U O &ncenti1e :F !Msa!ar* @ 5.1 U O =DD 9,,'U O c!ose c1U O dbmsMoutput.putM!ine ;#Dame > # ^^ !Mname<U O dbmsMoutput.putM!ine ;#&ncenti1e F# ^^ O &ncenti1e<U O =DDU O O O ;A< =rror as a!ias cannot be used in cursor. O ;B< Dame P &ncenti1e of nine emp!o*ees wi!! be O printed.

O ;C< =rror as HD,6C,7DD P H3,WC,7D6 cannot be used O with e$p!icit cursors. O ;D< =rror > &n1a!id cursor O O 2%. Consider the procedure gi1en be!ow: O O '3,C=D73= ca!cMbonus ;sa!ar* &D &D6=A=3 O grossMsa!ar* &D ,76 D78B=3 O bonus ,76 D78B=3< &S O B=A&D O &C ;sa!ar* O 1555< 6:=D O bonus :F Sa!ar* @ .1 U >> statement 1 O =9S= O sa!ar* :F Sa!ar* @ 2U >> statement 2 O bonus :F sa!ar* @ 5.1 U >> statement 3 O =DD &CU O grossMsa!ar* :F Sa!ar* @ 2 U >> statement " O =DDU O O ;A< Do errors are there in the '9LSJ9 b!oc( O ;B< Statements 1 and 3 wi!! resu!t in error. O ;C< Statement 2 wi!! resu!t in error. O ;D< Statements 1 2 and 3 wi!! resu!t in error. O O O O 2). Consider the fo!!owing data O O 6AB9= A 6AB9= B O C,91 C,91 O >>>>>> >>>>>>> O 15 1% O 25 25 O 35 2% O "5 35 O %5 3% O )5 "5 O +5 "% O .5 %5 O 15 3% O 155 )5 O )% O 35 O .5 O 25 O 155

O O O se!ect count;@< O from ;se!ect A1.co!1 co!1 O from A A1 A A2 O where A1.co!1 F A2.co!1 O 7D&,D A99 O se!ect A.co!1 co!1 O from A B O where A.co!1;/< F B.co!1 <U O O What wou!d be output of the abo1e SJ9 quer*? O O ;A< 2% O ;B< 2+ O ;C< 22 O ;D< error O O 2+. Consider the fo!!owing DD9 O O create tab!e emp; O empno number O name char;35< O sa! number O deptno number O manager number< O O create tab!e dept; O deptno number O name char;35< O !ocation char;35<< O O O i< create 1iew 1iew1 as O se!ect !ocation count;empno< empMcount O from emp dept O where emp.deptno F dept.deptno O group b* !ocationU O O ii< create 1iew 1iew2 as O se!ect empno name !ocation O from emp dept O where emp.deptno F dept.deptnoU O O iii< create 1iew 1iew3 as O se!ect @

O from emp deptU O O Which is the correct 1iew definition ? O O ;A< i O ;B< i and ii O ;C< ii and iii O ;D< A!! O O 2.. What is the output of the SJ9 statement O O se!ect f!oor;;cei!;>5."2< > abs;round;>5.)"<<<L2< O from dua!U O O ;A< >2 O ;B< >1 O ;C< 5 O ;D< 1 O O 22. Consider the fo!!owing data O O 6ab!e S67D=D6 O O Dame sub-ect status O >>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>> O Student1 Sub1 ' O Student1 Sub2 C O Student2 Sub1 ' O Student3 Sub2 C O Student" Sub1 C O Student" Sub2 ' O Student% Sub1 ' O Student% Sub2 ' O Student) Sub1 C O Student) Sub2 C O O i< se!ect @ from student O where status F #'# ,3 status F #C# ADD sub-ect O F #Sub1#U O O ii< se!ect @ from student O where ;status F #'# ,3 status F #C#< ADD O sub-ect F #Sub1#U O O iii< se!ect @ from student O where sub-ect F #Sub1# ADD status F #'# ,3

O status F #C#U O O i1< se!ect @ from student O where status F #'# ,3 ;status F #C# ADD O sub-ect F #Sub1#<U O O O Which statements wou!d produce same output O O ;A< i P ii O ;B< ii P iii O ;C< iii P i1 O ;D< i P i1 O O 35. Consider the fo!!owing D89 operation a!ong with O tab!e data from abo1e question O O i< update student s1 O set s1.status F #'# O where s1.sub-ect F O ; se!ect distinct;s2.sub-ect< O from student s2 O where s1.name F s2.name <U O O ii< de!ete from student s1 O where status O #C# O and s1.name not in O ; se!ect s1.name O from student s2 O where s2.sub-ect F #Sub2#<U O O iii< update student s1 O set s2.status F #'# O where s1.sub-ect in O ; se!ect s2.sub-ect O from student s2 O where s2.status F #C#<U O O Which statement;s< are incorrectLerrors out: O O ;A< i P ii O ;B< ii P iii O ;C< i P iii O ;D< i ii P iii O O

O Answers:a d d c d c d c a a c b b d a b d c c b c b d d c b a b d c O >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> O O O 11. Which of the fo!!owing is not true about O -sp:forward O O ;A< 6his a!!ows the request to be forwarded to O another ES' a ser1!et or a static resource. O ;B< 6he resource to which the request is being O forwarded shou!d be in the same conte$t as the ES' O dispatching the request O ;C< =$ecution in the current ES' stops when it O encounters -sp:forward tag O ;D< 6he output stream need not be buffered and it O can contain some output written to it. O O 12. A session has been created b* the c!ient. &f the O c!ient does not continue the session within a O specified time which of the fo!!owing wi!! not O happen O O O ;A< the ser1er wi!! e$pire the session and de!ete O a!! data associated with the session O ;B< the ser1er wi!! e$pire the session but the data O associated with the session are retained O ;C< 6he session (e* is in1a!idated O ;D< 6he o!d session (e* is not associated with an* O session O O O O ). As per the EDBC Specification for SJ9 to Ea1a O Datat*pe 8appings which of the fo!!owing statements O is correct? O O a< 6he SJ9 datat*pe D,7B9= maps to the Ea1a datat*pe O f!oat O b< 6he SJ9 datat*pe D,7B9= maps to the Ea1a datat*pe O !ong O c< 6he SJ9 datat*pe D,7B9= maps to the Ea1a datat*pe O doub!e O d< 6he SJ9 datat*pe D,7B9= maps to the Ea1a datat*pe

O int O O Answer : c O O +.Assuming a method contains code which ma* raise an O =$ception ;but not a 3untime=$ception< what is the O correct wa* for a method to indicate that it e$pects O the ca!!er to hand!e that O e$ception: O O A< throw =$ception O B< throws =$ception O C< new =$ception O D< Don#t need to specif* an*thing O O Answer: B O O .. As per the EDBC Specification for Ea1a to SJ9 O Datat*pe 8appings which of the fo!!owing statements O is correct? O O a< 6he Ea1a datat*pe !ong maps to the SJ9 datat*pe O 3=A9 O b< 6he Ea1a datat*pe !ong maps to the SJ9 datat*pe O D,7B9= O c< 6he Ea1a datat*pe !ong maps to the SJ9 datat*pe O &D6=A=3 O d< 6he Ea1a datat*pe !ong maps to the SJ9 datat*pe O B&A&D6 O O Answer : d O O 2.What c!ass must an inner c!ass e$tend: O O A< 6he top !e1e! c!ass O B< 6he ,b-ect c!ass O C< An* c!ass or interface O D< &t must e$tend an interface O O Answer: C O O 15.What is the effect of adding the si$th e!ement to O a 1ector created in the fo!!owing manner: O O new ?ector;% 15<U O

O A< An &nde$,ut,fBounds e$ception is raised. O B< 6he 1ector grows in si4e to a capacit* of 15 O e!ements O C< 6he 1ector grows in si4e to a capacit* of 1% O e!ements O D< Dothing the 1ector wi!! ha1e grown when the O fifth e!ement was added O O Answer: C O O O O 11. What is the 1a!ue returned b* O O 0abcd0 instanceof ,b-ect O A< 0abcd0 O B< true O C< fa!se O D< String O O Answer: B O O 12. Which of the fo!!owing are true about O constructors? O O A< A c!ass inherits its constructors from its O parent O B< 6he compi!er supp!ies a defau!t constructor if O no constructors are pro1ided for a c!ass O C< A!! constructors ha1e a 1oid return t*pe O D< A constructor cannot throw an e$ception O O Answer: B O O 13. Which of the fo!!owing are true about an O unreachab!e ob-ect? O O A< &t wi!! be garbage co!!ected O B< &ts fina!i4e;< method wi!! be in1o(ed O C< &t can become reachab!e again O D< &t has a nu!! 1a!ue O O Answer: C O O 1". Which of the fo!!owing must be true of the O ob-ect thrown b* a throw statement?

O O A< &t must be assignab!e to the 6hrowab!e t*pe O B< &t must be assignab!e to the =rror t*pe O C< &t must be assignab!e to the =$ception t*pe O D< &t must be assignab!e to the String t*pe O O Answer: A O O 1%. Can a nu!! 1a!ue e added to a 9ist? O O A< Ges O B< Ges but on!* if the 9ist is !in(ed O C< Ges pro1ided that the 9ist is non>empt* O D< Do O O Answer: C O O 1). Which of the fo!!owing are 1a!id Ea1a O identifiers? O O A< Hid O B< _id O C< Mid O D< [id O O Answer: C O O 1+.Which of the fo!!owing are true about this O 1ariab!e dec!aration? O pri1ate static int &F3U O O A< 6he 1a!ue of 1ariab!e & ma* not be changed O after it is assigned a 1a!ue O B< ?ariab!e & ma* on!* be updated b* a static O method O C< 6he 1a!ue of & is shared among a!! instances of O the c!ass in which it is dec!ared O D< ?ariab!e & ma* be accessed within the static O methods of other c!asses O O Answer: C O O O 1.. O

%5< 6he command grep first second third LusrL*ouLm*fi!e a< prints !ines containing the words first second or third from the fi!e LusrL*ouLm*fi!e b< searches for !ines containing the pattern first in the fi!es second third and LusrL*ouLm*fi!e and prints them c< searches the fi!es LusrL*ouLm*fie! and third for !ines containing the words first or second and prints them d< rep!aces the word first with the word second in the fi!es third and LusrL*ouLm*fi!e e< Done of the abo1e Ans< b

2.&n 7ni$ inter process communication ta(e p!ace using?. 3.What are the fi!es in Letc director*?. ".About i>node numbers %.8a$ re!a$ab!e permisssion 1a!ue with out gi1ing write permission to others?. ).About !n;!in(ing< +.A question on unti! unti! ;who ^grep mar*< do s!eep;)5< done ..9in(ing across directories?. 2.process id for (erne!! process 15.1er* first process created b* (erne!! 11.function to repaint a window immediate!*?. 12.Cunction entr* for D99 in win3.1 13.win 3.1 is a

1".win 3.1 supports which t*pe of mu!ti tas(ing?. 1%.8essage disp!a*ed when a window is destro*ed 1).About for(;<? 1+.About send message and post message 1..8essage to !imit the si4e of window 12.S*stem ca!! e$ecutab!e binar* fi!e intoa process 25.About AD& ob-ect?. 21.A'& used to hide window 22.&nitia!i4e contents of a dia!og?.

1.6he C !anguage terminator is a.semico!on b.co!on c.period d.e$c!amation mar( 2.What is fa!se about the fo!!owing A compound statement is a.A set of simp!e statments b.Demarcated on either side b* cur!* brac(ets c.Can be used in p!ace of simp!e statement d.A C function is not a compound statement. 3.What is true about the fo!!owing C Cunctions a.Deed not return an* 1a!ue b.Shou!d a!wa*s return an integer c.Shou!d a!wa*s return a f!oat d.Shou!d a!wa*s return more than one 1a!ue. ".8ain must be written as a.the first function in the program b.Second function in the program c.9ast function in the program d.an* where in the program %.Which of the fo!!owing about automatic 1ariab!es within a function is correct ? a.its t*pe must be dec!ared before using the 1ariab!e b.the* are !oca! c.the* are not initia!ised to 4ero d.the* are g!oba!. 6his the C,B,9 paper.

51.consider the fo!!owing piece of code 51 A3,SS>'AG 5% BAS&C>'AG '&C 2;%< 5% A99,W=DC=S '&C 2;3< if BAS&C>'AG has a 1a!ue 1555 and A99,W=DC=S has a 1a!ue of 2%5 what wi!! be disp!a*ed b* the statement D&S'9AG A3,SS>'AG a.12%5 b.515552%5 c.512%5 d.1.2%5 52.consider two data items ++ W>A '&C 2;3<?22 ?A97= 23.+% ++ W>B '&C NN2?22 ?9A7= 123."% after the statement 8,?= W>A 6, W>B what wi!! be W>B#s 1a!ue? a.123.+% b.b23.+% ;where b indicates space< c.523.+% d.in1a!id mo1e 53.what is the resu!t of the fo!!owing? D&?&D= A &D6, B A&?&DA C. a.CFALB b.the reminder of BLA is stored in C c.CFBLA d.the reminder of ALB is stored in C 5".consider the statement ;incomp!ete< &C;A D78=3&C< D&S'9AG A the 1ariab!e A can be a.D78=3&C b.A9':AB=6&C c.A9':AD78=3&C d.D78=3&C ,3 A9':AD78=3&C 5%.which of the fo!!owing can be used as a chec( protection s*mbo! a.N b.S c.@ d./ 5).what if an* is the s*nte$ error in the fo!!owing piece of code

51 B '&C A;+< 52 C '&C 2;"< ........ &C;B D78=3&C< ADD 15 6, C a.the condition in the if statement is wrong b.noting is wrong c.because C is initia!ised.ADD 15 6, C is wrong d.both B and C shoud ha1e same si4e. 5+.stud* the fo!!owing code 51 A1 5% B '&C 22 5% C '&C I;"< 51 A2 5% B '&C 22?22 5% C '&C A;"< pic( out the 1a!id statement from the fo!!owing a.A1 and A2 can not ha1e sub>ordinates b.A1 and A2 can ha1e the same sub>ordinates but must ha1e same '&C c!ause c.there is nothing wrong d.A1 and A2 can ha1e same sub>ordinates pro1ided the* are not at 51 !e1e! 5..stud* the fo!!owing 51 A '&C 22?5 ?A97= % 51 B '&C 2?2 ?A97= ) 51 C '&C 22?2 ?A97= 2.% 51 D '&C 22 ?A97= 3 C,8'76= A 3,7DD=D B C F A/B@CLD ,D S&N= =33,3 '=3C,38 '3&D6>=33,3 the comments of A.B.C after e$ecution of the abo1e statement are a.AF15 BF5 CF15 b.AF15 BF2.2 CF2.2 c.AF15 BF5 CF2.2 d.AF15 BF) CF15 52.how man* times 'A3A>A is performed : '=3C,38 'A3A>A ?A3G&DA 6&8=S>C,7D6=3 C3,8 1 BG 1 7D6&9 6&8=S>C,7D6=3 O5 'A3A>A 8,?= ' 6, J 8,?= : 6, 6&8=S C,7D6=3 a.15 b.1 c.11 d.5 15.consider the fo!!owing piece of code 51 A3,7'>&6=8 5% A8,7D6>1 '&C 22?2 7SAA= C,8' ?A97= %5

5% A8,7D6>2 '&C 2;"<?22 7SAA= C,8' 8,?= N=3, 6, A3,7'>&6=8 ADD %5 6, A8,7D6>1 what wi!! be the content of A8,7D6>1? a.%5 b.155 c.5 d.unpredictab!e 11.consider the fo!!owing progrm statements 8,?= 5 6, SW.D,.,C.3=C '=3C,38 '3&>,76 7D6&9 SWF1 D&S'A9G D,.,C.3=C S6,' 37D '3=>,76 3=AD &D>C&9= A6 =DD 8,?= 1 6, SW W3&6= ,7,>3=C C3,8 &D>3=C ADD 1 6, D,.,C 3=C if the &D>C&9= contains 1555 records what 1a!ue wi!! be disp!a*edafter the '=3C,38 is o1er?assume that D5.,C.3=C has '&C 2;"< a.1555 b.1551 c.1 d.none of the abo1e since there is a s*nte$ error 12.stud* the data discriptions and answer the questions gi1en be!ow i<51 ,3D=3 3=C,3D 5% ,76>:=AD=3 '&C I;%5< 5% &6=8>C,7D6 '&C 22 5% ,76>&6=8 '&C I;25< ,CC73S 1 6, 25 D='=DD&DA ,D &6=8>C,7D6 ii<51 DA8=>ADD>ADD3=SS 5% D>ADD>A>9&D= ,CC73=S % 5% 9&D=>9=DA6: '&C '2 5% D>ADD>A>C:A3 '&C I ,CC73S 1 6, 25 D='=DD&DA ,D 9&D=> 9=DA6: iii<51 SA9=S>9&S6 5% SA9=S8AD>C,7D6 '&C 22 5% SA9=S '&C 2;)< ,CC73S 1 6, 155 D='=DD&DA ,D SA9=S8AD>C,7D6 i1<51 ,3D=3>3=C,3D 5% D,>,C>B3ADDS '&C 22 5% B3ADD>'73C:AS=D ,CC73S 1 6, 1% D='=DD&DA ,D D,>,C> B3ADDS which of the fo!!owing is true? a.i< and iii< are 1a!id b.i< and i1< are 1a!id c.i< and iii< are not 1a!id

d.a!! are 1a!id 13.C1 C2 C3 are three conditions whose 6376: 1a!ues are as fo!!oes. C1>637= C2>CA9S= C3>637= A B C are defined as gi1en be!ow A:C1 ADD;D,6 C2< ,3 C3 B.;D,6 C1< ,3 ;D,6 C2 ADD D,6 C3< C.;C1 ,3 C2<ADD C3 D.C1 ADD C2 ,3 C3 gi1en the abo1e information which of the fo!!owing statements are 1a!id? a.on!* A B and C are 637= b.on!* A C and D are 637= c.A B C and D are 637= d.on!* C and D are 637= 1".consider the fo!!owing CD C&9=>1 51 3=C>1 '&C I;.5< ...... W,3K&DA>S6,3AA= S=C6&,D 51 W>3=C '&C I;25< ........ '3,C=D73= D&?&S&,D C&3S6>'A3A ....... 3=AD C&9=>1 &D6, W>3=C A6 =DD 8,?= 1 6, =,C>C9AA which of the fo!!owing is true with respect to the abo1e? a.3=C>1 wi!! contain nothing and W>3=C wi!! contain the contains of the record read b.3=C>1 and W>3=C contain the same data c.s*nte$ is in1a!id and error wi!! occur d.3=C>1 and W>3=C must be of same si4e 1%.'=3C,38 ACC7879A6=>6,6A9S ?A3G&DA A C3,8 1 BG 2 7D6&9 A O2 AC6=3 B C3,81 BG 1 7D6&9 BO2 AC6=3 C C3,8 2 BG >1 7D6&9 CQ2 the paragraph ACC7879A6=>6,6A9S wou!d be e$icuted a.1. times b." times c.. times d.2" times 1).there is a fi!e whose ,3AAD&SA6&,D is &DD=I=D.*ou want to read the records from the fi!e in 3ADD,8 fashion as we!! as sequentia!!*.then which of the access mode wou!d *ou specif*? a.S=J7=D6&A9 b.3ADD,8 c.DGDA8&C D.ACC=SS 8,D= has nothing to do with it

1+.consider the fo!!owing '3,C=D73= D&?&S&,D entr* ,'=D =I6=DD &D>C&9= identif* the correct statement a.organi4ation of &D>C&9= is sequentia! and records can be added in the beginning b.organi4ation of &D>C&9= is sequentia! and records can be added in the end c.organi4ation of &D>C&9= is inde$ed and records can be added in the beginning d.organi4ation of &D>C&9= is inde$ed and records can be added in the end 1..what is the si4e of W>3=C in the fo!!owing 51 W>3=C 5% A '&C 2;"<?22 5% B 3=AD9&D=S A 15 C '&C II 15 D '&C S2;"< 5% = ,CC73S + '&C NN.NN 5% C ,CC73S % 15 A '&C NN.NNN22 15 : ,CC73S 3 1% E '&C 2;3< 1% K '&C ?22 a.1++ b.1)1 c.1.5 d.none of *he abo1e 12.consider the fo!!owing two &C statements: &C I ADD D,6 G 8,?= A 6, B &C NF1 ,3 2 8,?= A 6, B se!ect one of the fo!!owing data di1usion entries which gi1es identica! resu!ts for both the abo1e &C statements a.51 N '&C 2 .. I ?A97= 1.2 .. G ?A97= 5.2 6:37 . b.51 N '&C 2 .. I ?A97= 5.2 6:37 . G ?A97= 1.2 c.51 N '&C 2 .. I ?A97= 1.2 .. D,6>G ?A97= 5.2 6:37 1.2 d.none of *he abo1e 25.consider the fo!!owing two statements 8,?= 15 6, D '=3C,38 'A3A>I D 6&8=S S6,' 37D 'A3A>I

8,?= % 6, D how man* times 'A3A>I wi!!be e$icuted? a.15 b.% c.infinate d.e$ecution error 21.gi1en the fo!!owing: ++ A '&C 2?2 ?A97= 2.% ++ B '&C 2 ?A97= 2. ++ C '&C ?2 ?A97= 5.. ++ D '&C 2 ++ = '&C 2 ++ C '&C 2?222 what are the contenta of D = nad C after teh fo!!owing statements are e$ecuted: C,8'76= C 3,7DD=DFA/CLB 8796&'9G A BG C A&?&DA = ADD B C A A&?&DA D 3,7DD=D a.CF2.%.2 =F. DF1 b.CF2.%.2 =F. DF2 c.CF2.%.2 =F+ DF2 d.CF2.%.2 =F+ DF1 22. Consider the fo!!woing &C condition: &C A 9=SS 1255 &C B A3=A6=3 2% 8,?= "+ 6,C =9S= 8,?= %+ 6, C &C A A3=A6=3 2"2 8,?= )+ 6, C =9S= D=I6 S=D6=DC= =9S= &C B 9=SS )+ 8,?= 2+ 6, C What wi!! be the 1a!ue of C when A is 13+ and b is 2% ;a< 2+ ;b< %+ ;c< )+ ;d< none 23. Consider the fo!!owing: ++ W>D78 '&C 2 ?A97= 5 >>>>>> 8,?= 1 6, W>D78 '=3C,38 'A3A>I 7D6&9 W>D78 O 2. >>>>>> 'A3A>I ADD 1 6, W>D78

:ow man* times 'A3A>I is e$ecuted ? ;a< 15 ;b< 2 ;c< 11 ;d< &nfinite !oop 2". Consider the fo!!owing code: ++ A ++ B '&C 22?22 ?A97= %%.3% '&C 22?222 ?A97= 32.+%"

ADD B 6, A ,D S&N= =33,3 D&S'9AG 0=33,3XXX0 What wi!! be the resu!t ? ;a< AF...15 BF32.+%" ;b< AF.+.55 BF32.+%" ;c< AF.+.15 BF32.+%" ;d< =33,3XXX wi!! be D&S'9AGed on the screen. 2%. Consider the fo!!owing: ++ ++ ++ A B C '&C '&C '&C 2;15< 2;15< 2;12<

8796&'9G AB BG B A&?&DA C Which of the fo!!owing is true ? ;a< 6he e$ecution of the abo1e ma* resu!t in si4e error. ;b< 6he e$ecution of the abo1e wi!! resu!t in si4e error. ;c< 6he definition of C is in1a!id resu!ting in compi!ation error. ;d< Do error wi!! be thee and the program wou!d proceed correct!*. 2). A paragraph 'A3A>I is to be e$ecuted when none oof the data names A B and C ha1e 1a!ue of 1. Which of the fo!!owing wi!! achie1e this ? ;a< &C A D,6 F 1 ,3 B D,6 F 1 ,3 C D,6 F 1 '=3C,38 'A3A>I ;B< &C D,6 AF 1 ADD BF 1 ADD C F 1 '=3C,38 'A3A>I ;C< &C A D,6 F1 &C D,6 B F 1 ,3 CF 1 '=3C,38 'A3A>I ;C< &C A D,6 F 1 ADD B D,6 F 1 ADD C D,6 F 1 '=3C,38 'A3A>I

2+. Stud* the fi1e e$pressions and the c!ass to which the* be!ong:

S.D. =$pression C!ass 1 0S'AC=S0 Cigurati1e constant 2. 0Depreciation Schedu!e Don>numeric !itera! 3. 012H0 Don>numeric !itera! ". &D6=3=S6>D7= Don>numeric !itera! %. N=3,=S Cigurati1e constant Which of the fo!!owing statement is true? ;a< 1 and 3 are incorrect ;b< 1 and " are incorrect ;c< 3 and " are incorrect ;d< A!! are correct 2.. &dentif* the in1a!id dataname from the fo!!owing: ;a< SA?&DAS>ACC,7D6 ;b< ADD7A9>A99,CA6&,D>C,3>,?=3:=AD ;c< SA8,7D62%5 ;d< 12D=8ADD 22. Stud* the DA6A D&?&S&,D entries and the three '3,C=D73= D&?&S&,D entries gi1en be!ow: 51 =DD>,C>C&9=>SW&6C: '&C III. .. D,>8,3=>3=CS ?A97= 0G=S0. .. 8,3=>3=CS ?A97= 0D,0. ;i< 3=AD SA8'9=>C&9= A6 =DD 8,?= 0G=S0 6, D,>8,3=>3=CS. ;ii< &C D,>8,3=>3=CS F 0G=S0 A, 6, 9AS6>'A3A. ;iii< &C D,>8,3=>3=CS A, 6, 9AS6>'A3A. Which are wrong? ;a< ;i< and ;ii< ;b< ;ii< and ;iii< ;c< ;i< and ;iii< ;d< a!! 35. 6he fo!!owing entries appear in the W,3K&DA>S6,3AA= S=C6&,D: 51 DA6=>6,DAG. 5% GG '&C II ?A97= 0250. 5% 88 '&C II ?A97= 0120. 5% DD '&C II ?A97= :310. 51 DA6=>=D&6 '&C IILIILII. 8,?= DA6=>6,DAG 6, DA6=>=D&6. ;a< 251231 ;b< 25L12L31 ;c< 31L12L25 ;d< 311225 31. :ow man* b*tes wi!! be a!!ocated for the fo!!owing record description entries?

51 3=C>A. 5% A '&C S2;"<. 5% B '&C IIIBIII. 5% C '&C MMMM2.22. 5% D '&C S2;%< C,8'>3. 5% = '&C 2;3< C,8'. ;a< 22 ;b< 2) ;c< 2% ;d< 2. 32. What is wrong with the fo!!owing data dec!aration? 51 W>DA6= '&C I;)<. 5% DD '&C 22. 5% 88 '&C 22. 5% GG '&C 22. ;a< Dothing is wrong. ;b< 7nder W>DA6= a!! !e1e! 5% items are ha1ing a '&C 22 but !e1e! 51 has '&C I;)<. ;c< '&C can#t be specified for a group item. ;d< DD 88 and GG are in1a!id datanames. 33. What is the output generated b* the fo!!owing code? 51 A3'>&. 5% S7BC9D1 '&C II ?A97= 0AB0. 5% C&96=3 '&C I;)< ?A97= S'AC=S. 51 A3'>2 3=D=C&D=D A3'>1. 5% S7B>C9D2 '&C II. 5% S7B>C9D3 '&C II. 5% C&96=3 '&C I;"<. &C S7B>C9D1 D,6 F S'AC=S D&S'9AG 0S7BC9D10 8,?= 0ABBCCD0 6, A3'>1 &C S7B>C9D3 F S'AC=S D&S'9AG 0S'AC=S0 =9S= D&S'9AG 0S7BC9D30 D&S'9AG 0=DD0 =9S= D&S'9AG 0S'AC=S0 D&S'9AG 0=DD0. ;a< S7BC9D1 S7BC9D3 =DD ;b< S'AC=S =DD

;c< S7BC9D1 =DD ;d< S7BC9D1 S'AC=S 3". .. !e1e! entr* is used for ;a< data items in W,3K&DA>S6,3AA= S=C6&,D ;b< items with 3=DA8=S c!ause ;c< condition>names ;d< Done of the abo1e 3%. N=3,=S and S'AC=S are MMMMMMM constants ;a< Cigurati1e ;b< Dumeric ;c< Don>numeric ;d< A!phabete 3). C,8'76= I F A @ B > C @ D and C,8'76= I F ;A @ B< > ;C @ D< ;a< Are not the same ;b< Are same ;c< S*ntactica!!* wrong ;d< Wi!! *ie!d a run time error 3+. ,CC73S c!ause is used in the DA6A D&?&S&,D on data names at ;a< 51 !e1e! ;b< ++ !e1e! ;c< .. !e1e! ;d< an* !e1e! from 52 to "2 3.. Consider the fo!!owing C,B,9 entries: 5% I '&C 22 ?A97= 15. S7B63AC6 25 C3,8 I. 6he resu!tant 1a!ue of I wi! be ;a< 15 ;b< 55 ;c< compi!e>time error ;d< none of these 32. Consider the fo!!owing C,B,9 entries 5% I '&C 22 ?A97= 15. ADD "5 I 6, I. C,8'76= I F 3 @ I > "5. 6he resu!t in I is ;a< 15 ;b< "5

;c< Compi!e or 3un time error ;d< none of these "5. gi1en the fo!!owing piece of code: CA99 S7B>'A8 7S&DA A B C. CA99 S7B>'A8 7S&DA A C C. ;a< Both CA99 statements wi!! a!wa*s produce same resu!t. ;d< Both CA99 statements ma* produce different resu!t. ;c< Compi!e>time error because S7B>'A8 is a dataname. ;d< Compi!e>time error because A B C are used twice. "1. 6he hierarch* of the e$ecution of !ogica! operators is ;a< D,6 ADD ,3 ;b< ADD ,3 D,6 ;c< ,3 ADD D,6 ;d< ,3 D,6 ADD "2. 6he order of precedence of arithmetic operators in an e$pression can be o1erridden with the use of ;a< YZ ;b< ;< ;c< RS ;d< An* of the abo1e Consider the fo!!owing passage for answering questions "3 to "+. A program is written to accept an answer to the quer* 0enough fo the Da*?0 &f the respons is 0D0 t

You might also like