You are on page 1of 7

www.Vidyarthiplus.

com

VALLIAMMAI ENGINEERING COLLEGE


S.R.M NAGAR, KATTANKULATHUR-603 203

DEPARTMENT OF COMPUTER APPLICATIONS


MCA II YEAR / III SEMESTER
MC 7305 INTERNET PROGRAMMING
QUESTION BANK
UNIT I
INTERNET APPLICATIONS
Domain Name System - Exchanging E-mail Sending and Receiving Files - Fighting Spam,
Sorting Mail and avoiding e-mail viruses Chatting and Conferencing on the Internet Online
Chatting - Messaging Usenet Newsgroup Voice and Video Conferencing Web Security,
Privacy, and siteblocking FTP.
PART A:

1. What types of domains are available?


2. How can you handle spams?
3. List the advantages of E-Mail.
4. How to avoid the E-Mail viruses?
5. What are the different ways to reduce the amount of spam?
6. List the various E-mail error messages.
7. Mention any four Internet Services.
8. Define Spam.
9. Distinguish between Real-time chat and Asynchronous chat.
10. List out the steps required to chatting.
11. What is the use of DCCP and NNTP?
12. What is Usenet?
13. What is Newsgroup?
14. What is mean by site-blocking?
15. Define FTP.
16. What is web security?
17. List out the requirements for Video Conferencing.
18. Mention the steps for Video Conferencing.
19. How are Newsgroups different from Mailing Lists?
20. How does chat work?

www.Vidyarthiplus.com

www.Vidyarthiplus.com

PART B:

1. Explain Voice and Video Conferencing in detail. Write briefly about any three
instant messaging programs.
2. (i) Explain the ways to avoid email viruses. (8)
(ii) Explain the concept of online chatting. (8)
3. Write short notes on :
(i) Usenet Newsgroup
(8)
(ii) Messaging
(8)
4. (i) Explain the concept behind the Domain Name System with an example. (8)
(ii)Write note on chatting on the Internet.
(8)
5. (i) Illustrate the principle of Exchanging E-Mail. (8)
(iii) Write short notes on Fighting Spam.
(8)
6. Discuss about the Sending and Receiving Files.
7. Explain in detail about E-Mail operations and its protocols.
8. Explain in detail web security and privacy.
9. Describe how files are transferred using FTP.
10. Discuss briefly about the blocking web sites and sorting mail.

UNIT II JAVA FUNDAMENTAL


Java features Java Platform Java Fundamentals Expressions, Operators, and Control
Structures Classes, Packages and Interfaces Exception Handling.
PART A:

How does Java achieve portability?


How do you implement multiple inheritance in Java?
What is meant by constructor overloading?
List out the control structures in Java.
Write a Java program to increment a number and print the number and the
incremental value.
6. What is the need for packages?
7. What is the use of finally keyword?
8. What is the use of finalize method?
9. Differentiate overloading and overriding.
10. What are java buzzwords?
11. Why inheritance is important?
12. Which types of inheritances are available in Java?
13. What is the difference between class and interface?
14. What is final keyword?
15. What is static keyword?
16. What is this keyword?
17. What is CLASSPATH?
18. What is the difference between throw and throws keywords?
19. Differentiate between type conversion and type casting.
20. List the important features of the switch statement.
1.
2.
3.
4.
5.

www.Vidyarthiplus.com

www.Vidyarthiplus.com

PART B:

1.
2.
3.
4.

Discuss exception handling mechanism in detail with suitable example.


Explain how to create a package in Java with example.
Explain the salient features of java in detail.
(i) Write a Java program to create a user-defined exception and use it in the main
method.
(ii) Write a Java program to implement the following in-built exceptions:
ArithmeticException and NumberFormatException
5. Discuss about the polymorphism and abstract classes in java.
6. Write a JAVA program using an Interface which has a class called Account that
creates the following:
Data members: Name of the depositor, AccountNo, Account Type, Balance
amount in the Account.
Methods: To assign initial values, to deposit an amount, to withdrawn amount
after checking balance and to display the name and balance.
7. Explain various control structures used in Java.
8. Discuss the different types of operators used in Java.
9. Develop a Java Program to demonstrate Multilevel Inheritance using the classes
Faculty
(Data members FacultyId, name, dept, specialization),
Student(Data members RegNo, name, dept) and
Research Scholars (Data members RegNo, course, specialization).
Include Constructor in each class and set of methods in each class and display
the details.
10. (i) Discuss the role of JVM in java platform.
(8)
(ii) How do you set CLASSPATH?
(4)
(iii) List any three packages and its uses.
(4)

UNIT III PACKAGES


AWT package Layouts Containers Event Package Event Model Painting Garbage
Collection Multithreading Language Packages.
PART A:

1. What is Layout Managers?


2. What is painting in Java?
3. How to create thread?
4. List out any four methods of Thread class.
5. What is event handling?
6. What is a container? List any two containers.
7. Define delegation event model. Write the advantages of it.
8. What are the sub packages of java.lang? List their purpose.
9. What is meant by Wrapper class?
10. List out the various AWT classes.
11. Create a 44 grid and fills it in with 15 buttons, each labeled with its index.
12. What are the methods associated with an applet?

www.Vidyarthiplus.com

www.Vidyarthiplus.com

13. What do you mean by synchronization?


14. Differentiate between Choice and List.
15. List any four graphical methods for drawing different shapes.
16. What is Event Listeners? Give some Event Listener Interfaces.
17. What is the difference between String and StringBuffer class?
18. What are the thread methods used for interprocess communication?
19. How to create Menu Bar, Menu and Menu item in java?
20. What are the controls supported by AWT?
PART B:

