END TERM EXAMINATION THIRD SEMESTER [MCA], DECEMBER-2012

Similar documents
IT6503 WEB PROGRAMMING. Unit-I

Specialized Programme on Web Application Development using Open Source Tools

Fundamentals of Java Programming

Java Application Developer Certificate Program Competencies

Specialized Programme on Web Application Development using Open Source Tools

An Overview of Java. overview-1

Java EE Web Development Course Program

Computing Concepts with Java Essentials

Java (12 Weeks) Introduction to Java Programming Language

BHARATHIAR UNIVERSITY COIMBATORE SCHOOL OF DISTANCE EDUCATION

core. Volume I - Fundamentals Seventh Edition Sun Microsystems Press A Prentice Hall Title ULB Darmstadt

CS506 Web Design and Development Solved Online Quiz No. 01

Java Interview Questions and Answers

Java SE 8 Programming

Course Number: IAC-SOFT-WDAD Web Design and Application Development

RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE. CISY 105 Foundations of Computer Science

Java 6 'th. Concepts INTERNATIONAL STUDENT VERSION. edition

Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner

Java the UML Way: Integrating Object-Oriented Design and Programming

@ - Internal # - Online TH PR OR TW TOTAL HOURS # @ 175

Web Development in Java

Syllabus for CS 134 Java Programming

JAVA. EXAMPLES IN A NUTSHELL. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo. Third Edition.

NetBeans Profiler is an

How To Write A Program For The Web In Java (Java)

C++ INTERVIEW QUESTIONS

AP Computer Science Java Subset

IBM WebSphere Server Administration

B.C.A. DEGREE EXAMINATION, NOVEMBER 2010 Fifth Semester Computer Applications Elective WIRELESS APPLICATION PROTOCOL (CBCS 2008 onwards)

Android Application Development Course Program

Java SE 7 Programming

Java SE 7 Programming

Applets, RMI, JDBC Exam Review

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?

The Sun Certified Associate for the Java Platform, Standard Edition, Exam Version 1.0

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT COURSE CURRICULUM COURSE TITLE: ADVANCE JAVA PROGRAMMING (COURSE CODE: )

INFORMATION BROCHURE

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

WebSphere Server Administration Course

Japan Communication India Skill Development Center

Japan Communication India Skill Development Center

Debugging Java Applications

COMMUNITY COLLEGE OF CITY UNIVERSITY CITY UNIVERSITY OF HONG KONG

Java SE 7 Programming

Java Software Structures

Getting Started with the Internet Communications Engine

A Sample OFBiz application implementing remote access via RMI and SOAP Table of contents

Oracle8/ SQLJ Programming

DIPLOMADO DE JAVA - OCA

Core Java+ J2EE+Struts+Hibernate+Spring

BCA 421- Java. Tilak Maharashtra University. Bachelor of Computer Applications (BCA) 1. The Genesis of Java

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5

Enterprise Java. Where, How, When (and When Not) to Apply Java in Client/Server Business Environments. Jeffrey Savit Sean Wilcox Bhuvana Jayaraman

Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies)

The Java Series. Java Essentials I What is Java? Basic Language Constructs. Java Essentials I. What is Java?. Basic Language Constructs Slide 1

Japan Communication India Skill Development Center

Please select one of the topics below.

Performance Improvement In Java Application

Java Programming Fundamentals

JAVA - QUICK GUIDE. Java SE is freely available from the link Download Java. So you download a version based on your operating system.

Japan Communication India Skill Development Center

JAVA INTERVIEW QUESTIONS

CaptainCasa. CaptainCasa Enterprise Client. CaptainCasa Enterprise Client. Feature Overview

Free Java textbook available online. Introduction to the Java programming language. Compilation. A simple java program

WebObjects Web Applications Programming Guide. (Legacy)

Free Java textbook available online. Introduction to the Java programming language. Compilation. A simple java program

Introduction to Java

No no-argument constructor. No default constructor found

Tutorial Reference Manual. Java WireFusion 4.1

