0% found this document useful (0 votes)
6 views1 page

Important Programs

The document outlines programming tasks for eight weeks, focusing on various Python programming concepts. Tasks include calculating compound interest, checking character types, finding distances, working with lists and tuples, implementing functions, handling exceptions, and exploring libraries like NumPy. The document emphasizes practical coding exercises to enhance programming skills.

Uploaded by

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

Important Programs

The document outlines programming tasks for eight weeks, focusing on various Python programming concepts. Tasks include calculating compound interest, checking character types, finding distances, working with lists and tuples, implementing functions, handling exceptions, and exploring libraries like NumPy. The document emphasizes practical coding exercises to enhance programming skills.

Uploaded by

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

Week - 1

3. i) Write a program to calculate compound interest when principal, rate and


number of periods are
given.
ii) Given coordinates (x1, y1), (x2, y2) find the distance between two points
Week - 2
2. Write a program to check whether the given input is digit or lowercase character
or uppercase
character or a special character (use 'if-else-if' ladder)
4. Python program to print all prime numbers in a given interval (use break)
Week - 3
1. i) Write a program to convert a list and tuple into arrays
2. Write a function called gcd that takes parameters a and b and returns their
greatest common divisor
Week - 4
1. Write a function called is_sorted that takes a list as a parameter and returns
True if the list is sorted
in ascending order and False otherwise.
3. ii) Remove the given word in all the places in a string?
Week - 5
1. ii) Write a python program to perform addition of two square matrices
3. Use the structure of exception handling all general purpose exceptions.
Week - 6
1. b. Add an attribute named color to your Rectangle objects and modify
draw_rectangle so that it
uses the color attribute as the fill color.
2. Write a Python program to demonstrate the usage of Method Resolution Order (MRO)
in multiple
levels of Inheritances.
Week - 7
1. Write a Python code to merge two given file contents into a third file
4. Write a function that reads a file file1 and displays the number of words,
number of vowels, blank
spaces, lower case letters and uppercase letters.
Week - 8
1. Import numpy, Plotpy and Scipy and explore their functionalities.
a) Install NumPy package with pip and explore it
2. Write a program to implement Digital Logic Gates � AND, OR, NOT, EX-OR

You might also like