Internet Applications using Java Programming
Section A – Very Short Type (3 marks each)
★★★★★ Define the role of the Java Virtual Machine (JVM) in Java program
execution.
★★★ Differentiate between PATH and CLASSPATH environment variables in Java.
★★ What are wrapper classes in Java? Why are they necessary for collection
frameworks?
★★ What is serialization in Java? Which interface must a class implement?
★★ Distinguish between local and remote applets (including security context).
★★ What is the JDBC-ODBC Bridge? What problem does it solve / its role?
★ What is method overloading? Give one example.
★ Define thread lifecycle in Java. List its main states.
★ In the Java Event Delegation Model, what is the specific role of an “Event Source”?
★ Explain the purpose of the synchronized keyword in multithreading.
★ What is the difference between String and StringBuffer classes?
★ What is the difference between a checked exception and an unchecked
exception? Give examples.
★ State three key differences between Java Applets and Java Applications.
★ Define Interface in Java. How is it different from an abstract class?
★ What are Layout Managers in AWT? Name any two with their purpose.
Section B – Short Answer Type (9 marks each)
★★★★ Explain the Java Event Delegation Model (event classes, listener interfaces,
adapter classes, difference from older model).
★★★ Compare C++ and Java (memory management, pointers, multiple inheritance,
platform independence, operator overloading).
★★★ Describe the JDBC connectivity model (JDBC-ODBC bridge, DriverManager,
steps to connect to a database, ResultSet).
★★ Explain thread lifecycle and creation methods (using Thread class and
Runnable interface) together.
★★ Explain exception handling in Java (use of try, catch, throw, throws, finally).
★★ Describe AWT components and class hierarchy (including basic UI components
like Button, Label, TextArea).
★ Describe only the thread lifecycle states (New, Runnable, Running, Blocked, Dead)
without creation details.
★ Explain only how to create threads using Thread class or Runnable (without
lifecycle details).
★ Explain thread synchronization and why it is necessary.
★ Compare inheritance vs interfaces (use cases, key differences).
★ Compare abstract classes vs interfaces (functional differences, when to prefer
which).
★ Compare method overloading vs method overriding in the context of inheritance.
★ Explain the structure of a Java program and the compilation/execution process
step by step.
★ Compare and contrast FlowLayout, BorderLayout, and GridLayout managers.
★ Explain how interfaces support multiple inheritance in Java (defining,
implementing, extending interfaces).
Section C – Long Answer Type (12.5 marks each)
★★★★ Explain Applet programming in detail (lifecycle methods: init, start, stop,
destroy; local vs remote applets; HTML embedding; parameter passing; security
model; applet vs application).
★★★★ Explain Java networking (TCP/IP socket programming, Datagram/UDP
programming, key classes in [Link] package, client‑server steps, comparison of
TCP and Datagram).
★★★★ Explain Java I/O stream hierarchy (byte streams vs character streams,
InputStream/OutputStream vs Reader/Writer, FileInputStream,
FileOutputStream, BufferedReader, PrintWriter, serialization,
RandomAccessFile).
★★★ Explain Inheritance in Java (types of inheritance, super keyword, method
overloading vs overriding, abstract classes, multilevel inheritance example).
★★ Explain Object‑Oriented Programming concepts (classes, objects, constructors,
memory allocation, garbage collection, access modifiers, wrapper classes,
String/StringBuffer).
★★ Explain multithreading in detail (thread lifecycle, synchronization, scheduling,
exception handling, using Thread class and Runnable).
★★ Explain JDBC architecture (DriverManager, JDBC-ODBC bridge, [Link]
package, navigating ResultSet, handling exceptions, connection steps).
★★ Explain AWT class hierarchy (window fundamentals, layout managers – Flow,
Border, Grid, Card; Frame class, UI components).
★ Explain the complete exception handling mechanism (propagation of exception,
purpose of try, catch, finally, throw, throws).