0% found this document useful (0 votes)
44 views25 pages

B.Sc. Java Practical Exam 2022 Guide

The document outlines the practical examination structure for B.Sc. Computer Science students at Shivaji University, Kolhapur, for various dates in 2022 and 2024. Each exam consists of multiple sections with specific programming tasks in Core Java and Advanced Java, requiring students to solve questions that include coding, compilation, and execution. The evaluation criteria include marks for documentation, computer work, viva, and certified journals.

Uploaded by

Neha Bhosale
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views25 pages

B.Sc. Java Practical Exam 2022 Guide

The document outlines the practical examination structure for B.Sc. Computer Science students at Shivaji University, Kolhapur, for various dates in 2022 and 2024. Each exam consists of multiple sections with specific programming tasks in Core Java and Advanced Java, requiring students to solve questions that include coding, compilation, and execution. The evaluation criteria include marks for documentation, computer work, viva, and certified journals.

Uploaded by

Neha Bhosale
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

SET-II

SHIVAJI UNIVERSITY, KOLHAPUR


[Link].(Part-III ENTIRE) Practical Examination-2022
Lab Course 9(Lab course based on DSC 501 &601)
Core Java & Advanced Java
Day and Date: Wednesday, 01-06-2022
Time: 02.00 P.M. to 06.00 P.M. Total Marks: 100
Instructions:

