You are on page 1of 7

Register Number :

Name of the Candidate :


6 1 0 6
M.Sc. DEGREE EXAMINATION, 2010
( COMPUTER SCIENCE)
( SECOND SEMESTER )
( PAPER - VIII / IX )
211. JAVA PROGRAMMING
( New Regulations )
December ] [ Time : 3 Hours
Maximum : 100 Marks
SECTION - A (8 5 = 40)
Answer any EIGHT questions.
All questions carry equal marks.
1. What are the different types of data types ?
2. Explain the IF statement.
3. What is the purpose of try-catch in Java?
4. What is an array ? Explain two dimensional
array.
5. What is class and objects ? Give example.
6. What is table ? How can you create a table?
Insert some data in this table.
7. Explain JDBC.
8. Write short notes on DSN.
9. Explain JAVA Script functions.
10. Write servlet cycle in detail.
SECTION - B (3 20 = 60)
Answer any THREE questions.
All questions carry equal marks.
11. Explain the various loop statement in JAVA.
Explain with example.
12. (a) Explain any three exception handling.
(b) What is multithread ? Explain.
13. (a) Write any five SQL queires.
(b) Write short notes on AWT.
14. (a) How can you create and connect the
database in your main program ?
(b) Write short notes on JSP.
15. Write the basic concepts of VB Script.
SECTION-A
Answer any EIGHT Questions (85=40)
1. Mention the salient features of Java.
2. How will you declare variables in Java?
3. Explain the technique of creating threads.
4. What is AWT?
5. Define database.
6. Mention the salient features of SQL.
7. How will you work with JDBC driver?
8. What is DSN?
9. Define Web.
10. Explain the concept of Servlet.
SECTION-B
Answer any THREE Questions (320=60)
11. Explain the execution of while statement.
12. Discuss on Input /Output streams in Java.
13. How to execute Queries in SQL? Explain with examples.
14. Mention the importance of JDBC.
15. Discuss the following:
a) Servlet chaining.
b) Servlet communications.
Turn Over
Register Number :
Name of the Candidate :
2 1 7 8
M.Sc.DEGREE EXAMINATION, 2011
( COMPUTER SCIENCE )
( SECOND SEMESTER )
( PAPER - VIII )
211. JAVA PROGRAMMING
May ] [ Time : 3 Hours
Maximum : 100 Marks
SECTION - A ( 8 5=40)
Answer any EIGHT questions.
All questions carry equal marks.
1. Name and explain various tools in JAVA.
2. What is the need of for loop in JAVA and
explain.
3. Write the syntax of try-catch in JAVA and
explain.
4. What is multithread opeations ? Explain.
5. Write the purpose of TCL in SQL.
6. Write some components of JDBC.
7. What is the purpose of insert and update
statement in SQL ?
8. What is the difference between scripts with
programming .
9. How can you include JAVA Scripts inHTML ?
10. Write the servlet chaining functions.
SECTION - B ( 320 = 60)
Answer any THREE questions.
All questions carry equal marks.
11. Write various control statements in JAVA with
suitable examples. (20)
12. (a) Write a program to find the biggest among
three given numbers.
(b) Data types in JAVA - Explain. (10)
13. (a) Write short notes on AWT. (10)
2 3
(b) What is the purpose of exception handling in
JAVA ? (10)
14. (a) Briefly explain DDL in SQL. (10)
(b) Write some basic queries in SQL. (10)
15. Answer any TWO :
(a) Write the life cycle of servlet. (10)
(b) Applet life cycle. (10)
(c) JDBC in JAVA ( JDBC). (10)
M.Sc. DEGREE EXAMINATION, 2012
( COMPUTER SCIENCE )
( SECOND SEMESTER )
( PAPER - VIII )
211. JAVA PROGRAMMING
December ] [ Time : 3 Hours
Maximum : 100 Marks
PART - A (8 5 = 40)
Answer any EIGHT questions.
ALL questions carry EQUAL marks.
1. Define constants with examples.
2. Explain the concept of classes.
3. What is meant by exception handling?
4. How to stop and block a thread?
5. Define database.
6. Mention the salient features of SQL.
7. What is JDBC?
8. How to create DSN?
9. Explain the concept of functions in JAVA
Script.
10. What is meant by servlet-communication?
PART - B (3 20 = 60)
Answer any THREE questions.
ALL questions carry EQUAL marks.
11. Explain the execution of the switch statement.
12. Describe the life cycle of Applet. How Applet
differs from applications?
13. How to create and execute the queries in a
database using SQL?
14. Explain the technique of providing connection
with JDBC.
15. How to use JAVA Script in web design?
M.Sc. DEGREE EXAMINATION, 2012
( COMPUTER SCIENCE )
( SECOND SEMESTER )
( PAPER - VIII )
211. JAVA PROGRAMMING
May ] [ Time : 3 Hours
Maximum : 100 Marks
PART A (8 5 = 40)
Answer any EIGHT questions.
ALL questions carry equal marks.
1. Discuss the data types supported in Java.
2. How are arrays declared and used?
3. Explain the technique of extending the thread
class.
4. What is meant by socket programming?
5. How does database differ from data file ?
6. Mention the salient features of SQL.
7. What is DSN?
8. How do you provide connection with database?
9. How do you use Java scripts in web design?
10. What is meant by Servlet chaining?
PART B (3 20 = 60)
Answer any THREE questions.
ALL questions carry equal marks.
11. Explain the execution of FOR statement.
12. How do you handle multiple catch statement?
13. Discuss the concept of updating using queries
in database
14. How will you work with JDBC driver?
15. Mention the basic concepts of VB Script.
Answer any EIGHT questions. (8 5 = 40)
1. Explain how to create and declare an array with its syntax.
2. Show and explain the syntax of do while statement.
3. List five common examples of exception.
4. Draw the life cycle of a thread.
5. Explain the use of databases in enterprise applications.
6. Highlight the features of SQL.
7. Explain the need of JDBC.
8. Briefly explain the role of JDBC driver.
9. Highlight the features of VB script.
10. What is servlet? Explain its use.
PART B
Answer any THREE questions. (3 20 = 60)
11. (a) Write a JAVA program to find the sum of the digits of a given number
N . (10)
(b) Explain how to declare a class with a method. Give an example. (10)
2
Sp2
2 6368
12. (a) Write about Java exception hierarchy. (10)
(b) What is AWT? Explain its use with an example. (10)
13. (a) Discuss the various manipulations of SQL with illustrative examples.
(15)
(b) Compare relational database with commercial databases. (5)
14. With a simple case study, explain the use of JDBC in connecting database wit
h
applications. (20)
15. Write note on :
(a) Java script functions (10)
(b) Servlet chaining.
211. JAVA PROGRAMMING
May ] [ Time : 3 Hours
Maximum : 100 Marks
PART A (8 5 = 40)
Answer any EIGHT questions.
ALL questions carry EQUAL marks.
1. Briefly explain the different data types supported
in JAVA.
2. Differentiate between break and continue
statement.
3. Briefly write about thread synchronization.
4. Highlight the significance of applets.
5. Show and explain the syntax of SQL query.
6. Describe the aggregate functions used in SQL.
7. Highlight the significance of JDBC.
8. Write the procedure for connecting database
with applications.
9. List the advantages and disadvantages of JAVA
script.
10. What is servlet chaining? Explain.
SECTION B (3 20 = 60)
Answer any THREE questions.
ALL questions carry EQUAL marks.
11. (a) Write a JAVA program to find the biggest
among the given three numbers. (10)
(b) With an example, explain the syntax of for
loop statement. (10)
12. (a) Explain how to create and execute a thread.
(10)
(b) Briefly write on the need of socket
programming. (10)
13. Discuss the updation and execution of SQL
queries with illustrative examples. (20)
14. With a simple case study, explain the working
of JDBC driver. (20)
15. Discuss the use of Java script in web design
with an illustrative example. (20)
211: JAVA PROGRAMMING
Time: Three hours Maximum: 100 marks
SECTION-A
Answer any EIGHT questions
(8 5 = 40)
1. Differentiate while and do...while statements using a sample code.
2. Discuss about data types and their memory occupation.
3. Discuss about Datagram Packet class constructors.
4. Discuss about the methods defined in InputStream class.
5. Explain the features of SQL.
6. Write a SQL query for the following conditions (i) Display the names of
employee who are getting more salary (ii) Display employee name, job, dept,
loc for all managers.
7. Discuss about ResultSet class in JDBC.
8. Explain the need of JDBC.
9. Discuss about Servlet chaining.
10. Discuss the concepts of VB Script.
SECTION-B
Answer any THREE questions
(3 20 = 60)
11. Explain the Date class methods with examples.
12. Write an applet program to display a string and explain the life cycle of an
applet
application.
13. Explain about the creation, insertion, updating and execution of queries usi
ng SQL.
14. Write a simple JDBC program to retrieve the employ details from an Emp Datab
ase
and explain each step.
15. Write a servlet program to access the database using JDBC.
--------------------
211 JAVA PROGRAMMING
Time : Three hours Maximum : 100 marks
PART A
Answer any EIGHT questions. (8 5 = 40)
1. What is the purpose of switch statement? Give an example.
2. How do you define a class? How do you access class members through main
class?
3. Why do we need of exception handling? Write any five common examples of
exception class.
4. Define Thread. How do you create a new thread?
5. Explain how to create a data base.
6. List out the features of SQL.
7. Explain the need of JDBC.
8. Discuss how to creation of DSN.
9. Explain the basic concept of VB script.
10. What is servlet? Explain its usage.
PART B
Answer any THREE questions. (3 20 = 60)
11. (a) What is meant by constructor overloading? Give an program example. (10)
(b) How do you declare variable size array? Explain it with sample example.
(10)
2
WK 6
2 6461
12. (a) Describe the life cycle of thread. (10)
(b) Discuss the character stream class. (10)
13. (a) Discuss the various operations of SQL with suitable example. (15)
(b) Compare relational database with other data base. (5)
14. (a) Describe the JDBC architecture. (10)
(b) Explain the connection between java and database. (10)
15. Write note on :
(a) Java script functions. (10)
(b) Servlet chaining.
211: JAVA PROGRAMMING
Time: Three hours
Maximum: 100 marks
SECTION-A
Answer any EIGHT questions
(85=40)
1.
When will you use FOR, WHILE, DO.....WHILE statement in Java? Give an program ex
ample.
2.
What is meant by constructors? Write a simple example code for constructors.
3.
Why do we need of Exception handling? Write the general structure of Exception.
4.
Discuss how to design a Web page.
5.
Explain how to update of records in SQL.
6.
What are features available in SQL?
7.
Briefly explain the role of JDBC driver.
8.
Write short note on JDBC Interface and Classes.
9.
List out some Java Script functions.
10.
What is the advantage of Servlet Communications classes?
SECTION-B
Answer any THREE questions
(320=60)
11.
a)
Describe the decision making and branching statement.
(10)
b)
Write a Java program to implement interface concept in your own program.
( 10)
12.
a)
Explain how to create used defined exception class.
(10)
b)
Discuss the Applet life cycle with neat diagram.
(10)
13.
a)
Discuss the insertion record in to database.
(10)
b)
Explain how to execute queries using SQL.
(10)
14.
a)
Describe the JDBC architecture.
(10)
b)
What are the steps for querying the Data base with JDBC?
(10)
15.
Write notes on:
(20)
a)
Fundamentals on Java Script
b)
Basic concept of JSP
********