WordPress.com



OBJECT ORIENTED CONCEPTS Syllabus

Semester: IV Year: 2016-2017

|Subject Title: OBJECT ORIENTED CONCEPTS |Subject Code: 15CS45 |

|Total Contact Hours: 50 |Duration of Exam : 03 |

|Total Exam Marks: 80 |Total IA Marks : 20 |

MODULE – 1

INTRODUCTION TO OBJECT ORIENTED CONCEPTS: 10 Hours A Review of structures, Procedure–Oriented Programming system, Object Oriented Programming System, Comparison of Object Oriented Language with C, Console I/O, variables and reference variables, Function Prototyping, Function Overloading. Class and Objects: Introduction, member functions and data, objects and functions, objects and arrays, Namespaces, Nested classes, Constructors, Destructors.

Text book 1: Ch 1: 1.1 to 1.9 Ch 2: 2.1 to 2.6 Ch 4: 4.1 to 4.2

MODULE-2

INTRODUCTION TO JAVA: 10 Hours Java’s magic: the Byte code; Java Development Kit (JDK); the Java Buzzwords, Object-oriented programming; Simple Java programs. Data types, variables and arrays, Operators, Control Statements.

Text book 2: Ch:1 Ch: 2 Ch:3 Ch:4 Ch:5

MODULE-3

CLASSES, INHERITANCE, EXCEPTIONS, PACKAGES AND INTERFACES: 10 Hours

Classes: Classes fundamentals; Declaring objects; Constructors, this keyword, garbage collection. Inheritance: inheritance basics, using super, creating multi level hierarchy, method overriding. Exception handling: Exception handling in Java. Packages, Access Protection, Importing Packages, Interfaces.

Text book 2: Ch:6 Ch: 8 Ch:9 Ch:10

MODULE-4

MULTI THREADED PROGRAMMING, EVENT HANDLING: 10 Hours

Multi Threaded Programming: What are threads? How to make the classes threadable ; Extending threads; Implementing runnable; Synchronization; Changing state of the thread; Bounded buffer problems, read-write problem, producer consumer problems. Event Handling: Two event handling mechanisms; The delegation event model; Event classes; Sources of events; Event listener interfaces; Using the delegation event model; Adapter classes; Inner classes.

Text book 2: Ch 11: Ch: 22

MODULE-5 10 Hours

THE APPLET CLASS:

Introduction, Two types of Applets; Applet basics; Applet Architecture; An Applet skeleton; Simple Applet display methods; Requesting repainting; Using the Status Window; The HTML APPLET tag; Passing parameters to Applets; getDocumentbase() and getCodebase(); ApletContext and showDocument(); The AudioClip Interface; The AppletStub Interface;Output to the Console.

SWINGS: Swings: The origins of Swing; Two key Swing features; Components and Containers; The Swing Packages; A simple Swing Application; Create a Swing Applet; Jlabel and ImageIcon; JTextField; The Swing Buttons; JTabbedpane; JScrollPane; JList; JComboBox; JTable.

Text book 2: Ch 21: Ch: 29 Ch: 30

Text Books:

T1. Sourav Sahay, Object Oriented Programming with C++ , Oxford University Press,2006 (Chapters 1, 2, 4)

T2. Herbert Schildt, Java The Complete Reference, 7th Edition, Tata McGraw Hill, 2007.

(Chapters 1, 2, 3, 4, 5, 6, 8, 9,10, 11, 21, 22, 29, 30).

Reference Books:

R1. Mahesh Bhave and Sunil Patekar, "Programming with Java", First Edition, Pearson Education,2008,

ISBN:9788131720806

R2. Herbert Schildt, The Complete Reference C++, 4th Edition, Tata McGraw Hill, 2003.

R3. Stanley B.Lippmann, Josee Lajore, C++ Primer, 4th Edition, Pearson Education, 2005.

R4. Rajkumar Buyya,S Thamarasi selvi, xingchen chu, Object oriented Programming with java, Tata McGraw Hill

education private limited.

R5. Richard A Johnson, Introduction to Java Programming and OOAD, CENGAGE Learning.

R6. E Balagurusamy, Programming with Java A primer, Tata McGraw Hill companies.

Programme Outcomes(POs)

