0% found this document useful (0 votes)
5 views1 page

Java Lab External

The document outlines a series of programming tasks for a Java Programming Lab examination at BVC Institute of Technology and Science. It includes various exercises such as displaying primitive data types, solving quadratic equations, generating Fibonacci sequences, sorting and searching lists, matrix operations, and demonstrating concepts like inheritance, exception handling, and GUI components. Each task requires the student to write a specific Java program to illustrate the concepts taught in the course.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Java Lab External

The document outlines a series of programming tasks for a Java Programming Lab examination at BVC Institute of Technology and Science. It includes various exercises such as displaying primitive data types, solving quadratic equations, generating Fibonacci sequences, sorting and searching lists, matrix operations, and demonstrating concepts like inheritance, exception handling, and GUI components. Each task requires the student to write a specific Java program to illustrate the concepts taught in the course.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

BVC INSTITUTE OF TECHNOLOGY AND SCIENCE

II YEAR II SEMESTER LAB EXTERNAL EXAMINATION


SUB: JAVA PROGRAMMING LAB
1) a) Write a JAVA Program to display default value of all primitive datatypes of java ?
b) Write a JAVA Program that displays roots of a quadratic euation ax2 +bx + c = 0.Calculate descriminant D.
Based on D describe nature of roots ?
2) a) Write a JAVA Program to display Fibonacci sequence ?
b) Write a JAVA Program to give example for command line arguments ?
3) a) Write a JAVA Program to sort given list of numbers ?
b) Write a JAVA Program to search a given list using Linear search ?
4) a) Write a JAVA Program to search a given list using Binary search ?
b) Write a JAVA Program to sort the given strings ?
5) Write a JAVA Program to determine addition of two matrices ?
6) Write a JAVA Program to determine multiplication of two matrices ?
7) a) Write a JAVA Program to check the given string is palindrome or not ?
b) Write a JAVA Program to explain i) Call by value ii)Call by reference
8) a) Write a JAVA Program to illustrate ‘this’ operator. Also use ‘this’ keyword as return statement ?
b) Write a JAVA Program to illustrate staic variables, methods and blocks ?
9) a) Write a JAVA Program to illustrate ‘super’ keyword ?
b) Write a JAVA Program to illustrate simple inheritance ?
10) a) Write a JAVA Program to illustrate multi-level inheritance ?
b) Write a JAVA Program demonstrating difference between Method overloading & Method overriding ?
11) a) Write a JAVA Program to give difference between Method overloading & Constructor overloading ?
b) Write a JAVA Program to illustrate Exception handling mechanism ?
12) a)Write a JAVA Program to illustrate Exception handling mechanism using try & catch. In this check whether
the given array size is negative or not ?
b) Write a JAVA Program to give sub class exception precedence over base class ?
13) a) Write a JAVA Program to illustrate User defined Exception ?
b) Write a JAVA Program to illustrate creation of thread using runnable interface ?
14) Write a JAVA Program to create a class MyThread.in this class constructor, call the base class constructor using
super and start the thread. Observe main thread and child thread are running concurrently or not ?
15) Write a JAVA Program to illustrate multiple inheritance using interfaces ?
16) Write a JAVA Program to create a package p1 and implement in ex1 class ?
17) Write a JAVA Program to create a package Mypack and import in circle class ?
18) Write a JAVA Program to give example for abstract class ?
19) a)Write a JAVA Program to explain lifecycle of an applet ?
b)Write a JAVA Program to create dialogbox and menu ?
c)Write a JAVA Program to create grid layout control ?

20) Write a JAVA Program to create border layout control ?

21) Write a JAVA Program to create padding layout control ?

22) Write a JAVA Program that describes X and Y positions of cursor using mouse ?

23) Write a JAVA Program to count the no.of characters,words,lines in a text file ?

INTERNAL EXAMINER EXTERNAL EXAMINER

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy