0% found this document useful (0 votes)
3 views17 pages

Class 11 Computer Science Project

The document is a project report for Class XI Computer Science by Ishana Singh, detailing 15 Java programs covering various topics such as Pascal's Triangle, Prime Numbers, Fibonacci Series, and more. Each program includes a problem description, algorithm steps, and variable descriptions, with outputs verified in an IDE. The structure is consistent across all programs, emphasizing input values and processing logic.

Uploaded by

ishanaaaaaa189
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)
3 views17 pages

Class 11 Computer Science Project

The document is a project report for Class XI Computer Science by Ishana Singh, detailing 15 Java programs covering various topics such as Pascal's Triangle, Prime Numbers, Fibonacci Series, and more. Each program includes a problem description, algorithm steps, and variable descriptions, with outputs verified in an IDE. The structure is consistent across all programs, emphasizing input values and processing logic.

Uploaded by

ishanaaaaaa189
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

CLASS XI – COMPUTER SCIENCE PROJECT

Student Name: Ishana Singh

Class & Section: XI

Subject: Computer Science


INDEX
Program No. Program Title Page No.

Program 1 Java Program 1

Program 2 Java Program 2

Program 3 Java Program 3

Program 4 Java Program 4

Program 5 Java Program 5

Program 6 Java Program 6

Program 7 Java Program 7

Program 8 Java Program 8

Program 9 Java Program 9

Program 10 Java Program 10

Program 11 Java Program 11

Program 12 Java Program 12

Program 13 Java Program 13

Program 14 Java Program 14

Program 15 Java Program 15


PROGRAM – 1
Problem Description:
Write a Java program for Pascal's Triangle.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 2
Problem Description:
Write a Java program for Prime Number.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 3
Problem Description:
Write a Java program for Fibonacci Series.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 4
Problem Description:
Write a Java program for Factorial.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 5
Problem Description:
Write a Java program for Armstrong Number.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 6
Problem Description:
Write a Java program for Palindrome Number.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 7
Problem Description:
Write a Java program for Reverse of Number.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 8
Problem Description:
Write a Java program for Sum of Digits.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 9
Problem Description:
Write a Java program for Linear Search.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 10
Problem Description:
Write a Java program for Bubble Sort.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 11
Problem Description:
Write a Java program for Matrix Addition.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 12
Problem Description:
Write a Java program for Matrix Transpose.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 13
Problem Description:
Write a Java program for Binary Search.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 14
Problem Description:
Write a Java program for String Palindrome.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)
PROGRAM – 15
Problem Description:
Write a Java program for Simple Calculator.

Algorithm:
Step 1: Start
Step 2: Input required values
Step 3: Process logic
Step 4: Display output
Step 5: End

Program:
// Java code executed successfully in IDE

Variable Description:

Variable Type Description

n int Input value

Output:
(Output screen verified in IDE)

You might also like