Internet programming important questions


  1. How java is platform independent?
  2. Differentiate a vector and an array in Java.
  3. How to create two-dimensional array in Java
  4. Is there any error in the given Java Statement?
    char [] string = “abcdef”;
  5. Write down the fundamentals of Exception handling.
  6. Define Multithreaded Programming.
  7. What are the two ways for creating a Thread?
  8. What is static in Java? Give its uses.
  9. Mention the purpose of the keyword “final”.
  10.  Can an abstract class in Java be instantiated? Give the reason.
  11.  What is the difference between constructor and a method?
  12.  What is the difference between method overloading and overriding?
  13.  How do you define an interface?
  14.  What is finalize() and Garbage Collection?
  15.  How does a radio button in java differ from a check box?
  16.  Why do you need run () and start () method both.
  17.  What is a Stream? Which class allows you to read objects directly from a stream?
  18.  What is Polymorphism in Java? Explain how Polymorphism is supported in Java?
  19.  Mention the subclasses of the AWT Event class.
  20.  Code a Graphics method in Java to draw the String “Hello World” from the coordinates (100,200).
  1.  Explain the features and structure of Java Program.
  2.  Explain about Inheritance and Interfaces in Java.
  3.  Show how compile- time and run- time polymorphism are achieved in Java? Explain with examples.
  4.  Explain about Packages and Abstract classes in Java.
  5.  How to create own packages in Java?
  6.  Explain about Applet Lifecycle? How Applets are prepared and executed?
  7.  List and discuss the role of String and String Buffer classes used in Java.
  8.  What are the different input and output streams and their classes? Explain with Examples?
  9.  Discuss about Exception handling in Java with suitable examples.
  10.  Discuss the different models of Threads and their states.
  11.  Design and Write a Java Program using Applets.


  1. Define URL. Write the different parts of URL.
  2. State the use of web server logs and list the contents of a message log.
  3. List the different basic protocols used in internet.
  4. State the uses of Internet Protocol.
  5. Explain why HTTP is called a stateless protocol?
  6. State the difference between Internet, Intranet and Extranet.
  7. How XHTML is more advantages than HTML? Specify.
  8. List and explain any two HTML elements.
  9. Give the core syntax of CSS. Mention the need and types of CSS?
  10. How external style sheets is useful in webpage design?
  11. Write a HTML Code to display an image?
  12. List the ways of positioning an element within a browser window.
  13. Write a HTML code to create the following table
    w X
    y Z
  14. What is a response status line?
  15. What is MIME? List its content types.
  16. How Cell Padding is differ from Cell Spacing.
  17. How you define href,target and name Attributes?
  18. What do you understand about DOCTYPE in HTML?
  19. How you use Form’s Action Attribute and Submit Button in HTML?
  20. How to use Line Break and Horizontal Line tags in HTML?
  1. Explain in detail the working of the following Internet Protocols TCP/IP and HTTP.
  2. Discuss about the client/server strategies in Internet.
  3. Give the structure of HTTP request and response message.
  4. Difference between websites and web server.
  5. List and Explain HTML elements and intrinsic attributes in detail.
  6. Explain the significance of XHTML with a help of a real time application. Write necessary code snippets.
  7. List and explain in detail the various selector strings.
  8. Explain the CSS box model in detail.
  9. How do you create frames? Why do you need them? Develop an application to explain the same.
  10. Develop an interactive web page for student registration using HTML form elements.


  1. Write the JavaScript code to print “Good Day” using IF-ELSE condition.
  2. What is a scriplet?
  3. What are server side and client side programming?
  4. What is the difference between static and dynamic HTML?
  5. How an array creation in Java script with example.
  6. List the different methods defined in document and window object of JavaScript.
  7. Write code to return the full URL of a document.
  8. How local and global functions can be written using java script.
  9. What is mean by intrinsic event handling?
  10. Explain in brief the interaction between a web server and a Servlet.
  11. What is the difference between GET and POST methods?
  12. What is Servlet Container? Specify its functions.
  13. What are the two methods used to send a request to a server?
  14. List life cycle methods of a servlet.
  15. List the types of directives in JSP.
  16. Give the advantages of using JSP for server side programming.
  17. What is the purpose of cookies?
  18. Write two differences between JSP and servlet.
  19. Define JDBC and its role.
  20. List JSP tag libraries.
  1. How elaborate the language history of JavaScript and its versions?
  2. Describe the data types, functions and objects used in JavaScript with an example.
  3. Explain the way in which java script handles arrays with example?
  4. Elaborate the DOM history and intrinsic levels in event handling – modifying element style.
  5. Write the code for converting currencies to US dollar using Java Servlet..
  6. Explain in detail about the HTTPServlet class and its interface?
  7. Explain with the help of examples a) Cookies b) URL rewriting.
  8. Briefly discuss database connectivity with servlet to display student marks.
  9. Describe the basic Java Bean classes and JSP tag libraries.
  10. Illustrate the standard actions and directive in JSP with suitable examples.


  1. What is Variable? How variables are declared in PHP?
  2. What is PhP? List the features of PhP.
  3. List possible data types available in PHP.
  4. How comments are made in PHP.
  5. How singly quoted string and doubly quoted string differs.
  6. Differentiate echo() and print() function.
  7. What do you mean by expression? Give examples.
  8. What do you mean by QueryString in PhP?
  9. What does XSLT mean? Give its data model.
  10. What is meant by a XML namespace?
  11. List the XML syntax rules.
  12. How a XML document can be displayed on a browser.
  13. What is a XPATH? List the advantages of XPATH.
  14. What is the purpose of XML Schema?
  15. List the data type’s representation in XML Schema.
  16. When the Namespace is called in XML. Why?
  17. What is RSS? List the purpose of RSS.
  18. What is ATOM in RSS?
  19. How RSS is more important than email. Comment.
  20. List the steps to get your RSS file up on the web.
  1. List and explain PhP development framework.
  2. Briefly discuss database connectivity with PhP with suitable examples.
  3. How strings are declared in PHP? Explain string operator.
  4. How array is declared in PHP. Also explain various types of array with proper examples.
  5. Explain regular expression. Also explain regx with example
  6. Explain following functions with examples
    1)Current() 2)next() 3)prev() 4)end() 5)reset()6)key() 7) print_r()
  7. Explain the role XML name spaces with an example.
  8. Briefly explain the importance of Document Object Model?
  9. Explain the features of XML path language.
  10. Explain in detail the XML schema, built in and user defined data type in detail.


  1. Compare DOM and SAX in XML Processing
  2. How is XML parsing done with SAX
  3. How AJAX works?
  4. Define XML DOM.
  5. What is XMLHttpRequest Object? List common XMLHttpRequest Object Properties.
  6. What is service end point interface in RPC?
  7. Specify how UDDI is utilized in web service.
  8. What is meant by WSDL? State its uses.
  9. List some examples of web services.
  10. What is SOAP? Define the need of SOAP. Sketch the Structure of SOAP.
  11. List the basic concepts behind JAX-RPC technology.
  12. What is UDDI?
  13. Give an example of a web services registry and its functions.
  14. Why do you want to describe a web service?
  15. List out data types that are available in Web-Service.
  16. Define Complex types.
  17. Write the steps for Empty Element.
  18. Differentiate between SOAP and HTTP.
  19. Why do Web services need enhanced security?
  20. What is Indicators? List out the types of Indicators.
  1. Discuss AJAX architecture and compare it with DOM and SAX .
  2. Explain about the object that helps AJAX reload parts of a web page without reloading the whole page.
  3. Discuss the various aspects of JAX –RPC.
  4. Describe the significance and working of WSDL with an example.
  5. Create a web service in java environment to return the sum of two integers with necessary deployment procedure.
  6. Explain the SOAP elements in detail.
  7. Briefly discuss how SOAP encodes struct data and arrays.
  8. Explain the creation of a java web service in detail with examples.
  9. Illustrate the principles of WSDL, XML and SOAP and their interaction between them in we service applications.
  10. Explain in detail about complex types in web services