Programming in Java

Teacher

Sanjib Kumar Naik

Category

Core Courses

Course Attendees

Still no participant

Course Reviews

Still no reviews

Course Name : Programming in Java

Code(Credit) : BSIT1201(3-2-1)

Course Objectives

 Learn problem solving using object-oriented concepts
 Implement object oriented programming using Java
 Analyze several alternative solutions to determine the best approach

  • I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Learning Outcomes

 Able to use object oriented concept to solve problems
 Write an error free program of minimum 200 lines of code

  • I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Course Syllabus

Module-I (5 Hrs )
Java Architecture and Features, Understanding the semantic and syntax differences

between C++ and Java, Compiling and Executing a Java Program, Variables, Constants,

Keywords Data Types, Operators (Arithmetic, Logical and Bitwise) and Expressions,

Comments
Assignment 1: Explain features of Java ?
Assignment 2: Explain java Architecture ?
Practice :
1. To find the sum of any number of integers entered as command line arguments

Module-II (5 Hrs )
Doing Basic Program Output, Decision Making Constructs (conditional statements and

loops) and Nesting, Java Methods (Defining, Scope, Passing and Returning Arguments,

Type Conversion and Type and Checking, Built-in Java Class Methods),
Creating & Using Arrays (One Dimension and Multi-dimensional), Referencing Arrays

Dynamically, Java Strings: The Java String class, Creating & Using String Objects,

Manipulating Strings, String Immutability & Equality, Passing Strings To & From

Methods, String Buffer Classes.
Assignment 3:Explain different loops in java ?
Practice :
2. To find the factorial of a given number
3. To learn use of single dimensional array by defining the array dynamically.
4. To learn use of .lenth in case of a two dimensional array

Module-III (2 Hrs )
Simple I/O using System.out and the Scanner class, Byte and Character streams,

Reading/Writing from console and files.
Assignment 4: Explain Simple I/O using System.out and the Scanner class ?
Practice :
5. To convert a decimal to binary number
6. To check if a number is prime or not, by taking the number as input from the

keyboard ?
7. To find the sum of any number of integers interactively, i.e., entering every

number from the keyboard?

Module-IV ( 5 Hrs )
Principles of Object-Oriented Programming, Defining & Using Classes, Controlling

Access to Class Members, Class Constructors, Method Overloading, Class Variables &

Methods, Objects as parameters, final classes, Object class, Garbage Collection.
Inheritance: (Single Level and Multilevel, Method Overriding, Dynamic Method

Dispatch, Abstract Classes)
Assignment 5:Explain Principles of Object-Oriented Programming ?
Assignment 6:Explain Garbage Collection ?

Practice :
8--Write a java program for reverse a String ?
9--Write a java program for creating class and Object ?

Module-V ( 5 Hrs )
Interfaces and Packages, Extending interfaces and packages, Package and Class

Visibility, Using Standard Java Packages (util, lang, io, net), Wrapper Classes,

Autoboxing/Unboxing, Enumerations and Metadata.
Exception Handling, Threading, Networking and Database Connectivity
Exception types, uncaught exceptions, throw, built-in exceptions, Creating your own

exceptions; Multi-threading: The Thread class and Runnable interface, creating

single and multiple threads, Thread prioritization, synchronization and

communication, suspending/resuming threads. Using java.net package, Overview of

TCP/IP and Datagram programming.
Assignment 7: Explain Interfaces with examples ?
Assignment 8: Explain Packages with examples ?

Practice :
10--Write a java program for method Overloading ?
11--Write a java program for method Overriding ?

Module-VI ( 3 Hrs )
Accessing and manipulating databases using JDBC.
Java Applets:Introduction to Applets, Writing Java Applets, Working with Graphics,

Incorporating Images & Sounds. Event Handling Mechanisms,Listener Interfaces,

Adapter and Inner Classes.
Assignment 9: Explain Applet Life Cycle ?

Practice :
12--Write a java program for autoboxing and unboxing ?

Module-VII ( 5 Hrs )
The design and Implementation of GUIs using the AWT controls, Swing components of

