SlideShare a Scribd company logo
1 of 6
Download to read offline
1. Calculate Circle Area using Java.
2. Calculate Circle Perimeter using Java
3. Calculate Rectangle Area using Java
4. Prime Numbers Java
5. Java Palindrome Number
6. Fibonacci Series Java
7. Swap Numbers Without Using Third Variable Java
8. Find Largest and Smallest Number in an Array
9. Java Factorial
10. Swap Numbers Java
11. Even Odd Number
12. Reverse Number using Java
13. Create a class Box having fields length, breadth, height and methods getdata() and
displaydata().Make two objects of the class access fields by the methods.
14. Design a class to represent a bank account. Include the following data members:-depositor_name,
acc_no, acc_balance. Methods:-To assign initial values, To deposit an amount, To check balance,To
display Depositor name & present balance. Make objects of the class and demonstrate the action of
the methods.
15. Write a program in Java to demonstrate method overriding
16. A computer institute wishes to keep a database of its employees as shown in the below figure.
Specify all the classes and define methods to create the database and retrieve information as and
when required.
17. Write a program to extract a portion of a character string and print the extracted string. Assume that m
characters are extracted, starting with the nth character.
18. Write a program that will read a text and count all occurrences of a particular word.
19. Create a flexible string (“Kalyani College”) using StringBuffer class. Print its length, each character and its
positions. Modify the string to “Kayani Govt. eng. College” and append the string “ is the best Engg. College.”
Modify “eng.” of the string to “Engg.”
20. Write a program using Command Line Arguments which will take some(must be greater than 5) integer values
as input find the largest and smallest among them and also prints the number of arguments entered. The
program must prompt user if no arguments found or arguments less than 5.
21. Write a program using InputStreamReader and BufferdReader class that takes input: user-name, user-birth-
year, user-email. Prints “Hello ! <user-name>. You are <…>years old and your e-mail is: <abc@xyz.com>”.
22. Make an abstract class shape having the following (int dim1,dim2; area()). Extend sub class Rectangle,
triangle, Square and override the area() method. Prepare objects and show their action.
23. Make an interface Area, implement Area in class Rectangle and in class Circle. Illustrate by making objects of
the class.
24. The final exam results of 10 students are tabulated as follows:
Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4
123001
123002
…
123009
Write a program to read the data and determine the following: Total marks obtained by each student.
25. The final exam results of 10 students are tabulated as follows:
Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4
123001
123002
…
123009
Write a program to read the data and determine the following: Name and Roll of the students who obtained
Maximum and Minimum total marks.
26. The final exam results of 10 students are tabulated as follows:
Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4
123001
123002
…
123009
Write a program to read the data and determine the following: The highest marks in each subject and name
& roll no. of that student.
27. Calculate Circle Area using Java.
28. Calculate Circle Perimeter using Java
29. Calculate Rectangle Area using Java
30. Prime Numbers Java
31. Java Palindrome Number
32. Fibonacci Series Java
33. Swap Numbers Without Using Third Variable Java
34. Find Largest and Smallest Number in an Array
35. Java Factorial
36. Swap Numbers Java
37. Even Odd Number
38. Reverse Number using Java
39. Create a class Box having fields length, breadth, height and methods getdata() and
displaydata().Make two objects of the class access fields by the methods.
40. Design a class to represent a bank account. Include the following data members:-depositor_name,
acc_no, acc_balance. Methods:-To assign initial values, To deposit an amount, To check balance,To
display Depositor name & present balance. Make objects of the class and demonstrate the action of
the methods.
41. Write a program in Java to demonstrate method overriding
42. A computer institute wishes to keep a database of its employees as shown in the below figure.
Specify all the classes and define methods to create the database and retrieve information as and
when required.
43. Write a program to extract a portion of a character string and print the extracted string. Assume that m
characters are extracted, starting with the nth character.
44. Write a program that will read a text and count all occurrences of a particular word.
45. Create a flexible string (“Kalyani College”) using StringBuffer class. Print its length, each character and its
positions. Modify the string to “Kayani Govt. eng. College” and append the string “ is the best Engg. College.”
Modify “eng.” of the string to “Engg.”
46. Write a program using Command Line Arguments which will take some(must be greater than 5) integer values
as input find the largest and smallest among them and also prints the number of arguments entered. The
program must prompt user if no arguments found or arguments less than 5.
47. WAP using InputStreamReader and BufferdReader class that takes input: user-name, user-birth-year, user-
email. Prints “Hello ! <user-name>. You are <…>years old and your e-mail is: <abc@xyz.com>”.
48. Make an abstract class shape having the following (int dim1,dim2; area()). Extend sub class Rectangle,
triangle, Square and override the area() method. Prepare objects and show their action.
49. Make an interface Area, implement Area in class Rectangle and in class Circle. Illustrate by making objects of
the class.
50. The final exam results of 10 students are tabulated as follows:
Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4
123001
123002
…
123009
Write a program to read the data and determine the following: Total marks obtained by each student.
51. The final exam results of 10 students are tabulated as follows:
Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4
123001
123002
…
123009
Write a program to read the data and determine the following: Name and Roll of the students who obtained
Maximum and Minimum total marks.
52. The final exam results of 10 students are tabulated as follows:
Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4
123001
123002
…
123009
Write a program to read the data and determine the following: The highest marks in each subject and name
& roll no. of that student.
53. Design a class to represent a bank account. Include the following data members:-depositor_name,
acc_no, acc_balance. Methods:-To assign initial values, To deposit an amount, To check balance,To
display Depositor name & present balance. Make objects of the class and demonstrate the action of
the methods.
54. Write a program in Java to demonstrate method overriding
55. A computer institute wishes to keep a database of its employees as shown in the below figure.
Specify all the classes and define methods to create the database and retrieve information as and
when required.
56. Write a program to extract a portion of a character string and print the extracted string. Assume that m
characters are extracted, starting with the nth character.
57. Write a program that will read a text and count all occurrences of a particular word.
58. Create a flexible string (“Kalyani College”) using StringBuffer class. Print its length, each character and its
positions. Modify the string to “Kayani Govt. eng. College” and append the string “ is the best Engg. College.”
Modify “eng.” of the string to “Engg.”
59. Write a program using Command Line Arguments which will take some(must be greater than 5) integer values
as input find the largest and smallest among them and also prints the number of arguments entered. The
program must prompt user if no arguments found or arguments less than 5.
60. Write a program using InputStreamReader and BufferdReader class that takes input: user-name, user-birth-
year, user-email. Prints “Hello ! <user-name>. You are <…>years old and your e-mail is: <abc@xyz.com>”.
61. Prime Numbers Java
62. Java Palindrome Number
63. Fibonacci Series Java
64. Swap Numbers Without Using Third Variable Java
65. Find Largest and Smallest Number in an Array
66. Java Factorial
67. Swap Numbers Java
68. Even Odd Number
69. Prime Numbers Java
70. Java Palindrome Number
71. Fibonacci Series Java
72. Swap Numbers Without Using Third Variable Java
73. Find Largest and Smallest Number in an Array
74. Java Factorial
75. Swap Numbers Java
76. Create a class Box having fields length, breadth, height and methods getdata() and
displaydata().Make two objects of the class access fields by the methods.
77. Design a class to represent a bank account. Include the following data members:-depositor_name,
acc_no, acc_balance. Methods:-To assign initial values, To deposit an amount, To check balance,To
display Depositor name & present balance. Make objects of the class and demonstrate the action of
the methods.
78. Write a program in Java to demonstrate method overriding
79. A computer institute wishes to keep a database of its employees as shown in the below figure.
Specify all the classes and define methods to create the database and retrieve information as and
when required.
80. Write a program to extract a portion of a character string and print the extracted string. Assume that m
characters are extracted, starting with the nth character.
81. Write a program that will read a text and count all occurrences of a particular word.
82. Create a flexible string (“Kalyani College”) using StringBuffer class. Print its length, each character and its
positions. Modify the string to “Kayani Govt. eng. College” and append the string “ is the best Engg. College.”
Modify “eng.” of the string to “Engg.”
83. Write a program using Command Line Arguments which will take some(must be greater than 5) integer values
as input find the largest and smallest among them and also prints the number of arguments entered. The
program must prompt user if no arguments found or arguments less than 5.