Graduate Assessment Test (Sample)

Terms and Definitions for CMS Administrators, Architects, and Developers

A generic framework for game development

PG DAC. Syllabus. Content. Eligibility Criteria

10CS73:Web Programming

Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java

The goal with this tutorial is to show how to implement and use the Selenium testing framework.

A TOOL FOR DATA STRUCTURE VISUALIZATION AND USER-DEFINED ALGORITHM ANIMATION

Creating a Simple, Multithreaded Chat System with Java

Java - gently. Originaux. Prérequis. Objectifs

Apache Jakarta Tomcat

Transparent Redirection of Network Sockets 1

During the process of creating ColorSwitch, you will learn how to do these tasks:

JAVA r VOLUME II-ADVANCED FEATURES. e^i v it;

2. Advance Certificate Course in Information Technology

IE Class Web Design Curriculum

About XML in InDesign

JAVA IN A NUTSHELL O'REILLY. David Flanagan. Fifth Edition. Beijing Cambridge Farnham Köln Sebastopol Tokyo

ENTERPRISE PASSWORD SAFE ENTERPRISE PASSWORD SAFE VERSION

Instrumentation Software Profiling

Sitecore InDesign Connector 1.1

Explain the relationship between a class and an object. Which is general and which is specific?

Programming Languages

SE 360 Advances in Software Development Object Oriented Development in Java. Polymorphism. Dr. Senem Kumova Metin

MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC

COURSE CURRICULUM COURSE TITLE: WEB PROGRAMMING USING ASP.NET (COURSE CODE: )

TYLER JUNIOR COLLEGE School of Continuing Studies 1530 SSW Loop 323 Tyler, TX

16.1 DataFlavor DataFlavor Methods. Variables

JAVA/J2EE Course Syllabus

Advanced Java Client API

Entrust Managed Services PKI Administrator s Quick Start Guide

Transcription:

(Please write your Exam. Roll No.) Exam. Roll No.. Paper Code : MCA 205 END TERM EXAMINATION THIRD SEMESTER [MCA], DECEMBER-2012 Subject : Java Programming Time: 3 Hours Maximum Marks : 60 Q1 Note: Attempt five questions including Q. no. 1which is compulsory. Select one question from each unit. Answer the following: (a) What is the difference between Application and Applet? (b) Write a small java program containing user defined exceptions. (c) What is Garbage Collection in Java? (d) What is JVM and JVM programming? (e) What is the functionality of a file class? (f) What is the Java Bean and Bean Development Kit (BDK)? (g) What are the steps involved in establishment of a JDBC connection? (h) What is Enterprise Java Bean? (i) Describe Dynamic dispatch method with example. (j) What are the features of swings? (2 10=20) UNIT I Q. 2. Explain the steps to create RMI based clients and server. Explain the various methods for registering and gaining access to the Remote Object. (10) Explain Method overloading and Method Overriding with suitable example. Can you overload operators Q3 Q4 in Java. UNIT II Explain the basic components of JDBC. Explain in detail the different drivers of JDBC (10) Explain Multithreading. How Java implements its Thread model? (10) UNIT III Write a program to create two threads, one thread will print odd numbers and second thread will print even numbers between 1 to 10 numbers. (10) (10) Q5 Describe the various operators used in Java with their classifications. Explain left shift and right shift operators with suitable examples. (10) UNIT IV Explain the architecture of Remote Method invocation (RMI) and its packages.

Write short notes on any four of the following giving suitable examples:- (10) (a) Standard Java Packages (b) Java AWT controls (c) NetBean (d) Java class loaders (e) JDBC models

