2013-June: 7th Semester CSE Question Papers


Published on

Published in: Education, Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

2013-June: 7th Semester CSE Question Papers

  1. 1. lfl c -s t. I USN Time: 3 hrs. Seventh Semester B.E. Degree Examination, June/July 2013 Obiect Oriented Modeling and Design Max. Marks:100 06cs71 (05 Marks) (06 Marks) class, attribute, Use only these (08 Marks) (06 Marks) (08 Marks) (12 Marks) (04 Marks) I E -^i .!..r ts0r -.e olr aE 5 .Y a3 tr< .i c.i o z E 1a. b. c. c. 3a. b. Notet Answer FIVE full questions, selecting at least TWO questions from each part PART - A Explain the different stages ofOO methodology? (- Define the following with an example: i) Object ii) Class iii) Class diagram iv) Attributes v) Operation (10 Marks) Prepare a class model to describe undirected graph. Your model should capture only the structure ofgraph (i.e. connectivity). Fig. Q1 (c) shows a typical undirected graph. (05 Marks) 3 2a. b. Sample undirected graph Fig. Q1 (c) Explain the different properties ofan association end? Prepare a metamodel that suppofts only the following UML concepts: association, association end, multiplicity, class name and attribute name. constructs to build your metamodel. Explain the several kinds ofevents with an examples. Explain the guidelines lor the Following models: i) Sequence models. ii) Activity models. Explain the following with an example for designing advanced sequence models: i) Active objects ii) Paisive objects iii) Tttrnsient objects. Mention the different stages ofsoftware development process.4a. b. c. What criteria would you like take into consideration to select the right attributes? Explarn. (08 Marks) Revise the diagrams in Fig. Q4 (c)-i, Qa (c)-ii, Qa (c)-iii, Qa (c)-iv, to eliminate ternary associations. (08 Marks) Ternary association Ternary association Fig. Q4 (c)-ii c I of2
  2. 2. 4c 06cs71 ' (08 Marks) Contd.... F,-. v(rd{l Temary association Fi c.)-iii Ternary association for directed graphs Fig. Q4 (c)-iv PART - B 5 a. Analyse the different use-cases by designing a use-case diagram for the ATM example. b. Explain all the steps for constructing an application class model. (08 Marks) c. Write'aii advanced use-case model to Show different types of relationships for the ATM case study. . (04 Marks) 6 a. Explain all thesiqps for designing a class. (0s Marks) b. Explain the seveial ways to hide inforrhation while organizing a class design. (05 Marks) c. Implement each association in Fig. Q6 (c,). Use one-way pointers wherever possible. Should any ofthe association dnds be ordered? Explain your.answers. (10 Marks) ' Class diagram for a diagram editor Fis. Q6 (c) a. Explain briefly theicmplate for pattern description. (10 Marks) b. Two peers Pl and P2 communicate with each other. For this purpose, P1 uses a for.warder Forwl and receiver Recvl, P2 handles all messages transfers with a forwarder Folw2 and a receiver Recv2. Design a scenario which illustrates a tlpical example of this use of a forwalder-receiver structure. rl ,1, (10 Marks) a. Write a short note on: i) Command processor design pattern. ' ii) View handler design pattern. (10 Marks) b. What are idioms and styles? Explain with the help of an example, a style guide idiom. (10 Markg 2 of2
  3. 3. { 06cs74 Max. Marks:100 (10 Marks) (10 Marks) (10 Marks) USN Seventh Semester B.E. Degree Examination, June/July 2013 With the help ola neat diagram, explain the process ofconverting a C program into the file ,, E(J ,=o ot o; U< -i oj o z E E 7 a. What are various methods of saving and optimizing memory space in an embedded system? (10 Marks) (04 Marks) (06 Marks) Embedded Gomputing Systems Time: 3 hrs. 1a. b. Note: Answer FIVE.full questions, selecting at least TVI/O questionsfrom each port. PART-A What are major hardware units and devices in an embedded system? 6 a. What are various memory management strategies olan RTOS? b. Explain at least ten design principles when using an RTOS. b. What are various performance metrics for an RTOS? c. Write important security functions required for RTOS security. for ROM image. (10 Marks) 2 a. Explain with a neat diagram, the design process involved in an embedded system development. (10 Marks) b. List various design challenges faced in designing an embedded system and methods to meet these challenges, with specilic examples. (10 Marks) 3 a. List advantages and disadvantages ofdata translbr using serial and parallel ports. (10 Marks) b. With a neat diagram, explain UART communication that uses handshakirn ,ignultiro ,r.ury 4 a. Explain the working ofbusy and wait transfer, highlighting its advantages. Mention a few applications where this method is used. (10 Marks) b. Describe DMA transfbr in an embedded system, with the help of a neat diagram. List the advantages of DMA transfer over interrupt driven transfer with a numeric "*u-pl"1ro n "ru"; PART - B 5 a. Give reasons fbr unfolding SDFGs into as many HSDFG (Homogeneous Synchronous Data Flow Graph) as fbasible and then HSDFGs into as many APEGs (Acyclic Precedence Expansion Graph) as possible, with illustrations. (I0 Marks) b. What are the problems in modeling the processing of instruction in a multiprocessor system? Explain with an example of 2 processors PA and PB interfaced with the memory. (10 Marks) 8 a. Explain key leatures ol'simple larget s) stem with the help of a neat diagram.". t06 Marks) b. What are various OS porting issues in an embedded plat form? :')' ' (09 Marks) c. What are various subunits of back support hardware package and In-Ciictit t.rt1t"r.$:r?.; *:**,6,r '''"' '
  4. 4. I]SN 06cs73 Seventh Semester B.E. Degree Examination, June/July 2013 Programming the Web Time: 3 hrs. Max. Marks:100 Notel Answer FIVE full questions, selecting atleast TLI/O questions from each part. PART_A I a. What is a web server? Briefly explain the general characteristics ofthe web server. (07 Marks) (05 Marks) (08 Marks) (08 Marks) cy. -bo I 9d 8e =: 'i ^ 9= a& }U : -.!l a3 U< '^i ; z ts o. E b. c. b. Briefly explain why should one use XHTML over HTML. Explain the standard SHTML document structure. Explain the syntactic diff'erences between XHTML and HTML. Write a XHTML program to create a table with two levels of column label : an overall label, meals and three secondary labels, breakfast, lunch and dinner. There must be two levels of row labels : an overall label, foods and four secondary labels, bread, main course, vegetable and dessert. The cells ofthe table must contain a number of grams for each category ofthe food. (12 Marks) 3 a. Write CSS style rule and explain the different selector forms, with examples. (10 Marks) b. Write a XHTML program to create nested ordered lists of cars. The outer list must have three entries : compact, midsize and sports. Inside each ofthese three lists there must be two sublists ofbody styles. The compact and midsize car sublists are two doors and four doors; the spofts car sublists are coupe and convertible. Each body -style sublist must have atleast three entries, each of which is make and model of the particular car that fits the category. The outer list must use uppercase roman numerals, the middle lists must use uppercase letters, and the inner lists must use Arabic numbers. All of the styles must be in a document st1 le sheet. (t0 vtarks) 4a. b. c. 5a. b. 6a. b. c. Explain how objects in Javascript are created, modified, and accessed with code snippets. (08 Marks) Explain array object methods in Javascript, with examples. (04 Marks) Explain the metacharaters pre - defined character classes in Javascript, with examples. (08 Marks) PART - B Explain the dilferent ways to access XHTML elements, and discuss the problem associated with each scheme. Show the code snippets. (10 Marks) Write a program in XHTML to create five radio buttons, labeled red, blue, green, yellow and orange. The event handlers for these buttons must produce message stating the chosen favorite color. The event handler must be implemented as a function. Assign the event handler to the event property ofthe button element. (10 Marks) What is a dynamic XHTML document? How the changes are made? (02 Marks) Write a dynamic XHTML program to display an image and allows the user to toggle with a button causing the image to appear and not appear in the document display. (08 Marks) Briefly explain the properties defined in MouseEvent interface. Write a dynamic XHTML program to display these properties in text boxes every time the mouse button is clicked. d. Describe the parameters and actions ofthe Setlnterval method. 1of 2 (08 Marks) (02 Marks)
  5. 5. trl 06cs73 7 a. Create a DTD for a catalog of cars, where each car has the child elements make, model, year, color, engine, number_of_doors, transmission_type, and accessories. The engine element has the child elements number- of --cylinders and fuel_system. The accessories f1., . element has the attributes radio, air-conditioning, power-windows, power-steeringr. ahd {:).- power-brakes, each of which is required and has the possible values yes and no..+}hBs ''-'"4'la, must bi declared for the names of popular car makes, create an XML document th.plis''valid '{-,- for this DTD. '1!".(07 Marks) b. (E;plain the transformation process by an XSLT processor. -,(-r, 1os tr'larxg c. '"dffiaussthe disadvantages otOfOt and how they are overcome. (06 Marks) d. Disd*d'soAP. ' (02 Marks) "." ! l- " '-n-t 8 a. Explain ffiayious categories of Perl variables (12 Marks) b. Explain the'$nqrnon CGL Pm functions, with examples. (08 Marks)_ '1*,# ' i..,r t., l!1 - ar- l q, -.1 -l)., "'':'^' {& i:r' 2of 2
  6. 6. USN 06cs/rs7s3 Max. Marks: 100 (10 Marks) (06 Marks) (04 Marks) how inter thread (10 Marks) (06 Marks) (04 Marks) (10 Marks) E *oo I gd) 71 d 4u AE 6= (r< --i ..i a z Seventh Semester B.E. Degree Examination, June/July 2013 JAVA and J2EE Time: 3 hrs. Note: Answer FIVE full questions, selecting at least TWO questions from eoch part. PART-A I a. List and explain JAVA features. b. Explain arrays in JAVA, with examples. c. What is jump statement? Explain with examples. 2 a. Why overridden methods are used in JAVA? Explain with an example. (08 Marks) b. What is command-line arguments? Write a progam to demonstrate command-line arguments. (06 Marks) c. What are applets? Demonstrate how to pass parameters for font name, font size and type conversion in applet. (06 Marks) 3 a. What is meant by multithreaded programming? Explain with an example communication is implemented in JAVA. b. c. What is meant by thread priority? How is it assigned? Write a note on event listener interfaces. Briefly explain containers and components in swings.4a. b. 5a- b. Write the steps to create J Table. Write a program to create a table with the column headings Name. USN, Age, Address and insert atleast five records in the table and display. (t0 Marks) PART - B Give and explain J2EE multi-tier architecture. Describe the various steps of JDBC process with an example. c. Write a note on result set. 6 a. What is a servelet? Explain life cycle of servelet. b. What is a cookie? List out the methods defined bv cookie. Write adding a cookie. c. Write a not eon HTTP status codes. (08 Marks) (08 Marks) (04 Marks) (06 Marks) a program in HTML for (10 Marks) (04 Marks) Explain dillerent types of JSP tags r.rith7 a. What is the difference between servelets and JSP? syntax. b. What is RMI concept? Explain the server side and client side methods. c. Write a note on request string. 8 a. List and explain EJB transaction attributes. b. With a skeleton explain session java bean. c. Differentiate between stateless and stateful session bean. d. Write a note on message - Driven Bean. (06 Marks) (10 Marks) (04 Marks) (06 Marks) (06 Marks) (04 Marks) .. (04 Marks)
  7. 7. IISN Time: 3 hrs. Note:. Answer FIVE full questions, selecting atleast TWO questions from each part. PART_A a' Explain the .Net execurion Iife clcle wirh the diagram. D Discuss the advantages of multi language environment over single c. Discuss the building blocks of .Net with the neat diagram. O6CS/IS761 Max. Marks: I 00 (05 Marks) language environment. (05 Marks) (10 Marks) (10 Marks) should be 3 lbr third (10 Marks) (10 Marks) (04 Marks) (02 Marks) (04 Marks) throw an (10 Marks) (05 Marks) (05 Marks) (05 Marks) (08 Marks) (07 Marks) (I0 Marks) (10 Marks) Seventh Semester B.E. Degree Examination, June/July 2013 G# programming and oNet E --t YoJ -a'I e, !'= :q =9 (-) < o z ts o E a. Explain the various output options available with C# complier. (t0 Marks) b. Is it necessary to make Main( ) method as a static? Justify your answer, with example. (05 Marks) c. what are immutable strings? Explain any four string method available in c#, with example. (05 Marks) a. Explain the static keyword, with respect to the following : i) Data members ii.1 Member merhods iii) Constructors. b. Write a program to assign a unique id to each of the object created by class Id assigned sequentially starting with I for the first object, i for the seco;d object, object and so on. a. Write a C# program to illustrate the i) is a relationship ii) has a relationship. b. Explain the use of "base" and "this" keyword, with example. c. Explain how to hide base class members, with an example. d. Explain the abstract class, with an example. PART- B a. Write a program in C# for the queue. Whenever a queue is filled, it should exception. b. Discuss the functions of 'new' keyword in C# and explain, with an example. c. Write a program to destroy an object with the help of finalize( ) method. 6a. b. c. la. b. c. 8a. b. Bring out the diffbrences between abstract class and interfaces. Explain the multiple inheritance, with an example. Write a program to describe deep copy. what is 'Net deligate and explain its syntax with three important features. (03 Marks) write a program to illustrate how a deligate can be passed to method, creating at least two objects. (07 Marks) What are events in C#? Explain with an example. .(10 Marks) Write a program to illustrate the use of VB code in C#. What are private and shared assembly? Explain them.