Wednesday, January 30, 2013

Web Technology - University Questions


Web Technology - University Questions

Time: Three Hours Maximum: 100 marks ANSWER ALL QUESTIONS

PART-A (10X2=20 marks)1. What is web server? Notes on Tomcat Web Server?2. What is relative URLs? Give syntax of relative URLs3. Write a script to display the position of mouse click4. List down the way of including style information in a document.5. What are the DOM methods? 7. Define JavaBeans.8. What are tag libr6. What do you meant by server side prograaries in JSP?9. What is SOAP? Define SOAP structures.10. What are the types of web services and its uses?PART-B (5X16=80 marks)11. (a)(i) Explain about basic XHTML syntax and semantics (12) (ii)Explain difference between HTML and XHTML (4) (8) [OR] (b)(i) Explain World Wide Web (ii)Explain various protocol used in technologies (8) image from image pool. (8) image from image pool. (8) 12. (a)(i) Write a java script program to randomly display (ii)Design your own personal web page using forms and get the value, use all the form 

elements and (i) CSS border style properties (6) validating the same using the script. (8) [OR] (b)Write notes on (ii) CSS Text properties (6) (iii)CSS Box model (4) (i) Java servlet (8) (i) Java servlet (8) 13. (a)Explain about Document object model. (16) [OR] (b)Write short notes on (ii)Cookies and session (8)14. (a)(i) Describe the features of JSP with example (8) (ii)What does JSP scripting component includes? ith example (8)5. (a)(i) Write short n5. (a)(i) Write short n1 Explain with program. (8) [OR] (b)(i) Explain XSLT with example (8) (ii)Explain XPath wotes on JAX. (8) (ii)Write XML Schema with an example. (8) [OR] (b)(i) Explain the structure of WSDL? (8) (ii)Develop the web pages for railway reservation system using Web services. (8) Question Paper code: 11387B.E/B.TECH.DEGREE EXAMINATION, APRIL/MAY 2011 Time: Three hours Maximum: 100 marksAnswer All QuestionsART A-(10*2=20 marks)P1. Define URI.2. State the use of web server logs and list the contents of a message log.3. Mention the need for cascading style sheets.4. Explain array creation in Java script with example.5. Explain in brief the interaction between a web server and a Servlet.6. List some HTML intrinsic attributes.7. What is meant by a XML namespace?8. Explain in brief about Java scriplet.9. What is meant by WSDL?10. Define Serialization. PART B-(5*16=80 marks)11. (a) Explain in detail the working of the following Internet Protocols (i) TCP/IP [8] (ii)HTTP [8] [OR] (b) (i) List and explain any four HTML elements in detail.[8] (ii)State the types of lists supported by HTML and explain them in detail. [8]12. (a) (i) List and explain in detail the various selector strings. [8] (ii)Explain the features of cascading style sheets. [8] [OR] (b) (i) State and explain the types of statements in Java script. [8] (ii)Explain how functions can be written in Java script with an example. [8]13. (a) (i) Explain about the document tree in detail. [8] (ii)Explain DOM event handling in detail. [8] [OR] (b) Explain the Servlet operation in detail with a sample Servlet program. [16]14. (a) (i) List and explain the XML syntax rules in detail.[8] (ii)Explain how a XML document can be displayed on a browser. [8] [OR] (b) State and explain the information in a JSP document in detail. [16]

15. (a) Explain in detail the XML schema, built in and user defined data type in detail. [16] [OR] (b) (i) Explain the JDBC database access in detail. [8] (ii) Explain the SOAP elements in detail. [8]

Programming Paradigms - University Questions


CS55 / CS2305 - Programming Paradigms - University Questions

MAY/JUNE - 2011
CS 55 - PROGRAMMING PARADIGMS
PART A - (10 x 2 = 20)

  1. What is the default access to a member in a class?
  2. What is a package?
  3. How to prevent inheritance?
  4. Differentiate copying and cloning.
  5. What is a JPanel object?
  6. What method is used to distinguish between single, double and triple mouse clicks?
  7. Why generic programming is required?
  8. What are Wildcard Types?
  9. Mention the two mechanisms for protecting a code block from concurrent access.
  10. What do you mean by MIN_PRIORITY?