(Please write your Exam. Roll No.) Exam. Roll No.. END TERM EXAMINATION FOURTH SEMESTER [MCA], MAY-2011 Paper Code : MCA 206 Subject : Java Programming & Website Design Paper ID : 44206 Time: 3 Hours Maximum Marks : 60 Note : Question 1 is compulsory. Attempt one question from each unit. Q. 1. (a) Define wrapper classes. (2 10=20) (b) What do you mean by uncaught exception? (c) Java is a freeform language. Comment. (d) What do you mean by package? (e) Explain the term synchronization in java. (f) What are applets? (g) Define abstract classes in java. (h) What are delegates? (i) Define java beans. (j) What are dynamic web pages? UNIT I (10) Q. 2. What is the difference between a class and interface? what is the use of interface? Write a program in java to illustrate the use of an interface. Write java program to take input for employee name, employee id, designation salary and convert the salary entered by the user in words.

UNIT II (10) Q. 3. Describe the java throwable class hierarchy and the types of exceptions. Can you claim multiple exceptions in a method declaration? Illustrate by means of an example. What is the importance of thread synchronization in multithreading? Give some examples of resource corruption when multiple thread conflict. How do you synchronize Conflicting threads? UNIT III (10) Q. 4. What is event delegation model? What are its basic components? Write a program to simulate a simple calculator using AWT. Write an applet to show the number of visits made to a webpage. The count should be stored on a server side in a file. Every time a page is visited the applet should send a request to the server and the server should increase the count and send that count to the applet. the applet should then display the count in a message. UNIT IV (10) Q. 5. Design a HTML based webpage for displaying department profile on the web page using the appropriate java script validations. The form should contain the following information department id, department name, number of employees, project associated with each employee, designation wise salary of employee. What are swings in java? Write a program in java to illustrate the use of one swing control.

(Please write your Exam Roll No.) Exam Roll No... Paper Code:MCA 206 END TERM EXAMINATION FOURTH SEMESTER [MCA] MAY-2010 Paper ID: 44206 Time:3 Hours Maximum Marks : 60 Subject: Java Programming & Website & Design Note: Question 1 is compulsory. Attempt any four question from Q. 2 to Q. 6 Q1. Attempt any eight parts: (2.5*8=20) R. What is Java Virtual Machine? Explain it. S. Draw the AWT class hierarchy. T. Differentiate between Method overloading and Method Overriding. U. How do you create a button labeled GGSIPU? How do you change a label on button? How do interfaces and abstract classes differ in Java? Give an example of each type? (f) Define an exception and discuss how used defined exceptions can be implemented in Java. (g) (h) (i) What is a difference between HTML and DHTML? Discuss the requirement of each Keyword in the following Java program statement :- public static void main(string args []) Define Multithreading. How is a thread different from a process? Q2. (a) Write a program using array/vectors to obtain the output a: (5) 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 (b) Write a program to construct a binary tee of numbers and implement function for tree traversal. (5) (i) Preorder (ii) Postorder (iii) Inorder Q3. (a) Write a Program using AWT/Layout Managers to draw a Human face using an applet. (5) (b) Write a Program to implement TCP/UDP Clent Server Architecture Program. (5) Q4. (a) Design a HTMP/DHTML based Web Page for displaying your own profile on the Web using the appropiate JAVASCRIPT validations. The form can contain various set of information like Enrollment no, Name, Age, Course Name and College Name etc. (5) (b) Write the code snippet for: (5) (i) Set the password character in a text field to '#'. (ii) Check Whether the CTRL Key was down when a key event occurred.

Q5. (a) Create a package called math, then use the Package in your program to perform different functions like Addition,Subtraction,Multiplication and Division. (5) (b) What is the difference between the Reader and Writer classes? Show the stream class hierarchy as defined in java.io.package. Q6. (a) Write a vector based program to: (5) (i) (ii) (iii) (iv) (v) Create a vector with initial capacity of 5 element. Decrease the size of vector by 2 element. Display all the elements from the vector. Fetch a specific value from a vector on the user choice and replace it with value specified by the user. Display all the elements from the vector. (b) Write short notes on (any two) :- (2*2.5=5) (i) JavaBeans (ii) Servlets (iii) Swings

