100% found this document useful (1 vote)
636 views24 pages

Class XII Practical File

This document contains the practical file submitted by a class 12 student at Lyall Public School in Bikaner, India for their Java Programming term 2 practical examination in session 2021-22. It includes 20 programs solving different Java concepts like arrays, sorting, searching, loops, classes, methods, exceptions and more. Each program is labelled and signed by the student and teacher. An acknowledgement and certificate are also included.

Uploaded by

gagansharam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
100% found this document useful (1 vote)
636 views24 pages

Class XII Practical File

This document contains the practical file submitted by a class 12 student at Lyall Public School in Bikaner, India for their Java Programming term 2 practical examination in session 2021-22. It includes 20 programs solving different Java concepts like arrays, sorting, searching, loops, classes, methods, exceptions and more. Each program is labelled and signed by the student and teacher. An acknowledgement and certificate are also included.

Uploaded by

gagansharam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 24

Lyall Public School, Bikaner

Practical File
“Java Programming”
Information Technology (I.T.) - 802
Class : XII
Term II Practical Examination
Session : 2021-22

Submitted By: Submitted To:


Mrs. Ankita Gaur
PGT(Computer Science)

External Examiner Signature: Internal Examiner Signature:


(__________________) (___________________)

1
ACKNOWLEDGEMENT

I am immensely thankful to Dr. Anju Popli Ma’am (Principal)


and Mr. Arun Mehta Sir (Vice-Principal) for their valuable
guidance and blessings.
I would like to express my special thanks of gratitude to my
teacher Mrs. Ankita Gaur, who gave me the golden
opportunity to do this wonderful project file of “Informatics
Practices”, who also helped me in completing my practical file. I
learned so many new things and I am really thankful to them.
I also offer my sincere thanks to Mr. Praveen Tripathi in
developing this Practical File.

Date:
Signature of the Student

Class XII

2
CERTIFICATE

This is to certify that _____________________ , student of class


XII has successfully completed the practical file under the
guidance of Mrs. Ankita Gaur during year 2021-22.

Teacher’s Signature Principal Signature


_________________ _______________

3
INDEX
S.No. Title Signature
1. Array without Scanner Class
2. Array using Scanner Class
3. Using Sort Method
4. Using Binary Search Method
5. Using Switch Case
6. User Defined Method Without
Parameter
7. User Defined Method With Parameter
8. Default Constructor
9. Parameterized Constructor
10. Call Array in Class
11. String Method
12. Wrapper Class
13. Assertion
14. Thread Using Extend Keyword
15. Thread Using Implements Keyword
16. Without Try Catch Block
17. Using Exception Handling
18. Using For Loop
19. Using While Loop
20. Using Do-While Loop

4
Program1:
Write a program in Java to print an Array without Scanner class?

5
Program 2:
Write a program in Java to print an Array using Scanner class?

6
Program 3:
Write a program in Java to sorting an Array using sort( ) ?

7
Program 4:

Write a program in Java to search a number in an Array using


binarysearch( )?

8
Program 5:
Write a program in Java to print days of week using Switch
statement?

9
Program 6:
Write a program in Java to create a Class and user
defined method without parameter?

10
Program 7:
Write a program in Java to create a Class and user
defined method with parameter?

11
Program 8:
Write a program in Java to create a Default Constructor?

12
Program 9:
Write a program in Java to create a Parameterized
Constructor?

13
Program 10:
Write a program in Java Passing array in Class?

14
Program 11:
Write a program in Java to use all String methods?

15
Program 12:
Write a program in Java to use Wrapper Class?

16
Program 13:
Write a program in Java using Assertion?

17
Program 14:
Write a program in Java to create Thread class using
extend keyword?

18
Program 15:
Write a program in Java to create Thread class using
implements keyword?

19
Program 16:
Write a program in Java without Try and Catch block?

20
Program 17:
Write a program in Java with Try and Catch block?

21
Program 18:
Write a program in Java to print table of 5 using for loop?

22
Program 19:
Write a program in Java to print table of 5 using While
loop?

23
Program 20:
Write a program in Java to print table of 5 using do-While
loop?

24

You might also like