STUDENT DETAILS:
NAME: BIPROY PODDER
UNIVERSITY ROLL NO: 34542723018
UNIVERSITY REGISTRATION NO: 233451010018
DEPARTMENT: BCA
SEMESTER: 3rd SEMESTER
SESSION: 2023-2027
SUBJECT: PYTHON PROGRAMMING LAB
SUBJECT CODE: BCAC391
SUBMISSION DATE: 12.09.24
1. Fizz Buzz: Write a program that prints the
numbers from 1 to 100. But for multiples of
three, print "Fizz" instead of the number, and
for the multiples of five, print "Buzz". For
numbers that are multiples of both three and
five, print "Fizz Buzz".
2. Palindrome Checker: Write a function to
determine if a given string is a palindrome
(reads the same forwards and backwards).
Ignore spaces, punctuation, and capitalization.
3. Factorial Calculation: Write a function to
calculate the factorial of a given number
recursively.
4. Prime Number Generator: Write a function to
generate a list of prime numbers up to a given
number using the Sieve of Eratosthenes
algorithm.
5. Word Count: Write a program that takes a
string as input and counts the frequency of
each word in the string. Ignore case and
punctuation.
6. Reverse a Linked List: Implement a function
to reverse a singly linked list in-place.
7. Binary Search: Implement the binary search
algorithm to find the index of a given element
in a sorted list.
THANK YOU