PROFILE


The Department of Computer Science was established in 1986 with the primary objective of delivering high-quality education in the field of Computer Science and nurturing exceptional computer professionals. The department boasts modern facilities for teaching, learning, and research. It provides diverse research opportunities and undergraduate programs. The training provided is designed to equip young minds for challenging opportunities in the IT industry, fostering a global perspective with guidance from experts in Computer Science. In 1986, the department introduced B.Sc. Computer Science to cultivate core competence in the field. Additionally, the department has evolved into a Research Department, offering Master of Philosophy (M.Phil.) and Doctor of Philosophy (Ph.D.) programs in Computer Science under self supporting stream, aiming to produce quality researchers and engage in high-impact interdisciplinary research. The department is dedicated to excellence in both undergraduate and research education. The university-designed curriculum is intensive, hands-on, and distinctive, emphasizing both theory and practical aspects. With over 150 students and 4 dedicated staff members, our vibrant department considers students, staff, and alumni pivotal to our success. The department is equipped with state-of-the-art computer laboratories, providing students with a conducive environment to engage in practical assignments and projects. These laboratories are well-maintained and equipped with the latest hardware and software, allowing students to gain hands-on experience and develop practical skills. Additionally, the department maintains a well-stocked library that houses an extensive collection of books, journals, and research papers related to computer science. This resource plays a crucial role in providing students with additional reference materials and aiding their research endeavors. In response to rapidly evolving technology and the constant demand for innovation, the Department has produced quality professionals holding significant positions in the IT industry, both in India and abroad.

Programmes offered by the Department

  • UG - B.Sc in Computer Science (Since 1986 - 1987)
  • M. Phil in Computer Science (Since 2013 - 2014)
  • Ph.D. (PT/FT) in Doctor of Philosophy (Since 2011 - 2012)

Vision


To develop professionals with strong computer proficiency.

Mission


To provide quality computer education, grooming students into technologists, professionals, and dedicated citizens.

JAVA PROGRAMMING

 


 JAVA PROGRAMMING

    Java is a powerful general-purpose object oriented programming language. It is used to develop both desktop and mobile applications. According to Oracle, the company that owns Java, Java runs on 3 billion devices worldwide, which makes Java one of the most popular programming languages. 

This Java tutorial will guide you to learn Java.

Dr.K.PAZHANIKUMAR

Pazhanikumar holds a Ph.D. in Computer Application from Manonmaniam Sundaranar University,Tirunelveli. His research interests and work experience spans the area of Data mining. Dr. Pazhanikumar works as a faculty member at the Department of Science at S.T.Hindu College,Nagercoil.

INTENDED AUDIENCE :  The UG and PG students from the Computer Science or Computer Application disciplines namely Bsc(CS),BCA,MSc(CS),MCA, etc. might be interested for this course.

PREREQUISITES :  This course requires that the students are familiar with programming language such as C/C++ and data structures, algorithms.

COURSE LEVEL


UG & PG


COURSE LAYOUT


Week-1


Day-1


Introduction


Features of JAVA


Day-2


Characteristics of OOP


Simple Java Application


Day-3


Data Types


Variables


Constant


Type Conversion


Day-4


Operators


Day-5


Control Statements


Day-6


Arrays



Assignment

       1. Write a program to the find the following 1 Prime number checking 2 Sum     of digit

      2. Write a program to calculate the roots of Quadratic equations.

    3. Write a java application program to find NCR(Use recursive function)

    4. Write a java application program to check the given no is Armstrong or        not. (153=13+53+33)

5. Write a java application program to count no of even and odd digit in a given no.(Ex:Given no:23876 No of Even digits:3(2,8,6) Odd digits:2(3,7).

6. Write a java program to sort the numbers in ascending order.

7. Write a java application program for 1.Matrix Addition 2,Matrix Subtraction

8. Write a java program to generate fibonacci series.

9. Write a java program to generate multiplication table.

10. Write a java program to demonstrate the use of break and continue statement.


Quiz


Feedback


Week-2


Day-1&2


Class


Day-3


Constructor


Garbage Collection and Finalize Method


Day-4


Access Specifiers


Day-5


Method Overloading


Day-6


Static Members



Quiz


Feedback


Assignment

1.Write a program to create a room class, the attributes of this class isroomno, roomtype, roomarea and ACmachine. In this class the member functions are setdata and displaydata.

2.Develop a Java application to generate Electricity bill. Create a class with the following members: Consumer no., consumer name, previous month reading, current month reading, type of EB connection (i.e domestic or commercial). Compute the bill amount using the following tariff. If the type of the EB connection is domestic, calculate the amount to be paid as follows: 9 First 100 units - Rs. 1 per unit 9 101-200 units - Rs. 2.50 per unit 9 201 -500 units - Rs. 4 per unit 9 > 501 units - Rs. 6 per unit If the type of the EB connection is commercial, calculate the amount to be paid as follows: 9 First 100 units - Rs. 2 per unit 9 101-200 units - Rs. 4.50 per unit 9 201 -500 units - Rs. 6 per unit 9 > 501 units - Rs. 7 per unit.

3.Create class point with following instance variable and methods. Instance variable: private int x,y Constructors : public Point(), Point(int x, int y) Methods : public void setX(int x), setY(int y), setXY(int x, int y)

4. Create class Number with only one private instance variable as a int primitive type. To include the following methods (include respective constructors) isZero( ), isPositive(), isNegative( ), isOdd( ), isEven( ), isPrime(), isAmstrong() the above methods return boolean primitive type. getFactorial(), getSqrt(), getSqr(), sumDigits(), getReverse() the above methods return int/double primitive type. 


Week-3


Day-1


Inheritance


Day-2


Method Overriding - Super Keyword


Day-3


Abstract Method & Class


Day-4


Interface


Final Method and Final Class


Day-5&6


Package & Access Specifiers


Quiz


Feedback


Assignment
BOOKS AND REFERENCES
1.Java: The Complete Reference Hebert Schildt, Mc Graw Hill