Java Programming (Practical)
Java Programming (Practical)
Program Details
Name of the Program Bachelor of Computer Applications (BCA) Program Code 3
Course Details
Group Name COMPUTER APPLICATION
Course Name JAVA PROGRAMMING (PRACTICAL)
Course Code BCAP410 Total Duration 60
Course Type Major Type-2 Credit 2
Max. Marks 100 (Internal: 40 + External: 60)
Course Applicable To BCA
Course Summary
Java Environment Overview, javac and java command . Java Programming Basics Data Types: , Control Statements:,
Object-Oriented Programming in Java , Inheritance & Interfaces Inheritance: , polymorphism. Packages
Multithreading & Exception Handling , Input/Output Operations Java I/O Basics, Applet Programming , Applet
Lifecycle:, GUI Programming with AWT Basic Components. Networking in Java, Networking Basics: JDBC- ODBC
Bridge: Connects Java applications to databases, Connectivity Model: Enables SQL queries execution through Java.
Course Outcomes
Code Details
CO1 To Construct simple applications of java.
CO2 To Demonstrate and use of conditional statement.
CO3 To Construct to formulate iterative solutions and array processing algorithms for problems.
CO4 To Implement method Overloading and Overriding.
CO5 To Implement inheritance and interface in java and to develop an applet program using AWT
Syllabus
Suggested List of Practicals
1. Write a program to print numbers in words using Nested if and Switch Case.
2. Write a program called PassFail which prints "PASS" if the int variable "mark" is more than or equal to 50; or
prints "FAIL" otherwise
3. Write a program called OddEven which prints "Odd Number" if the int variable “number” is odd, or “Even
Number” otherwise.
6. Write a program to display grade according to the marks obtained by the student.
7. Find the factorial of number if number is given by user using command line argument.
10. Write a program to take an input from user and check given number is prime or not.
12. Write a program to convert given string into. Uppercase and lowercase and get the length of string Using array.
13. Write a program to overload volume method to find out volume of cube and cuboid.
14. Write a program to design a class using abstract Methods and Classes.
16. Write a program to create a package of your name and use that package in a class
18. Define an exception called “Marks out of Bound” exception that is thrown if the entered marks are greater than
100.
20. Design an applet that takes three numerical values as input from the user and then displays the largest of those
three numbers on the screen.