Syllabus - Programming Practices (a) (Java) (CS406)


Computer Science and Engineering

Programming Practices (a) (Java) (CS406)

IV

Basic Java Features

C++ Vs JAVA, JAVA virtual machine, Constant & Variables, Data Types, Class, Methods, Objects, Strings and Arrays, Type Casting, Operators, Precedence relations, Control Statements, Exception Handling, File and Streams, Visibility, Constructors, Operator and Methods Overloading, Static Members

Inheritance

Polymorphism, Abstract methods and Classes

Java Collective Frame Work - Data Structures

Introduction, Type-Wrapper Classes for Primitive Types, Dynamic Memory Allocation, Linked List, Stack, Queues, Trees

Generics

Introduction, Overloading Generic Methods, Generic Classes, Collections: Interface Collection and Class Collections, Lists, Array List and Iterator, Linked List, Vector. Collections Algorithms: Algorithm sorts, Algorithm shuffle, Algorithms reverse, fill, copy, max and min Algorithm binary Search, Algorithms add All, Stack Class of Package java. Util, Class Priority Queue and Interface Queue, Maps, Properties Class, Un-modifiable Collections

Advance Java Features - Multithreading

Thread States, Priorities and Thread Scheduling, Life Cycle of a Thread, Thread Synchronization, Creating and Executing Threads, Multithreading with GUI, Monitors and Monitor Locks

Networking

Manipulating URLs, Reading a file on a Web Server, Socket programming, Security and the Network, RMI, Networking, Accessing Databases with JDBC: Relational Database, SQL, MySQL, Oracle

Advance Java Technologies - Servlets

Overview and Architecture, Setting Up the Apache Tomcat Server, Handling HTTP get Requests, Deploying a web Application, Multitier Applications, Using JDBC from a Servlet, Java Server Pages (JSP): Overview, First JSP Example, Implicit Objects, Scripting, Standard Actions, Directives, Multimedia: Applets and Application: Loading, Displaying and Scaling Images, Animating a Series of Images, Loading and playing Audio clips

Advance Web/Internet Programming (Overview)

J2ME, J2EE, EJB, XML

Course Objective

To introduce and understand students to programming concepts and techniques using the Java language and programming environment, class, objects, also learn about lifetime, scope and the initialization mechanism of variables and improve the ability general problem solving abilities in programming. Be able to use the Java SDK environment to create, debug and run simple Java program.

Practicals

  • Installation of J2SDK

  • Write a program to show Scope of Variables

  • Write a program to show Concept of CLASS in JAVA

  • Write a program to show Type Casting in JAVA

  • Write a program to show How Exception Handling is in JAVA

  • Write a Program to show Inheritance

  • Write a program to show Polymorphism

  • Write a program to show Access Specifiers (Public, Private, Protected) in JAVA

  • Write a program to show use and Advantages of CONTRUCTOR

  • Write a program to show Interfacing between two classes

  • Write a program to Add a Class to a Package

  • Write a program to show Life Cycle of a Thread

  • Write a program to demonstrate AWT.

  • Write a program to Hide a Class

  • Write a Program to show Data Base Connectivity Using JAVA

  • Write a Program to show “HELLO JAVA ” in Explorer using Applet

  • Write a Program to show Connectivity using JDBC

  • Write a program to demonstrate multithreading using Java.

  • Write a program to demonstrate applet life cycle.

  • Write a program to demonstrate concept of servlet.

Reference Books

  • E. Balaguruswamy, “Programming In Java”; TMH Publications

  • The Complete Reference: Herbert Schildt, TMH

  • Deitel & Deitel, ”JAVA, How to Program”; PHI, Pearson

  • Cay Horstmann, Big JAVA, Wiley India

  • Merlin Hughes, et al; Java Network Programming , Manning Publications/Prentice Hall