Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 52

COURSE FILE ON

ECS-305

Object Oriented Techniques


Version 1.0

Rakesh Kumar Rai

Galgotias College of Engineering & Technology 1, Knowledge Park-2 Greater Noida

Year: 2011-2012

COURSE FILE ( Course Plan)


GCET

Semester: Odd

Faculty Details
Name of the Faculty Designation Department Rakesh Kumar Rai Lecturer Information Technology

Course Details
Name of the Programme Branch Title of the Subject B.Tech. Information Technology Object Oriented Techniques Core subject Batch Semester Subject Code No. of Students III ECS-305 60

Note to the Faculty Members on how to use this course file Format: 1. Get a new file from your office for each course and file each sheet of these formats as and when it is complete. 2. Time Table and syllabus copy provided to you may also be filed in it. 3. Please attach the Marks List of the students in respect of CT-I (Class Test), and CT-II for this subject in your Course File. 4. Photocopy of the best and worst answer sheets for CT-I & II, to be included in the Course File. 5. List of assignments / Seminar Topics you have given to students should also be included in the Course File. 6. Model question paper, which you have distributed to the students in the beginning of the semester for the subject should included in the course file. 7. Any additional resources like OHP transparencies, handouts used may also be filled in it. 1

Rakesh Kumar Rai

Year: 2011-2012

STATUS PAPER
Semester: Odd GCET Name of the Faculty : Rakesh Kumar Rai Subject : Branch : Object Oriented Techniques Subject Code: ECS-305 Information Technology

1. Target a) Percentage Pass : 100

b) Percentage I class : 90 2. Course Plan (Please write how you intend to cover the contents: i.e. coverage of units by lectures, design exercises, solving numerical problems, demonstration of model preparation, or by assignments, etc.) 3. Method of Evaluation 3.1 3.2 3.3 3.4 3.5 3.6 Class Tests (CT-I & CT-II) Assignments / Seminars / Tutorials Mini projects Quiz Term End Examination Others

4. List out any new topics (s) or any innovation you would like to introduce in teaching the subject in this semester. o o Introduction to Rational Rose A Case Study which includes all the concepts discussed in this course.

Signature of HOD Date:

Signature of Faculty Date:

Rakesh Kumar Rai

Year: 2011-2012

GUIDELINES TO STUDY THE SUBJECT


GCET 1. Name of the Faculty : 2. Subject 3. Branch : : Rakesh Kumar Rai Object Oriented Techniques Information Technology Subject Code: ECS-305 Semester: Odd

4. Guidelines to Study the Subject 1. Basics of java will be explained in the class room. 2. Students will be assigned to refer the periodicals and conference proceedings to update their knowledge in Object oriented modeling 3. Short questions with solutions will be explained in the class room. 4. Special guest lectures and video conferencing will be arranged on diff OOT and Java Programming Tools. 5. Students will be motivated to undertake final year project in the field of Object Oriented Techniques. 6. Assignments and tutorial will be given periodically. 7. Atmost care will be taken for slow learner. 8. Students will be informed to refer the other text books in addition to the standard text book prescribed for this subject.

Rakesh Kumar Rai

Year: 2011-2012

COURSE OBJECTIVES
GCET 1. Name of the Faculty : 2. Subject 3. Branch : : Rakesh Kumar Rai Object Oriented Techniques Information Technology

Semester: Odd

Subject Code: ECS-305

4. On completion of this subject / Course the st udent shall be able to: S. No. Objectives 1. To impart a comprehensive knowledge of DBMS 1-A,C,I 2. To enable the student to write SQL queries 2-B,C,E 3. To enable the student to design DBMS Physical Layer 3-A,B,C,I 4. To enable the student to pursue R&D activities in DBMS/RDBMS 4-E,I 5 To prepare the students for career in industry and academic 5-E,I Outcomes

Signature of Faculty Date:

Note: for each of the OBJECTIVE indicate the appropriate OUTCOMES to be achieved.

Rakesh Kumar Rai

Year: 2011-2012

COURSE OUTCOMES
GCET 1. Name of the Faculty : 2. Subject 3. Branch : : Rakesh Kumar Rai Object Oriented Techniques Information Technology

Semester: Odd

Subject Code: ECS-305

4. The expected outcomes of the Course / Subject are:


