You are on page 1of 30

School Name

Computer Science (083)


SESSION

PYTHON PROGRAM
FILE

Submitted By :
Admin no. :
Submitted To :
INDEX
PROGRAM PROGRAM
NO.
1 Bubble Sorting
2 Insertion Sorting
3 Counting Lowercase Letters
4 Counting Uppercase Letters
5 Palindrome
6 Armstrong Number
7 Capitalising First Letter Of Each Word
8 Age Calculation
9 Prime No. By Recursion
10 Detecting a Value in Dictionary
11 FIbonicci Series
12 Determining 4 Terms of AP
13 Matrix
14 Finding Sum of Digits of Number
15 Conversion of Octal to Other Bases
16 Findig Word Length of a File
17 Factorial
18 Binary Search
19 Linear Search
20 Transversing a List
21 Counting No. of ‘The’ in a File
22 Happy Number
23 Stack Implementation
24 Queue Implementation
25 Making Dictionary by Entering Values
26 Counting ‘But’ in a File
1.BUBBLE SORTING

Source Code :-

Output:
2. Insertion Sort
Source Code:

Output:
3.COUNTING LOWERCASE LETTERS

Source Code:

Output:
4.COUNTING UPPERCASE LETTERS

Source Code:

Output:
5.PALINDROME

Source Code:

Output:
6.ARMSTRONG NUMBER

Source Code:

Output:
7.CAPITALISING FIRST LETTER OF EACH
WORD
Source Code:

Output:
8.AGE CALCULATION

Source Code:

Output:
9.PRIME NO. BY RECURSION

Source Code:

Output:
10.DETECTING A VALUE IN DICTIONARY

Source Code:

Output:
11.FIBONICCI SERIES

Source Code:

Output:
12.DETERMINING 4 TERMA OF AP

Source Code:

Output:
13.MATRIX(2D LIST)
Source Code:

Output
14.FINDING SUM OF DIGITS OF NUMBER
Source Code:

Output:
15.CONVERSION OF OCTAL TO OTHER BASES

Source Code:

Output:
16.FINDING WORD LENGTH OF A FILE
Source Code:

Output:
17.FACTORIAL
Source Code:

Output:
18.BINARY SEARCH
Source Code:

Output:
19.LINEAR SEARCH

Source Code:

Output:
20.TRANSVERSING A LIST
Source Code:

Output:
21.COUNTING NO. OF ‘THE’ IN A FILE
Source Code:

Output:
22.HAPPY NUMBER
Source Code:

Output:
23.STACK IMPLEMENTATION
Source Code:

Output:
24.QUEUE IMPLEMENTATION
Source Code:
Output:
25.MAKING DICTIONARY BY ENTERING
VALUES
Source Code:

Output:
26.COUNTING ‘BUT’ IN FILE
Source Code:

Output:

You might also like