AVANTHI INSTITUTE OF ENGINEERING & TECHNOLOGY
Tamaram ,Makaravarapalem, Narsipatnam (RD)
II. [Link]-I Semester (R20) 2020 Admitted Batch
Subject Name : Java Programming Academic Year:2020-21
Branch: CSE
ASSIGNMENT
Assignment – 1
[Link] Assignment Question CO BL
Explain OOP concepts with examples:
• Encapsulation
1 • Inheritance CO1 L2
• Polymorphism
• Abstraction
2 Difference between Procedural Programming vs Object Oriented
CO1 L2
Programming.
3 Explain Java Virtual Machine (JVM) architecture and working.
CO1 L3
4 Explain the following features of Java:
• Platform independent
• Object oriented CO1 L3
• Secure
• Multithreading
5 Structure of Java Program and execution process.
CO1 L4
Assignment – 2
[Link] Assignment Question CO BL
Explain primitive data types and type casting in Java.
1 CO2 L2
2 Write two programs using:
• Operators CO2 L3
• Control statements (if, switch, loops).
3 Explain constructors and constructor overloading with example.
CO2 L3
4 Difference between:
• static keyword
CO2 L4
• this keyword.
5 Arrays and Command Line Arguments — write sample programs.
CO2 L4
Assignment – 3
[Link] Assignment Question CO BL
Types of inheritance in Java with examples.
1 CO3 L2
2 Difference between:
CO3 L3
• Abstract class vs Interface.
3 Explain packages:
• Creating packages
• Using packages CO3 L3
• Access protection.
4 Exception handling:
• try-catch
• throw CO3 L2
• throws
• finally block.
5 Method overloading vs Method overriding.
CO3 L4
Assignment – 4
[Link] Assignment Question CO BL
1 Explain thread life cycle and creation of threads. CO4 L2
2 Multithreading concepts:
• synchronization
• isAlive() CO4 L3
• join().
3 Explain [Link] package for file handling.
CO4 L3
4 Program for reading and writing files. CO4 L4
5 Explain in detail about Applet life cycle.
CO4 L3
Assignment – 5
[Link] Assignment Question CO BL
1 Describe about Event Delegation Model explanation. CO5 L2
2
Explain Event listeners and adapter classes.
CO5 L3
3
Difference between AWT and Swing. CO5 L3
4
Layout managers and container classes.
CO5 L4
5 Swing components:
• JFrame
• JPanel
CO5 L3
• JTabbedPane
• Dialog box.