1. Solve any three questions (one from section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design,
Coding, compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION - I
Q.1 Write a java program to find sum of digits of an integer using Scanner class object.
Q.2 Write a java program to accept radius of five circles and display area of five circles for given
radius. (Use array of objects).
Q.3 Define a class Employee with field salary. Define another class programmer with field bonus
which inherits Employee to display salary and bonus.
SECTION – II
Q.4 Write a program to perform different KeyBoard Operations using Swing Control.
Q.5 Write a JSP program to display given number is prime or not.
Q.6 Create table Student( rollno, name, course).Write JDBC program to display student
information.
SET-I

SHIVAJI UNIVERSITY, KOLHAPUR


[Link].(Part-III ENTIRE) Practical Examination-2022
Lab Course 9(Lab course based on DSC 501 &601)
Core Java & Advanced Java
Day and Date: Wednesday, 01-06-2022
Time: 10.00 A.M. to 02.00 P.M. Total Marks: 100
Instructions:

1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design,
Coding, compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION - I
Q.1 Write a java program to print factorial of given number.
Q.2 Define a class Employee with fields name, department and salary. Display information of
two different employees. (Use constructor overloading)
Q.3 Write a java program to handle ArithmeticException.
SECTION – II
Q.4 Write a program to perform arithmetic operations using appropriate swing controls.
Q.5 Write a program to calculate reverse number of given number using JSP.
Q.6 Write a program to implement create, insert, update query using JDBC on table student
having Roll_Number, Name and Class_Name.
SET-IV
SHIVAJI UNIVERSITY, KOLHAPUR
[Link].(Part-III ENTIRE) Practical Examination-2022
Lab Course 9(Lab course based on DSC 501 &601)
Core Java & Advanced Java

Day and Date: Wednesday, 04-06-2022


Time: 02.00 P.M. to 06.00 P.M. Total Marks: 100
Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design, Coding,
compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION - I
Q1. Write a program to print following pattern
A
B B
C C C
D D D D
Q2. Write a program to perform inheritance and use super keyword to access parent class
members and constructor.
Q3. Define a class employee(e_id,e_name,e_salary), accepts data from 5 employees and print
employee information having salary grater then 10000.

SECTION - II
Q4. Create table Medicine( M_Id,M_Name,M_Price), write JDBC program to display Medicine
information.
Q5. Write a program to perform different Mouse operation using Swing control.
Q6. Write a program to print Fibonacci sequence to given range using JSP.
SET-III
SHIVAJI UNIVERSITY, KOLHAPUR
[Link].(Part-III ENTIRE) Practical Examination-2022
Lab Course 9(Lab course based on DSC 501 &601)
Core Java & Advanced Java

Day and Date: Wednesday, 04-06-2022


Time: 10.00 A.M. to 02.00 P.M. Total Marks: 100
Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design, Coding,
compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION - I
Q1. Write a program to calculate area of rectangle, circle & triangle using method overloading.
Q2. Define a class book having data members b_id and b_name, methods getdata() and
displaydata(), and accepts the data of one book and print the book information.

Q3. Writes a program to print following pattern


1
2 3
4 5 6
8 9 10 11
12 13 14 15 16

SECTION - II
Q4. Write a program to implement JFrame to display “Welcome to BCS” message on JTextField
when click on JButton.

[Link] a program to find out factorial of given no using JSP.

Q6. Write a program to implement create, insert, update queries using JDBC on table
Bike(b_name,b_color,b_price).
SET-VI
SHIVAJI UNIVERSITY, KOLHAPUR
[Link].(Part-III ENTIRE) Practical Examination-2022
Lab Course 9(Lab course based on DSC 501 &601)
Core Java & Advanced Java
Day and Date: Thusday, 07-06-2022
Time: 2.00 A.M. to 06.00 P.M. Total Marks: 100
Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design, Coding,
compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION - I
Q1. Write a program to find out a GCD of two numbers.
Q2. Write a Program to find second highest & second lowest number in an array having at least
10 elements.
Q3. Write a program to define a class book with appropriate data members, accepts data for 5
books and print only “JAVA” book information

SECTION - II

Q4. Write a program to perform different Mouse operation using Swing control.
[Link] a program to find out maximum number out of two numbers using JSP.
Q6. Write a program to implement select query using JDBC on table course (C_id, C_name,
C_price).
SET-V
SHIVAJI UNIVERSITY, KOLHAPUR
[Link].(Part-III ENTIRE) Practical Examination-2022
Lab Course 9(Lab course based on DSC 501 &601)
Core Java & Advanced Java
Day and Date: Thursday, 07-06-2022
Time: 10.00 A.M. to 02.00 P.M. Total Marks: 100
Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design, Coding,
compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I
Q1. Write a program to create a user defined package and appropriate class to find out cube of
given number.
Q2. Write a program to perform arithmetic operations using static methods addition(),
subtraction(), multiplication(), division().
Q3. Write a program to check given no is Palindrome or not if not raise an exception.

SECTION - II
Q4. Write a program to create JMenu bar where Menu Item such as file, edit and sub menu Item
Q5. Write a program to swap two numbers without using third variable using JSP.
Q6. Write a program to implement create, insert, update query using JDBC on table
Fruit(F_id, F_name, F_price);
SET-V
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire Part-III .
Practical Examination - March 2025
Lab Course 9 (Lab course based on DSC 501 & 601)
[CB C S ]
Core Java & Advanced Java

Day and Date: Wednesday , 2 April 2025 Total Marks: 100

Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include Coding, compilation and execution
of programs with required output.
3. 90 minutes for Computer work and 90 minutes for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I

Q1. Write a program to implements Single level inheritance assumes sufficient data.

Q2. Write a program to display following output


1
2 2
3 3 3
4 4 4 4

Q3. Define a class student having data members sid , sname and sclass accept the
Information of student and display it.

SECTION – II
Q4. Write a program to implement simple JFrame to display “welcome “message
On JFrame.

Q5. Write a program to implement create and insert query using JDBC on table
stud(s_id,s_name,s_price);

Q6. Write a JSP program to swap to numbers which is accepted through a HTML
Page.
SET-VI
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire Part-III .
Practical Examination - March 2025
Lab Course 9 (Lab course based on DSC 501 & 601)
Core Java & Advanced Java

Day and Date: Wednesday, 2 April 2025


Time: 2:00 P.M. to 05:00 P.M Total Marks: 100

Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include Coding, compilation and execution
of programs with required output.
3. 90 minutes for Computer work and 90 minutes for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I

Q1. Write a program to perform arithmetic operations using switch case and do while
Statement.

Q2. Write a program to display following output


0,1,1,2,3,5,8,13

Q3. Write a program to implement parameterized constructor assume sufficient data.

SECTION – II
Q4. Write a java program to implement JRadio Button

Q5. Write a program to implement select query using JDBC on table


Bike(b_id,b_name,b_price)

Q6. Write a JSP program to check given no is even or odd given number
Which is accepted through a HTML page.
SET-VI
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire Part-III .
Practical Examination - March 2025
Lab Course 9 (Lab course based on DSC 501 & 601)
[ C BC S]
Core Java & Advanced Java

Day and Date: Wednesday, 2 April 2025


Time: 2:00 P.M. to 05:00 P.M Total Marks: 100

Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include Coding, compilation and execution
of programs with required output.
3. 90 minutes for Computer work and 90 minutes for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I

Q1. Write a program to perform arithmetic operations using switch case and do while
Statement.

Q2. Write a program to display following output


1,6,11,16,21,26

Q3. Write a program to implement parameterized constructor assume sufficient data.

SECTION – II
Q4. Write a java program to implement JRadio Button

Q5. Write a program to implement select query using JDBC on table


Bike(b_id,b_name,b_price)

Q6. Write a JSP program to check given no is even or odd given number
Which is accepted through a HTML page.
SET-V
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire Part-III .
Practical Examination - March 2025
Lab Course 9 (Lab course based on DSC 501 & 601)
Core Java & Advanced Java
Day and Date: Wednesday , 2 April 2025
Time:10.30 A.M. to 01.30 P.M Total Marks: 100

Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include Coding, compilation and execution
of programs with required output.
3. 90 minutes for Computer work and 90 minutes for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I

Q1. Write a program to implements multilevel inheritance assumes sufficient data.

Q2. Write a program to display following output


1
2 2
3 3 3
4 4 4 4

Q3. Define a class student having data members sid , sname and sclass accept the
Information of student and display it.

SECTION – II
Q4. Write a program to implement simple JFrame to display “welcome “message
On JFrame.

Q5. Write a program to implement create and insert query using JDBC on table
stud(s_id,s_name,s_price);

Q6. Write a JSP program to swap to numbers which is accepted through a HTML
Page.
Set -II
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire Part-III .
Practical Examination- March 2024
Lab Course 9 (Lab course based on DSC 501 & 601)
Core Java & Advanced Java
Day and Date: Monday, 11 March 2024
Time: 02.00 A.M. to 06.00 P.M Total Marks: 100

Instruction-
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design, Coding,
compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I

Q1. Write a java program to implement constructor overloading.


Q2. Write a java program to perform implements any type of inheritance using
Super keyword.
Q3. Writes a java Program to check given no is Palindrome or not.

SECTION – II
Q4. Write a java program to implement INSERT,UPDATE and DELETE using
JDBC on table Student(S_id,S_name,S_class).

Q5. Write a JSP program to calculate Factorical of given number which is accepted
through a HTML page .

Q6. Write a Java program to implement simplet JFrame to display “welcome “


Message using swing contro
SET-IV
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire Part-III .
Practical Examination - March 2024
Lab Course 9 (Lab course based on DSC 501 & 601)
Core Java & Advanced Java
Day and Date: Monday, 15 March 2024
Time: 02.00 P.M. to 06.00 P.M Total Marks: 100

Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design,
Coding, compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I

Q1. Write a java program to print and display sum of following series 1!+2!+3!+......+n!

Q2. Write a java program to implement try, catch and finally block statement.

Q3. Write a java Program to find second min & max number in array

SECTION – II
Q4. Write a java program to implement JRadio Button

Q5. Write a program to implement create, insert, update query using JDBC on table
Bike(b_name,b_color,b_price).

Q6. Write a JSP program to find out reverse number of given number which is
Accepted through a HTML page.
SET-III
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire Part-III Practical Examination - March 2024
Lab Course 9 (Lab course based on DSC 501 & 601)
Core Java & Advanced Java
Day and Date: Monday, 15 March 2024
Time:10.00 A.M. to 02.00 P.M Total Marks: 100

Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design,
Coding, compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I

Q1. Write a java program to find out GCD of two numbers.

Q2. Write a program to define a class book with appropriate data members accepts
data for 5 books and print only java book information.

Q3. Write a program to performs two threads one finding a prime number and
Another Finding non-prime number from 1 to 10 numbers.

SECTION – II
Q4. Write a java program to Perform different Mouse operation using Swing
Control.

Q5. Create table Medicine (M_Id,M_Name,M_Price)Write JDBC program to


display Medicine Information.

Q6. Write a servlet program to swap two number without using third variable
Which is accepted through a HTML page.
SET-VI
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire Part-III Practical Examination - March 2024
Lab Course 9 (Lab course based on DSC 501 & 601)
Core Java & Advanced Java
Day and Date: Monday, 18 March 2024
Time: 02.00 P.M. to 06.00 P.M. Total Marks: 100

Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design,
Coding, compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I

Q1. Write a program to perform arithmetic operations using switch case and do while
Statement.

Q2. Write a Java program to implement Multilevel Inheritances assume suitable data.

Q3. Write a Java program to implement Method overriding assume suitable data.

SECTION – II
Q4. Write a java program to implement JTree Swing Control

Q5. Write a program to implement select query using JDBC on table


Mobile(M_Model,M_Price).

Q6. Write a JSP program to find out given number is positive or negative which is
accepted through a HTML page.
SET-V
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire [Link] Examination - March 2024
Lab Course 9 (Lab course based on DSC 501 & 601)
Core Java & Advanced Java
Day and Date: Monday, 18 March 2024
Time: 10.00 A.M. to 02.00 P.M Total Marks: 100

Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design,
Coding, compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I

Q1. Write a Java Program to Print following Pattern


@ @ @ @ @
@ @ @ @
@ @

Q2. Write a Java program to create a user defined package to find out cube of given
Number.
.
Q3. Write a Java program to handle ArrayIndexOutofBounds Exception.

SECTION – II

Q4. Write a java program to Perform different Key operation using Swing
Control.

Q5. Write a program to create JMenu bar where Menu Item such as file, edit and sub
menu Items.

Q6. Write a servlet program to find out given number is prime or not which is
accepted through a HTML page.
SET-II
SHIVAJI UNIVERSITY, KOLHAPUR
[Link] Part-III (ENTIRE) Practical Examination-2025
Lab Course 9(Lab course based on DSC 501 &601)
Core Java & Advanced Java
th
Day and Date: Sunday, 24 March 2025
Time: 02.00 P.M. to 5.00 P.M. Total Marks: 100
Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include Coding, compilation and execution of
programs with required output.
3. 90 minutes for Computer work and 90 minutes viva
4. 10 marks for certified journal and 15 marks for viva.
SECTION – I
Q1. Write a java Program to Print following Pattern
1
12
123
1234
Q2. Write a program to implement single Inheritance assume suitable Data.

Q3. Write a program to calculate area of rectangle, circle & triangle using method
overloading.
SECTION – II
Q4. Write a java program to implement INSERT and UPDATE data of Student using
JDBC on table Student(S_id, S_name,S_class).

Q5. Write a JSP program to check given number is Even or Odd accepted through HTML
page.

Q6. Write a java program to create following Tree structure using JTree Swing Control .
SET-I
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]-Part-III (ENTIRE) Practical Examination-2025
Lab Course 9(Lab course based on DSC 501 & 601)
Core Java & Advanced Java
th
Day and Date: Monday, 24 March 2025
Time: 10.30 A.M. to 01.30 P.M. Total Marks: 100
Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is
compulsory)
2. Each question carries 25 marks which include Coding, compilation and
execution of programs with required output.
3. 90 minutes for Computer work and 90 minutes viva.
4. 10 marks for certified journal and 15 marks for viva.
----------------------------------------------------------------------------------------------------

