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
COURSE FILEON
ECS-305
Object Oriented Techniques
Version 1.0
Rakesh Kumar Rai
Galgotias College of Engineering & Technology1, Knowledge Park-2
Greater Noida
Year: 2011-2012
COURSE FILE ( Course Plan)Semester: Odd
GCET
Faculty Details
Name of the Faculty Rakesh Kumar Rai
Designation Lecturer
Department Information Technology
Course Details
Name of theB.Tech. Batch
Programme
Branch Information Technology Semester III
Title of the Subject Object Oriented Techniques Subject Code ECS-305
Core subject No. of Students 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 andwhen 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.
Rakesh Kumar Rai1
Year: 2011-2012
STATUS PAPERSemester: Odd
GCET
Name of the Faculty : Rakesh Kumar Rai
Subject : Object Oriented Techniques Subject Code: ECS-305
Branch : 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, designexercises, solving numerical problems, demonstration of model preparation, or by assignments,etc.)
3. Method of Evaluation
3.1 Class Tests (CT-I & CT-II)3.2 Assignments / Seminars / Tutorials3.3 Mini projects3.4 Quiz3.5 Term End Examination3.6 Others
4. List out any new topics (s) or any innovation you would like to introduce in teaching thesubject in this semester.
o Introduction to Rational Roseo A Case Study which includes all the concepts discussed in this course.
Signature of HOD Signature of Faculty
Date: Date:
Rakesh Kumar Rai2
Year: 2011-2012
GUIDELINES TO STUDY THE SUBJECTSemester: Odd
GCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
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 Rai3
Year: 2011-2012
COURSE OBJECTIVESSemester: Odd
GCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
4. On completion of this subject / Course the st udent shall be able to:
S. No. Objectives Outcomes
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
Signature of Faculty
Date:
Note: for each of the OBJECTIVE indicate the appropriate OUTCOMES to be achieved.
Rakesh Kumar Rai4
Year: 2011-2012
COURSE OUTCOMESSemester: Odd
GCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
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 javaprogramming to make software solutions
B. An ability to design and model using the concept of OOT Ability to design and model cases withthe concept of OOT
C. An ability to design a system, component, or process to Ability to design a RDBM for any typemeet desired needs within realistic Constraints such as of client and as per their requirements.economic, environmental, social, political, ethical heatand safety, Manufacturability and sustainability.
D. Ability of formulate/ view interms of software objects.
E. An ability to identify, formulate, and solve engineeringproblems using java
F. An understanding of professionals and ethical
G. An ability to communicate effectively
H. The broad education necessary to understand the impactof engineering solutions in a global, economic,environmental, and social context
I. A recognition of the need for, and an ability to engage inlife- long learning
J. A knowledge of contemporary issues
K. An Ability to use the techniques, skills and modern Will be able to use OOT concept andengineering tools necessary for engineering practice. java skills effectively to fulfill the needs
of the client.
5. Objectives – Outcome Relationship Matrix (Indicate the relation ships by mark) .
A B C D E F G H I J KOutcomes
Objectives
1.2.3.4.5.6.
Rakesh Kumar Rai5
Year: 2011-2012
COURSE SCHEDULESemester: Odd
GCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
4. The Schedule for the whole Course / Subject is:
S. No. Description Duration (Date) Total no. of
PeriodsFrom To
1. Unit-1:Introduction to OO modeling 6
2. Unit-2:Basic Structural Modeling 7
3. Unit-3:Object Oriented Analysis & Design 6
Unit-4:Introduction to Java Programming 144.
Unit-5:Java Swings & JDBC 85.
Total No. of Instructional periods available for the course: 41 Periods
Signature of HOD Signature of Faculty
Date: Date:
Rakesh Kumar Rai6
Year: 2011-2012COURSE SCHEDULE
UNIT-I Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
Sl. Date No. of Topics / Sub- Topics Objectives ReferencesNo. Periods & (Text Book, Journal..)
Outcome Page no. __ to __Nos.
1 The meaning of Object Orientation,1 1-A,C 1 & 2
object identity1 Encapsulation, information hiding,2 1-A,C 1 & 2
polymorphism,1 generosity, importance of modeling,3 2-B,C 1 & 2
principles of modeling,object oriented modeling14 1-A,C 1 & 2
2 Introduction to UML, conceptual5 1-A,C 2 & 4
model of the UML, Architecture.
UPTU Prescribed Text / Reference Books:
. James Rumbaugh et. al, “Object Oriented Modeling and Design”, PHI12. Grady Booch, James Rumbaugh, Ivar Jacobson, “The Unified Modeling Language User Guide”, PearsonEducation3. Naughton, Schildt, “The Complete Reference JAVA2”, TMH4. Mark Priestley “Practical Object-Oriented Design with UML”, TMH5. Booch, Maksimchuk, Engle, Young, Conallen and Houstan, “Object Oriented Analysis and Design withApplications”, Pearson Education6. 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 Rai7
Year: 2011-2012COURSE SCHEDULE
UNIT-II Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
S. Date No. of Topics / Sub- Topics Objectives ReferencesNo Period & (Text Book,
. s Outcome Journal..)Nos.
Classes, Relationships, common1 1 1-A,C 1 & 2
Mechanisms,Class &Object Diagrams: Terms, concepts,2 1 1-A,C 1 & 2
modeling techniques for Class & ObjectDiagrams.Collaboration Diagrams: Terms, Concepts,3 1 2-B,C 1 & 2
depicting a message, polymorphism incollaboration Diagrams, iterated messages,use of self in messages.Sequence Diagrams: Terms, concepts,4 1 1-C,I 2 & 4
depicting asynchronous messageswith/without priority, callback mechanism,broadcast messages.Basic Behavioral Modeling: Use cases,5 1 1-A,C,I 2 & 4
Use case Diagrams, Activity Diagrams,State MachineProcess and thread, Event and signals,1 3-A,C 2 & 46
Time diagram, interaction diagram,Package diagram.Architectural Modeling:1 1-A,C 2 & 47
Component, Deployment, Componentdiagrams and Deployment diagrams.
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 Rai8
Year: 2011-2012COURSE SCHEDULE
UNIT-III Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
Sl. Date No. of Topics / Sub- Topics Objectives ReferencesNo. Periods & (Text
Outcome Book,Nos. Journal..)
1 Object design, Combining three models,1 3-A,C 1 & 2
Designing algorithms, design,optimization,1 Implementation of control, Adjustment of2 1-A,C 1 & 2
inheritance, Object representation,3 1 Structured analysis and structured design 3-A,C 1 & 2
(SA/SD), Jackson Structured Development(JSD).
1 Mapping object oriented concepts using4 3-A,C 1 & 2
non-object oriented language, Tr anslatingclasses into data structures, Passingarguments to methods,
1 Implementing inheritance, associations5 1 & 23-A,C,K
encapsulation. Object oriented programmingstyle: reusability, extensibility, robustness,
6 1 Procedural v/s OOP, Object oriented 3-A,C,K 1 & 2
language features. Abstraction andEncapsulation.
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 Rai9
Year: 2011-2012COURSE SCHEDULE
UNIT-IV Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
Sl. Date No. of Topics / Sub- Topics Objectiv ReferencesNo. Periods es & (Text Book,
Outcom Journal..)e Nos.
1 History, Features, Object Oriented concept of1 3-A,C 3
Java2 Classes and Objects2 3-A,C 3
3 Inheritance, Packages, Interface2 3-A,C 3
4 abstract method and classes, Polymorphism,2 3-A,C 3
Inner classes,5 String Handling, I/O2 2-B,C,E 3
Multi threading, Collection, Java APIs,Java6 2 2-B,C,E 3
7 The bean developer kit(BDK), JAR files,1 3-A,C 3
Introspection8 Session Beans, Entity Beans, Introduction to2 3-A,C 3
Enterprise Java beans (EJB).
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 Rai10
Year: 2011-2012
COURSE SCHEDULEUNIT-VGCET Semester: Odd
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
Sl. Date No. of Topics / Sub- Topics Objectives & ReferencesNo. Periods Outcome (Text Book,
Nos. Journal..)
Introduction to AWT, AWT v/s1 2 4
Swing 4 -B,C,D
1 -A,I
Creating a Swing Applet and 42 2 4 -B,C,DI
Application.JDBC 43 2 1 -A,C,I
Utility of Java as internet4 1 1 -A,C,I 4
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.
Rakesh Kumar Rai11
Year: 2011-2012
COURSE COMPLETION STATUSSemester: Odd
GCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
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 Signature of Faculty
Date Date
Note: After the completion of each unit mention the number of objectives achieved.
Rakesh Kumar Rai12
Year: 2011-2012TUTORIAL SHEET - I
Semester: OddGCET1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
This Tutorial corresponds to pre-requisites Date:
Time:
1. Differentiate between Structures and Union? Where to use them?
2. Write a program in c which uses a structure student which stores the name and heightof 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 argumentand displays them.
5. In C write a program that takes two integers as command line arguments and printstheir 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 typedefin 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 Signature of Faculty
Date Date
Rakesh Kumar Rai13
Year: 2011-2012TUTORIAL SHEET – 2
Semester: OddGCET1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
This Tutorial corresponds to Unit No. 3Date:
Time:
1. List three jdk tools and explain their use.
2. Why java is platform independence?
3. What are the features of java which makes it different from other programminglanguages?
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 ofyour program?
7. What is a command line argument? How command ling argument in java differs fromC.
Comment on “ Java is a simple, object oriented, distributed, interpreted, robust, secure,8.architecture neutral, portable, high performance, multi-threaded, dynamic programminglanguage”
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 itslimitations?
11. What do you mean by static import?
Signature of HOD Signature of Faculty
Date D ate
Rakesh Kumar Rai14
Year: 2011-2012
TUTORIAL SHEET – 3Semester: Odd
GCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
This Tutorial corresponds to Unit No. 3Date:
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 withan example.
7. What do you mean by call by value and call by reference? How they are implementedin java?
What is the use of the keyword “super” and “this”?8.
9. There is a class from which all other classes are derived? List few methods of that baseclass which are inherited by all sub classes?
10. Write short notes on
1) static
2) final
3) nativePlease 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 Signature of Faculty
Date Date
Rakesh Kumar Rai15
Year: 2011-2012TUTORIAL SHEET – 4
Semester: OddGCET1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
This Tutorial corresponds to Unit No. IIDate:
Time:
1. Differentiate betweena. Concrete class and abstract classb. Interface and abstract classc. Overloading and overridingd. Multilevel and multiple inheritance
2. What do you mean by early binding and late binding? Support your answer withexample.
3. Why do we need to create a package? Write the steps involved in creating a userdefined package?
4. Write a program in java. A class teacher contains two fields name and qualificationextends this class to a class called Dept which has fields D_no and D_name. Aninterface named as college with field College_name. Using the above classes andinterfaces 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 exception7. Write short notes on
a. Throwb. Throwsc. Finallyd. getMessage()e. printStackTrace()
8. Write a program that creates a meaning full user defined exception and throws andhandles 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 Signature of Faculty
Date Date
Rakesh Kumar Rai16
Year: 2011-2012TUTORIAL SHEET – 5
Semester: OddGCET1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
This Tutorial corresponds to Unit No. IDate:
Time:
1. Differentiate betweena. Generalization and specializationb. Aggregation and Associationc. Generalization and Inheritance
2. Prepare a class diagram for the following instance diagram
Borders Borders(Country) (Country) (Country)Spain France Belgium
3. Prepare a class diagram f or this instance diagrama. Explain the multiplicity involvedb. Draw an instance diagram for two triangles with a common side in which a point
belongs to exactly one polygon
4. What is aggregation? Explain the different types of aggregation with example.
5. Prepare a class diagram f rom the following instance diagram
Rakesh Kumar Rai17
6. Prepare an object diagram for the dinning philosopher’s problem. There are 5philosophers and 5 forks around a circular table. Each philosopher has an access to 2forks on either side. Each fork is shared by two philosophers. Each fork may be eitheron the table or in use by other philosopher. A philosopher must have 2 forks to eat.
Signature of HOD Signature of Faculty
Date Date
Rakesh Kumar Rai18
Year: 2011-2012TUTORIAL SHEET – 6
Semester: OddGCET1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
This Tutorial corresponds to Unit No. 1 Date:
Time:
1. Differentiate betweena. String and StringBufferb. Array and Vectorc. == and equals with respect to stringd. length and length()e. length() and capacity()f. vector and array of objectsg. FileInputStream and FileReader
2. Write a program in java to copy a file. The name of the source and target file should beprovided as command line argument.
3. Write a program to accept name of 10 students from the user and display them in ascendingorder of their names
4. Write program in java that accepts student details and stores them in a file and displaysthem back.
5. Write a program in java which takes a file name as command line ar gument and tells theuser 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 Signature of Faculty
Date DateRakesh Kumar Rai19
Year: 2011-2012TUTORIAL SHEET – 7
Semester: OddGCET1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
This Tutorial corresponds to Unit No. VDate:
Time:
1. Differentiate betweena. Applet and Applicationb. paint,update() and repaint()c. getCodeBase() and getDocumentBase()
2. What do you mean by applet life Cycle? What are the differ ent phases in an applet lifeCycle?
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 aweb page.
6. How to pass parameter to an applet? Explain with a program
7. Write an applet that looks like this
Signature of HOD Signature of Faculty
Date Date
Rakesh Kumar Rai20
Year: 2011-2012
TUTORIAL SHEET – 8Semester: Odd
GCET1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
This Tutorial corresponds to Unit No. VDate:
Time:
1. Write short notes ona. Socketsb. Daemon Threadc. MultiTasking through Threadsd. Thread Prioritye. 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.
Signature of HOD Signature of Faculty
Date Date
Rakesh Kumar Rai21
Year: 2011-2012
TUTORIAL SHEET – 9Semester: Odd
GCET1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
This Tutorial corresponds to Unit No. VDate:
Time:
1. What is Delegation Event model? How it works. Explain
2. What are the advantages of
a. Adapter classes over Listener Interfacesb. Inner classes over adapter class
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 thisTable Name=emp and dsn=empDSN usr=scott pwd=tigerName Varchar2(30)Salary Number (10,2)Address Varchar2(60)
6. Differentiate betweena. Statement, prepared statement and callable statements.b. executeQuery( ), executeUpdate(), execute().
7. Use Color Chooser writes a program to set the background color of the currentframe/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 Signature of Faculty
Date Date
Rakesh Kumar Rai22
Year: 2011-2012TUTORIAL SHEET – 10
Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Information Technology
This Tutorial corresponds to Unit No. VDate:
Time:
1. What is Delegation Event model? How it works. Explain
2. What are the advantages of
a. Adapter classes over Listener Interfacesb. Inner classes over adapter class
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 thisTable Name=emp and dsn=empDSN usr=scott pwd=tigerName Varchar2(30)Salary Number (10,2)Address Varchar2(60)
6. Differentiate betweena. Statement, prepared statement and callable statements.b. executeQuery( ), executeUpdate(), execute().
7. Use Color Chooser writes a program to set the background color of the currentframe/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 Signature of Faculty
Date Date
Rakesh Kumar Rai23
Year: 2011-2012LESSON PLAN
1Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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 object2. list few object oriented programming languages3. What are the advantages and disadvantages of object oriented approach?
Signature of Faculty
Date
Rakesh Kumar Rai24
Year: 2011-2012LESSON PLAN
2Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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 ona. Encapsulation,b. Information hiding,c. Polymorphism,
Signature of Faculty
Date
Rakesh Kumar Rai25
Year: 2011-2012LESSON PLAN
3Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
4. Instructional Objectives:
On completion of this lesson the student shall be able to
- importance of modeling,- principles of modeling,
TEACHING AIDS :Black board, LCDTEACHING POINTS :
Why to model?What are the different techniques for modeling?
Assignment Questions:1. Why to model?2. What are the different techniques for modeling?
Signature of Faculty
Date
Rakesh Kumar Rai26
Year: 2011-2012LESSON PLAN
4Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
4. Instructional Objectives:
On completion of this lesson the student shall be able to
object oriented modeling
TEACHING AIDS : Black board, LCDTEACHING POINTS :
– Class diagram– Object diagram– cardinality
Assignment Questions:1. case study-1
Signature of Faculty
Date
Rakesh Kumar Rai27
Year: 2011-2012LESSON PLAN
5 & 6Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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
Rakesh Kumar Rai28
Year: 2011-2012LESSON PLAN
7 & 8Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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, LCDTEACHING POINTS :
– Classes, Relationships,– common Mechanisms,– Class &Object Diagrams: Terms, concepts,– modeling techniques for Class & Object Diagrams.
Assignment QuestionsCase Study
Signature of Faculty
Date
Rakesh Kumar Rai29
Year: 2011-2012LESSON PLAN
9Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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, LCDTEACHING 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
Rakesh Kumar Rai30
Year: 2011-2012LESSON PLAN
10Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
4. Instructional Objectives:
- Sequence Diagrams: Terms, concepts,- depicting asynchronous messages with/without priority,- callback mechanism, broadcast messages.
TEACHING AIDS : Black board, LCDTEACHING POINTS :
- Sequence Diagrams: Terms, concepts,- depicting asynchronous messages with/without priority,- callback mechanism, broadcast messages.
Assignment QuestionDraw a sequence diagram for a login page
Signature of Faculty
Date
Rakesh Kumar Rai31
Year: 2011-2012LESSON PLAN
11Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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, LCDTEACHING 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
Rakesh Kumar Rai32
Year: 2011-2012LESSON PLAN
12 & 13Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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, LCDTEACHING POINTS :
- Process and thread, Event and signals,- Time diagram,- interaction diagram,- Package diagram.Architectural Modeling: Component, Deployment,- Component diagrams and Deployment diagrams.
Assignment Questions-
Draw the following on the basis of previously given case study- Time diagram- Interaction diagram- Package diagram- Deployment diagrams
Signature of Faculty
Date
Rakesh Kumar Rai33
Year: 2011-2012LESSON PLAN
14Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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, LCDTEACHING POINTS :
- Object design,- Combining three models,- Designing algorithms,- design,optimization,
Signature of Faculty
- Date
Rakesh Kumar Rai34
Year: 2011-2012LESSON PLAN
15Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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, LCDTEACHING POINTS :
- Implementation of control,- Adjustment of inheritance,- Object representation,
Assignments QuestionsWrite short notes on
- Implementation of control,- Adjustment of inheritance,- Object representation,
Signature of Faculty
Date
Rakesh Kumar Rai35
Year: 2011-2012LESSON PLAN
16Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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, LCDTEACHING POINTS :
- Structured analysis and structured design (SA/SD),- Jackson Structured Development (JSD).
Assignment Questions
- Compare Structured analysis and structured design (SA/SD), with J acksonStructured Development (JSD).
Signature of Faculty
Date
Rakesh Kumar Rai36
Year: 2011-2012LESSON PLAN
17Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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, LCDTEACHING POINTS :
- Mapping object oriented concepts using non-object oriented language,- Translating classes into data structures,- Passing arguments to methods,
Assignment Questions-
1. A programming exercise on the basis of this lecture..
Signature of Faculty
Date
Rakesh Kumar Rai37
Year: 2011-2012
LESSON PLAN
18GCETSemester: Odd
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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, LCDTEACHING POINTS :
- Implementing inheritance,- associations encapsulation.- Object oriented programming style: reusability, extensibility, robustness
AssignmentsWrite short notes -
- Association- Reusability- Extensibility- robustness
Signature of Faculty
Date
Rakesh Kumar Rai38
Year: 2011-2012LESSON PLAN
19Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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, LCDTEACHING POINTS :
- Procedural v/s OOP,- Object oriented language featur es.- Abstraction and Encapsulation.
QUESTIONS-
1. Compare Procedural v/s OOP,2. List Object oriented language features.3. Write short notes on
a. Abstraction and Encapsulation.
Signature of Faculty
Date
Rakesh Kumar Rai39
Year: 2011-2012LESSON PLAN
20Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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, LCDTEACHING POINTS :
Do some exercises.
- History,- Features,- Object Oriented concept of Java
QUESTIONS-List the object oriented features supported by java.
Signature of Faculty
Date
Rakesh Kumar Rai40
Year: 2011-2012LESSON PLAN
21&22Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
4. Instructional Objectives:
On completion of this lesson the student shall be able to
Classes and ObjectsTEACHING AIDS : Black board, LCDTEACHING 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 classyourself.
Signature of Faculty
Date
Rakesh Kumar Rai41
Year: 2011-2012LESSON PLAN
23 & 24Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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, LCDTEACHING 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 questionsDifferentiate between
- Public private and protected identifiers- Interfaces and multiple inheritance
Signature of Faculty
Date
Rakesh Kumar Rai42
Year: 2011-2012LESSON PLAN
25 & 26Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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
Rakesh Kumar Rai43
Year: 2011-2012LESSON PLAN
27 &28Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
4. Instructional Objectives:
On completion of this lesson the student shall be able to
String Handling,I/O
TEACHING AIDS : Black board, LCD
TEACHING POINTSString Handling,Different classes related to string handlineDifference between string and stringbuffer classI/OBinary and stream oriented classes for IOBufferedReaderClass
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
Rakesh Kumar Rai44
Year: 2011-2012LESSON PLAN
29 & 30Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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
Rakesh Kumar Rai45
Year: 2011-2012LESSON PLAN
31Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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
Rakesh Kumar Rai46
Year: 2011-2012LESSON PLAN
32 & 33Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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
Rakesh Kumar Rai47
Year: 2011-2012LESSON PLAN
34 & 35Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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
Rakesh Kumar Rai48
Year: 2011-2012LESSON PLAN
36 5 37Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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 POINTS-
Creating a Swing Applet and Application.
Signature of Faculty
Date
Rakesh Kumar Rai49
Year: 2011-2012LESSON PLAN
38 &39Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : 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 POINTS-
- JDBC
Assignment Questions;
Write codes for doing following operations using jdbc- Insert record- Delete record- Search record- Update record
Signature of Faculty
Date
Rakesh Kumar Rai50
Year: 2011-2012LESSON PLAN
40Semester: OddGCET
1. Name of the Faculty : Rakesh Kumar Rai
2. Subject : Object Oriented Techniques Subject Code: ECS-305
3. Branch : Department of Information Technology
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 POINTS-
Utility of Java as internet programming language & Servlets
Assignment questions- Explain life cycle of servlet- Differentiate between servlet and CGI
Signature of Faculty
Date
Rakesh Kumar Rai51