0% found this document useful (0 votes)
6 views2 pages

Programming in Java: THEORY: 60L: Bankura University B.Sc. COMPUTER SC (Programme) CBCS W.E.F. 2017-18

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
6 views2 pages

Programming in Java: THEORY: 60L: Bankura University B.Sc. COMPUTER SC (Programme) CBCS W.E.F. 2017-18

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 2

Bankura University B.Sc. COMPUTER SC (Programme) CBCS w.e.f.

2017-18

2. Programming in Java: THEORY: 60L

Introduction to Java: Features of Java, JDK Environment (1L)

Object Oriented Programming Concept Overview of Programming, Paradigm,


Classes,Abstraction, Encapsulation, Inheritance, Polymorphism, Difference between C++ and
JAVA
(10L)
Java Programming Fundamental: Structure of java program, Data types, Variables,
Operators,Keywords, Naming Convention, Decision Making (if, switch),Looping(for, while)
,Type Casting
(10L)
Classes and Objects: Creating Classes and objects, Memory allocation for objects,
Constructor,Implementation of Inheritance, Implementation of Polymorphism, Method
Overloading, Method
Overriding, Nested and Inner classes (10L)

Arrays and Strings: Arrays, Creating an array, Types of Arrays, String class Methods,
StringBuffer methods.
(6L)
Abstract Class, Interface and Packages: Modifiers and Access Control, Abstract classes and
methods, Interfaces, Packages Concept, Creating user defined packages (8L)
Exception Handling: Exception types, Using try catch and multiple catch, Nested try, throw,
throws and finally, Creating User defined Exceptions. (4L)

File Handling: Byte Stream, Character Stream, File IO Basics, File Operations, Creating file,
Reading file, Writing File (5L)

Applet Programming: Introduction, Types Applet, Applet Life cycle, Creating Applet, Applet
tag (6L)

Books Recommended:
1. Ivan Bayross, Web Enabled Commercial Application Development Using Html,
Dhtml,javascript, Perl Cgi , BPB Publications, 2009.
2. Cay Horstmann, BIG Java, Wiley Publication , 3rd Edition., 2009
3. Herbert Schildt , Java 7, The Complete Reference, , 8th Edition, 2009.
4. E Balagurusamy , Programming with JAVA, TMH, 2007

Page 23 of 46
Bankura University B.Sc. COMPUTER SC (Programme) CBCS w.e.f. 2017-18

Programming in Java: LAB


Software Lab based on Java
1. WAP to find the largest of n natural numbers.
2. WAP to find whether a given number is prime or not.
3. Write a menu driven program for following:
a. Display a Fibonacci series
b. Compute Factorial of a number
c. WAP to check whether a given number is odd or even.
d. WAP to check whether a given string is palindrome or not.
4. WAP to print the sum and product of digits of an Integer and reverse the Integer.
5. Write a program to create an array of 10 integers. Accept values from the user in that array.
Input another number from the user and find out how many numbers are equal to the
number passed, how many are greater and how many are less than the number passed.
6. Write a program that will prompt the user for a list of 5 prices. Compute the average of the
prices and find out all the prices that are higher than the calculated average.
7. Write a program in java to input N numbers in an array and print out the Armstrong
numbers from the set.
8. Write java program for the following matrix operations:
a. Addition of two matrices
b. Summation of two matrices
c. Transpose of a matrix
d. Input the elements of matrices from user.
9. Write a java program that computes the area of a circle, rectangle and a Cylinder using
function overloading.
10. Write a Java for the implementation of Multiple inheritance using interfaces to calculate
the area of a rectangle and triangle.
11. Write a java program to create a frame window in an Applet. Display your name, address
and qualification in the frame window.
12. Write a java program to draw a line between two coordinates in a window.
13. Write a java program to display the following graphics in an applet window.
a. Rectangles
b. Circles
c. Ellipses
d. Arcs
e. Polygons
14. Write a program that reads two integer numbers for the variables a and b. If any other
character except number (0-9) is entered then the error is caught
by Number Format Exception object. After that ex. getMessage() prints the information
about the error occurring causes.
15. Write a program for the following string operations:
a. Compare two strings
b. Concatenate two strings
c. Compute length of a string
16. Create a class called Fraction that can be used to represent the ratio of two integers. Include
appropriate constructors and methods. If the denominator becomes zero, throw and handle
an exception.

Page 24 of 46

You might also like