Computer Programming-I [JAVA] (CS-3006)
Objectives
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.
Syllabus
UNIT 1: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
UNIT 2: 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.
UNIT 3: 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
UNIT 4: 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
UNIT 5: Advance Web/Internet Programming (Overview): J2ME, J2EE, EJB, XML.
Chameli Devi Group Of Institutions [NOTES]
References
1. E. Balaguruswamy, “Programming In Java”; TMH Publications2. The Complete Reference: Herbert Schildt, TMH3. Deitel & Deitel, ”JAVA, How to Program”; PHI, Pearson.4. Cay Horstmann, Big JAVA, Wiley India.5. Merlin Hughes, et al; Java Network Programming , Manning Publications/Prentice Hall
List of Experiments
1. Installation of J2SDK2. Write a program to show Scope of Variables3. Write a program to show Concept of CLASS in JAVA4. Write a program to show Type Casting in JAVA5. Write a program to show How Exception Handling is in JAVA6. Write a Program to show Inheritance7. Write a program to show Polymorphism8. Write a program to show Access Specifiers (Public, Private, Protected) in JAVA9. Write a program to show use and Advantages of CONTRUCTOR10. Write a program to show Interfacing between two classes11. Write a program to Add a Class to a Package12. Write a program to show Life Cycle of a Thread13. Write a program to demonstrate AWT.14. Write a program to Hide a Class15. Write a Program to show Data Base Connectivity Using JAVA16. Write a Program to show “HELLO JAVA ” in Explorer using Applet17. Write a Program to show Connectivity using JDBC18. Write a program to demonstrate multithreading using Java.19. Write a program to demonstrate applet life cycle.20. Write a program to demonstrate concept of servlet.
Comments
Post a Comment