More Related Content

What's hot

Ee java lab assignment 2
Ee java lab assignment 2Ee java lab assignment 2
Ee java lab assignment 2Kuntal Bhowmick
 
Java căn bản- Chapter1
Java  căn bản- Chapter1Java  căn bản- Chapter1
Java căn bản- Chapter1Vince Vo
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6comp274
 
Cis 355 i lab 2 of 6
Cis 355 i lab 2 of 6Cis 355 i lab 2 of 6
Cis 355 i lab 2 of 6helpido9
 
problem solving and design By ZAK
problem solving and design By ZAKproblem solving and design By ZAK
problem solving and design By ZAKTabsheer Hasan
 
Java căn bản - Chapter13
Java căn bản - Chapter13Java căn bản - Chapter13
Java căn bản - Chapter13Vince Vo
 
Lab exp (declaring classes)
Lab exp (declaring classes)Lab exp (declaring classes)
Lab exp (declaring classes)Daman Toor
 
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...Mumbai B.Sc.IT Study
 
Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7ashhadiqbal
 
Lab exp declaring arrays)
Lab exp declaring arrays)Lab exp declaring arrays)
Lab exp declaring arrays)Daman Toor
 
C++ lab assignment
C++ lab assignmentC++ lab assignment
C++ lab assignmentSaket Pathak
 
