Q.
1 Simple programs using input and output function / Variables, Arithmetic Operators, Expressions, Data
Types
Q2. Flow of control and conditions
Q3. Lists
Q. 1
1. To calculate Simple Interest if the principle_amount = 2000 rate_of_interest = 4.5 time = 10
1. To calculate Area and Perimeter of a rectangle
1. To calculate Area of a triangle with Base and Height
1. To calculate discounted amount with discount %
Q.2
2. To check the grade of a student
2. Input a number and check if the number is positive, negative or zero and display an appropriate message
2. To print odd numbers from 1 to n
2. To print sum of first 10 natural numbers
2. Program to find string is palindrome or not
Q3
3. Create a list in Python of children selected for science quiz with following names- Arjun, Sonakshi, Vikram,
Sandhya, Sonal, Isha, Kartik Perform the following tasks on the list in sequence-
Print the whole list
Delete the name “Vikram” from the list
Add the name “Jay” at the end
Remove the item which is at the second position.
Insert “Ratna” at 3rd position
3. Create a list num=[23,12,5,9,65,44]
○ print the length of the list
○ print the elements from second to fourth position using positive indexing
○ print the elements from position third to fifth using negative indexing
3. Create a list of first n even numbers, add 1 to each list item and print the final list.
3. Create a list List_1=[10,20,30,40]. Add the elements [14,15,12] using extend function. Now sort the final
list in ascending order and print it.