1. Explain any three Layout Managers in detail with their methods.


2. Illustrate the creation of command buttons and action events with suitable
example program.
3. Write a Java program to handle mouse and Keyboard events using delegation
model.
4. What is Garbage collection? How strings are handled in Java? Explain the
concepts with an example.
5. Discuss the following Event listener interfaces with suitable example.
(i)
Action Listener
(4+4+4+4)
(ii) ComponentListener
(iii) ContainerListener
(iv) WindowListener
6. Illustrate the creation of frames and scroll bar and action events with suitable
example.
7. (i) write a Java program to convert an integer into binary, hexadecimal
and octal.
(8)
(ii). Write a java program to create a simple calculator application using AWT
Frame class.
(8)
8. (i) Create a class called Exam that is a Java Applet that has two buttons Fill and
No Fill. When the applet is started it should display a black rectangular outline.
If the Fill button is pressed the rectangle should become filled with the colour
red. If the No Fill button is pressed, the rectangle should revert to the black
rectangular outline that was displayed when the Applet started.
(8)
(ii) Design an Applet to demonstrate College Information and use appropriate
layout for alignment.
(8)
9. Explain how multithreading is achieved in java with suitable examples.
10. Explain any four java.lang package in details.

www.Vidyarthiplus.com

www.Vidyarthiplus.com

UNIT IV ADVANCED JAVA PROGRAMMING


Utility Packages Input Output Packages Inner Classes Java Database Connectivity Servlets - RMI Swing Fundamentals - Swing Classes.

PART A:
1. List the packages which help in building Servlet.
2. What is anonymous inner class?
3. State any two utility packages and what is their use.
4. List the life cycle methods of a servlet.
5. What is Swing?.
6. Define Stubs and Skeletons.
7. What is the difference between Prepared Statement and callable statement?
8. What is the difference between doGet and doPost method in Java Servlet?
9. List the advantages offer by Servlets over CGI.
10. What is the use of printwriter in java.io packages?
11. Define Cookies.
12. What is Serialization? Is it needed to implement RMI.
13. Give the syntax of the two common constructors of FileInputStream class.
14. What are the methods declared by Comparator interface?
15. What are the methods declared by Iterator interface?
16. What are the uses of javax.servlet.http package?
17. What is Marshaling?
18. Define Adapter Class.
19. List the four categories of drivers supported by JDBC.
20. Mention any four classes of Swing.
PART B:
1. Write a java program to display the student information using JDBC.
2. Explain the working of RMI. Write a java program for adding two numbers using

RMI.
3. (i) Write a java program to create a new ArrayList for storing string objects. (8)

(ii) Write short notes on PrintStream class.


4. (i) Write a java program to read a text file and display its content.

(8)
(8)
(8)

(ii) List out the utility packages.


5. Explain the different components of java servlet with a simple java servlet
program.
6. (i) Write a servlet code to display the string Hello in the browser display
area.
(12)
(ii) Write short notes on Handling HTTP Requests and Responses.
(4)
7. Explain the process of Serialization in Java and write a program to demonstrate it.

www.Vidyarthiplus.com

www.Vidyarthiplus.com

8. Explain the working of RMI with a clientserver application to display the current

date and time in digital form.


9. Explain java database connectivity in detail.
10. Write a java program to implement event handling in swing.

UNIT V JAVA BEANS AND NETWORKING

Java Beans Application Builder Tools - Using the Bean Developer Kit-Jar FilesIntrospection- BDK - Using BeanInfo Interface Persistence- Java Beans API Using
Bean Builder - Networking Basics - Java and the Net InetAddress TCP/IP Client
Sockets URL URL Connection TCP/IP Server Sockets A Caching Proxy HTTP
Server Datagrams.

PART A:

1. What Is a Java Bean? What are the advantages of java beans?


2. What is Introspection?
3. List the major capabilities of Application Builder Tools.
4. What is BDK?
5. How to create and configure an instance of the OurButton Bean?
6. What is the need of JAR files?
7. What is the use of manifest file?
8. State any two jar commands.
9. What are the information provided by the BeanInfo Interface?
10. Define Persistence.
11. State any four classes of java.net package.
12. List the uses of TCP/IP Sockets.
13. What is mean by URL?
14. Differentiate between TCP/IP and Datagram.
15. Distinguish between IP,TCP and UDP.
16. What is mean by proxy server?
17. What is the purpose of InetAddress?
18. Write a java program to prints the address and name of the local machine.
19. What are the two kinds of TCP Sockets in java?
20. State the factory methods of InetAddress.

www.Vidyarthiplus.com

www.Vidyarthiplus.com

PART B:

1. Explain how java beans can be created with an example.


2. Explain the BDK application for the following:
(i) Create and Configure an Instance of the Molecule Bean (8)
(ii) Create and Configure an Instance of the OurButton Bean (8)
3. Write note on the following:
(i)
Using BeanInfo Interface
(10)
(ii)
Persistence
(6)
4. Develop a java bean program to lists the properties and events of the Colors
Bean.
5. Develop a Java Bean program to display the various shapes like arc, ellipse and
polygon.
6. Write a client server java program using Datagram.
7. Write a java program to implement File Transfer Protocol using Socket.
8. Explain the following with example:
(i) URL Connection (8) (ii) TCP/IP Server Sockets (8)
9. Develop a simple caching proxy HTTP server to demonstrate client and server
sockets.
10.Discuss briefly about the following:
(i)
DatagramPacket
(8)
(ii) TCP/IP Client Sockets (8)

www.Vidyarthiplus.com

You might also like