SECTION – I

Q.1 Write a java program to print sum of following series:


1 +1/2 + 1/3 + 1/4………….1/N

Q.3 write a java program to define a class book having data members b_id ,
b_name and b_price and display the information of book using parameterized
constructor.

Q2. Write a java program to handle ArithmeticExcetion using try catch block.

SECTION – II

Q4. Write a java program to handle MouseListener events using swing.

Q5. Write a java program to insert and retrieve the student information using
JDBC on table Emp (eid,ename,salary).

Q6. Write a JSP program to calculate Factorial of given number which is accepted
through a HTML page
SET-VI
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire (Part-III ) Practical Examination-2023
Lab Course 9 (Lab course based on DSC 501 & 601)
Core Java & Advanced Java
Day and Date: Thursday , 25 May 2023
Time: 02.00 P.M. to 06.00 P.M. Total Marks: 100
Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design, Coding,
compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION - I
Q1. Write a program to calculate area of rectangle, circle & triangle using method
overloading.
Q2. Write a Program to Print following Pattern
A
A B
A B C
A B C D
Q3. Write a program to implement try, catch and finally block statement.

SECTION – II

Q4. Write a program to implement select query using JDBC on table


course(C_id,C_name,C_price);

Q5. Write a program to swap two number without using third variable using
JSP
Q6. Write a program to implement JRadio Button such as Male,Female and Other
When you click on male than display the message you selected on Male.
SET-V
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire (Part-III ) Practical Examination-2023
Lab Course 9 (Lab course based on DSC 501 & 601)
Core Java & Advanced Java
Day and Date: Thursday , 25 May 2023
Time: 10.00 A.M. to 02.00 P.M. Total Marks: 100
Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include problem analysis, algorithm, design, Coding,
compilation and execution of programs with required output.
3. 90 minutes for Documentation, 120 minutes for Computer work and 30 minute for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION - I
Q1 Write a java program to perform arithmetic operations using switch case and
do-while statement.