Computer experiments 1^j2^j3^j4^j8^j9. d24 ^j sakshi gawade cs branch
Computer experiments   1^j2^j3^j4^j8^j9. d24 ^j sakshi gawade cs branchComputer experiments   1^j2^j3^j4^j8^j9. d24 ^j sakshi gawade cs branch
Computer experiments 1^j2^j3^j4^j8^j9. d24 ^j sakshi gawade cs branchSAKSHIGAWADE2
 
Assignment java workshop
Assignment java workshopAssignment java workshop
Assignment java workshopJaya Jeswani
 

What's hot (16)

Ee java lab assignment 2
Ee java lab assignment 2Ee java lab assignment 2
Ee java lab assignment 2
 
Java căn bản- Chapter1
Java  căn bản- Chapter1Java  căn bản- Chapter1
Java căn bản- Chapter1
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6
 
Cis 355 i lab 2 of 6
Cis 355 i lab 2 of 6Cis 355 i lab 2 of 6
Cis 355 i lab 2 of 6
 
problem solving and design By ZAK
problem solving and design By ZAKproblem solving and design By ZAK
problem solving and design By ZAK
 
Java căn bản - Chapter13
Java căn bản - Chapter13Java căn bản - Chapter13
Java căn bản - Chapter13
 
Chapter 03
Chapter 03Chapter 03
Chapter 03
 
Lab exp (declaring classes)
Lab exp (declaring classes)Lab exp (declaring classes)
Lab exp (declaring classes)
 
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...
 
Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7
 
Lab exp declaring arrays)
Lab exp declaring arrays)Lab exp declaring arrays)
Lab exp declaring arrays)
 
C++ lab assignment
C++ lab assignmentC++ lab assignment
C++ lab assignment
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
Basic of java 2
Basic of java  2Basic of java  2
Basic of java 2
 
Computer experiments 1^j2^j3^j4^j8^j9. d24 ^j sakshi gawade cs branch
Computer experiments   1^j2^j3^j4^j8^j9. d24 ^j sakshi gawade cs branchComputer experiments   1^j2^j3^j4^j8^j9. d24 ^j sakshi gawade cs branch
Computer experiments 1^j2^j3^j4^j8^j9. d24 ^j sakshi gawade cs branch
 
