[go: up one dir, main page]

0% found this document useful (0 votes)
39 views5 pages

Format For Syllabus Framing

The document outlines a course on Object-Oriented Programming (OOP) using Java for B.Tech. Cyber Security students, detailing course objectives, outcomes, and a comprehensive syllabus covering OOP concepts, inheritance, exception handling, multithreading, event handling, and applets. It also includes a lab component with practical exercises aimed at reinforcing the theoretical knowledge gained in the course. Textbooks and reference materials are provided for further study.

Uploaded by

pillala sathish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views5 pages

Format For Syllabus Framing

The document outlines a course on Object-Oriented Programming (OOP) using Java for B.Tech. Cyber Security students, detailing course objectives, outcomes, and a comprehensive syllabus covering OOP concepts, inheritance, exception handling, multithreading, event handling, and applets. It also includes a lab component with practical exercises aimed at reinforcing the theoretical knowledge gained in the course. Textbooks and reference materials are provided for further study.

Uploaded by

pillala sathish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

R23 B.

Tech
AVN INSTITUTE OF ENGINEERING AND TECHNOLOGY
(UGC Autonomous)
Koheda Road, Ibrahimpatnam(M), R.R.dist,Telangana-501510

OBJECT ORIENTED PROGRAMMING THROUGH JAVA

L T P C
B.Tech. Cyber Security - II Year, I Sem.
3 0 0 3
Course Objectives:
 This course is about the fundamentals of Object-Oriented Programming (OOP) Concept
and OOP-based software development methodology.
 Java as a class - based and pure OOP language is used to demonstrate and implement
appropriate concepts and techniques.
 The students are exposed to the concepts, fundamental syntax, and the thought processes
behind object-oriented programming.
 By end of the course, students will acquire the basic knowledge and skills necessary to
implement object-oriented programming techniques in software development using
java.

Course outcomes:
 Upon completion of the course, the student will be able to achieve the following
outcomes:
 Define, understand and differentiate the Object Oriented concepts and Java Programming
concepts.
 Apply object oriented concepts on real time scenarios.
 Use Exception handling and multithreading mechanisms to create efficient software
applications.
 Utilize modern tools and collection framework to create Java applications to solve real
world problems.
 Design and develop GUI based applications using applets and swings for internet and
system based applications.
UNIT - I
OBJECT ORIENTED THINKING AND JAVA BASICS- Need for oop paradigm, summary
of oop concepts, History of Java, Java buzzwords, data types, variables, scope and lifetime of
variables, arrays, operators, expressions, control statements, type conversion and casting, simple
java program, concepts of classes, objects, constructors, methods, access control, this keyword,
garbage collection, overloading methods and constructors, parameter passing, recursion, nested
and inner classes, exploring string class, string handling.
UNIT - II
INHERITANCE, PACKAGES AND INTERFACES – Hierarchical abstractions, Base class
object, subclass, subtype, substitutability, forms of inheritance specialization, specification,
construction, extension, limitation, combination, benefits of inheritance, costs of inheritance.
Member access rules, super uses, using final with inheritance, polymorphism- method overriding,
abstract classes, the Object class. Defining, Creating and Accessing a Package, Understanding
CLASSPATH, importing packages, differences between classes and interfaces, defining an
1
interface, implementing interface, applying interfaces, variables in interface and extending
interfaces. Exploring java.io.
UNIT - III
EXCEPTION HANDLING AND MULTITHREADING-- Concepts of exception
handling, benefits of exception handling, Termination or resumptive models, exception
hierarchy, usage of try, catch, throw, throws and finally, built in exceptions, creating own
exception subclasses. Exploring java.util. Differences between multithreading and
multitasking, thread life cycle, creating threads, thread priorities, synchronizing threads,
inter thread communication, thread groups, daemon threads. Enumerations, autoboxing,
annotations, generics.
UNIT - IV
EVENT HANDLING: Events, Event sources, Event classes, Event Listeners,
Delegation event model, handling mouse and keyboard events, Adapter classes. The
AWT class hierarchy, user interface components- labels, button, canvas, scrollbars, text
components, check box, checkbox groups, choices, lists panels – scrollpane, dialogs,
menubar, graphics, layout manager – layout manager types – border, grid, flow, card and
grid bag.
UNIT - V
APPLETS – Concepts of Applets, differences between applets and applications, life
cycle of an applet, types of applets, creating applets, passing parameters to applets.
Swing – Introduction, limitations of AWT, MVC architecture, components, containers,
exploring swing- JApplet, JFrame and JComponent, Icons and Labels, text fields,
buttons – The JButton class, Check boxes, Radio buttons, Combo boxes, Tabbed Panes,
Scroll Panes, Trees, and Tables.
TEXT BOOKS:
1. Java the complete reference, 7th edition, Herbert schildt, TMH.
2. Understanding OOP with Java, updated edition, T. Budd, Pearson education.
REFERENCE BOOKS:
1. An Introduction to programming and OO design using Java, J.Nino and F.A.
Hosch, John wiley & sons.
2. An Introduction to OOP, third edition, T. Budd, Pearson education.
3. Introduction to Java programming, Y. Daniel Liang, Pearson education.
4. An introduction to Java programming and object-oriented application development,
R.A. Johnson- Thomson.
5. Core Java 2, Vol 1, Fundamentals, Cay.S. Horstmann and Gary Cornell, eighth
Edition, Pearson Education.
6. Core Java 2, Vol 2, Advanced Features, Cay.S. Horstmann and Gary Cornell, eighth
Edition, Pearson Education
7. Object Oriented Programming with Java, R.Buyya, S.T.Selvi, X.Chu, TMH.
8. Java and Object Orientation, an introduction, John Hunt, second edition, Springer.
9. Maurach’s Beginning Java2 JDK 5, SPD

