Name of the University : Mahatma Gandhi University
Department : Computer Science and Engineering
Degree : B.Tech
Subject Code/Name : CS010 602/Internet Computing
Sem : VI
Website : mgu.ac.in
Document Type : Model Question Paper
Download Model/Sample Question Paper : https://www.pdfquestion.in/uploads/mgu.ac.in/5138-CS602.pdf
MGU Internet Computing Model Question Paper
B. Tech Degree Examination, December 2013 :
Sixth Semester :
Branch: Computer Science and Engineering
Related / Similar Question Paper :
MGU B.Tech Design & Analysis of Algorithm Question Paper
(Regular -2010 Admissions)
Time: Three Hours
Maximum: 100 Marks
Answer all questions :
Part A
Each question carries 3 marks :
1. What do you meant by JVM? What are its main roles?
2. What are the different types of access modifiers?
3. What is the difference between Swing and AWT components?
4. What do you meant by Datagram?
5. What is JSF (or Java Server Faces)? What are the advantages of JSF?
(5 x 3 = 15 marks)
Part B
Each question carries 5 marks :
6. Explain the reason for each keyword of public static void main (String args[ ])?
7. Explain the meaning of the following terms.
(a) Method overloading
(b) Method overriding
(c) Abstract Class
8. What do you meant by event handling? List the different event listeners in java.
9. Differentiate between Socket class and ServerSocket class in java?
10. Explain Image Filter class with examples.
(5 x 5 = 25 marks)
Part C
Answer any one full question from each module. :
Each full question carries 12 marks :
11. a) Explain in detail object-oriented programming features supported in Java.
b) Write a Java application that determines and prints the number of odd, even and zero digits from the array of 20 integers.
OR
12. Write a program that will read the value of x and evaluate the following function
y = { 1 for x > 0
{ 0 for x = 0
{ -1 for x < 0 Using
(a) nested if statements
(b) else if statements, and
(c) Conditional operator.
13. How are multithreads created in Java? How is inter-threading communication and thread synchronization possible?
OR
14. a) Give the Class hierarchy in Java related to exception handling. Briefly explain each class.
(b) What is the necessity of exception handling? Explain exception handling taking “divide-by-zero” as an example.
15. How will you pass parameters to an applet? Create an applet that lets the user adjust its background color. Provide 3 scrollbars in the applet one for each of the three base colors red, green, blue.
OR
16. Give the advantages of swings? Write short notes on swing components. Explain swing package.
17. Explain the structure and working of RMI program.
OR
18. Briefly explain the classes in java.net package.
19. Explain the java servlet life cycle and the model view controller design pattern with neat diagrams.
OR
20. Briefly explain the different drivers in JDBC. Explain the steps for database connectivity using JDBC with an example. (5 x 12 = 60 marks)
Syllabus
CS010 602 : Internet Computing
Objectives :
** To impart the basic concepts of Internet Computing and Java Programming
** To develop understanding about Internet Computing with the help of Java Platform and establishing network connections using Socket Programming
Module I : (10hours)
Introduction to Java- Genesis of Java- Features of Java –Data Types-Variables and Arrays-Operators- Control Statements – Selection Statements – Iteration Statements- Jump Statements.
Module II : (12 hours)
Creating & using classes in Java – Methods and Classes – Inheritance – Super Class – Method Overriding –Packages and Interfaces – Implementing Interfaces- Exception Handling – Exception Types, Threads-Multithreaded programs, Thread Priorities and Thread synchronization.
Module III : (14hours)
I/O – I/O Basics – Byte Streams and Character Streams, Reading Console Input, Collections Framework, Applets & Applet Architecture-Applet Skelton- Passing Parameters to Applet, Event Handling-Event Model- Event Classes – Event Listener Interfaces, AWT – AWT Classes – AWT Controls – Layout Managers and Menus. Swing- JApplet – Jbuttons – JTables.
Module IV : (13 hours)
Network Programming with Java – Socket Programming in Java-Client Sockets- Server Sockets- Secure Server Sockets- TCP/IP Programming with Java – Datagrams, IP multicasting, Remote Method Invocation.
Module V : (11 hours)
Advanced Java Programming – Accessing Databases with JDBC, Servlets, Image processing using Java – Image Filter – Web Application development using Java Technolgies- Java Server Faces.