Q2. Write a java program to performs two threads one finding a prime number and
another finding non prime number

Q3. Write a java program to perform 2*3 matrix multiplication.

SECTION – II

Q4. Write a program to Perform different Keyboards events using Swing control

Q5. Write a program to implement create, insert, update query using JDBC on table
Bike(b_name,b_color,b_price).

Q6. Write a program to find out reverse no of given no using JSP.


SET-IV
SHIVAJI UNIVERSITY, KOLHAPUR
[Link]. Computer Science Entire Part-III .
Practical Examination - March 2024
Lab Course 9 (Lab course based on DSC 501 & 601)
Core Java & Advanced Java
Day and Date: Tuesday, 27 March 2024
Time:02.00 P.M. to 05.00 P.M Total Marks: 100

Instructions:
1. Solve any three questions (one from Section-I and one from Section-II is compulsory)
2. Each question carries 25 marks which include Coding, compilation and execution
of programs with required output.
3. 90 minutes for Computer work and 90 minutes for viva.
4. 10 marks for certified journal and 15 marks for viva.

SECTION – I

Q1. Write a java program to print sum of even numbers from 1 to 50.

Q2. write a java program to implement multilevel inheritance using super keyword.

Q3. Write a Java program to handle ArrayIndexOutofBounds Exception.