2
R23 B.Tech
AVN INSTITUTE OF ENGINEERING AND TECHNOLOGY
(UGC Autonomous)
Koheda Road, Ibrahimpatnam(M), R.R.dist,Telangana-501510

OBJECT ORIENTED PROGRAMMING THROUGH JAVA LAB

L T P C
B.Tech. Cyber Security - II Year, I Sem.
0 0 2 1
Course Objectives:
● To write programs using abstract classes.
● To write programs for solving real world problems using java collection
framework.
● To write multithreaded programs.
● To write GUI programs using swing controls in Java.
● To introduce java compiler and eclipse platform.
● To impart hands on experience with java programming.

Course Outcomes:
● Able
towriteprogramsforsolvingrealworldproblemsusingjavacollectionframework.
● Able to write programs using abstract classes.
● Able to write multithreaded programs.
● Able to write GUI programs using swing controls in Java.

LIST OF EXPERIMENTS:

1. Use Eclipse or Net bean platform and acquaint yourself with the various
menus. Create a test project, add a test class, and run it. See how you can
use auto suggestions, auto fill. Try code formatter and code refactoring like
renaming variables, methods, and classes. Try debug step by step with a
small program of about 10 to 15 lines which contains at least one if else
condition and a for loop.
2. Write a Java program that works as a simple calculator. Use a grid layout to
arrange buttons for the digits and for the +, -,*, % operations. Add a text
field to display the result. Handle any possible exceptions like divided by
zero.
3. A) Develop an applet in Java that displays a simple message.
B) Develop an applet in Java that receives an integer in one text field, and
computes its factorial Value and returns it in another text field, when the
button named “Compute” is clicked.
4. Write a Java program that creates a user interface to perform integer
divisions. The user enters two numbers in the text fields, Num1 and Num2.
The division of Num1 and Num 2 is displayed in the Result field when the
Divide button is clicked. If Num1 or Num2 were not an integer, the
program would throw a Number Format Exception. If Num2 were Zero, the
program would throw an Arithmetic Exception. Display the exception in a
message dialog box.
3
5. Write a Java program that implements a multi-thread application that has
three threads. First thread generates a random integer every 1 second and if
the value is even, the second thread computes the square of the number and
prints. If the value is odd, the third thread will print the value of the cube of
the number.
6. Write a Java program for the following: Create a doubly linked list of
elements.
Delete a given element from the above list. Display the contents of the list
after deletion.
7. Write a Java program that simulates a traffic light. The program lets the
user select one of three lights: red, yellow, or green with radio buttons. On
selecting a button, an appropriate message with “Stop” or “Ready” or “Go”
should appear above the buttons in the selected color. Initially, there is no
message shown.
8. Write a Java program to create an abstract class named Shape that contains
two integers and an empty method named print Area (). Provide three
classes named Rectangle, Triangle, and Circle such that each one of the
classes extends the class Shape. Each one of the classes contains only the
method print Area () that prints the area of the given shape.
9. Suppose that a table named Table.txt is stored in a text file. The first line in
the file is the header, and the remaining lines correspond to rows in the
table. The elements are separated by commas. Write a java program to
display the table using Labels in Grid Layout.
10. Write a Java program that handles all mouse events and shows the event
name at the center of the window when a mouse event is fired (Use Adapter
classes).
11. Write a Java program that loads names and phone numbers from a text file
where the data is organized as one line per record and each field in a record
are separated by a tab (\t). It takes a name or phone number as input and
prints the corresponding other value from the hash table (hint: use hash
tables).
12. Write a Java program that correctly implements the producer – consumer
problem using the concept of inter thread communication.
13. Write a Java program to list all the files in a directory including the files
present in all its subdirectories.

REFERENCE BOOKS:

1. Java for Programmers, P. J. Deitel and H. M. Deitel, 10th Edition Pearson


education.
2. Thinking in Java, Bruce Eckel, Pearson Education.
3. Java Programming, D. S. Malik and P. S. Nair, Cengage Learning.
4. Core Java, Volume 1, 9th edition, Cay S. Horstmann and G Cornell, Pearson.

4
5

You might also like