Assignment java workshop
Assignment java workshopAssignment java workshop
Assignment java workshop
 

Similar to Lab exam question_paper

Chapter 8Exercise1.Design an application that accept.docx
Chapter 8Exercise1.Design an application that accept.docxChapter 8Exercise1.Design an application that accept.docx
Chapter 8Exercise1.Design an application that accept.docxtiffanyd4
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSnikshaikh786
 
Practical java
Practical javaPractical java
Practical javanirmit
 
Java practical(baca sem v)
Java practical(baca sem v)Java practical(baca sem v)
Java practical(baca sem v)mehul patel
 
21: Which method determines if a JRadioButton is selected?
21: Which method determines if a JRadioButton is selected?21: Which method determines if a JRadioButton is selected?
21: Which method determines if a JRadioButton is selected?sukeshsuresh189
 
Comp 328 final guide (devry)
Comp 328 final guide (devry)Comp 328 final guide (devry)
Comp 328 final guide (devry)sukeshsuresh189
 
6: Which of the following statements about creating arrays and initializing t...
6: Which of the following statements about creating arrays and initializing t...6: Which of the following statements about creating arrays and initializing t...
6: Which of the following statements about creating arrays and initializing t...sukeshsuresh189
 
5: Every Java application is required to have
5: Every Java application is required to have5: Every Java application is required to have
5: Every Java application is required to havesukeshsuresh189
 
15: Which method call converts the value in variable stringVariable to an int...
15: Which method call converts the value in variable stringVariable to an int...15: Which method call converts the value in variable stringVariable to an int...
15: Which method call converts the value in variable stringVariable to an int...sukeshsuresh189
 
16: Which of the following is the method used to display a dialog box to gath...
16: Which of the following is the method used to display a dialog box to gath...16: Which of the following is the method used to display a dialog box to gath...
16: Which of the following is the method used to display a dialog box to gath...sukeshsuresh189
 
13: What do the following statements do?
13: What do the following statements do?13: What do the following statements do?
13: What do the following statements do?sukeshsuresh189
 
Comp 328 final guide (devry)
Comp 328 final guide (devry)Comp 328 final guide (devry)
Comp 328 final guide (devry)sukeshsuresh189
 

Similar to Lab exam question_paper (20)

Chapter 8Exercise1.Design an application that accept.docx
Chapter 8Exercise1.Design an application that accept.docxChapter 8Exercise1.Design an application that accept.docx
Chapter 8Exercise1.Design an application that accept.docx
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
 
Practical java
Practical javaPractical java
Practical java
 
C++ Lab Maual.pdf
C++ Lab Maual.pdfC++ Lab Maual.pdf
C++ Lab Maual.pdf
 
C++ Lab Maual.pdf
C++ Lab Maual.pdfC++ Lab Maual.pdf
C++ Lab Maual.pdf
 
Mmt 001
Mmt 001Mmt 001
Mmt 001
 
OOP Assignment 03.pdf
OOP Assignment 03.pdfOOP Assignment 03.pdf
OOP Assignment 03.pdf
 
Java programlist (1)
Java programlist (1)Java programlist (1)
Java programlist (1)
 
Cse cpl manual-2016
Cse cpl manual-2016Cse cpl manual-2016
Cse cpl manual-2016
 
Ex
ExEx
Ex
 
Array sheet
Array sheet Array sheet
Array sheet
 
Java practical(baca sem v)
Java practical(baca sem v)Java practical(baca sem v)
Java practical(baca sem v)
 
21: Which method determines if a JRadioButton is selected?
21: Which method determines if a JRadioButton is selected?21: Which method determines if a JRadioButton is selected?
21: Which method determines if a JRadioButton is selected?
 