END TERM EXAMINATION FOURTH SEMESTER [MCA] MAY JUNE 2009 Paper Code: MCA-206 Paper Id-44206 (Batch: 2004-2007) Subject: Java Programming & Website design Time : 3 Hours Maximum Marks : 60 Note: Q1 is compulsory. Attempt one question from each unit. Section A Q1. Answer any 10 Questions 2*10=20 V. Discuss the need for inner classes? W. Who makes compiled JAVA programs platform independent? X. How does JAVA solve the problem of memory leakage? Y. Discuss Java access specifiers. Z. What is JAVA Bean? What are it s advantages? AA. Discuss the significance of PATH and CLASSPATH. BB. What is PushBackInputStream? Give an Example. CC. What s the difference between the methods sleep() and wait() DD. Differentiate between server side and client side scripting. EE. What are interfaces? FF. Discus the requirements of each keyword in the following Java program statement. public static void main(string ar[]) Section B UNIT-I Q2. a) Differentiate between String and StringBuffer. Discuss with example where we should use what. [5] b) What is class variable? [2] c) Drive two classes from the class Amount and show is a relationship redefine withdraw function and set overdraft limit for current account. [3] Q3. a) What are similarities and differences between an Abstract class and interface? Explain with an example. [5]) b) Write a program to implement a class, Employee, with data members (lastname, firstname, hourlywages, yearswithcompnay.). Take the data 0f 100 employees in an array.write a code segment that will output of the first name, last name, and hourly wage of each employee who has been with the company 20 years or more.employee[] employeedata = new Employee[100] [5] UNIT-II Q4. a) What do understand by Synchronization? Discuss with an example. [4] b) Write a program to maintain file using DataInputStream/DataoutputStream object and implement menu driven programming with the following options. [6]

i) Searching of Object using key values ii) Modification iii) Append Q5. a) What are different types of exceptions in Java? Explain briefly how they work? Give their example. [5] b) Create a client server application to implement a dictionary in which client will send a word to the server and server provides the meaning of word to the client. [5] UNIT-III Q6. a) Write code snippets for any Three: [2*3 =6] i) Check whether right mouse button was pressed when a MouseEvent occurred. ii) Check whether CTRL key was down when a KeyEvent occurred. iii) Show a particular card when the layout manager is CardLayout iv) Check whether the source of an action event was a Button or a List v) Check whether the source of a text event was the TextField tfname or tfpassword. vi) Set the password character in a textfield to # b) Explain lifecycle of a servelet. [4] Q.7. a) What are the Applet s Life Cycle methods? Explain them? [5] b) Write short notes on Layout managers. [5] UNIT-IV Q8. a) Differentiate the following [1.5* 2 =3] i) JAVA and JavaScript ii) Get and post method b) Discuss the various ASP built in Objects [7] Q.9. a) Discuss any four services provided by internet [4] b) Write the HTML code to generate a Web page in the format given below: [6] i) Background color of the page should be Cyan ii) Text style should be Comic Sans MS and color should be Red. iii) Picture used in the page is the file activity.jpg located in the subfolder pictures. iv) Table should have a border of color blue. v) Use the concept of nested lists for creating the list given in the web page with specified bullets. vi) Page linked to indoor activities as in.html and outdoor activities as out.html