A graduate of the Computer Science and Engineering Program will demonstrate:

PO1: Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals, and an engineering specialization to the solution of complex engineering problems.

PO2: Problem analysis: Identify, formulate, review research literature, and analyze complex engineering problems reaching substantiated conclusions using first principles of mathematics, natural sciences, and engineering sciences

PO3: Design/development of solutions: Design solutions for complex engineering problems and design system components or processes that meet the specified needs with appropriate consideration for the public health and safety, and the cultural, societal, and environmental considerations.

PO4: Conduct investigations of complex problems: Use research-based knowledge and research methods including design of experiments, analysis and interpretation of data, and synthesis of the information to provide valid conclusions.

PO5: Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern engineering and IT tools including prediction and modeling to complex engineering activities with an understanding of the limitations

PO6: The engineer and society: Apply reasoning informed by the contextual knowledge to assess societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional engineering practice.

PO7: Environment and sustainability: Understand the impact of the professional engineering solutions in societal and environmental contexts, and demonstrate the knowledge of, and need for sustainable development.

PO8: Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the engineering practice.

PO9: Individual and team work: Function effectively as an individual, and as a member or leader in diverse teams, and in multidisciplinary settings.

PO10: Communication: Communicate effectively on complex engineering activities with the engineering community and with society at large, such as, being able to comprehend and write effective reports and design documentation, make effective presentations, and give and receive clear instructions.

PO11: Project management and finance: Demonstrate knowledge and understanding of the engineering and management principles and apply these to one’s own work, as a member and leader in a team, to manage projects and in multidisciplinary environments.

PO12: Life-long learning: Recognize the need for, and have the preparation and ability to engage in independent and life-long learning in the broadest context of technological change.

Programme Specific Outcomes (PSOs)

Graduates will be able to

1. Computational skills: Apply the knowledge of Mathematics and Computational Science to solve societal problems in various domains.

2. Programming Skills: Design, Analyze and Implement various algorithms using broad range of programming languages.

3. Product Development Skills: Utilize Hardware and Software tools to develop solutions to IT problems.

OBJECT ORIENTED CONCEPTS Course Plan

1. PREREQUISITES:

1. C programming concepts.

2. Object Oriented-Programming concepts with C++.

2. COURSE OVERVIEW AND ITS RELEVANCE TO THIS PROGRAMME:

Object oriented concepts and programming languages are used by thousands of programmers in essentially every application domain. Unlike many other computer languages whose influence begins to wane over the years, C++ and java have grown stronger with the passage of time, Java leapt to the forefront of Internet programming with its first release. C++ is being highly used to write device drivers and other softwares that rely on direct manipulation of hardware under real time constraints. Each subsequent version has solidified that position. Today, java is still the first and choice for developing web-based applications.

One reason for java’s success is its agility. Java has rapidly adapted to changes the programming environment and to changes in the way that programmers program. Most importantly, it has not just followed the trends, it has helped create them. Unlike some other languages that have a revision cycle of approximately 10 years, Java’s release cycle averages about 1.5 years.

In this course students will learn how to solve the complex problems and to code using Object Oriented languages like C++ and JAVA. It is easy and user friendly with wide applications.

COURSE OUTCOMES

At the end of the course Student will be able to,

C245.1: Describe the fundamental principles of object oriented concepts for the construction of robust

programs.

C245.2: Set up Java JDK environment to create, debug and run simple Java programs.

C245.3: Build efficient java programs using packages, interfaces and exception handling techniques

C245.4: Incorporate Object Oriented paradigms in order to create more efficient Java programs using multi-

threading and event handling techniques.

C245.5: Develop effective user interfaces using java Applets and Swings (JApplet) features.

C245.6: Apply the knowledge java and C++ programming in developing the application oriented projects.

3. APPLICATIONS:

1. Object oriented programs can be used for developing and running enterprise software, including network and web services,

2. Object oriented programs are used to develop large-scale, multi-tiered, scalable, reliable, and secure network applications.

3. For developing java standalone programs.

4. Used for developing an architecture neutral applications for different operating system and devices.

5. It can be used to build secured client/server applications.

4. UNIT WISE COURSE PLAN:

MODULE-1

|MODULE 1 Planned Hours:|

|10 |