PART B - (5 x 16 = 80)

  1. (a) How Strings are handled in java? Explain with code, the creation of Substring, Concatenation and testing for equality.[16] 
    [OR]
    (b) Explain with an example the following features of Constructors: [16]
        (i) Overloaded constructors
     
        (ii) A Call to another constructor with this operator
        (iii) An object initialization bloc
    k
        (iv)  A static initialization block
  1. (a) What is dynamic binding? How it is achieved? [16]
    [OR]
    (b) (i) Explain interfaces with example. [8]
    (ii) Compare interfaces and abstract classes. [8]
  1. (a) Explain swing and JFrame with a helloworld program. [16]
    [OR]
    (b) How Model View Controller design pattern is achieved? [16]
  1. (a) How generic methods and generic expressions are translated? [16]
    [OR]
    (b) Explain in details, the inheritance rules for generic types. [16]
  1. (a) Explain the procedure for running a task in a separate thread and running multiple threads. [16]                               [OR]
    (b) Explain the states of threads and how the thread is interrupted?
                  
NOV/DEC - 2011
CS 55 — PROGRAMMING PARADIGMS

PART A — (10 × 2 = 20 marks)

  1. What is meant by private access specifier?
  2. What is the need for javadoc multiline comments?
  3. What is meant by dynamic method dispatch?
  4. What is object cloning?
  5. Differentiate GridBagLayout from GridLayout.
  6. What is meant by window adapter classes?
  7. List out the motivation needed in generic programming.
  8. How will create throw exception in exception handling?
  9. What is meant by notify methods in multithreading?
  10. How will interrupt threads in multiple windows?
PART B — (5 × 16 = 80 marks)

  1. (a) Explain briefly about object oriented programming concepts differ from structured programming concepts. [16]
[OR]
(b) Write a java program for push and pop operations in stack using arrays in classes and object. [16]
  1. (a) Explain briefly about multilevel inheritance with neat example. [16]
      [OR]
    (b) Explain how inner classes and anonymous classes works in java program. [16]
  2. (a) Write an applet program to draw an flower with color packages. [16]
      [OR]
    (b) Write short notes on
    (i)   JLabel [4] 
    (ii)  JButton [4] 
    (iii) Layout managers in Java Swing [8]
  1. (a) Explain briefly about generic classes and methods in Java programming. [16][OR]
    (b) Explain briefly about user defined exceptions and stack trace elements in exception handling mechanisms. [16]
  1. (a) Explain briefly about thread synchronization in multithreading concepts. [16][OR]
    (b) (i) Explain thread states in concurrent programming with an example. [8]
    (ii) Explain the life cycle of threads in multithreading environment. [8]

MAY/JUNE - 2012
CS 55 — PROGRAMMING PARADIGMS

PART A — (10 × 2 = 20 marks)

  1. What do you mean by instance variables?
  2. Mention the purpose of finalize method.
  3. What are the conditions to be satisfied while declaring abstract classes?
  4. Define inheritance.
  5. How do you manage the color and font of a graphics in applet?
  6. Mention any four event names of a button component.
  7. What do you mean by reflection?
  8. What is an exception?
  9. What is multithreading?
  10. Write note on synchronization.
PART B — (5 × 16 = 80 marks)

  1. (a) Write a java program to sort ten names in descending order. [16][OR]
    (b) Explain string handling classes in Java with examples. [16]
  1. (a) Give an elaborate discussion on inheritance. [16][OR]
    (b) Differentiate method overloading and method overriding. Explain both with an example program. [16]
  1. (a) Explain any five swing components with an example program. [16][OR]
    (b) Discuss Mouse Listener and Mouse Motion Listener. Give an example program. [16]
  1. (a) Explain the following [16]
    (i) Generic classes 
    (ii) Generic methods
    [OR]
    (b) Discuss on Exception handling in detail. [16]
  1. (a) Explain the following (i) States of a thread with a neat diagram. [10]
    (ii) 
    Thread priorities. [6]
    [OR]
    (b) Write a java application that illustrate the use of multithreading. Explain the same with sample input. [16]