Comp 328 final guide (devry)
Comp 328 final guide (devry)Comp 328 final guide (devry)
Comp 328 final guide (devry)
 
6: Which of the following statements about creating arrays and initializing t...
6: Which of the following statements about creating arrays and initializing t...6: Which of the following statements about creating arrays and initializing t...
6: Which of the following statements about creating arrays and initializing t...
 
5: Every Java application is required to have
5: Every Java application is required to have5: Every Java application is required to have
5: Every Java application is required to have
 
15: Which method call converts the value in variable stringVariable to an int...
15: Which method call converts the value in variable stringVariable to an int...15: Which method call converts the value in variable stringVariable to an int...
15: Which method call converts the value in variable stringVariable to an int...
 
16: Which of the following is the method used to display a dialog box to gath...
16: Which of the following is the method used to display a dialog box to gath...16: Which of the following is the method used to display a dialog box to gath...
16: Which of the following is the method used to display a dialog box to gath...
 
13: What do the following statements do?
13: What do the following statements do?13: What do the following statements do?
13: What do the following statements do?
 
Comp 328 final guide (devry)
Comp 328 final guide (devry)Comp 328 final guide (devry)
Comp 328 final guide (devry)
 

More from Kuntal Bhowmick

Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loopsMultiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loopsKuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...Kuntal Bhowmick
 
Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)Kuntal Bhowmick
 
1. introduction to E-commerce
1. introduction to E-commerce1. introduction to E-commerce
1. introduction to E-commerceKuntal Bhowmick
 
Computer graphics question for exam solved
Computer graphics question for exam solvedComputer graphics question for exam solved
Computer graphics question for exam solvedKuntal Bhowmick
 
DBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsDBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsKuntal Bhowmick
 
Java questions for interview
Java questions for interviewJava questions for interview
Java questions for interviewKuntal Bhowmick
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview QuestionsKuntal Bhowmick
 
Operating system Interview Questions
Operating system Interview QuestionsOperating system Interview Questions
Operating system Interview QuestionsKuntal Bhowmick
 
Computer Network Interview Questions
Computer Network Interview QuestionsComputer Network Interview Questions
Computer Network Interview QuestionsKuntal Bhowmick
 
Distributed operating systems cs704 a class test
Distributed operating systems cs704 a class testDistributed operating systems cs704 a class test
Distributed operating systems cs704 a class testKuntal Bhowmick
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solutionKuntal Bhowmick
 

More from Kuntal Bhowmick (20)

Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loopsMultiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
 
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
 
Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)
 
1. introduction to E-commerce
1. introduction to E-commerce1. introduction to E-commerce
1. introduction to E-commerce
 
Computer graphics question for exam solved
Computer graphics question for exam solvedComputer graphics question for exam solved
Computer graphics question for exam solved
 
DBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsDBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental concepts
 
Java questions for interview
Java questions for interviewJava questions for interview
Java questions for interview
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
Operating system Interview Questions
Operating system Interview QuestionsOperating system Interview Questions
Operating system Interview Questions
 
Computer Network Interview Questions
Computer Network Interview QuestionsComputer Network Interview Questions
Computer Network Interview Questions
 
C interview questions
C interview  questionsC interview  questions
C interview questions
 
C question
C questionC question
C question
 
Distributed operating systems cs704 a class test
Distributed operating systems cs704 a class testDistributed operating systems cs704 a class test
Distributed operating systems cs704 a class test
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solution
 

Recently uploaded

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 