S. No. General Categories of Outcomes Specific Outcomes of the Courses A. An ability to program in java. Apply the basic techniques of java programming to make software solutions B. An ability to design and model using the concept of OOT Ability to design and model cases with the concept of OOT C. An ability to design a system, component, or process to Ability to design a RDBM for any type meet desired needs within realistic Constraints such as of client and as per their requirements. economic, environmental, social, political, ethical heat and safety, Manufacturability and sustainability. D. Ability of formulate/ view interms of software objects. E. An ability to identify, formulate, and solve engineering problems using java F. An understanding of professionals and ethical G. An ability to communicate effectively H. The broad education necessary to understand the impact of engineering solutions in a global, economic, environmental, and social context I. A recognition of the need for, and an ability to engage in life- long learning J. A knowledge of contemporary issues K. An Ability to use the techniques, skills and modern engineering tools necessary for engineering practice. Will be able to use OOT concept and java skills effectively to fulfill the needs of the client.

5. Objectives Outcome Relationship Matrix (Indicate the relation ships by


Outcomes Objectives

mark) .

A B C D E F G H I J K

1. 2. 3. 4. 5. 6. 5

Rakesh Kumar Rai

Year: 2011-2012

COURSE SCHEDULE
GCET 1. Name of the Faculty : 2. Subject 3. Branch : : Rakesh Kumar Rai Object Oriented Techniques

Semester: Odd

Subject Code: ECS-305

Department of Information Technology

4. The Schedule for the whole Course / Subject is: S. No. Description Duration (Date) Total no. of From To 1. 2. 3. 4. 5. Unit-1:Introduction to OO modeling 6 Unit-2:Basic Structural Modeling 7 6 14 Periods

Unit-3:Object Oriented Analysis & Design Unit-4:Introduction to Java Programming Unit-5:Java Swings & JDBC 8

Total No. of Instructional periods available for the course:

41 Periods

Signature of HOD Date:

Signature of Faculty Date:

Rakesh Kumar Rai

GCET

COURSE SCHEDULE UNIT-I

Year: 2011-2012 Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch Sl. No. : : Object Oriented Techniques Information Technology Topics / Sub- Topics Objectives & Outcome Nos. The meaning of Object Orientation, object identity Encapsulation, information hiding, polymorphism, generosity, importance of modeling, principles of modeling, object oriented modeling Introduction to UML, conceptual model of the UML, Architecture.
1-A,C 1 & 2 1-A,C 1 & 2 2-B,C 1 & 2 1-A,C 1 & 2 1-A,C 2 & 4

Subject Code: ECS-305

Date No. of Periods 1 1 1 1 2

References (Text Book, Journal..) Page no. __ to __

1 2 3 4 5

UPTU Prescribed Text / Reference Books:


1.

James Rumbaugh et. al, Object Oriented Modeling and Design, PHI 2. Grady Booch, James Rumbaugh, Ivar Jacobson, The Unified Modeling Language User Guide, Pearson Education 3. Naughton, Schildt, The Complete Reference JAVA2, TMH 4. Mark Priestley Practical Object-Oriented Design with UML, TMH 5. Booch, Maksimchuk, Engle, Young, Conallen and Houstan, Object Oriented Analysis and Design with Applications, Pearson Education 6. Pandey, Tiwari, Object Oriented Programming with JAVA, Acme Learning

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 outcome numbers against each topic.

Rakesh Kumar Rai

GCET 1. Name of the Faculty : 2. Subject 3. Branch S. No .


1 2

COURSE SCHEDULE UNIT-II


Rakesh Kumar Rai Object Oriented Techniques Information Technology Topics / Sub- Topics Objectives

Year: 2011-2012 Semester: Odd

: :

Subject Code: ECS-305

Date No. of Period s


1 1

& Outcome Nos. Classes, Relationships, common Mechanisms, Class &Object Diagrams: Terms, concepts, modeling techniques for Class & Object Diagrams. Collaboration Diagrams: Terms, Concepts, depicting a message, polymorphism in collaboration Diagrams, iterated messages, use of self in messages. Sequence Diagrams: Terms, concepts, depicting asynchronous messages with/without priority, callback mechanism, broadcast messages. Basic Behavioral Modeling: Use cases, Use case Diagrams, Activity Diagrams, State Machine Process and thread, Event and signals, Time diagram, interaction diagram, Package diagram.Architectural Modeling: Component, Deployment, Component diagrams and Deployment diagrams.
1-A,C 1 & 2 1-A,C 1 & 2

References (Text Book, Journal..)

2-B,C 1 & 2

1-C,I 2 & 4

1-A,C,I 2 & 4

6 7

1 1

3-A,C 2 & 4 1-A,C 2 & 4

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 outcome numbers against each topic. 8

