An open API service indexing awesome lists of open source software.

https://github.com/rajjitlai/bca-2nd-sem-python

Python Programs for 2nd Sem BCA
https://github.com/rajjitlai/bca-2nd-sem-python

2nd-sem bca bca-python program python python-programs

Last synced: 7 months ago
JSON representation

Python Programs for 2nd Sem BCA

Awesome Lists containing this project

README

          

# bca-2nd-sem-Python

Python Programs for 2nd Sem BCA

# You can access the FULL Explanation [here](./explanation.md)

### 02. (1) # Python program to print the pattern
        *
     *  *  *
*   *   *   *   \* [star.py](./02-printPatterns/star.py)
Explanation

### (2)# Python program to print the pattern
            1
         2 3 2
      3 4 5 4 3
   4 5 6 7 6 5 4
5 6 7 8 9 8 7 6 5 [num.py](./02-printPatterns/num.py)
Explanation

### 03. # Python program to illustrate the various functions of the “Math” module [mtheg.py](./03-mathexample/mtheg.py)

### 04. # Program to find the area of triangle using Heron's Formula [area.py](./04-area/area.py)

### 05. # Python program to find the total sales of a Salesman [sales.py](./05-sales/sales.py)

### 06. # Program to find the factorial of a given number [factorial.py](./06-factorial/factorial.py)

### 07. # Program to find the fibonacci sequence [fibo.py](./07-fibonacci/fibo.py)

### 08. # Python function that takes a number with two or more digits as an input and finds its reverse and computes the sum of its digits [revSum.py](./08-revSum/revSum.py)

### 09. # Python function that takes two numbers as input parameters and returns their least common multiple and highest common factor [lcmHcf.py](./09-lcmHcf/lcmHcf.py)

### 10. # Python function that takes a number as an input and determine whether it is prime or not [prime.py](./10-primeornot/prime.py)

### 11. # Python program to find the sum of the series 1-x2/2!+x4/4!-x6/6!+...+xn/n! [ser1sum.py](./11-seriessum/ser1sum.py)

### 12. # Python function that takes two strings as an input from the user and counts the number of matching characters in the given pair of strings. [incount.py](./12-inputCount/incount.py)

### 13. Python function that takes a string as an input from the user and displays its reverse. [rev.py](./13-rev/rev.py)

### 14. # Python function that checks if the user input is palindrome or not [palindrome.py](./14-palindrome/palindrome.py)

### 15. # Python function to calculate the sum and product of two compatible matrices [sum&product.py](./15-sum%26product/sum%26product.py)

### 16. # Python function that takes a list of numbers as input from the user and produces the corresponding cumulative list where each element in the list present at index i is the sum of elements at index j <= i [cuList.py](./16-cumulativeList/cuList.py)

### 17. # Python function that takes n as an input and creates a list of n lists such that ith list contains first five multiples of i [nlist.py](./17-nlist/nlist.py)

### 18. # Python function that takes a sentence as input from the user and calculates the frequency of each letter and use a variable of dictionary type to maintain the count [freqLetter.py](./18-freqLetter/freqLetter.py)

### 19. # Python function that takes a dictionary of word:meaning pairs as an input from the user and creates an inverted dictionary of the form meaning:list-of-words [invDict.py](./19-invdict/invDict.py)

### 20. Implementation of Linear and Binary search techniques [linear.py](./20-search/linear.py) and [binary.py](./20-search/binary.py)

### 21. Implementation of selection sort, insertion sort, and bubble sort techniques [select.py](https://github.com/rajjitlai/python-sorting-methods-array/blob/main/selection-sort/select.py), [insert.py](https://github.com/rajjitlai/python-sorting-methods-array/blob/main/insertion-sort/insert.py) and [bubble.py](https://github.com/rajjitlai/python-sorting-methods-array/blob/main/bubble-sort/bubSort.py)

## Extra, taught in Class

### # Program to print Floyd's Triangle [floyds.py](./Extra/floyds.py)

### # Program to check for Alphabet, Digits, Special character, Whitespace [checker.py](./Extra/checker.py)

### YOU can use the codes for your needs.

XD