0% found this document useful (0 votes)
7 views3 pages

Java Day1 AN

Uploaded by

ytsyndrone
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)
7 views3 pages

Java Day1 AN

Uploaded by

ytsyndrone
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
You are on page 1/ 3

QP CODE: S521AN106 Time: 3 Hours

Max Marks: 80 (Q1: 25 marks, Q2: 35 marks, Record: 10 marks, Viva: 10 Marks)

FIFTH SEMESTER BCA PROGRAMME (CBCS)


PRACTICAL EXAMINATION MARCH 2022
Software Lab V

1. Write an applet program to display a traffic light.

1. Create a class called Matrix which contains a 2d integer array. Include the following
member functions
a. To read the matrix,
b. To display the matrix ,
c. check whether the given matrix is symmetric or not.

QP CODE: S521AN107 Time: 3 Hours

Max Marks: 80 (Q1: 25 marks, Q2: 35 marks, Record: 10 marks, Viva: 10 Marks)

FIFTH SEMESTER BCA PROGRAMME (CBCS)


PRACTICAL EXAMINATION MARCH 2022
Software Lab V

1. Write a swing program to accept a value in a textbox then find the area of a circle and
display the result in the second textbox?

2. Write multithreaded program to print lowercase letters and uppercase letters from two
different threads with suitable delay.
QP CODE: S521AN108 Time: 3 Hours

Max Marks: 80 (Q1: 25 marks, Q2: 35 marks, Record: 10 marks, Viva: 10 Marks)

FIFTH SEMESTER BCA PROGRAMME (CBCS)


PRACTICAL EXAMINATION MARCH 2022
Software Lab V

1. Write an applet program to show how to pass a parameter from an applet code?

2. Write a Java Program to calculate the Result. Result should consist of name, seatno,
date, center number and marks of semester three exam. Create a User Defined
Exception class MarksOutOfBoundsException, If Entered marks of any subject is
greater than 100 or less than 0, and then program should create a user defined Exception
of type.

QP CODE: S521AN109 Time: 3 Hours

Max Marks: 80 (Q1: 25 marks, Q2: 35 marks, Record: 10 marks, Viva: 10 Marks)

FIFTH SEMESTER BCA PROGRAMME (CBCS)


PRACTICAL EXAMINATION MARCH 2022
Software Lab V

1. Write an applet program to draw a house

2. Create a class called Matrix which contains a 2d integer array, m & n (order of matrix)
as data members. Include the following member functions
a. To read the matrix,
b. To display the matrix ,
c. Overload a method product () to find the product of two matrices and to
multiply each element of a matrix with a constant value
QP CODE: S521AN110 Time: 3 Hours

Max Marks: 80 (Q1: 25 marks, Q2: 35 marks, Record: 10 marks, Viva: 10 Marks)

FIFTH SEMESTER BCA PROGRAMME (CBCS)


PRACTICAL EXAMINATION MARCH 2022
Software Lab V

1. Write a swing program to accept an integer in a textbox then reverse that number and
display the result in the second textbox?

1. Write a Java program which creates a class named 'Employee' having the following
members: Name, Age, Phone number, Address, Salary. It also has a method named
'printSalary( )' which prints the salary of the Employee. Two classes 'Officer' and
'Manager' inherits the 'Employee' class. The 'Officer' and 'Manager' classes have
data members 'specialization' and 'department' respectively. Now, assign name, age,
phone number, address and salary to an officer and a manager by making an object of
both of these classes and print the same.

You might also like