Rakesh Kumar Rai

GCET

COURSE SCHEDULE UNIT-III

Year: 2011-2012 Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch Sl. No. : : Object Oriented Techniques Subject Code: Department of Information Technology Topics / Sub- Topics Objectives & Outcome Nos.
3-A,C 1-A,C 3-A,C

ECS-305

Date No. of Periods

References (Text Book, Journal..)


1&2 1&2 1&2

1 2 3 4

5 6

1 Object design, Combining three models, Designing algorithms, design,optimization, 1 Implementation of control, Adjustment of inheritance, Object representation, 1 Structured analysis and structured design (SA/SD), Jackson Structured Development (JSD). 1 Mapping object oriented concepts using non-object oriented language, Tr anslating classes into data structures, Passing arguments to methods, 1 Implementing inheritance, associations encapsulation. Object oriented programming style: reusability, extensibility, robustness, 1 Procedural v/s OOP, Object oriented language features. Abstraction and Encapsulation.

3-A,C

1&2

3-A,C,K

1&2

3-A,C,K

1&2

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 outcome numbers against each topic.

Rakesh Kumar Rai

GCET 1. Name of the Faculty : 2. Subject 3. Branch Sl. No. 1 2 3 4 5 6 7 8

COURSE SCHEDULE UNIT-IV


Rakesh Kumar Rai

Year: 2011-2012 Semester: Odd

: Object Oriented Techniques : Information Technology Topics / Sub- Topics Objectiv

Subject Code: ECS-305

Date No. of Periods

es & Outcom e Nos. History, Features, Object Oriented concept of Java Classes and Objects 3-A,C 3 Inheritance, Packages, Interface
3-A,C 3 3-A,C 3 3-A,C 3

References (Text Book, Journal..)

1 2 2 2 2 2 1 2

abstract method and classes, Polymorphism, Inner classes, String Handling, I/O 2-B,C,E 3 Multi threading, Collection, Java APIs,Java The bean developer kit(BDK), JAR files, Introspection Session Beans, Entity Beans, Introduction to Enterprise Java beans (EJB).

2-B,C,E 3 3-A,C 3 3-A,C 3

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 outcome numbers against each topic.

10

Rakesh Kumar Rai

Year: 2011-2012 GCET

COURSE SCHEDULE UNIT-V

Semester: Odd

1. Name of the Faculty : 2. Subject 3. Branch Sl. No. : :

Rakesh Kumar Rai Object Oriented Techniques Information Technology Topics / Sub- Topics Objectives & Outcome Nos. Introduction to AWT, AWT v/s Swing Creating a Swing Applet and Application.
JDBC

Subject Code: ECS-305

Date No. of Periods

References (Text Book, Journal..)


4

1 2

4 -B,C,D 1 -A,I

2 2 3 2 4 1

4 -B,C,DI 1 -A,C,I 1 -A,C,I

4 4 4

Utility of Java as internet programming language & Servlets

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 outcome numbers against each topic.

11

Rakesh Kumar Rai

Year: 2011-2012

COURSE COMPLETION STATUS


GCET 1. Name of the Faculty : 2. Subject 3. Branch : : Rakesh Kumar Rai Object Oriented Techniques Information Technology

Semester: Odd

Subject Code: ECS-305

4. Actual date of completion & remarks, if any Units Remarks Nos. of Objectives Achieved Unit 1 Unit 2 Unit 3 Unit 4 Unit 5

Signature of HOD Date Date

Signature of Faculty

Note: After the completion of each unit mention the number of objectives achieved.

12

Rakesh Kumar Rai

TUTORIAL SHEET - I
GCET 1. Name of the Faculty : 2. Subject 3. Branch Time: 1. Differentiate between Structures and Union? Where to use them? : : Rakesh Kumar Rai Object Oriented Techniques Information Technology Date:

Year: 2011-2012 Semester: Odd

Subject Code: ECS-305

This Tutorial corresponds to pre-requisites

2. Write a program in c which uses a structure student which stores the name and height of the student in ft & inches. Takes the input and displays them. 3. How dynamic memory allocation in done in C? 4. In C write a program that takes name and age of a student as a command line argument and displays them. 5. In C write a program that takes two integers as command line arguments and prints their sum. 6. What is the technique for avoiding the accidental changes in the value of a variable? 7. What is garbage collection? How it is done in C? 8. What are the advantage and disadvantages of using pointers in C? 9. What is the use of typedef in C? 10. What do you mean by pass by value and pass by r eference? Please write the Questions / Problems / Exercises which you would like to the students and also mention the objectives to which these questions / Problems are related.

