Вы находитесь на странице: 1из 3

Brilfi?

€iii
BHAVAN'S VIVEKANANDA COLLEGE
OF SCIENCE, HUMANITIES AND COMMERCE
(Accredited with 'A' Grade by NAAC)
Autonomous College - Affiliated to Osmania Uniyersity
Department of Computer Science

PROGRAM NAME: BCA (w.e.f 2020-2r)


COURSE NAME: OBJECT ORIENTED PROGRAMMING WITH JAVA

PAPER CODE: BCA344 PPW:4


YEAR/SEMESTER: II/I NO. OF CREDITS: 4

COURSE OBJECTIVE: To impart knowledge on core fundamental concepts of Java to develop applications

IJMT-WISE COURSE OBJECTIVES:

CObl: To leam java fundamentals.

COb2: To leam fundamental concepts ofoops, control statements, arrays, strings and vectors

COb3: To learn packages and interfaces.

COb4: To leam multi-threaded programs and exception handling.

UNIT-I: Java Fundamentals


Java Evolution: Java Features - How Java differs from C - Java and Intemet - Java and World Wide Web -
Web Browsers - Hardware and Software Requirements.
Overview of Java Language: Simple Java Program Java Program Structure Java Statements
- - -
Implementing a Java Program - Java Virtual Machine - Command Line Arguments.
- -
Java Tokens- keyrvords, Constants , Variables Data types Declaration of Variables-Giving Values to
Variables- Scope of Variables-Symbolic Constants-Type Casting-Operators-Arithmetic Operators - Relational
Operators- Logical Operators Assignment Operators Increment and Decrement Operators - Conditional
- -
Operators - Bitwise Operators - Special Operators.

UNIT-II: OOPS concepts in Java


Decision Making and Branching: Decision Making with if Statement - Simple il Statement-if else Statemenl
Nesting ifelse Statement- the else ifLadder-The Switch Statement - The ?: operator.
Looping: The while statement - The do statement - The for statement - Jumps in Loops.
Fundamentals of Object Oriented Programming: Object Oriented Paradigm Basic Concepts of Object-
Oriented Programming - Benefits of OOP - Applications of OOP.
Class, Objects and Methods: Defining a Class - Fields Declaration - Methods Declaration - Creating Objects
- -
- Accessing Class Members Constructors - Method Overloading Static Members - Nesting of Methods -
- - -
Inheritance Overriding Methods Final Variables and Methods Final Classes Abstract Methods and -
Classes - Visibility Control.

7
\/t--
:Rsox
BOS in I n )rfflallc'
\) ViYck€ ,andr
Coltl#
BN rYan's
{ sain
UNIT-III: Arrays, Packages and Interfaces in Java
Arrays - Strings - Vectors - Wrapper Classes - Enumerated Types
Interfaces: Multiple Inheritance: Defining Interfaces - Extending Interfaces - Implementing Interfaces -
Accessing Interface Variables.

Packages: Java API Packages


- Using system Packages - Naming Conventions - Creating Packages -
AccessingaPackage-UsingaPackage-AddingaClasstoaPackage-HidingClasses-Staticlmport

UNIT-IV: Multithreaded programming and Exception Handling.


Multithreaded Programming: Creating Threads - Extending the Thread Class - Stopping and Blocking a
Thread - Life Cycle of a Thread - Using Thread Methods - Thread Exceptions - Thread Priority -
Synchronization.

Exception handling: Managing Errors and Exceptions: Types of Errors - Exceptions - Syntax of Exception
Handling Code - Multiple Catch Statements - Using Finally Statement - Throwing our own Exceptions -
Using Exceptions for debugging.

Prescribed Book:

E. Balaguruswamy, Programming with Java, A primer 5th edition, Tata McGraw-Hill,z}l4

Reference Books:

1. Herbert Schildt, Java: The Complete Reference, 9th edition, Tata McGraw-Hi11,2014.
2. John R. Hubbard, Programming with Java, Second Edition, Schaum's outline Series, Tata McGraw-Hill,
2007.
3. Timothy Budd, Understanding Object Oriented Programming with Java, Pearson Education,2007.

COURSE OUTCOMES:

At the end of the course students will be able to

BCA344 COI: Be familiarized with java fundamentals.


BCA344 CO2: Develop java programs relating to control statements, arrays, strings and vectors.
BCA344 CO3: Develop java programs relating to packages and interfaces.
BCA344 CO4: Develop java programs relating to multi-threaded programs and exception handling.

rSoN
Clrr""' ,matl6
BOS in
tr
,naa Collr$
Vrv-er
Rhav an s
{ 8
q
r-tj:ryiA-i'€Iii
BHAVAN'S VIVEKANANDA COLLEGE
OF SCIENCE, HUMANITIES AND COMMERCE
(Accredited with 'A' Grade by NAAC)
Autonomous College - Affiliated to Osmania University
Department of Computer Science

PROGRAM NAME: BCA (w.e.f 2020-21)


COURSE NAME: OBJECT ORIENTED PROGRAMMING WITH JAVA LAB

PAPER CODE: BCA344P YEAR/SEMESTER: II/I

1. Write a java program to determine the sum of the following harmonic series for a given value of 'n'.
1+112+113+. . . +1ln
2. Prompt for the cost price and selling price of an article and display the profit (or) loss percentage.
3. Write a program to fill elements into a list. Also, copy them in reverse order into another list.
4. Illushate the method overriding in JAVA.
5. Write a program to perform the following operations on strings through interactive input.
a) Sort given strings in alphabetical order.
b) Convert the strings to uppercase.
6. Write a program to identifu a duplicate value in a vector.
7. Write a program to demonstrate packages.
8. Write a program to illustrate static methods.
9, Write a program to demonstrate constructor overloading.
10. Write a program to sort the numbers in the ascending order.
11. Write a program to implement multiple inheritance using interfaces.
12. Write a program to demonstrate multithreading.
13. Write a program to demonstrate user-defined exception.
14. Write an interactive program to accept name ofa person and validate it. If the name contains any
numeric value throw an exception "lnvalidName".
15. Write a program to demonstrate multiple catch using exception handling.

CHA PEFSON
BOS in i n:ormdicl
Bneva n's Vivok; 'an
\ SainikJur
t -g\' 9

a:l'-;;rr1.
-
$s'r"

Вам также может понравиться