|Title: Introduction to Object Oriented Concepts |

Objectives: At the end of this chapter student should be able to:

|1. |Learn fundamentals of Object Oriented Concepts and can also able to compare concepts with Procedure oriented programming |

|2. |Describe OOP Concepts like Function Prototyping, Function Overloading, objects and arrays, Namespaces, Nested classes, Constructors, Destructors etc. |

|3. |Write Simple Java Programs for above concepts. |

Lesson Plan:

|Lecture No |Topic covered |Teaching Method |POs attained |PSO attained |COs attained |Reference Book/Cahpter No. |

|L1. |A Review of structures, Procedure–Oriented |Chalk and Board |1,3,5,10,12 |1,2 |1,6 |T1/1.1,T1/1.2 |

| |Programming system. | | | | | |

|L2. |Object Oriented Programming System, Comparison of |Chalk and Board | | |1,6 |T1/1.3,T1/1.4 |

| |Object Oriented Language with C. | | | | | |

|L3. |Console I/O, variables and reference variables. |Chalk and Board | | |1,6 |T1/1.5,T1/1.6 |

|L4. |Function Prototyping, Function Overloading. |Chalk and Board | | |1,6 |T1/1.7,T1/1.8,T1/1.9 |

|L5. |Class and Objects: Introduction |Chalk and Board | | |1,2,6 |T1/2.1 |

|L6 |Member functions and data. |Chalk and Board | | |1,2,6 | |

| | | | | | |T1/2.2 |

| | | | | | | |

| L7 |Objects and functions, |Chalk and Board | | |1,2,6 |T1/2.3, T1/2.4 |

|L8 |Objects and arrays. |Chalk and Board | | |1,2,6 |T1/2.5 |

|L9 |Namespaces, Nested classes. |Chalk and Board | | |1,2,6 |T1/2.6 |

|L10 |Constructors, Destructors. |Chalk and Board | | |1,2,6 |T1/4.1,T1/4.2 |

| Assignment Questions |Cos Attained |

|Explain java buzz words. |1 |

|Explain how Java is robust and architectural neutrals. |1 |

|Give the meaning of public static void main( String args[ ] ). |1 |

|With example define? i) >>> ii) >> iii) && |1 |

|Describe the following control construct with examples? I) break ii) continue |1,2 |

| | |

MODULE-2

|MODULE-2 Planned Hours:|

|10 |

|Title: Introduction to Java |

Objectives: At the end of this chapter student should be able to:

| |Incorporates the Java Features and Java Applications. |

| |Set up JDK and incorporates OOOP’s Concepts, JVM, Java Primitive Data Types, Operators and Expressions and Control Statements of Java. |

| |Write Simple Java Programs for above concepts. |

Lesson Plan:

|Lecture No |Topic covered |Teaching Method |POs attained |PSO attained |COs attained |Reference Book/Cahpter No. |

|L11. |Java’s magic: the Byte code |Chalk and Board |1,2,5,9,10,12 |1,2,3 |2 |T2/1 |

|L12. |Java Development Kit (JDK) |Chalk and Board | | |2 |T2/1 |

|L13. |The Java Buzzwords |PPT | | |2 |T2/1 |

|L14. |Object-oriented programming |PPT | | |2,6 |T2/2 |

|L15. |Simple Java programs. |Chalk and Board | | |2,3,6 |T2/2 |

|L16 |Data types in java. |PPT | | |2,6 |T2/3 |

|L17 |Variables in java. |PPT | | |2,6 |T2/3 |

|L18 |Arrays in java |PPT | | |2,6 |T2/3 |

|L19 | Operators in java |PPT | | |2,6 |T2/4 |

|L20 |Control Statements |PPT | | |2,6 |T2/5 |

| |Cos Attained |

|Assignment Questions | |

|Describe JDK, JVM and JRE |1 |

|Explain java buzz words. |1,6 |

|Explain how Java is robust and architectural neutrals. |1,6 |

|Give the meaning of public static void main( String args[ ] ). |1,6 |

|With example define? i) >>> ii) >> iii) && |1,6 |

|Describe the following control construct with examples? I) break ii) continue |1,2,6 |

| | |

MODULE-3

|MODULE:3 Planned Hours:|

|10 |

