MANGALMAY INSTITUTE OF MANAGEMENT & TECHNOLOGY,
Gr. NOIDA
Session: 2024-25
BACHELOR OF COMPUTER APPLICATION (BCA)
ASSIGNMENT No. _____
Subject Name : ___________
Subject Code : ___________
SUBMITTED BY
Name : __________
Roll No. : __________
Year/Sem. : __________
SUBMITTED TO:
Subject Faculty : _________
Sign : _________
Course : BCA Year/Semester : III/V
Subject Code : BCA-502 Subject Name : JAVA
Faculty Nmae : Ms. Shweta Maurya
Date of Assignment : 12-10-2024
Date of Submission : 21-10-2024
Note :
• Assignment should be handwritten on A4 Size plain paper.
• Mention your Name, Roll Number, Course, Assignment
Number on the top of the first sheet.
Q1. Define Thread. How to create a thread in java? Write a program that executes
two threads. One thread will print the even numbers and another thread will print
odd numbers from 1 to 5.
Q2. What is life cycle of an Applet? Illustrate common methods to create the
applet.
Q3. What is JDBC? Write different kinds of Java drivers
available for database connectivity? What are the steps for
database connectivity in Java.