Java Foundation Classes such as labels, buttons, textfields, layout managers,

menus, events and listeners; Graphic objects for drawing figures such as lines,

rectangles, ovals, using different fonts, overview of servlets.
Assignment 10: Explain Implementation of GUIs using the AWT controls ?
Practice :
13--Write a java program using multilevel Inheritance ?

Reference Books
1. Ken Arnold, James Gosling, David Homes, "The Java Programming Language", 4th

Edition, 2005.
2. James Gosling, Bill Joy, Guy L Steele Jr, GiladBracha, Alex Buckley"The Java

Language Specification, Java SE 8 Edition (Java Series)", Published by Addison

Wesley, 2014.
3. Joshua Bloch, "Effective Java" 2nd Edition,Publisher: Addison-Wesley, 2008.
4. Cay S. Horstmann, GaryCornell, "Core Java 2 Volume 1 ,9thEdition,Printice

Hall.2012
5. Cay S. Horstmann, Gary Cornell, "Core Java 2 Volume 2 - Advanced Features)", 9th

Edition, Printice Hall.2013
6. Bruce Eckel, "Thinking in Java", 3rd Edition, PHI, 2002.
7. E. Balaguruswamy, "Programming with Java", 4th Edition, McGraw Hill.2009.
8. Paul Deitel, Harvey Deitel, "Java: How to Program", 10th Edition, Prentice Hall,

2011. 9. "Head First Java", Orielly Media Inc. 2nd Edition, 2005.

I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Session Plan

Session 12

Java Strings

https://www.javatpoint.com/java-string

 

Session 11

Loop  and Nesting

https://www.javatpoint.com/java-for-loop

Session 10

Decision Making

https://www.javatpoint.com/java-if-else

 

Session 8

Operators and Expressions

https://www.javatpoint.com/operators-in-java

Session 3

Compiling and Executing a Java Program

https://www.geeksforgeeks.org/compilation-execution-java-program/

Session 2

Features  of  Java

https://www.javatpoint.com/features-of-java

Session 13

Simple I/O using System.out

https://www.javatpoint.com/java-io

Session 14

 Scanner class

https://www.javatpoint.com/Scanner-class

 

Session 16

Reading data  from  files

https://www.javatpoint.com/java-filereader-class

Session 17

Writing from console

https://www.javatpoint.com/java-console-flush-method

 

Session 18

Writing  data to  files

https://www.javatpoint.com/java-filewriter-class

Session 19

Principles of Object-Oriented Programming

https://en.wikipedia.org/wiki/Object-oriented_programming

 

I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Session 38

Overview of  Servlets

https://www.javatpoint.com/servlet-tutorial

Session 37

Graphic objects for drawing figures such as lines

https://www.javatpoint.com/Graphics-in-swing

Session 36

Swing components of Java Foundation Classes

https://www.javatpoint.com/java-swing

Session 35

GUIs using the AWT controls

https://www.javatpoint.com/java-awt

Session 34

Working with Graphics

https://www.javatpoint.com/Graphics-in-applet

Session 33

Applets, Writing Java Applets

https://www.javatpoint.com/java-applet

Session 31

Accessing and manipulating databases using JDBC

https://www.javatpoint.com/java-jdbc

Session 29

Exception types  and Build in Exception

https://www.javatpoint.com/exception-handling-in-java

 

Session 28

Autoboxing  and  Unboxing

https://www.javatpoint.com/autoboxing-and-unboxing

 

Session 27

Wrapper Classes

https://www.javatpoint.com/wrapper-class-in-java

 

Session 24

Abstract Classes

https://www.javatpoint.com/abstract-class-in-java

 

Session 21

Controlling Access to Class Members

https://www.javatpoint.com/access-modifiers

 

Session 20

Defining & Using Classes

https://www.javatpoint.com/object-and-class-in-java

I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Case Studies

Case Studies

Our Main Teachers

Sanjib Kumar Naik

Asst Prof Dept of IT
VIEW PROFILE