Input: Day - Num "339", Year "2020" Output: 12-04-2020 Explanation: 339th Day of 2020 Is 4th December
Input: Day - Num "339", Year "2020" Output: 12-04-2020 Explanation: 339th Day of 2020 Is 4th December
1. Write the program to display the series given below (10 Marks)
a. 1, 8, 27, 64, 125, 216, 343, 512, 729, 1000
b. 1,1,2,3,5,8,13………100
2. Check and Find the prime no between 1 and 100 ( 10 Marks)
3. Write a program to calculate the compound Interest of given below details (5
Marks)
Principal Amount=Inr 100000/-
Rate of Interest = 8%
Time period= 5 years
4. Write a program to draw the pattern given below ( Marks 10)
1
1 2 1
1 2 3 2 1
1 2 1
1
5. What is OOP’s ? Discuss OOP’s features with examples ( 5 Marks)
6. Write a note on datatypes in python (10 Marks)
7. Discuss distributed network architecture for developing applications (10 Marks)
8. Write a program in python to find sum of all items in a dictionary (10 Marks)
9. Write a program to Convert day number to date in particular year (10 Marks)
Input : day_num = “339”, year = “2020”
Output : 12-04-2020
Explanation : 339th Day of 2020 is 4th December.
10. Shuffle a deck of card with OOPS in Python ( 20 Marks)