Signature of HOD Date 13 Date

Signature of Faculty

Rakesh Kumar Rai

TUTORIAL SHEET 2
GCET 1. Name of the Faculty : 2. Subject 3. Branch Time: 1. List three jdk tools and explain their use. 2. Why java is platform independence? : : Rakesh Kumar Rai Object Oriented Techniques Information Technology

Year: 2011-2012 Semester: Odd

Subject Code: ECS-305

This Tutorial corresponds to Unit No. 3Date:

3. What are the features of java which makes it different from other programming languages? 4. Explain the structure of java source file and main method. 5. Write a program in java to print the factorial of a number using recursion. 6. Write a program in java for division of two integers? What can be the limitations of your program? 7. What is a command line argument? How command ling argument in java differs from C. 8. Comment on Java is a simple, object oriented, distributed, interpreted, robust, secure, architecture neutral, portable, high performance, multi-threaded, dynamic programming language 9. What is the difference between PATH and CLASSPATH variables? 10. What is the importance of declaring members of a class as static? What are its limitations? 11. What do you mean by static import?

Signature of HOD Date 14 D ate

Signature of Faculty

Rakesh Kumar Rai

Year: 2011-2012

TUTORIAL SHEET 3
GCET 1. Name of the Faculty : 2. Subject 3. Branch Time: 1. What are wrapper classes? Give three examples 2. Is java a pure object oriented programming language? Justify your views. 3. Compare constructor with method? 4. Java does not support destructors. Why? 5. What are the advantages and disadvantages of using static members? 6. What is inheritance? And what is its importance in software development explain with an example. 7. What do you mean by call by value and call by reference? How they are implemented in java? 8. What is the use of the keyword super and this? 9. There is a class from which all other classes are derived? List few methods of that base class which are inherited by all sub classes? 10. Write short notes on 1) static 2) final 3) native Please write the Questions / Problems / Exercises which you would like to the students and also mention the objectives to which these questions / Problems are related. Signature of HOD Date 15 Date Signature of Faculty : : Rakesh Kumar Rai Object Oriented Techniques Information Technology Subject Code: ECS-305 Semester: Odd

This Tutorial corresponds to Unit No. 3Date:

Rakesh Kumar Rai

TUTORIAL SHEET 4
GCET 1. Name of the Faculty : 2. Subject 3. Branch Time: : : Rakesh Kumar Rai Object Oriented Techniques Information Technology

Year: 2011-2012 Semester: Odd

Subject Code: ECS-305

This Tutorial corresponds to Unit No. II Date: 1. Differentiate between a. Concrete class and abstract class b. Interface and abstract class c. Overloading and overriding d. Multilevel and multiple inheritance 2. What do you mean by early binding and late binding? Support your answer with example. 3. Why do we need to create a package? Write the steps involved in creating a user defined package? 4. Write a program in java. A class teacher contains two fields name and qualification extends this class to a class called Dept which has fields D_no and D_name. An interface named as college with field College_name. Using the above classes and interfaces get the appropriate information and display it. 5. What is an exception and what are the different categories of exception? 6. Write a program to demonstrate the use of exception 7. Write short notes on a. Throw b. Throws c. Finally d. getMessage() e. printStackTrace() 8. Write a program that creates a meaning full user defined exception and throws and handles it suitably.

Please write the Questions / Problems / Exercises which you would like to the students and also mention the objectives to which these questions / Problems are related. Signature of HOD Date 16 Date Signature of Faculty

Rakesh Kumar Rai

TUTORIAL SHEET 5
GCET 1. Name of the Faculty : 2. Subject 3. Branch Time: 1. Differentiate between a. Generalization and specialization b. Aggregation and Association c. Generalization and Inheritance 2. Prepare a class diagram for the following instance diagram
(Country) Spain Borders Borders (Country) France

Year: 2011-2012 Semester: Odd

Rakesh Kumar Rai Object Oriented Techniques Information Technology Subject Code: ECS-305

: :

This Tutorial corresponds to Unit No. I Date:

(Country) Belgium

3. Prepare a class diagram f or this instance diagram a. Explain the multiplicity involved b. Draw an instance diagram for two triangles with a common side in which a point belongs to exactly one polygon

4. 5.

What is aggregation? Explain the different types of aggregation Prepare a class diagram f rom the following instance diagram

with example.

17

Rakesh Kumar Rai

6.