|Title: Classes, Inheritance, Exceptions, Packages and Interfaces |

Objectives: At the end of this chapter student should be able to:

|1 |Illustrate classes and object, constructor and automatic garbage collection concepts of java . |

|2 |Demonstrate Inheritance concept with suitable programming example. |

|3 |Implement Exception handling in Java. |

|4 |Develop java application using the concept of Packages and Interfaces. |

Lesson Plan:

|Lecture No |Topic covered |Teaching Method |POs attained |PSO attained |COs attained |Reference Book/Cahpter No.|

|L21. |Classes: Classes fundamentals |Chalk and Board |1,2,3,5,9,10,12 |1,2,3 |1,3,6 |T2/6 |

|L22. |Declaring objects |Chalk and Board | | |1,3,6 |T2/6 |

|L23. |Constructors |Chalk and Board | | |1,3,6 |T2/6 |

|L24. |This keyword, garbage collection. |Chalk and Board | | |1,3,6 |T2/6 |

|L25. |Inheritance: inheritance basics |PPT | | |1,3,6 |T2/8 |

|L26. |Method overriding |PPT | | |1,3,6 |T2/8 |

|L27. |Exception handling: Exception handling in Java |PPT | | |1,3,6 |T2/10 |

|L28 |Packages, Access Protection |PPT | | |1,3,6 |T2/9 |

|L29 |Importing Packages |PPT | | |1,3,6 |T2/9 |

|L30 |Interfaces |PPT | | |1,3,6 |T2/9 |

| |Cos attained |

|Assignment Questions | |

|How overriding is different from overloading? Explain with example? |1,3,6 |

|What is exception? How throw is used in exception? |1,3 |

|Describe the various forms of implementing interfaces. Develop program to implement multiple inheritances. |1,3,6 |

|Define Exception. Demonstrate the working of nested try block with suitable program. |1,3,6 |

|How is access protection provided for variables and methods in Java? |1,3,6 |

|Give the basic form of an exception handling block. What is the importance of the clause finally? |1,3 |

|What are the interfaces? What are their benefits? Give the general form of a class that implements interfaces? |1,3,6 |

|Define package. Explain the packages in java with suitable example. |1,3,6 |

|Illustrate the categories of visibility for class members |1,3 |

|With suitable example explain how packages are imported in java. |1,3,6 |

MODULE-4

|MODULE: 4 Planned Hours: |

|10 |

|Unit Title: Multi Threaded Programming, Event Handling |

Objectives: At the end of this chapter student should be able to:

|1 |Develop Multithreaded applications. |

|2 |Incorporate the concept of thread Priorities, Synchronization and Inter Thread Communication. |

|3 |Write Event Handling for GUI application using the Event Classes and Event Listener Interfaces. |

Lesson Plan:

|Lecture No |Topic covered |Teaching Method |POs attained |PSO attained |COs attained |Reference Book/Cahpter No.|

|L31. |Multi Threaded Programming: What |Chalk and Board |1,2,3,5,9,12 |1,2,3 |1,4,6 |T2/11 |

| |are threads? How to make the classes | | | | | |

| |threadable | | | | | |

|L32. |Extending threads |Chalk and Board | | |1,4,6 |T2/11 |

|L33. |Implementing |PPT | | |1,4,6 |T2/11 |

| |runnable; Synchronization | | | | | |

|L34. |Changing state of the thread. |PPT and video | | |4 |T2/11 |

| | |class | | | | |

|L35. |Bounded buffer problems, read write |PPT and video | | |1,4,6 |T2/11 |

| |problem. |class | | | | |

|L36. |producer consumer problems |PPT and video | | |1,4,6 |T2/11 |

| | |class | | | | |

|L37. |Event Handling: Two event handling |PPT | | |1,4 |T2/22 |

| |mechanisms | | | | | |

|L38. |The delegation event model; Event classes |PPT | | |1,4,6 |T2/22 |

|L39. |Sources of events; Event |PPT | | |1,4,6 |T2/22 |

| |listener interfaces | | | | | |

|L40. |Using the delegation event model; Adapter |PPT | | |1,4,6 |T2/22 |

| |classes; Inner classes | | | | | |

| |Cos attained |

| | |

|Assignment Questions | |

