CBSE Class 12 NCERT Solutions Chapter 1 only
Computer Science with Python Class 12 NCERT Solutions [CBSE]
Unit 1: Review of Python & Concept of Oops
Download .zip of all files - DOWNLOAD ALL PROGRAMS
Chapter 1 Exercise :
Q2) Print following series.
a) 10,20,30.....300
Code -
Q2) b) 105,98,91....7
Code -
Q3) While loop to print following series
a) 5,10,15,....100
Code -
Q3 b) 100,98,96,...2
Code -
Q10) Write a program to input any number and to print all the factors of that no.
Code -
Q11) Write a program to input and number and to check if that number is an Armstrong number or not.
Code -
Q12) Write a program to input employee no.,name basic pay and to find HRA, DA and netpay.
Code -
Q13) Write a program to find all prime numbers upto a given number.
Code -
Q14) Write a program to convert decimal number to binary.
Code -
Q15) Write a program to covert binary to decimal.
Code -
Q16)Write a program to input 2 complex numbers and find the sum of those complex numbers.
Code -
Q17) Write a program to calculate and print multiplication of 2 complex numbers.
Code -
Q18) Write a program to find sum of two distances in feet and inches.
Code -
Q19) Write a program to find difference between two times with hours,minutes and seconds.
Code -
Q20) Write a program to find sum of all the digits of a number entered by user.
Code -
Q21) Write a program to find reversal of that number.
Code -
Q22) Write a program to input username and password and to check whether the given username and password are correct or not.
Code -
Q25) Write a program to check whether 2 strings input by a user are equal or not.
Code -
Q27) Write a program to input n numbers and to insert a number in particular position.
Code -
Q28) Write a program to input n numbers and search any number from the list.
Code -
Q29) Write a program to input n customer names and their phone numbers.
Code -
Q30) Write a program to search any customer name and display their number which was previously added.
Code -
Q32) Reverse a number given as input by an user. [Same as Q21]
Code -
---xx---
This comment has been removed by the author.
ReplyDeletethanks a lot
ReplyDelete