Prepare an object diagram for the dinning philosophers problem. There are 5 philosophers and 5 forks around a circular table. Each philosopher has an access to 2 forks on either side. Each fork is shared by two philosophers. Each fork may be either on the table or in use by other philosopher. A philosopher must have 2 forks to eat.

Signature of HOD Date Date

Signature of Faculty

18

Rakesh Kumar Rai

TUTORIAL SHEET 6
GCET 1. Name of the Faculty : 2. Subject 3. Branch Time: 1. Differentiate between a. String and StringBuffer b. Array and Vector c. == and equals with respect to string d. length and length() e. length() and capacity() f. vector and array of objects g. FileInputStream and FileReader : : Rakesh Kumar Rai Object Oriented Techniques Information Technology Date:

Year: 2011-2012 Semester: Odd

Subject Code: ECS-305

This Tutorial corresponds to Unit No. 1

2. Write a program in java to copy a file. The name of the source and target file should be provided as command line argument. 3. Write a program to accept name of 10 students from the user and display them in ascending order of their names 4. Write program in java that accepts student details and stores them in a file and displays them back. 5. Write a program in java which takes a file name as command line ar gument and tells the user whether the file is an ordinary file or a directory. [Assumption: the file is in the current directory] 6. Write a program that counts the no of characters, words and lines in a file. Please write the Questions / Problems / Exercises which you would like to the students and also mention the objectives to which these questions / Problems are r elated.

Signature of HOD Date 19 Date

Signature of Faculty

Rakesh Kumar Rai

TUTORIAL SHEET 7
GCET 1. Name of the Faculty : 2. Subject 3. Branch Time: 1. Differentiate between a. Applet and Application b. paint,update() and repaint() c. getCodeBase() and getDocumentBase() : : Rakesh Kumar Rai Object Oriented Techniques Information Technology

Year: 2011-2012 Semester: Odd

Subject Code: ECS-305

This Tutorial corresponds to Unit No. V Date:

2. What do you mean by applet life Cycle? What are the differ ent phases in an applet life Cycle? 3. What are the limitations of an applet? 4. Write an applet to play an audio file and use its play, stop, loop methods appropriately. 5. Explain the Applet Tag. What are the other tages that can be used to embed an applet in a web page. 6. How to pass parameter to an applet? Explain with a program 7. Write an applet that looks like this

Signature of HOD Date Date

Signature of Faculty

20

Rakesh Kumar Rai

Year: 2011-2012

TUTORIAL SHEET 8
Semester: Odd GCET 1. Name of the Faculty : 2. Subject 3. Branch Time: 1. Write short notes on a. Sockets b. Daemon Thread c. MultiTasking through Threads d. Thread Priority e. IP Address 2. Explain the thread Lif e Cycle with a suitable diagram 3. What are the different ways of creating threads. Which one is to be chosen when? 4. What do you mean by thread Synchronizations. And how it is done? 5. Why is TCP/IP called connection Oriented? 6. Differentiate between Socket and ServerSocket. 7. What do you mean by layout manager? What are the different layout managers in java? 8. How to add more than 5 controls in a frame with BorderLayout? 9. Create a User Login Form using JFrame. Please write the Questions / Problems / Exercises which you would like to the students and also mention the objectives to which these questions / Problems are r elated. : : Rakesh Kumar Rai Object Oriented Techniques Information Technology Subject Code: ECS-305

This Tutorial corresponds to Unit No. V Date:

Signature of HOD Date 21 Date

Signature of Faculty

Rakesh Kumar Rai

Year: 2011-2012

TUTORIAL SHEET 9
GCET 1. Name of the Faculty : 2. Subject 3. Branch Time: 1. What is Delegation Event model? How it works. Explain 2. What are the advantages of a. Adapter classes over Listener Interfaces b. Inner classes over adapter class : : Rakesh Kumar Rai Object Oriented Techniques Information Technology

Semester: Odd

Subject Code: ECS-305

This Tutorial corresponds to Unit No. V Date:

3. Create a Frame in java. When it is closed it asks the user for confirmation before closing it. 4. What are the different types of JDBC drivers in java? 5. Write a program in java in which u have to increase the sal of employee whose name is nihar by 20% the structure of the table is like this Table Name=emp and dsn=empDSN usr=scott pwd=tiger Name Varchar2(30) Salary Number (10,2) Address Varchar2(60) 6. Differentiate between a. Statement, prepared statement and callable statements. b. executeQuery( ), executeUpdate(), execute(). 7. Use Color Chooser writes a program to set the background color of the current frame/window. Please write the Questions / Problems / Exercises which you would like to the students and also mention the objectives to which these questions / Problems are related. Signature of HOD Date 22 Date Signature of Faculty