Lab exam question_paper

  • 1. 1. Calculate Circle Area using Java. 2. Calculate Circle Perimeter using Java 3. Calculate Rectangle Area using Java 4. Prime Numbers Java 5. Java Palindrome Number 6. Fibonacci Series Java 7. Swap Numbers Without Using Third Variable Java 8. Find Largest and Smallest Number in an Array 9. Java Factorial 10. Swap Numbers Java 11. Even Odd Number 12. Reverse Number using Java 13. Create a class Box having fields length, breadth, height and methods getdata() and displaydata().Make two objects of the class access fields by the methods. 14. Design a class to represent a bank account. Include the following data members:-depositor_name, acc_no, acc_balance. Methods:-To assign initial values, To deposit an amount, To check balance,To display Depositor name & present balance. Make objects of the class and demonstrate the action of the methods. 15. Write a program in Java to demonstrate method overriding 16. A computer institute wishes to keep a database of its employees as shown in the below figure. Specify all the classes and define methods to create the database and retrieve information as and when required. 17. Write a program to extract a portion of a character string and print the extracted string. Assume that m characters are extracted, starting with the nth character. 18. Write a program that will read a text and count all occurrences of a particular word.
  • 2. 19. Create a flexible string (“Kalyani College”) using StringBuffer class. Print its length, each character and its positions. Modify the string to “Kayani Govt. eng. College” and append the string “ is the best Engg. College.” Modify “eng.” of the string to “Engg.” 20. Write a program using Command Line Arguments which will take some(must be greater than 5) integer values as input find the largest and smallest among them and also prints the number of arguments entered. The program must prompt user if no arguments found or arguments less than 5. 21. Write a program using InputStreamReader and BufferdReader class that takes input: user-name, user-birth- year, user-email. Prints “Hello ! <user-name>. You are <…>years old and your e-mail is: <abc@xyz.com>”. 22. Make an abstract class shape having the following (int dim1,dim2; area()). Extend sub class Rectangle, triangle, Square and override the area() method. Prepare objects and show their action. 23. Make an interface Area, implement Area in class Rectangle and in class Circle. Illustrate by making objects of the class. 24. The final exam results of 10 students are tabulated as follows: Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4 123001 123002 … 123009 Write a program to read the data and determine the following: Total marks obtained by each student. 25. The final exam results of 10 students are tabulated as follows: Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4 123001 123002 … 123009 Write a program to read the data and determine the following: Name and Roll of the students who obtained Maximum and Minimum total marks. 26. The final exam results of 10 students are tabulated as follows: Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4 123001 123002 … 123009 Write a program to read the data and determine the following: The highest marks in each subject and name & roll no. of that student. 27. Calculate Circle Area using Java. 28. Calculate Circle Perimeter using Java 29. Calculate Rectangle Area using Java 30. Prime Numbers Java
  • 3. 31. Java Palindrome Number 32. Fibonacci Series Java 33. Swap Numbers Without Using Third Variable Java 34. Find Largest and Smallest Number in an Array 35. Java Factorial 36. Swap Numbers Java 37. Even Odd Number 38. Reverse Number using Java 39. Create a class Box having fields length, breadth, height and methods getdata() and displaydata().Make two objects of the class access fields by the methods. 40. Design a class to represent a bank account. Include the following data members:-depositor_name, acc_no, acc_balance. Methods:-To assign initial values, To deposit an amount, To check balance,To display Depositor name & present balance. Make objects of the class and demonstrate the action of the methods. 41. Write a program in Java to demonstrate method overriding 42. A computer institute wishes to keep a database of its employees as shown in the below figure. Specify all the classes and define methods to create the database and retrieve information as and when required. 43. Write a program to extract a portion of a character string and print the extracted string. Assume that m characters are extracted, starting with the nth character. 44. Write a program that will read a text and count all occurrences of a particular word. 45. Create a flexible string (“Kalyani College”) using StringBuffer class. Print its length, each character and its positions. Modify the string to “Kayani Govt. eng. College” and append the string “ is the best Engg. College.” Modify “eng.” of the string to “Engg.” 46. Write a program using Command Line Arguments which will take some(must be greater than 5) integer values as input find the largest and smallest among them and also prints the number of arguments entered. The program must prompt user if no arguments found or arguments less than 5. 47. WAP using InputStreamReader and BufferdReader class that takes input: user-name, user-birth-year, user- email. Prints “Hello ! <user-name>. You are <…>years old and your e-mail is: <abc@xyz.com>”.
  • 4. 48. Make an abstract class shape having the following (int dim1,dim2; area()). Extend sub class Rectangle, triangle, Square and override the area() method. Prepare objects and show their action. 49. Make an interface Area, implement Area in class Rectangle and in class Circle. Illustrate by making objects of the class. 50. The final exam results of 10 students are tabulated as follows: Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4 123001 123002 … 123009 Write a program to read the data and determine the following: Total marks obtained by each student. 51. The final exam results of 10 students are tabulated as follows: Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4 123001 123002 … 123009 Write a program to read the data and determine the following: Name and Roll of the students who obtained Maximum and Minimum total marks. 52. The final exam results of 10 students are tabulated as follows: Name Roll e-mail Sub-1 Sub-2 Sub-3 Sub-4 123001 123002 … 123009 Write a program to read the data and determine the following: The highest marks in each subject and name & roll no. of that student. 53. Design a class to represent a bank account. Include the following data members:-depositor_name, acc_no, acc_balance. Methods:-To assign initial values, To deposit an amount, To check balance,To display Depositor name & present balance. Make objects of the class and demonstrate the action of the methods. 54. Write a program in Java to demonstrate method overriding 55. A computer institute wishes to keep a database of its employees as shown in the below figure. Specify all the classes and define methods to create the database and retrieve information as and when required.
  • 5. 56. Write a program to extract a portion of a character string and print the extracted string. Assume that m characters are extracted, starting with the nth character. 57. Write a program that will read a text and count all occurrences of a particular word. 58. Create a flexible string (“Kalyani College”) using StringBuffer class. Print its length, each character and its positions. Modify the string to “Kayani Govt. eng. College” and append the string “ is the best Engg. College.” Modify “eng.” of the string to “Engg.” 59. Write a program using Command Line Arguments which will take some(must be greater than 5) integer values as input find the largest and smallest among them and also prints the number of arguments entered. The program must prompt user if no arguments found or arguments less than 5. 60. Write a program using InputStreamReader and BufferdReader class that takes input: user-name, user-birth- year, user-email. Prints “Hello ! <user-name>. You are <…>years old and your e-mail is: <abc@xyz.com>”. 61. Prime Numbers Java 62. Java Palindrome Number 63. Fibonacci Series Java 64. Swap Numbers Without Using Third Variable Java 65. Find Largest and Smallest Number in an Array 66. Java Factorial 67. Swap Numbers Java 68. Even Odd Number 69. Prime Numbers Java 70. Java Palindrome Number 71. Fibonacci Series Java 72. Swap Numbers Without Using Third Variable Java 73. Find Largest and Smallest Number in an Array 74. Java Factorial 75. Swap Numbers Java 76. Create a class Box having fields length, breadth, height and methods getdata() and displaydata().Make two objects of the class access fields by the methods.
  • 6. 77. Design a class to represent a bank account. Include the following data members:-depositor_name, acc_no, acc_balance. Methods:-To assign initial values, To deposit an amount, To check balance,To display Depositor name & present balance. Make objects of the class and demonstrate the action of the methods. 78. Write a program in Java to demonstrate method overriding 79. A computer institute wishes to keep a database of its employees as shown in the below figure. Specify all the classes and define methods to create the database and retrieve information as and when required. 80. Write a program to extract a portion of a character string and print the extracted string. Assume that m characters are extracted, starting with the nth character. 81. Write a program that will read a text and count all occurrences of a particular word. 82. Create a flexible string (“Kalyani College”) using StringBuffer class. Print its length, each character and its positions. Modify the string to “Kayani Govt. eng. College” and append the string “ is the best Engg. College.” Modify “eng.” of the string to “Engg.” 83. Write a program using Command Line Arguments which will take some(must be greater than 5) integer values as input find the largest and smallest among them and also prints the number of arguments entered. The program must prompt user if no arguments found or arguments less than 5.