Paper Code: MCA-206 END TERM EXAMINATION FOURTH SEMESTER [MCA] MAY JUNE 2008 Paper Id-44206 (Batch: 2004-2006) Subject: Java Programming & Website design Time : 3 Hours Maximum Marks : 60 Note: Q1 is compulsory. Attempt one question from each unit. Q1. (a) What are widening conversion and narrowing conversion. Explain with code Fragments (2) (b) Explain Java virtual machine and just in time compiler. (2) (c) Explain short circuit logical operator with the help of code fragments. (2) (d) Which is better: a sequence of if-else or a switch-statement? Why? (2) (e) Differentiate between an applet and an application in java. (2) (f) How are objects handled that go out of scope in java. (2) (g) Explain synchronization. Why is it required? (2) (h) How do you read console input? (2) (i) Explain delegation event model. (2) (j) What are the various methods of sending a form in HTML? Write their advantages and disadvantages. (2) UNIT-I Q2.(a) What are wrapper classes? Discuss the various constructors of these classes. Why Are wrapper classes required? (4) (b) Discuss features of java. (4) (c) What are constructors? What is their use? (2) Q3.(a) What are the differences between an abstract class and an interface? (3) (b) A superclass variable can reference a subclass object. Discuss this statement. Write a code fragment to illustrate it. (3) (c) Using arrays find out the highest number inpytted by a user out of three numbers inputted by him. (4) UNIT-II Q4. (a) What are checked and unchecked exceptions? Write a class under each category. (8) (b) Explain the exception handling keywords try, catch, throw, & finally. Write a program to illustrate each keyword in whatever way it is used. (2) Q5.(a) Explain Java thread model. (4) (b) What are predefined streams. (3) (c) What are factory methods? Explain any three. (3) Q6.(a) Write an applet to display a parameterized banner. (5) (b) Explain adapter classes and inner classes. (2) (c) Discuss the various windows in AWT hierarchy. (3) Q7.(a) What are layout managers? List them. Explain default layout (5)

manager and layout Manager which store several different layouts. Explain their constructors and constantsused within their constructors. (b) Explain the terms introspection and persistence w.r.t. javabeans. (2) (c) Discuss cookie class and its constructors. What does a cookie contain? (3) UNIT-IV Q8.(a) Explain the methodologies that can be implemented to create dynamic web pages. Discuss architecture of any one. (8) (b) What are dialog boxes? List the dialog boxes supported by javascript. Explain purpose of each dialog box. Q9.(a) What are inline frames? Discuss the tag & its attributes associated with inline frame. (3) (b) Discuss common frame layout along with code listings. (7) (2) ***********************************

(Please Write your Roll No.) Exam Roll No.---------------- END TERM EXAMINATION FOURTH SEMESTER[MCA] MAY-JUNE 2007 PAPER CODE:MCA-206 Subject: Java Programming & Website Design Paper Id:44206 Time: 3 Hours Maximum Marks:60 Note: Attempt all questions. Q1. Answer the following: (10 x 1) (i) (a) Byte Code is executed by the Java runtime system which is called the (b) (c) Automatic type conversion is allowed in java (T/F) A method is always called using it s class name followed by a Dot (.) and method name. (d) (e) Every Java applet should extend either class or class The method invokes the applet s update method which in turn Invokes the applet s paint method. (f) (g) (h) (i) (j) The qualifier is used to declare read only variables. Polymorphism implements one multiple A arranges GUI components on a container. Compression scheme used for GIF images is called The object that receives the event is called the (ii) (a) What is abstract class? (2 x 5) (b) (c) (d) (e) What is the difference between function overriding and function overloading. What do you understand by the resuming and stopping of the thread. What do you understand by IRC? What are the differences between Java and Java script? Q2. (a) What are the differences between constructors and methods. List various access modifiers with their purpose. 5 (b) Write short notes on 5 (i) The String Buffer Class

(ii) The String Tokenizer Classs (a) Write a Java Program for Binary Search 5 (b) Write a Java Program for Selection Sort 5 Q3. What is the purpose of claiming exception? (a) How do you claim an exception and where? 5 (b) What is the keyword throw used for? What is the keyword throws used for? Explain with example.5 (a) Describe the life cycle of a thread object. 5 (b) What are the ways of creating of a running a thread? Explain with example. 5 Q4. (a) Write the steps for converting Java application to the applets? Explain with example. 5 (b)what is an Adapter Class? Explain the concepts of the ineer class with example. 5 Write short notes on (i) Java Beans 3 (ii) Servlets 4 (iii) Swings 3 Q5. (a) What are the differences between HTML and DHTML? 5 (b) Write HTML Code to illustrate the concept of vertical and horizontal frame. 5 Write short notes on (a) FTP 3 (b) Telnet 3 (c) Gopher 4