Rakesh Kumar Rai

TUTORIAL SHEET 10
GCET 1. Name of the Faculty : 2. Subject 3. Branch Time: 1. What is Delegation Event model? How it works. Explain 2. What are the advantages of a. Adapter classes over Listener Interfaces b. Inner classes over adapter class : : Rakesh Kumar Rai Object Oriented Techniques Information Technology

Year: 2011-2012 Semester: Odd

Subject Code: ECS-305

This Tutorial corresponds to Unit No. V Date:

3. Create a Frame in java. When it is closed it asks the user for confirmation before closing it. 4. What are the different types of JDBC drivers in java? 5. Write a program in java in which u have to increase the sal of employee whose name is nihar by 20% the structure of the table is like this Table Name=emp and dsn=empDSN usr=scott pwd=tiger Name Varchar2(30) Salary Number (10,2) Address Varchar2(60) 6. Differentiate between a. Statement, prepared statement and callable statements. b. executeQuery( ), executeUpdate(), execute(). 7. Use Color Chooser writes a program to set the background color of the current frame/window. Please write the Questions / Problems / Exercises which you would like to the students and also mention the objectives to which these questions / Problems are related. Signature of HOD Date 23 Date Signature of Faculty

Rakesh Kumar Rai

LESSON PLAN 1
GCET 1. Name of the Faculty : 2. Subject 3. Branch : : Rakesh Kumar Rai Object Oriented Techniques

Year: 2011-2012 Semester: Odd

Subject Code: ECS-305

Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to The meaning of Object Orientation, What is a software object? What is a class? Advantages object identity

TEACHING AIDS : Black board, LCD TEACHING POINTS : The meaning of Object Orientation, What is a software object? What is a class? Advantages object identity Assignment Questions: 1. differentiate between class and object 2. list few object oriented programming languages 3. What are the advantages and disadvantages of object oriented approach? Signature of Faculty Date

24

Rakesh Kumar Rai

LESSON PLAN
GCET

Year: 2011-2012

Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to Properties of object oriented approach Encapsulation, Information hiding, Polymorphism, TEACHING AIDS :Black board, LCD TEACHING POINTS : Properties of object oriented approach Encapsulation, Information hiding, Polymorphism,

Assignment Questions: 1. Write short notes on a. Encapsulation, b. Information hiding, c. Polymorphism, Signature of Faculty Date

25

Rakesh Kumar Rai

LESSON PLAN 3 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to importance of modeling, principles of modeling,

TEACHING AIDS :Black board, LCD TEACHING POINTS :


Why to model? What are the different techniques for modeling?

Assignment Questions:
1. 2. Why to model? What are the different techniques for modeling?

Signature of Faculty Date

26

Rakesh Kumar Rai

LESSON PLAN 4 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to object oriented modeling TEACHING AIDS : Black board, LCD TEACHING POINTS : Class diagram Object diagram cardinality

Assignment Questions: 1. case study-1 Signature of Faculty Date

27

Rakesh Kumar Rai

LESSON PLAN 5&6 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Introduction to UML, conceptual model of the UML, Architecture.

TEACHING AIDS : Black board, LCD TEACHING POINTS : Introduction to UML, conceptual model of the UML, Architecture.

Assignment Questions: 1. Write short notes on uml? 2. Explain at least 10 symbols used in uml.

Signature of Faculty Date

28

Rakesh Kumar Rai

LESSON PLAN 7&8 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Classes, Relationships, common Mechanisms, Class &Object Diagrams: Terms, concepts, modeling techniques for Class & Object Diagrams.

TEACHING AIDS : Black board, LCD TEACHING POINTS : Classes, Relationships, common Mechanisms, Class &Object Diagrams: Terms, concepts, modeling techniques for Class & Object Diagrams. Assignment Questions Case Study

Signature of Faculty Date

29

Rakesh Kumar Rai

LESSON PLAN 9 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Collaboration Diagrams: Terms, Concepts, depicting a message, polymorphism in collaboration Diagrams, iterated messages, use of self in messages.

TEACHING AIDS : Black board, LCD TEACHING POINTS : Collaboration Diagrams: Terms, Concepts, depicting a message, polymorphism in collaboration Diagrams, iterated messages, use of self in messages.

Assignment Questions: 1. case study for drawing collaboration diagram

Signature of Faculty Date

30

Rakesh Kumar Rai

