|
Week -1: |
|
1.i). installation of python |
|
ii) Using help( ) utility |
|
write a python program for |
|
2. Simple Calculator. |
|
3.i).Compound Interest. |
|
ii)Find the distance between two points |
|
4. Read data from keyboard and print the details. |
|
Week - 2: |
|
1. Print the triangle using for loop. |
|
2. Given input is digit or lowercase character or uppercase character or a special character (use 'if-else-if' ladder) |
|
3. Print the Fibonacci sequence using while loop |
|
4. Print all prime numbers in a given interval (use break) |
|
Week - 3: |
|
1. i) Convert a list and tuple into arrays. |
|
ii) find common values between two arrays. |
|
2. Find gcd of two values using fuctions. |
|
3.Check given string palindrome,if yes returns True and otherwise. Also check the length of a string. |
|
Week - 4: |
|
1.Check the list using is_sorted()if its ascending order return True and False otherwise. |
|
1.Check the list using has_duplicate()if yes return True and False otherwise.without modifying the list. |
|
i).Using list remove_duplicate() and return new list with only the unique elements |
|
ii).Using words.txt,doesn’t contain single letter words. So you might want to add “I”, “a”, and the empty string. |
|
iii).Using dictionary covert keys to values and vice-versa |
|
3. i) Add a comma between the characters. If the given word is 'Apple', it should become 'A,p,p,l,e' |
|
ii) Remove the given word in all the places in a string? |
|
Capitalize each word of given sentence using function |
|
4. recursive function that generates all binary strings of n-bit length |
|
Week - 5: |
|
1. i) Defines a matrix and prints |
|
ii) Addition of two square matrices |
|
iii) Multiplication of two square matrices |
|
2. How do you make a module? Give an example of different geometrical shapes and operations. |
|
3. Use the structure of exception handling all general purpose exceptions. |
|
Week-6: |
|
1.i).Draw a Rectangle on the Canvas using function. |
|
ii).For above canvas add color attribute |
|
iii). Draw a Point on the Canvas using function. |
|
iv). Define a new class called Circle with appropriate attributes. |
|
v). Draw circles on the canvas using function. |
|
2. Usage of Method Resolution Order (MRO) in multiple levels of Inheritances. |
|
3. Read a phone number and email-id from the user and validate it for correctness. |
|
Week- 7 |
|
1.Merge two given file contents into a third file. |
|
2.Check for given words present in the file and display on found using function. |
|
3. Read text file, find the word with most number of occurrences |
|
4.Display the number of words, vowels, blank spaces, lower case letters and uppercase letters using function. |
|
Week - 8: |
|
1. Import numpy, Plotpy and Scipy and explore their functionalities. |
|
2. Install NumPy package with pip and explore it. |
|
3.Implement Digital Logic Gates – AND, OR, NOT, EX-OR |
|
4.Implement Half Adder, Full Adder, and Parallel Adder |
|
5.Create a window with two text fields,labels and buttons as Submit and Reset using GUI. |
v2smartclasses