|What is synchronization? When do we use it? |1,4 |

|What is meant by thread priority? How is it assigned? |1,4 |

|Distinguish between multi-tasking and multithreading. How is synchronization and inter-thread communication done in java? |1,4,6 |

|How threads are created in Java? Explain any one of the method with suitable program. |1,4,6 |

|Write a program to implement the producer consumer problem using the inter thread communication. |4,6 |

|What is the use of isAlive( ) and join( ) methods? Explain with suitable program? |4,6 |

|Explain about the Delegation Event Model. |4,6 |

|Explain about the i) FocusEvent. ii) MouseEvent. |4,6 |

|Explain about the adapter classes with suitable program. |4,6 |

MODULE-5

|MODULE: 5 Planned Hours: |

|10 |

|Unit Title: The Applet Class |

Objectives: At the end of this chapter student should be able to:

|1. |Implement Java Applets. |

|2. |Demonstrate java Swing Packages. |

|3. |Implement Jlabel, ImageIcon, JTextField and Swing Buttons. |

|4. |Implement JTabbedpane, JScrollPane, JList, JComboBox and JTable. |

Lesson Plan:

|Lecture No |Topic covered |Teaching Method |POs attained |PSO attained |COs attained |Reference Book/Cahpter No.|

|L41. |Introduction, Two types of Applets; Applet|PPT |1,2,3,5,11,12 |1,2,3 |1,5,6 |T2/21 |

| |basics | | | | | |

|L42. |Applet Architecture; An Applet skeleton; |PPT | | |1,5,6 |T2/21 |

| |Simple Applet display methods | | | | | |

|L43. |Requesting repainting; |PPT | | |1,5,6 |T2/21 |

| |Using the Status Window; The HTML APPLET | | | | | |

| |tag | | | | | |

|L44. |Passing parameters to Applets; |PPT | | |1,5,6 |T2/21 |

| |getDocumentbase() and getCodebase(); | | | | | |

| |ApletContext and showDocument() | | | | | |

|L45. |The AudioClip Interface; The AppletStub | | | |1,5,6 |T2/21 |

| |Interface;Output to the Console | | | | | |

|L46. |Swings: The origins of Swing; Two key |PPT | | |1,5,6 |T2/29 |

| |Swing features. Components and Containers;| | | | | |

| |The Swing Packages. | | | | | |

|L47. |A simple Swing Application; Create a Swing|PPT | | |1,5,6 |T2/29 |

| |Applet. | | | | | |

|L48. |Jlabel and ImageIcon; JTextField. |PPT | | |1,5,6 |T2/30 |

|L49. |The Swing Buttons; JTabbedpane. |PPT | | |1,5,6 |T2/30 |

|L50. |JScrollPane; JList; JComboBox; JTable |PPT | | |1,5,6 |T2/30 |

|Assignment Questions |Cos attained |

|Give syntax of various applet tags. |5,6 |

|Explain the skeleton of applet with suitable program. |1,5,6 |

| Demonstrate the concept of Event handling using applets with appropriate example. | 1,5,6 |

|Explain the following methods of applet |5,6 |

|i) getDocumentbase() ii) getCodebase(); iii) showDocument() | |

|Explain about the two key swing features. |5 |

|Write a simple Swing based Applet Program. |5,6 |

|Explain about the JLabel and ImageIcon with example. |1,5,6 |

|Write an Applet program to demonstrate the JTextField. |1,5,6 |

|Explain the swing Buttons. |1,5,6 |

|Explain about the JTabbedPane with suitable example. |1,5,6 |

|Explain about the Container JScrollPane with suitable example. |1,5,6 |

|Explain about the JTree class with suitable example. |1,5,6 |

|Write an Applet Program to demonstrate the JTable. |1,5,6 |

IA TEST Portion

|IA test |IA test portion |COs attained(CO245.) |

|I IA Test |MODULE 1, MODULE 2 |1,2,6 |

|II IA Test |MODULE 3, MODULE 4, |3,4,6 |

|III IA Test |MODULE 4, MODULE 5 |5,6,6 |

Course Coordinator Module Coordinator

Java & J2EE Question Papers

[pic]

[pic]

[pic]

[pic]

[pic]

[pic]

[pic]

-----------------------

[pic]

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download