LESSON PLAN 10 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: Sequence Diagrams: Terms, concepts, depicting asynchronous messages with/without priority, callback mechanism, broadcast messages.

TEACHING AIDS : Black board, LCD TEACHING POINTS : Sequence Diagrams: Terms, concepts, depicting asynchronous messages with/without priority, callback mechanism, broadcast messages.

Assignment Question Draw a sequence diagram for a login page

Signature of Faculty Date

31

Rakesh Kumar Rai

LESSON PLAN 11 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Basic Behavioral Modeling: Use cases, Use case Diagrams, Activity Diagrams, State Machine

TEACHING AIDS : Black board, LCD TEACHING POINTS : - Basic Behavioral Modeling: Use cases, - Use case Diagrams, - Activity Diagrams, - State Machine Assignments A case study on the basis of which draw the following Use case diagrams Activity diagrams State Machine diagram

Signature of Faculty Date

32

Rakesh Kumar Rai

LESSON PLAN 12 & 13 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Process and thread, Event and signals, Time diagram, interaction diagram, Package diagram.Architectural Modeling: Component, Deployment, Component diagrams and Deployment diagrams.

TEACHING AIDS :Black board, LCD TEACHING POINTS : Process and thread, Event and signals, Time diagram, interaction diagram, Package diagram.Architectural Modeling: Component, Deployment, Component diagrams and Deployment diagrams.

Assignment QuestionsDraw the following on the basis of previously given case study - Time diagram - Interaction diagram - Package diagram - Deployment diagrams

Signature of Faculty Date

33

Rakesh Kumar Rai

LESSON PLAN GCET 14

Year: 2011-2012

Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to Object design, Combining three models, Designing algorithms, design,optimization,

TEACHING AIDS : Black board, LCD TEACHING POINTS : Object design, Combining three models, Designing algorithms, design,optimization, Signature of Faculty Date

34

Rakesh Kumar Rai

LESSON PLAN GCET 15

Year: 2011-2012

Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to Implementation of control, Adjustment of inheritance, Object representation,

TEACHING AIDS : Black board, LCD TEACHING POINTS : - Implementation of control, - Adjustment of inheritance, - Object representation,

Assignments Questions Write short notes on - Implementation of control, - Adjustment of inheritance, - Object representation,

Signature of Faculty Date

35

Rakesh Kumar Rai

LESSON PLAN 16 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Structured analysis and structured design (SA/SD), Jackson Structured Development (JSD).

TEACHING AIDS : Black board, LCD TEACHING POINTS : Structured analysis and structured design (SA/SD), Jackson Structured Development (JSD).

Assignment Questions Compare Structured analysis and structured design (SA/SD), with J ackson Structured Development (JSD).

Signature of Faculty Date

36

Rakesh Kumar Rai

LESSON PLAN 17 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Mapping object oriented concepts using non-object oriented language, Translating classes into data structures, Passing arguments to methods,

TEACHING AIDS : Black board, LCD TEACHING POINTS : Mapping object oriented concepts using non-object oriented language, Translating classes into data structures, Passing arguments to methods,

Assignment Questions1. A programming exercise on the basis of this lecture..

Signature of Faculty Date

37

Rakesh Kumar Rai

Year: 2011-2012 LESSON PLAN GCET 18 Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to Implementing inheritance, associations encapsulation. Object oriented programming style: reusabilit y, extensibility, robustness

TEACHING AIDS : Black board, LCD TEACHING POINTS : Implementing inheritance, associations encapsulation. Object oriented programming style: reusability, extensibility, robustness

Assignments Write short notes Association Reusability Extensibility robustness

Signature of Faculty Date

38

Rakesh Kumar Rai

LESSON PLAN 19 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Procedural v/s OOP, Object oriented language featur es. Abstraction and Encapsulation.

TEACHING AIDS : Black board, LCD TEACHING POINTS : Procedural v/s OOP, Object oriented language featur es. Abstraction and Encapsulation.

QUESTIONS1. Compare Procedural v/s OOP, 2. List Object oriented language features. 3. Write short notes on a. Abstraction and Encapsulation.

Signature of Faculty Date

39

Rakesh Kumar Rai

LESSON PLAN GCET 20

Year: 2011-2012

Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to History, Features, Object Oriented concept of Java

TEACHING AIDS : Black board, LCD TEACHING POINTS : Do some exercises. History, Features, Object Oriented concept of Java

QUESTIONSList the object oriented features supported by java.

Signature of Faculty Date

40

Rakesh Kumar Rai

