Sidho-Kanho-Birsha University · Undergraduate programmes under NEP 2020 SearchExamsCoverage
SKBU SyllabusUndergraduate · CCFUP
BCOSMJ09CComputer Science

Object Oriented Programming with Java

Semester
6
Credits
6
Course type
MAJ-9
Theory / Practical
Combined
L–P–Tu ?
4-2-0
LecturePracticalTutorial
Official source ↗

Course objective

• Introduce the basic concepts of Java and its data types. • Understanding control flow statements, iterations and classes in Java. • Familiar with topics like inheritance and packages. • Implementation enumerations, arrays, multithreading, exceptions and byte streams with ease.

Learning outcome

• Use an integrated development environment to write, compile, run, and test simple object-oriented Java programs. • Read and make elementary modifications to Java programs that solve real-world problems. • Validate input in a Java program. • Identify and fix defects and common security issues in code. • Document a Java program using Javadoc. • Use a version control system to track source code in a project.

Full syllabus

Concept of OOP

Basic concept of object-oriented programming, benefits, application and characteristics of oop, history of java, Byte code, JVM, object oriented languages and their software evolution (jdk).

(4 Lectures)

Introduction to Object and Class

Description of class and object, real world object and software object, different types of object and application, needs of class, class as composite datatype. (6 Lectures)

Class as basic of all computation (Tokens, expression and operator)

Introduction to keyword token, delimiters, literals and punctuators. Different type of operators (arithmetic, relational, logical, bitwise), declaration and initialization of a variable.

application of binary, ternary operator, escape sequence, type of programming errors: syntax, logical and runtime errors. (4 Lectures)

Data type and input statement

Data type: primitive, non-primitive, access specifiers (public, private and protected), concept of scanner class and input stream reader class and their syntax of input/output Statement.

(8 Lectures)

Iterative construct of loop (Control Statement and loop)

control statement (if, else-if,.), branch statement (switch-case). entry and exit control loop (for, while, do...while) and their application. execute simple programming syntax. (6 Lectures)

User-defined methods

Method definition, function prototype and signature, concept of actual and formal parameter, call by value and call by reference, return statement, pure and impure methods, function overloading and their needs. (8 Lectures)

Using Library Classes

concept of package(java.lang), mathematical library function (Math. max, min, pow, sin) wrapper class and it application, exception handling (try, catch), user define packages. (6 Lectures)

Array and String manipulation

Needs of array, types of array, searching in 1D and 2D, sorting technique, advantage and disadvantages of array. String function (length, compare, equals). (6 Lectures)

Encapsulation and Inheritance

Visibility modifiers, scope and visibility rules, concept of in inheritance, different type of inheritance, derived/sub/super classes. (6 Lectures)

Multithreading in java

Thread life cycle and methods, Runnable interface, Thread synchronization, Exception handling with try-catch-finally, Collections in java, Introduction to JavaBeans and Network Programming. (6 Lectures)

Object Oriented Programming Lab with Java

  • Program to define a structure of a basic JAVA program.
  • Program to define the data types, variable, operators, arrays and control structures.
  • Program to define class and constructors. Demonstrate constructors.
  • Program to define class, methods and objects. Demonstrate method overloading.
  • Program to show method overriding.
  • Program to demonstrate Packages.
  • Program to demonstrate Exception Handling.

Reference Books

  1. Introduction to Java Programming (Comprehensive Version), Daniel Liang, Pearson.
  2. Programming in Java, Sachin Malhotra & Saurabh Chaudhary, Oxford University Press.
  3. Murach’s Beginning Java 2, Doug Lowe, Joel Murach and Andrea Steelman, SPD.
  4. Core Java Volume-I Fundamentals, Horstmann & Cornell, Pearson Education.
  5. The Complete Reference, Java 2, Herbert Schild, TMH.
  6. Java Programming, D. S. Malik, Cengage Learning.

Where this paper is used