1.Program using basics data types (strings, list, array, dictionaries, set, tuples) and control statements
- a) Swap two numbers
- b) Solve the quadratic equation ax**2 + bx + c = 0
- c) Largest of 3 numbers (nested if else)
- d) To check if the input number is prime or not (for loop)
- e) To check if number provided by the user is Armstrong number or not(using while loop)
- f) Program to find the sum of all numbers stored in a list
- g) Program to perform operations on the following-
2.Sets
3.Tuples
2.Program using concept of functions, classes and objects. Also demonstrate exception handling and inheritance.
- a) Make a simple calculator that can add, subtract, multiply and divide using function and switch statement
- b) To find factorial of a number using recursive function
- c) To demonstrate exceptional handling
- d) To Find the Area of a Rectangle Using Class and objects
- e) To demonstrate inheritance
- f) To find area of rectangle and square using method overriding
3.Program for file handling and directories
- a) To append data to existing file and then display the entire file
- b) To count number of lines, words and characters in a file
- c) To display file available in current directory
4.Program to demonstrate package and modules
5.Program to demonstrate link list, stack and queues.
Creating Linked List without Menu Driven < Easy >
Stack without Menu Driven < Easy >
Queue without Menu Driven < Easy >
Stack without Menu Driven < Easy >
Queue without Menu Driven < Easy >
0 Comments
Post a Comment