LESSON PLAN 21&22 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Classes and Objects TEACHING AIDS : Black board, LCD TEACHING POINTS : - Classes and Objects - Difference between the two - How to create class - How to create members of a class - How to create an object - How to call members of an object - identifiers

Assignment Questions Write a program to find the area of a triangle. Assume the required members of the class yourself.

Signature of Faculty Date

41

Rakesh Kumar Rai

LESSON PLAN GCET 23 & 24

Year: 2011-2012

Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to Inheritance, Packages, Interface

TEACHING AIDS : Black board, LCD TEACHING POINTS : - Inheritance, - Types of inheritance - Keywords used for inheritance - How members are inherited - Access specifiers - Interfaces - Interfaces vs multiple inheritance - Packages - How to create packages in java? Assignment questions Differentiate between - Public private and protected identifiers - Interfaces and multiple inheritance

Signature of Faculty Date

42

Rakesh Kumar Rai

LESSON PLAN GCET 25 & 26

Year: 2011-2012

Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to abstract method and classes, Polymorphism, Inner classes,

TEACHING AIDS : Black board, LCD TEACHING POINTS - What are abstract classes? Where to use them? - Polymorphism - Inner classes Assignment Question - What are inner classes? - Differentiate between function overloading and overriding

Signature of Faculty Date

43

Rakesh Kumar Rai

LESSON PLAN 27 &28 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to String Handling, I/O

TEACHING AIDS : Black board, LCD TEACHING POINTS String Handling, Different classes related to string handline Difference between string and stringbuffer class I/O Binary and stream oriented classes for IO BufferedReaderClass

Assignment Questions Difference between string and stringbuffer class? Write a program to accept a story from user and store it in a file.

Signature of Faculty Date

44

Rakesh Kumar Rai

LESSON PLAN GCET 29 & 30

Year: 2011-2012

Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to Multi threading, Collection Java APIs

TEACHING AIDS : Black board, LCD TEACHING POINTS - Multi threading, - Collection - Java APIs

Signature of Faculty Date

45

Rakesh Kumar Rai

LESSON PLAN GCET 31

Year: 2011-2012

Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to The bean developer kit(BDK), JAR files, Introspection

TEACHING AIDS : Black board, LCD TEACHING POINTS The bean developer kit(BDK), JAR files, Introspection

Assignment Question: Write short notes on - BDK - JAR - Introspection in java

Signature of Faculty Date

46

Rakesh Kumar Rai

LESSON PLAN 32 & 33 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to - Introduction to Enterprise Java beans (EJB). - Session Beans, - Entity Beans, TEACHING AIDS : Black board, LCD TEACHING POINTS - Introduction to Enterprise Java beans (EJB). - Session Beans, - Entity Beans, Assignment Question: Write short notes on - Session Beans, - Entity Beans,

Signature of Faculty Date

47

Rakesh Kumar Rai

LESSON PLAN 34 & 35 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Introduction to AWT, AWT v/s Swing Different controls in AWT.

TEACHING AIDS : Black board, LCD TEACHING POINTS - Introduction to AWT, - AWT v/s Swing - Different controls in AWT.

Assignment Questions Differentiate between AWT and SWINGS

Signature of Faculty Date

48

Rakesh Kumar Rai

LESSON PLAN GCET 36 5 37

Year: 2011-2012

Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to Creating a Swing Applet and Application.

TEACHING AIDS : Black board, LCD TEACHING POINTSCreating a Swing Applet and Application.

Signature of Faculty Date

49

Rakesh Kumar Rai

LESSON PLAN GCET 38 &39

Year: 2011-2012

Semester: Odd

1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

4. Instructional Objectives: On completion of this lesson the student shall be able to JDBC

TEACHING AIDS : Black board, LCD TEACHING POINTSJDBC

Assignment Questions; Write codes for doing following operations using jdbc Insert record Delete record Search record Update record

Signature of Faculty Date

50

Rakesh Kumar Rai

LESSON PLAN 40 GCET 1. Name of the Faculty : Rakesh Kumar Rai 2. Subject 3. Branch : Object Oriented Techniques Subject Code: ECS-305 : Department of Information Technology

Year: 2011-2012

Semester: Odd

4. Instructional Objectives: On completion of this lesson the student shall be able to Utility of Java as internet programming language & Servlets

TEACHING AIDS : Black board, LCD TEACHING POINTSUtility of Java as internet programming language & Servlets Assignment questions - Explain life cycle of servlet - Differentiate between servlet and CGI

Signature of Faculty Date

51

Rakesh Kumar Rai

You might also like