[go: up one dir, main page]

0% found this document useful (0 votes)
3 views2 pages

web tech imp Q (1)

The document outlines various topics in web development and Java programming, including HTML structure, Java principles, classes, inheritance, exception handling, string manipulation, I/O streams, collections, applets, and event handling. It provides definitions, examples, and explanations of key concepts such as HTML tags, Java's platform independence, object-oriented programming, and GUI creation using AWT. Each section contains specific questions aimed at understanding the fundamental aspects of web development and Java programming.

Uploaded by

mandalipsita2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

web tech imp Q (1)

The document outlines various topics in web development and Java programming, including HTML structure, Java principles, classes, inheritance, exception handling, string manipulation, I/O streams, collections, applets, and event handling. It provides definitions, examples, and explanations of key concepts such as HTML tags, Java's platform independence, object-oriented programming, and GUI creation using AWT. Each section contains specific questions aimed at understanding the fundamental aspects of web development and Java programming.

Uploaded by

mandalipsita2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Web Development:

1. Define HTML. What is the importance of tags in HTML?

2. Explain the different types of lists in HTML with examples.

3. How can you create tables in HTML? Illustrate with an example.

4. What are the various types of links in HTML? Provide examples.

5. Differentiate between inline, internal, and external style sheets.

6. Differentiate between ordered and unordered lists in HTML.

7. How are forms used in HTML? List and explain form elements.

Introduction to Java:

1. What are JVM, JRE, and JDK? Explain their roles in Java programming.

2. Explain the features of Java that make it platform-independent. Or Define bytecode and its
significance in Java.

3. Write a simple Java program to add two numbers using user input.

4. Discuss the concept of object-oriented programming and its principles with examples.

5. What are the different control statements in Java? Give examples of each.

6. Explain the use of the “switch” statement in Java with a sample program.

Classes, Inheritance:

1. How is a class declared in Java? Explain with an example.

2. What is inheritance? Describe the use of the “super” keyword in inheritance.

3. Differentiate between method overloading and method overriding in Java.

4. Explain the concept of dynamic method dispatch with an example.

5. Discuss the role of the “final” keyword in Java.

6. What is an abstract class? How is it different from an interface?

Interface, Package:

1. What is a package in Java? How do you create and use a package?

2. Explain the role of the “interface” keyword in Java. Explain the concept of interfaces in Java
and how they differ from abstract classes.

3. How does Java handle access control? Explain the types of access modifiers.

Exception Handling:

1. What is exception handling? Why is it necessary in Java?


2. Explain the difference between checked and unchecked exceptions with examples.

3. Write a Java program to demonstrate the use of try, catch, and finally blocks.

4. How can user-defined exceptions be implemented in Java?

String Handling:

1. Differentiate between “String” and “StringBuffer” classes in Java.

2. Write a program to reverse a string using “StringBuffer”.

3. How can you extract a substring from a string in Java? Provide an example.

4. Explain the “toString()” and “valueOf()” methods with examples.

Java I/O Stream:

1. What is the difference between byte stream and character stream in Java?

2. Write a Java program to read from and write to a file.

3. How can you handle console input and output in Java?

Java Utility Package:

1. What is a collection in Java? List the main interfaces in the Java Collections Framework.

2. What is the purpose of the Java utility package?

3. Compare ArrayList and LinkedList. When should you use each?

4. Write a program to iterate through a collection using the Iterator and forEach methods.

Applet:

1. What is an applet? Describe its architecture.

2. Write the lifecycle methods of an applet.

3. How can parameters be passed to an applet? Provide an example.

Event Handling and AWT:

1. What is the Delegation Event Model in Java?

2. How are events handled in Java using Event Listeners? Provide an example.

3. Write a program to create a simple GUI with buttons and labels using AWT.

4. Explain the role of adapter classes in event handling.

5. What are the AWT classes used for creating GUI components like text fields and buttons?

You might also like