SECTION – II

Q4. Write a java program to create JMenu bar with Menus such as File, Edit and
sub menu Items in File- New, Open and sub menu Items in Edit- copy, paste.

Q5. Write a program to implement select query using JDBC on table


Mobile (M_Model,M_Price).

Q6. Write a JSP program to find out given number is divisible by 7 or not which is
accepted through a HTML page.

Common questions

Powered by AI

The exam tasks include exercises on handling exceptions such as ArithmeticException and ArrayIndexOutOfBoundsException using try-catch blocks. This ensures students develop competence in writing robust programs that can gracefully manage runtime errors, avoiding crashes and enhancing program reliability. Exception handling is crucial in Java applications as it allows developers to manage unforeseen errors efficiently, maintain application flow, and provide meaningful error messages, enhancing user experience and maintaining data integrity .

The use of Swing and JSP in the exam problems highlights Java's versatility and applicability in building both client-side GUI applications and server-side web applications. Swing is utilized for creating graphical user interfaces, demonstrated through tasks like performing keyboard and mouse operations, suggesting competence in desktop-based app development. Concurrently, JSP is used to execute server-side logic, such as determining if a number is prime or calculating factorials, reflecting proficiency in handling web-based projects. Through such tasks, students are prepped for real-world scenarios where Java's capacity to integrate client and server operations is crucial .

