40

OOPS - M.ALEKHYA · 2019. 3. 24. · Name of the Faculty:: M.Alekhya, & V.Shilpa Designation: Asst.prof & Asst.prof Department:: IT 1. TARGET a) Percentage Pass 100% b) Percentage

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

  • FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    COURSE DETAILS

    Name Of The Programme:: B.Tech Batch:: 2010-2014

    Designation::

    Year II Semester II

    Department::IT

    Title of The Subject Object Oriented

    Programming

    Subject Code 54014

    No of Students 98

    COURSE PLAN

    2013-14

    Regulation: R11

  • COURSE PLAN

    2013-14

    Regulation: R11

    FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa Designation: Asst.prof & Asst.prof

    Department:: IT

    1. TARGET

    a) Percentage Pass 100%

    b) Percentage I class 70 to 75%

    2. COURSE PLAN

    (Please write how you intend to cover the contents: i.e., coverage of Units by lectures, guest lectures, design exercises, solving numerical problems, demonstration of models, model preparation, or by assignments, etc.)

    3. METHOD OF EVALUATION

    3.1. Continuous Assessment Examinations (CAE 1, CAE 2)

    3.2. Assignments / Seminars

    3.3. Mini Projects

    3.4. Quiz

    3.5. Term End Examination

    3.6. Others

    Coverage of Units by conceptualizing and solving numerical problems and by giving assignments

    4. List out any new topic(s) or any innovation you would like to introduce in teaching the subject in this Semester. Case-Study Method.

    Signature of HOD Signature of Faculty Date: Date:

  • FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    Guidelines for Preparing the Course: Object Oriented Programming

    Course Description:

    This course will provide graduate students of B.Tech Information Technology with both broad and in-

    depth knowledge, and a critical understanding of Object Oriented programming Concepts. It facilitates

    student to learn Core java perfectly. At the end of this Sem, student will be well acquainted with the

    basics of java programming and will be thorough in OOPS concepts like Classes, Objects, Inheritance,

    Multithreading, Exception handling using packages and Interfaces, Using Applets etc.

    Course Objectives:

    This course will provide graduate students of B.Tech Information Technology with both broad and in-

    depth knowledge, and a critical understanding of Object Oriented programming Concepts. It facilitates

    student to learn Core java perfectly. At the end of this Sem, student will be well acquainted with the

    basics of java programming and will be thorough in OOPS concepts like Classes, Objects, Inheritance,

    Multithreading, Exception handling using packages and Interfaces, Using Applets etc.

    Learning Outcomes:

    At the end of the this course the student will known what is cloud computing,the applications areas

    the cloud computing is used and implementation management and security in cloud computing

    GUIDELINES TO STUDY THE SUBJECT

    2013-14

    Regulation: R11

  • FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    On completion of this Subject / Course the student shall be able to:Get a clear understanding of cloud computing and its usage

    S.No. Objectives Outcomes 1.

    Object oriented thinking :- Need for oop paradigm, A way of viewing world – Agents,

    responsibility, messages, methods, classes and instances, class hierarchies

    (Inheritance), method binding, overriding and exceptions, summary of oop concepts,

    coping with complexity, abstraction mechanisms. Achieved as per the CP

    2.

    Java Basics History of Java, Java buzzwords, datatypes, variables, scope and life time of

    variables, arrays, operators, expressions, control statements, type conversion and

    costing, simple java program, classes and objects – concepts of classes, objects,

    constructors, methods, access control, this keyword, garbage collection, overloading

    methods and constructors, parameter passing, recursion, nested and inner

    classes,exploring string class. Achieved as per the CP

    3.

    Inheritance – Hierarchical abstractions, Base class object, subclass, subtype,

    substitutability, forms of inheritance- specialization, specification, construction,

    extension, limitation, combination, benefits of inheritance, costs of inheritance.

    Member access rules, super uses, using final with inheritance, polymorphism- method

    overriding, abstract classes,the object class Achieved as per the CP

    4.

    Packages and Interfaces : Defining, Creating and Accessing a Package, Understanding

    CLASSPATH, importing packages, differences between classes and interfaces, defining

    an interface, implementing interface, applying interfaces, variables in interface and

    extending interfaces.

    Exploring packages – Java.io. Achieved as per the CP

    5.

    Exception handling - Concepts of exception handling, benefits of exception handling,

    Termination or resumptive models, exception hierarchy, usage of try, catch, throw,

    throws and finally, built in exceptions, creating own exception sub classes

    String Handling, Exploring java.util. Achieved as per the CP

    6.

    Differences between multi threading and multitasking, thread life cycle, creating

    threads, synchronizing threads, interthread communication, daemon threads, thread

    groups.Enumerations, autoboxing, annotations, generics. Achieved as per the CP

    7.

    Event Handling : Events, Event sources, Event classes, Event Listeners, Delegation event

    model, handling mouse and keyboard events, Adapter classes, inner classes.The AWT

    class hierarchy, user interface components- labels, button, canvas, scrollbars, text

    components, check box, check box groups, choices, lists panels – scrollpane, dialogs,

    menubar, graphics, layout manager – layout manager types – boarder, grid, flow, card

    and grib bag. Achieved as per the CP

    8.

    Applets – Concepts of Applets, differences between applets and applications, life cycle

    of an applet, types of applets, creating applets, passing parameters to applets. Achieved as per the CP

    COURSE OBJECTIVES

    2013-14

    Regulation: R11

  • Swing – Introduction, limitations of AWT, MVC architecture, components, containers,

    exploring swing- JApplet, JFrame and JComponent, Icons and Labels, text fields, buttons

    – The JButton class, Check boxes, Radio buttons, Combo boxes, Tabbed Panes, Scroll

    Panes, Trees, and Tables.

    Signature of Faculty Date:

    Note: For each of the OBJECTIVE indicate the appropriate OUTCOMES to be achieved. Kindly refer Page 16, to know the illustrative verbs that can be used to state the objectives.

  • FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The expected outcomes of the Course / Subject are:

    S.No. General Categories of Outcomes Specific Outcomes of the Course

    A. An ability to apply knowledge of mathematics,

    science, and engineering

    B. An ability to design and conduct experiments, as

    well as to analyze and interpret data

    An ability to design a system, component, or

    C. process to meet desired needs within realistic

    Constraints such as economic, environmental,

    social, political, ethical, health and safety,

    Manufacturability and sustainability

    D. An ability to function on multi-disciplinary teams

    Students should be able to obtain the skill set in understanding and analysing the use of Oops through Java .Able to have practical knowledge on Java. At the end of the course, student is able to develop Java Programs according to the scenarios. Students are able to use Java in Internet Programming also.

    E. An ability to identify, formulate, and solve

    engineering problems

    F. An understanding of professional and ethical

    responsibility

    G. An ability to communicate effectively

    The broad education necessary to understand the

    H. impact of engineering solutions in a global,

    economic, environmental, and societal context

    I. A recognition of the need for, and an ability to

    engage in life-long learning

    J. A knowledge of contemporary issues

    An ability to use the techniques, skills, and

    K. modern engineering tools necessary for

    engineering practice.

    Objectives – Outcome Relationship Matrix (Indicate the relationships by � mark).

    Outcomes A B C D E F G H I J K Objectives

    1.

    2.

    3.

    4.

    5.

    6.

    7.

    8.

    COURSE OUTCOMES

    2013-14

    Regulation: R11

  • 9.

    10.

    5

  • FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The Schedule for the whole Course / Subject is:: Object Oriented Programming

    S. No. Description Duration (Date) Total No. From To of Periods

    1.

    Object oriented thinking :- Need for oop paradigm, A

    way of viewing world – Agents, responsibility,

    messages, methods, classes and instances, class

    hierarchies (Inheritance), method binding, overriding

    and exceptions, summary of oop concepts, coping

    with complexity, abstraction mechanisms. 9/12/2013 18/12/2013 9

    2. 19/12/2013 8/01/2014 15

    Java Basics History of Java, Java buzzwords,

    datatypes, variables, scope and life time of variables,

    arrays, operators, expressions, control statements,

    type conversion and costing, simple java program,

    classes and objects – concepts of classes, objects,

    constructors, methods, access control, this keyword,

    garbage collection, overloading methods and

    constructors, parameter passing, recursion, nested

    and inner classes,exploring string class.

    3.

    Inheritance – Hierarchical abstractions, Base class

    object, subclass, subtype, substitutability, forms of

    inheritance

    9/01/2014 22/01/2014 6

    Inheritance – Hierarchical abstractions, Base class

    object, subclass, subtype, substitutability, forms of

    inheritance

    4.

    Packages and Interfaces : Defining, Creating and

    Accessing a Package, Understanding CLASSPATH,

    importing packages, differences between classes and

    interfaces, defining an interface, implementing

    interface, applying interfaces, variables in interface

    and extending interfaces.

    Exploring packages – Java.io. 23/01/2014 30/01/2014 6

    5.

    Exception handling - Concepts of exception handling,

    benefits of exception handling, Termination or

    resumptive models, exception hierarchy, usage of try,

    catch, throw, throws and finally, built in exceptions,

    creating own exception sub classes

    String Handling, Exploring java.util. 01/02/2014 20/02/2014 11

    COURSE SCHEDULE

    2013-14

    Regulation: R11

  • 6.

    Differences between multi threading and

    multitasking, thread life cycle, creating threads,

    synchronizing threads, interthread communication,

    daemon threads, thread groups.Enumerations,

    autoboxing, annotations, generics. 22/02/2014 12/03/2014 15

    7

    Event Handling : Events, Event sources, Event classes,

    Event Listeners, Delegation event model, handling

    mouse and keyboard events, Adapter classes, inner

    classes.The AWT class hierarchy, user interface

    components- labels, button, canvas, scrollbars, text

    components, check box, check box groups, choices,

    lists panels – scrollpane, dialogs, menubar, graphics,

    layout manager – layout manager types – boarder,

    grid, flow, card and grib bag. 13/03/2014 26/03/2014 9

    8

    Applets – Concepts of Applets, differences between

    applets and applications, life cycle of an applet, types

    of applets, creating applets, passing parameters to

    applets.

    Swing – Introduction, limitations of AWT, MVC

    architecture, components, containers, exploring

    swing- JApplet, JFrame and JComponent, Icons and

    Labels, text fields, buttons – The JButton class, Check

    boxes, Radio buttons, Combo boxes, Tabbed Panes,

    Scroll Panes, Trees, and Tables. 27/03/2014 04/04/2014 9

    Total No. of Instructional periods available for the course: 80Hours / 80Periods

  • SCHEDULE OF INSTRUCTIONS

    2013-14

    UNIT - I Regulation: R11

    FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The Schedule for the whole Course / Subject is:: Object Oriented Programming

    SI. No. of Objectives & References Date Topics / Sub - Topics Outcome (Text Book, Journal…)

    No. Periods Nos. Page No___ to ___

    1 9/12 1 Object oriented thinking :- Need for oop

    paradigm, 1&1 Complete Reference

    2 10/12 2 , A way of viewing world – Agents,

    responsibility, messages, methods 1&1 Complete Reference

    3 11/12 3 classes and instances 1&1 Complete Reference

    4 12/12 4 class hierarchies (Inheritance), method

    binding, 1&1 Complete Reference

    5 14/12 5,6 method binding, overriding and

    exceptions, 1&1 Complete Reference

    6 16/12 7 summary of oop concepts, 1&1 Complete Reference

    7 17/12 8 coping with complexity, abstraction

    mechanisms. 1&1 Complete Reference

    8 18/12 9 Revision 1&1 Complete Reference

    Signature of Faculty Date

    Note: 1. ENSURE THAT ALL TOPICS SPECIFIED IN THE COURSE ARE MENTIONED. 2. ADDITIONAL TOPICS COVERED, IF ANY, MAY ALSO BE SPECIFIED BOLDLY. 3. MENTION THE CORRESPONDING COURSE OBJECTIVE AND OUT COME NUMBERS AGAINST EACH TOPIC.

  • SCHEDULE OF INSTRUCTIONS

    2013-14

    UNIT - II Regulation: R11

    FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The Schedule for the whole Course / Subject is:: Object Oriented Programming

    SI. No. of Objectives & References Date Topics / Sub - Topics Outcome (Text Book, Journal…)

    No. Periods Nos. Page No___ to ___

    1 19/12 10 Java Basics History of Java, scope and life

    time of variables, arrays, 1&1 Complete Reference

    2 21/12 11, 12 Java buzzwords, datatypes, variables, 1&1 Complete Reference

    3 23/12 13, 14 operators, 1&1 Complete Reference

    4 28/12 15 expressions, control statements, 1&1 Complete Reference

    5 30/12 16 simple java program, 1&1 Complete Reference

    6 31/12 17 classes and objects – concepts of classes,

    objects, 1&1 Complete Reference

    7 1/1 18 constructors, methods, 1&1 Complete Reference

    8 2/1 19 access control, this keyword, 1&1 Complete Reference

    9 4/1 20, 21 overloading methods and constructors, 1&1 Complete Reference

    10 6/1 22 parameter passing, 1&1 Complete Reference

    11 7/1 23 nested and inner classes, exploring

    string class. 1&1 Complete Reference

    12 8/1 24 type conversion and costing, recursion, 1&1 Complete Reference

    13 9/1 25, 26 garbage collection, 1&1 Complete Reference

    Signature of Faculty Date

    Note: 1. ENSURE THAT ALL TOPICS SPECIFIED IN THE COURSE ARE MENTIONED. 2. ADDITIONAL TOPICS COVERED, IF ANY, MAY ALSO BE SPECIFIED BOLDLY.

    MENTION THE CORRESPONDING COURSE OBJECTIVE AND OUT COME NUMBERS AGAINST EACH TOPIC.

  • Signature of Faculty Date

    Note: 1. ENSURE THAT ALL TOPICS SPECIFIED IN THE COURSE ARE MENTIONED. 2. ADDITIONAL TOPICS COVERED, IF ANY, MAY ALSO BE SPECIFIED BOLDLY.

    MENTION THE CORRESPONDING COURSE OBJECTIVE AND OUT COME NUMBERS AGAINST EACH TOPIC.

    SCHEDULE OF INSTRUCTIONS

    2013-14

    UNIT - III Regulation: R11

    FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The Schedule for the whole Course / Subject is:: Object Oriented Programming

    SI. No. of Objectives & References Date Topics / Sub - Topics Outcome (Text Book, Journal…)

    No. Periods Nos. Page No___ to ___

    1 9/1 25, 26

    Inheritance – Hierarchical abstractions,

    Base class object, subclass, subtype,

    substitutability, 1&1 Complete Reference

    2 20/1 27

    forms of inheritance- specialization,

    specification, construction, extension,

    limitation, combination, 1&1 Complete Reference

    3 21/1 28, 29

    benefits of inheritance, costs of

    inheritance. Member access rules, super

    uses, using final with inheritance,

    polymorphism- method overriding,

    abstract classes,the object class 1&1 Complete Reference

    4 22/1 30 Revision 1&1 Complete Reference

  • SCHEDULE OF INSTRUCTIONS

    2013-14

    UNIT - IV Regulation: R11

    FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The Schedule for the whole Course / Subject is:: Object Oriented Programming

    SI. No. of Objectives & References Date Topics / Sub - Topics Outcome (Text Book, Journal…)

    No. Periods Nos. Page No___ to ___

    1 23/1 31,32

    Packages and Interfaces : Defining,

    Creating and Accessing a Package,

    Understanding CLASSPATH, importing

    packages,

    1&1 Complete Reference

    2 25/1 33 differences between classes and

    interfaces, defining an interface, 1&1 Complete Reference

    3 28/1 34 implementing interface, applying

    interfaces, 1&1 Complete Reference

    4 29/1 35 variables in interface and extending

    interfaces. 1&1 Complete Reference

    5 30/1 36 Exploring packages – Java.io. 1&1 Complete Reference

    Signature of Faculty Date

    Note: 1. ENSURE THAT ALL TOPICS SPECIFIED IN THE COURSE ARE MENTIONED. 2. ADDITIONAL TOPICS COVERED, IF ANY, MAY ALSO BE SPECIFIED BOLDLY.

    MENTION THE CORRESPONDING COURSE OBJECTIVE AND OUT COME NUMBERS AGAINST EACH TOPIC.

  • SCHEDULE OF INSTRUCTIONS

    2013-14

    UNIT - V Regulation: R11

    FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The Schedule for the whole Course / Subject is:: Object Oriented Programming

    SI. No. of Objectives & References Date Topics / Sub - Topics Outcome (Text Book, Journal…)

    No. Periods Nos. Page No___ to ___

    1 1/02 37

    Exception handling - Concepts of

    exception handling, 1&1 Complete Reference

    2 3/02 38 Benefits of exception handling,

    Termination or presumptive models, 1&1 Complete Reference

    3 4/02 39 Exception hierarchy, 1&1 Complete Reference

    4 6/02 40 Usage of try, catch, throw, throws and

    finally, 1&1 Complete Reference

    5 13/02 41, 42 Built in exceptions, 1&1 Complete Reference

    6 14/02 43 Creating own exception sub classes

    1&1 Complete Reference

    7 15/02 44 String Handling, 1&1 Complete Reference

    8 18/02 45 String Handling, 1&1 Complete Reference

    9 19/02 46 Exploring java.util. 1&1 Complete Reference

    10 20/02 47 Revision 1&1 Complete Reference

    Signature of Faculty Date

    Note: 1. ENSURE THAT ALL TOPICS SPECIFIED IN THE COURSE ARE MENTIONED. 2. ADDITIONAL TOPICS COVERED, IF ANY, MAY ALSO BE SPECIFIED BOLDLY.

    MENTION THE CORRESPONDING COURSE OBJECTIVE AND OUT COME NUMBERS AGAINST EACH TOPIC.

  • SCHEDULE OF INSTRUCTIONS

    2013-14

    UNIT - VI Regulation: R11

    FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The Schedule for the whole Course / Subject is:: Object Oriented Programming

    SI. No. of Objectives & References Date Topics / Sub - Topics Outcome (Text Book, Journal…)

    No. Periods Nos. Page No___ to ___

    1 22/02 48 Differences between multi threading

    and multitasking 1&1 Complete Reference

    2 24/02 49 Thread life cycle, 1&1 Complete Reference

    3 25/02 50 Creating threads, 1&1 Complete Reference

    4 26/02 51 Thread priorities 1&1 Complete Reference

    5 1/03 52 Daemon threads, 1&1 Complete Reference

    6 3/03 53, 54 Thread groups, method of threds. 1&1 Complete Reference

    7 4/03 55 Synchronizing threads, 1&1 Complete Reference

    8 5/03 56 Interthread communication 1&1 Complete Reference

    9 6/03 57 Enumerations, 1&1 Complete Reference

    10 8/03 58 Enumerations, 1&1 Complete Reference

    11 10/03 59 Autoboxing, 1&1 Complete Reference

    12 11/03 60 Annotations, 1 &1 Complete Reference

    13 12/03 61 Generics. 1&1 Complete Reference

    Signature of Faculty Date

    Note: 1. ENSURE THAT ALL TOPICS SPECIFIED IN THE COURSE ARE MENTIONED. 2. ADDITIONAL TOPICS COVERED, IF ANY, MAY ALSO BE SPECIFIED BOLDLY.

    MENTION THE CORRESPONDING COURSE OBJECTIVE AND OUT COME NUMBERS AGAINST EACH TOPIC.

  • SCHEDULE OF INSTRUCTIONS

    2013-14

    UNIT - VII Regulation: R11

    FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The Schedule for the whole Course / Subject is:: Object Oriented Programming

    SI. No. of Objectives & References Date Topics / Sub - Topics Outcome (Text Book, Journal…)

    No. Periods Nos. Page No___ to ___

    1 13/03 62 Event Handling : Events, Event sources, 1&1 Complete Reference

    2 15/03 63 Event classes, Event Listeners, 1&1 Complete Reference

    3 17/03 64 Delegation event model, 1&1 Complete Reference

    4 18/03 65 Handling mouse and keyboard events, 1&1 Complete Reference

    5 19/03 66 Adapter classes, inner classes. 1&1 Complete Reference

    6 20/03 67 The AWT class hierarchy, user interface

    components- labels, 1&1 Complete Reference

    7 22/03 68

    Button, canvas, scrollbars, text

    components, check box, check box

    groups, 1&1 Complete Reference

    8 24/03 69 Choices, lists panels – scrollpane,

    dialogs, menubar, 1&1 Complete Reference

    9 25/03 70 Graphics, layout manager – layout

    manager types – boarder, 1&1 Complete Reference

    10 26/03 71 Grid, flow, card and grib bag. 1&1 Complete Reference

    Signature of Faculty Date

    Note: 1. ENSURE THAT ALL TOPICS SPECIFIED IN THE COURSE ARE MENTIONED. 2. ADDITIONAL TOPICS COVERED, IF ANY, MAY ALSO BE SPECIFIED BOLDLY.

    MENTION THE CORRESPONDING COURSE OBJECTIVE AND OUT COME NUMBERS AGAINST EACH TOPIC.

  • SCHEDULE OF INSTRUCTIONS

    2013-14

    UNIT - VIII Regulation: R11

    FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The Schedule for the whole Course / Subject is:: Object Oriented Programming

    SI. No. of Objectives & References Date Topics / Sub - Topics Outcome (Text Book, Journal…)

    No. Periods Nos. Page No___ to ___

    1 27/03 72

    Applets – Concepts of Applets,

    differences between applets and

    applications, life cycle of an applet, 1&1 Complete Reference

    2 29/03 73 Types of applets, creating applets, 1&1 Complete Reference

    3 31/03 74 Passing parameters to applets. 1&1 Complete Reference

    4 1/04 75

    Swing – Introduction, limitations of

    AWT, MVC architecture, components,

    containers, 1&1 Complete Reference

    5 2/04 76

    Exploring swing- JApplet, JFrame and

    JComponent, Icons and Labels, text

    fields, 1&1 Complete Reference

    6 3/04 77

    Buttons – The JButton class, Check

    boxes, Radio buttons, Combo boxes,

    Tabbed Panes, 1&1 Complete Reference

    7 4/04 78 Scroll Panes, Trees, and Tables. 1&1 Complete Reference

    Signature of Faculty Date

    Note: 1. ENSURE THAT ALL TOPICS SPECIFIED IN THE COURSE ARE MENTIONED. 2. ADDITIONAL TOPICS COVERED, IF ANY, MAY ALSO BE SPECIFIED BOLDLY.

    MENTION THE CORRESPONDING COURSE OBJECTIVE AND OUT COME NUMBERS AGAINST EACH TOPIC.

  • COURSE COMPLETION STATUS

    2013-14

    Regulation: R11

    FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Subject:: Object Oriented Programming Subject Code 54014

    Department:: IT

    Actual Date of Completion & Remarks, if any

    Nos. of

    Units Remarks Objectives

    Achieved

    Unit 1

    Completed as per course file As per CP

    Unit 2

    Completed as per course file As per CP

    Unit 3

    Completed as per course file As per CP

    Unit 4

    Completed as per course file As per CP

    Unit 5

    Completed as per course file As per CP

    Unit 6 Completed as per course file As per CP

    As per CP

    Unit 7 Completed as per course file

    Unit 8 Completed as per course file As per CP

    Signature of Dean of School Signature of Faculty Date: Date:

    NOTE: AFTER THE COMPLETION OF EACH UNIT MENTION THE NUMBER OF OBJECTIVES ACHIEVED.

  • FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    The Schedule for the whole Course / Subject is:: Object Oriented Programming

    Date:

    This Tutorial corresponds to Unit Nos. I-IV Time:

    1. Write a program that will compute the following series: (a) 1/1 + 1/2 + 1/3 + ...... + 1/n (b) 1/1 + 1/2 + 1/22+ ....... + 1/2n. (c) Write a program to determine the sum of the following harmonic series for a given value 1 + 1/2 + 1/3 + ..... + 1/n The value of n should be given interactively through the keyboard. 2. (a) What is a constructor? What are its special properties? (b) How do we invoke a constructor? (c) What are objects? How are they created from a class? 3. (A)What are the types of inheritances in java? Explain each of them in detail. (b)Explain about Object class in detail. 4. Write a program to create a class with a non default constructor and no default constructor. Create a second class that has a method which returns a reference to the first class. Create the object to return by making an anonymous inner class that inherits from the first class.

    5.(a) How does String class differ from the StringBuffer class? (b) Write program to do the following: i. To output the question “who is the inventor of java”? ii. To accept an answer iii. To print out “Good” and then stop, if the answer is correct. iv. To output the message “try again”, if the answer is wrong v. To display the correct answer when the answer is wrong even at the third attempt.

    Please write the Questions / Problems / Exercises which you would like to give to the students and also mention the

    objectives to which these questions / Problems are related.

    Signature of Dean of School Signature of Faculty Date: Date:

    TUTORIAL SHEETS - I

    2013-14

    Regulation: R11

  • FACULTY DETAILS:

    Name of the Faculty:: M.Alekhya, & V.Shilpa

    Designation: Asst.prof & Asst.prof

    Department:: IT

    Date:

    This Tutorial corresponds to Unit Nos. V -VIII Time:

    1.(a) With the help of an example, explain multithreading by extending thread class. (b) Implementing Runnable interface and extending thread, which method you prefer for multithreading and why. 2.What are the methods supported by the following interfaces.Explain each of them (a) ActionListener interface (b) MouseMotionListener interface (c) TextListener interface. 3.Explain the following: (a) Creating an applet (b) Passing parameters to applets (c) Adding graphics and colors to applets. 4.What is StringTokenizer class? What is its use? Write a program to display the course name, course fee & duration of course using StringTokenizer class. 5.(a) Is it possible to achieve true parallelism using multithreading.What are the limitations in it? (b) What is the role of priorities in multithreading. What are its limitations? How do you set and get priority values for threads in Java.

    Please write the Questions / Problems / Exercises which you would like to give to the students and also mention the

    objectives to which these questions / Problems are related.

    Signature of Dean of School Signature of Faculty Date: Date:

    TUTORIAL SHEETS - II

    2013-14

    Regulation: R11

  • These verbs can also be used while framing questions for Continuous Assessment Examinations as well as for End – Semester (final) Examinations.

    ILLUSTRATIVE VERBS FOR STATING GENERAL OBJECTIVES

    Know Understand Analyze Generate

    Comprehend Apply Design Evaluate

    ILLUSTRATIVE VERBS FOR STATING SPECIFIC OBJECTIVES:

    A. Cognitive Domain

    1 2 3 4 5 6

    Knowledge Comprehension Application Analysis Synthesis Evaluation Understanding

    of knowledge & of whole w.r.t. its combination of judgement

    comprehension constituents ideas/constituents

    Define Convert Change Breakdown Categorize Appraise

    Identify Defend Compute Differentiate Combine Compare

    Label Describe (a Demonstrate Discriminate Compile Conclude

    List procedure) Deduce Distinguish Compose Contrast

    Match Distinguish Manipulate Separate Create Criticize

    Reproduce Estimate Modify Subdivide Devise Justify

    Select Explain why/how Predict Design Interpret

    State Extend Prepare Generate Support

    Generalize Relate Organize

    Give examples Show Plan

    Illustrate Solve Rearrange

    Infer Reconstruct

    Summarize Reorganize

    Revise

    B. Affective Domain C. Psychomotor Domain (skill development)

    Adhere Resolve Bend Dissect Insert Perform Straighten

    Assist Select Calibrate Draw Keep Prepare Strengthen

    Attend Serve Compress Extend Elongate Remove Time

    Change Share Conduct Feed Limit Replace Transfer

    Develop Connect File Manipulate Report Type

    Help Convert Grow Move preciselyReset Weigh

    Influence Decrease Handle Operate Run

    Initiate Demonstrate Increase Paint Set

    ILLUSTRATIVE VERBS FOR STATING

    INSTRUCTIONAL OBJECTIVES

    2013-14

    Regulation: R11

  • LESSON PLAN Unit-1

    2013-14

    Regulation: R11

    Name of the Faculty: M.Alekhya, & V.Shilpa

    Subject Object Oriented Programming Subject Code 54014

    Unit I

    INSTRUCTIONAL OBJECTIVES:

    On completion of this lesson the student shall be able to(Outcomes) 1. Understand what are the different programming paradigms 2. Know what is the need of Object-Oriented paradigm compared to structured programming paradigm. 3. Have an idea on classes,objects,methods,method binding,message-passing concepts. 4.Have an idea on Object-Oriented concepts such as Encapsulation,Abstraction,Polymorphism,Inheritance

    Session

    No Topics to be covered

    Time

    Ref

    Teaching

    Method

    1 Object oriented thinking :- Need for oop paradigm, A way of

    viewing world – Agents, 2

    Complete Referenc

    e

    Lecture Method

    2 responsibility, messages 2

    Complete Referenc

    e

    Lecture

    3 methods, classes and instances, 2

    Complete Referenc

    e Lecture

    4 class hierarchies (Inheritance), method binding, overriding and

    exceptions, 2

    Complete Referenc

    e Lecture

    5 Summary of oop concepts, coping with complexity, 2

    Complete Referenc

    e Lecture

    6 Abstraction mechanisms. 2

    Complete Referenc

    e Lecture

  • ASSIGNMENT Unit-I

    2013-14

    Regulation: R11

    Assignment / Questions 1.Write a program that will compute the following series: (a) 1/1 + 1/2 + 1/3 + ...... + 1/n (b) 1/1 + 1/2 + 1/22+ ....... + 1/2n. 2.(a) What are conventional styles for class names, method names, constants and variables? (b) Can a java run on any machine? What is needed to run java on a computer? (c) Explain the concept of keywords. List some java keywords. 3.(a) Describe the genesis of java. Also write brief overview of java (b) List and explain the control statements used in java. Also describe the syntax of the control statements with suitable illustration. 4.(a) java is freeform language. Comment (b) Describe in detail the steps involved in implementing a standalone program. (c) What are command line arguments? How are they useful? 5.(a) When dealing with very small or very large numbers, what steps would you take to improve the accuracy of the calculations (b) What are symbolic constants? How are they useful in developing programs? (c) Write a program to determine the sum of the following harmonic series for a given value 1 + 1/2 + 1/3 + ..... + 1/n The value of n should be given interactively through the keyboard.

    Signature of Faculty Note: Mention for each question the relevant objectives and outcomes.

  • LESSON PLAN Unit-II

    2013-14

    Regulation: R11

    Name of the Faculty: M.Alekhya, & V.Shilpa

    Subject Object Oriented Programming Subject Code 54014

    Unit II

    INSTRUCTIONAL OBJECTIVES:

    On completion of this lesson the student shall be able to 1. Know about how Java came into existence i.e, History of Java 2. Have an idea on different datatypes,variables used in Java and also about the scope of variables in Java 3. Have an idea on Types of Arrays,how to typecast datatypes,different operators,expressions ,control statements used in Java. 4. Know about the Garbage Collection concept in Java,different String Classes,Parameter Passing and Recursion.

    Session

    No Topics to be covered

    Time

    Ref

    Teaching

    Method

    1 Java Basics History of Java, Java buzzwords parameter 2 Complete Reference

    Lecture

    2 datatypes, variables, scope and life time of variables, 2 Complete Reference

    Lecture

    3 arrays, operators, expressions, control statements, 2 Complete Reference

    Lecture

    4 type conversion and casting, simple java program, 2 Complete Reference

    Lecture

    5 classes and objects – concepts of classes, objects, 2 Complete Reference

    Lecture

    6 constructors, methods, access control, this keyword, 2 Complete Reference

    Lecture

    7 garbage collection, overloading methods and constructors, 2 Complete Reference

    Lecture

    8 Passing parameters, recursion, 2 Complete Reference

    Lecture

    9 nested and inner classes,exploring string class. 2 Complete Reference

    Lecture

  • ASSIGNMENT Unit-II

    2013-14

    Regulation: R11

    Assignment / Questions

    1.(a) What is an array? Why arrays are easier to use compared to a bunch of related variables? (b) Write a program for transposition of a matrix using arraycopy command. 2.(a) What is a constructor? What are its special properties? (b) How do we invoke a constructor? (c) What are objects? How are they created from a class? 3.(a) What is class? How does it accomplish data hiding? (b) How do classes help us to organize our programs? (c) Compare and contrast overloading and overriding methods. 4.(a) How does String class differ from the StringBuffer class? (b) Write program to do the following: i. To output the question “who is the inventor of java”? ii. To accept an answer iii. To print out “Good” and then stop, if the answer is correct. iv. To output the message “try again”, if the answer is wrong v. To display the correct answer when the answer is wrong even at the third attempt. 5.Briefly explain following: (a) final & this keywords (b) garbage collection (c) passing parameter-call by value (d) Overloading methods & Constructors. 6.(a) What is the difference between equality of objects and equality of objects and equality of references that refer to them? (b) What is the difference between a public member and a private member of a class?

    5 (c) write an application that computes the value of ex by using the formula: ex = 1 + x/1! + x2/2! + x3/3! + ..........

    Signature of Faculty Note: Mention for each question the relevant objectives and outcomes.

  • LESSON PLAN Unit-III

    2013-14

    Regulation: R11

    Name of the Faculty: M.Alekhya, & V.Shilpa

    Subject Object Oriented Programming Subject Code 54014

    Unit III

    INSTRUCTIONAL OBJECTIVES:

    On completion of this lesson the student shall be able to (Outcomes) 1. Know about the Inheritance,Types of inheritance and also the Benefits of Inheritance. 2. Know about the concept of substitutability and also different forms of Inheritance. 3. Have an idea on the usage of “super” keyword ,”final” keywod,Memeber access rules,Polymorphism(Method OverLoading and Method OverRiding). 4. Have an idea on Abstract classes,Base class i.e; Object Class and the different methods of Object Class.

    Session

    No Topics to be covered

    Time

    Ref

    Teaching

    Method

    1 Inheritance – Hierarchical abstractions, 2 Complete Reference

    Lecture

    2 Base class object, subclass, subtype, 2 Complete Reference

    Lecture

    3 substitutability, forms of inheritance- specialization,

    specification, construction, extension, 2

    Complete Reference

    Lecture

    4 limitation, combination, benefits of inheritance, 2 Complete Reference

    Lecture

    5 costs of inheritance. Member access rules, super uses, 2 Complete Reference

    Lecture

    6 using final with inheritance, polymorphism- method overriding 2 Complete Reference

    Lecture

    7 abstract classes,the object class 2 Complete Reference

    Lecture

  • ASSIGNMENT Unit-III

    2013-14

    Regulation: R11

    Assignment / Questions

    1.Create an abstract class with no methods. Derive a class and add a method. Create a static method that takes a reference to the base class, downcasts it to the derived class, and calls the method. In main( ), demonstrate that it works. Now put the abstract declaration for the method in the base class, thus eliminating the need for the downcast. 2.Is there any alternative solution for Inheritance. If so explain the advantages and disadvantages of it. 3.Explain about Object class in detail. 4. Create an inheritance hierarchy of Rodent: Mouse, Gerbil, Hamster, etc. In the base class, provide methods that are common to all Rodents, and override these in the derived classes to perform different behaviors depending on the specific type of Rodent. Create an array of Rodent, fill it with different specific types of Rodents, and call your base-class methods. Explain the output. 5.What are the types of inheritances in java? Explain each of them in detail.

    Signature of Faculty Note: Mention for each question the relevant objectives and outcomes.

  • LESSON PLAN Unit-IV

    2013-14

    Regulation: R11

    Name of the Faculty: M.Alekhya, & V.Shilpa

    Subject Object Oriented Programming Subject Code 54014

    Unit IV

    INSTRUCTIONAL OBJECTIVES:

    On completion of this lesson the student shall be able to (Outcomes) 1. Have idea on Build-in Packages available in Java, how to create User-defined Packages in Java, Uses of Packages. 2. Know about the differences between interfaces and classes. 3. Have an idea how to implement multiple Inheritance using Interfaces in Java 4. Have an idea on Java.io package, different classes used supported by java.io package.

    Session

    No Topics to be covered

    Time

    Ref

    Teaching

    Method

    1 Packages and Interfaces : Defining, Creating and Accessing a

    Package, 2

    Complete Referenc

    e Lecture

    2 Understanding CLASSPATH 2

    Complete Referenc

    e Lecture

    3 importing packages, 2

    Complete Referenc

    e Lecture

    4 differences between classes and interfaces, 2

    Complete Referenc

    e Lecture

    5 defining an interface, implementing interface, applying

    interfaces 2

    Complete Referenc

    e Lecture

    6 Variables in interface and extending interfaces.

    2

    Complete Referenc

    e Lecture

    7 Exploring packages – Java.io. 2

    Complete Referenc

    e Lecture

  • ASSIGNMENT Unit-IV

    2013-14

    Regulation: R11

    Assignment / Questions

    1.Write a program to create a private inner class that implements a public inter- face.Write a method that returns a reference to an instance of the private inner class, upcast to the interface. Show that the inner class is completely hidden by trying to downcast to it. 2.Prove that all the methods in an interface are automatically public. 3.Write a program create an interface U with three methods. Create a class A with a method that produces a reference to a U by building an anonymous inner class. Create a second class B that contains an array of U. B should have one method that accepts and stores a reference to a U in the array, a second method that sets a reference in the array (specified by the method argument) to null and a third method that moves through the array and calls the methods in U. In main( ), create a group of A objects and a single B. Fill the B with U references produced by the A objects. Use the B to call back into all the A objects. Remove some of the U references from the B. 4.Create an interface with at least one method, in its own package. Create a class in a separate package. Add a protected inner class that implements the interface. In a third package, inherit from your class and, inside a method, return an object of the protected inner class, upcasting to the interface during the return. 5.Write a program to create a class with a non default constructor and no default constructor. Create a second class that has a method which returns a reference to the first class. Create the object to return by making an anonymous inner class that inherits from the first class. 6. Prove that the fields in an interface are implicitly static and final. 7. Create three interfaces, each with two methods. Inherit a new interface from the three, adding a new method. Create a class by implementing the new interface and also inheriting from a concrete class. Now write four methods, each of which takes one of the four interfaces as an argument. In main( ), create an object of your class and pass it to each of the methods.

    Signature of Faculty Note: Mention for each question the relevant objectives and outcomes.

  • LESSON PLAN Unit-V

    2013-14

    Regulation: R11

    Name of the Faculty: M.Alekhya, & V.Shilpa

    Subject Object Oriented Programming Subject Code 54014

    Unit V

    INSTRUCTIONAL OBJECTIVES:

    On completion of this lesson the student shall be able to (Outcomes) 1. Know the about the different types of Exceptions occur while programming 2. Have idea on the Exception Handling concept,benefits of Exception Handling. 3. Know about the Exception Hierarchy and also the usage of try,catch,throw,throws and finally. 4. Have an idea on Built-in Exceptions,how to create own exception sub classes and also know about the String Handling classes by exploring java.util package.

    Session

    No Topics to be covered

    Time

    Ref

    Teaching

    Method

    1 Exception handling - Concepts of exception handling

    2

    Complete Referenc

    e Lecture

    2 benefits of exception handling, 2

    Complete Referenc

    e Lecture

    3 Termination or resumptive models, exception hierarchy, 2

    Complete Referenc

    e Lecture

    4

    usage of try, catch, throw, throws and finally,

    2

    Complete Referenc

    e Lecture

    5 built in exceptions, creating own exception sub classes 2

    Complete Referenc

    e Lecture

    6 String Handling, Exploring java.util. 2

    Complete Referenc

    e Lecture

  • ASSIGNMENT Unit-V

    2013-14

    Regulation: R11

    Assignment / Questions

    1.Explain the following exceptions with the help of examples: (a) ArithmeticException (b) NullPointerException (c) NumberFormatException. 2.(a) With the help of an example, explain multithreading by extending thread class. (b) Implementing Runnable interface and extending thread, which method you prefer for multithreading and why. 3.(a) What is the role of stack in exception handling? (b) Give the classification of exceptions. 4.(a) What is the difference between unchecked and checked exceptions in java? (b) Give the list of different unchecked exceptions in java and their meaning. (c) Explain in detail any two unchecked exceptions. 5.In JAVA, is exception handling implicit or explicit or both. Explain with the help of example java programs. 6.(a) Is it possible to achieve true parallelism using multithreading. What are the limitations in it? (b) What is the role of priorities in multithreading. What are its limitations? How do you set and get priority values for threads in Java. 7.(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. 8.(a) What is the meaning of rethrowing an exception? When it is useful. (b) What are the limitations of exception handling feature of java.

    Signature of Faculty Note: Mention for each question the relevant objectives and outcomes.

  • LESSON PLAN Unit-VI

    2013-14

    Regulation: R11

    Name of the Faculty: M.Alekhya, & V.Shilpa

    Subject Object Oriented Programming Subject Code 54014

    Unit VI

    INSTRUCTIONAL OBJECTIVES:

    On completion of this lesson the student shall be able to (Outcomes) 1. Know about the differences between multitasking and multithreading,benefits of multithreading compared to multitasking. 2. Know about the Thread definition,Thread Life Cycle,and also the different ways to create threads. 3. Have an idea how to synchronize (lock) the objects when try to access the shared data i.e; Thread Synchronization concept and aso about the InterThreadCommunication concept (wait (),notify,notifyall()). 4. Know about the advanced concepts of Java such as Enumerations, autoboxing, annotations, and generics.

    Session

    No Topics to be covered

    Time

    Ref

    Teaching

    Method

    1 Differences between multi threading and multitasking 2

    Complete Referenc

    e Lecture

    2 thread life cycle, 2

    Complete Referenc

    e Lecture

    3 creating threads, 2

    Complete Referenc

    e Lecture

    4 synchronizing threads 2

    Complete Referenc

    e Lecture

    5 interthread communication, daemon threads, thread groups. 2

    Complete Referenc

    e Lecture

    6 Enumerations, autoboxing, annotations, generics. 2

    Complete Referenc

    e Lecture

  • ASSIGNMENT Unit-VI

    2013-14

    Regulation: R11

    Assignment / Questions

    1.(a) Why creating a subclass of Frame is preferred over creating an instance of Frame when creating a window. (b) Explain the steps in creating a subclass of frame with the help of examples. 2.What are the methods supported by the following interfaces. Explain each of them (a) ActionListener interface (b) MouseMotionListener interface (c) TextListener interface. 3.(a) What is the functionality supported by java related to Fonts. (b) How using different fonts improves the user interface. 4.What are the methods supported by KeyListener interface and MouseListener interface. Explain each of them with examples. 5.(a) How event driven programming is different from Procedure oriented program-ming. (b) Give overview of Java’s event handling mechanism. 6.(a) Define Graphics context. How do you obtain graphics context. (b) Explain in brief different drawing functions of Java. 7.(a) Why creating a subclass of Frame is preferred over creating an instance of Frame when creating a window. (b) Explain the steps in creating a subclass of frame with the help of examples. 8.(a) What is Delegation Event model? Explain it. What are its benefits? (b) Define Event. Give examples of events. Define event handler. How it handles events.

    Signature of Faculty Note: Mention for each question the relevant objectives and outcomes.

  • LESSON PLAN Unit-VII

    2013-14

    Regulation: R11

    Name of the Faculty: M.Alekhya, & V.Shilpa

    Subject Object Oriented Programming Subject Code 54014

    Unit VII

    INSTRUCTIONAL OBJECTIVES:

    On completion of this lesson the student shall be able to 1. Have idea on Event Handling classes, Event Listeners present in java.awt package. 2. Know how to handle Mouse and Key-Board events and also have practical knowledge how to handle both the Mouse and Key-Board events. 3. Have idea on AWT package Hierarchy and also know about the user-interface components in awt package such as button, canvas ,scrollbars scrollbars,text

    Session

    No Topics to be covered

    Time

    Ref

    Teaching

    Method

    1 Event Handling : Events, Event sources, Event classes, 2

    Complete Referenc

    e Lecture

    2 Event Listeners, Delegation event model, 2

    Complete Referenc

    e Lecture

    3 Handling mouse and keyboard events, 2

    Complete Referenc

    e Lecture

    4 Adapter classes, inner classes. 2

    Complete Referenc

    e Lecture

    5 The AWT class hierarchy, user interface components- labels, 2

    Complete Referenc

    e Lecture

    6 button, canvas, scrollbars, text components, check box , 2

    Complete Referenc

    e Lecture

    7 check box groups, choices, lists panels – scrollpane, dialogs,

    menubar, 2

    Complete Referenc

    e Lecture

    8 graphics, layout manager – layout manager types – boarder, 2

    Complete Referenc

    e Lecture

    9 grid, flow, card and grib bag. 2

    Complete Referenc

    e Lecture

  • components,check box groups,choices,list-panels such as scrollpane,dialogs,menubar.Able to have practical knowledge also on how to use the components.

    4. Know about the Graphics,Layout Manager and its types,Grid and Grid Bag.

  • ASSIGNMENT Unit-VII

    2013-14

    Regulation: R11

    Assignment / Questions

    1.(a) What is the use of JPasswordField? Explain with an aid of an application program. (b) What are the differences between JPopupMenu and JMenu? 2.Differentiate following with suitable examples: (a) Frame, JFrame (b) Applet, JApplet (c) Menu, Jmenu. 3.Explain the following: (a) Creating an applet (b) Passing parameters to applets (c) Adding graphics and colors to applets. 4.Explain various methods of Applet class with necessary examples. 5.What are containers? List various containers. Explain the usage of JPanel with example. 6.What is JFC? Explain the differences between JTextArea, JTextComponent, JTextField with examples. 7.Briefly explain the components of AWT. 8.Create an applet with two toolbars. One toolbar should be created using JButtons and a separator and another toolbar should be created using 3 custom Action classes. Add one to the ”north” and another to the ”south” sides of border layout. When the user clicks one of the buttons in the toolbar, it will print a message to the console stating that which button is being pressed from which toolbar. Add functionalities to the buttons such as New, Open, Close, Save, Cut, Copy, Paste.

    Signature of Faculty Note: Mention for each question the relevant objectives and outcomes.

  • LESSON PLAN Unit-VIII

    2013-14

    Regulation: R11

    Name of the Faculty: M.Alekhya, & V.Shilpa

    Subject Object Oriented Programming Subject Code 54014

    Unit VIII

    INSTRUCTIONAL OBJECTIVES:

    On completion of this lesson the student shall be able to 1. Know about the differences between the stand-alone applications and applets.Uses of Applets. 2. Have an idea on how to create applets,use of HTML in applets. 3. Know about the MVC architecture, components, and containers.

    Session

    No Topics to be covered

    Time

    Ref

    Teaching

    Method

    1 Applets – Concepts of Applets, differences between applets and

    applications, 2

    Complete Referenc

    e Lecture

    2 life cycle of an applet, 2

    Complete Referenc

    e Lecture

    3 types of applets, creating applets, 2

    Complete Referenc

    e Lecture

    4 Passing parameters to applets. Swing – Introduction 2

    Complete Referenc

    e Lecture

    5 limitations of AWT, MVC architecture, components, containers, 2

    Complete Referenc

    e Lecture

    6 exploring swing- JApplet, JFrame and JComponent, 2

    Complete Referenc

    e Lecture

    7 Icons and Labels, text fields, 2

    Complete Referenc

    e Lecture

    8 buttons – The JButton class, Check boxes, Radio buttons,

    Combo boxes, 2

    Complete Referenc

    e Lecture

    9 Tabbed Panes, Scroll Panes, Trees, and Tables. 2

    Complete Referenc

    e Lecture

  • 4. Have an idea on Swings,Buttons-The JButton class, Check boxes, Radio buttons, Combo boxes,

  • ASSIGNMENT Unit-VIII

    2013-14

    Regulation: R11

    Assignment / Questions

    1.Briefly explain the constructors and methods of StringTokenizer class. 2.Explain connection less client/server interaction with datagrams in detail. Give suitable example. 3.(a) What is a port? What is the difference between port and socket? (b) Explain several methods provided by URL? 4.What is StringTokenizer class? What is its use? Write a program to display the course name, course fee & duration of course using StringTokenizer class. 5.(a) How does Random class generate pseudo random numbers? (b) Write a program to generate a set of random numbers. Find its sum and average. The program should also display * based on the random numbers generated. 6.(a) Briefly explain String class. (b) Write a program to count the frequency of words, characters in the given list of text. 7.(a) How does Random class generate pseudo random numbers? (b) Write a program to generate a set of random numbers. Find its sum and average. The program should also display * based on the random numbers generated. 8.What do you mean by URL? How to create an URL? Explain several methods provided by URL? Give appropriate examples.

    Signature of Faculty Note: Mention for each question the relevant objectives and outcomes.