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

Pca1 Python Lab

The document contains details about a student named Biproy Podder, including their university roll number, registration number, department, semester, session, and subject information for a Python Programming Lab. It outlines seven programming tasks, including Fizz Buzz, Palindrome Checker, Factorial Calculation, Prime Number Generator, Word Count, Linked List Reversal, and Binary Search. The submission date for the tasks is set for September 12, 2024.

Uploaded by

poddarbiproy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views8 pages

Pca1 Python Lab

The document contains details about a student named Biproy Podder, including their university roll number, registration number, department, semester, session, and subject information for a Python Programming Lab. It outlines seven programming tasks, including Fizz Buzz, Palindrome Checker, Factorial Calculation, Prime Number Generator, Word Count, Linked List Reversal, and Binary Search. The submission date for the tasks is set for September 12, 2024.

Uploaded by

poddarbiproy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like