The examination instructions at Shivaji University emphasize diverse programming skills by including a wide range of tasks such as problem analysis, algorithm design, coding, and execution. Each task requires students to demonstrate competency in both Core Java and Advanced Java, which ensures students are proficient in essential programming techniques and implementation across different environments. The instructions also allocate specific time slots for documentation, computer work, and viva, promoting a comprehensive understanding and ability to communicate the work done. Additionally, the distribution of marks for certified journals and viva assesses students' documentation skills and oral defense of their code .

Implementing mathematical operations in examination sets like sum of digits, factorial calculation, and GCD is a recurrent theme due to their foundational role in developing logical and problem-solving skills. Such tasks involve algorithm development, precision in coding, and attention to detail. They prepare students for tackling complex real-world problems where mathematical computations are common, thus reinforcing their ability to translate logical processes into effective code solutions .

The exam problems reflect a comprehensive set of real-world skills expected from Computer Science graduates, such as algorithmic thinking, proficiency in OOP principles, GUI and web development using Java, robust error handling, and database management. These tasks simulate practical scenarios encountered in software development such as implementing user interfaces, managing data persistence through JDBC, and ensuring application resilience via exception handling. Solving these problems prepares students to meet industry demands for efficient, maintainable, and scalable software solutions, thus aligning academic objectives with professional skills required in technology-driven enterprises .

JDBC's role in the examination papers is to ensure students can perform real-world database operations such as creating, inserting, updating, and querying tables. Tasks requiring JDBC familiarize students with its API, demonstrating how applications connect with databases to perform CRUD operations, critical in enterprise applications for managing persistent data. JDBC exercises evaluate students’ understanding of database connectivity, SQL command execution, and error handling, thereby testing their ability to develop robust and scalable data-driven applications .

The implementation of GUI features in the exams through Java Swing, such as JFrame, JMenu, and JTree, is crucial for detailing how user interfaces are designed and interact with users in software applications. By tackling tasks that involve handling keyboard and mouse operations and implementing buttons or menu interactions, students gain practical experience in creating interactive and intuitive user interfaces. This relevance is underscored by the need for Java developers to build applications that offer seamless, user-friendly experiences and are responsive to user input, an essential aspect of consumer-facing software products .

Method overloading, demonstrated by tasks requiring area calculations of different shapes, illustrates Java's flexibility by allowing multiple methods with the same name to coexist, differentiated by their parameters. This provides developers the ability to implement functionality that can adapt to various input types or methods using a unified interface, promoting code reusability and clarity. Such flexibility is crucial in creating adaptable and scalable code structures, reducing complexity and improving maintenance, as it allows for significant functionality variance without method name pollution .

Inheritance and method overloading are fundamental object-oriented programming concepts that the exam prominently incorporates. Inheritance is tested through tasks involving single and multilevel inheritance, demonstrating students' ability to create hierarchies and reuse code efficiently. The use of the 'super' keyword in accessing parent class members further evaluates understanding of inheritance nuances. Method overloading tasks test students' proficiency in polymorphism by requiring multiple methods with the same name but different parameter lists, showcasing versatile yet organized code design. These concepts are crucial as they reduce redundancy and enhance code readability, which are significant in large-scale software development .

Viva and documentation play crucial roles in complementing programming skills during the practical examinations. Documentation demonstrates the students' ability to communicate code structure, logic, and functionality clearly—skills necessary for collaborative software development and maintaining code across teams. The viva examines students' oral communication skills, depth of understanding, and ability to articulate concepts and thought processes logically. Both components ensure that students not only possess the technical competence to write programs but also the soft skills to present and defend their knowledge effectively, which are vital in professional environments .

You might also like