Page 157 - Computer - 7
P. 157
B. HTML5 and CSS
1. Create a web page on making India free from corruption. Format the web page using various
HTML elements and CSS styles.
(A sample web page is given for your reference)
2. Create a web page titled ‘Mera Aadhaar Meri Pehchan’. Format the web page using various
HTML elements and CSS styles.
(A sample is given for your reference)
C. Python
Write the following programs in Python.
1. Program to accept two numbers from the user and display their sum, product, difference, and
quotient.
2. Program to accept a number from 1 to 12 from the user and display the month of the year
corresponding to the number entered. Assume 1 to represent January, 2 to represent February,
and so on.
3. Program to accept a year in four digits from the user. Display whether the year will have 365 days
or 366 days.
4. Program to accept the radius of a circle from the user and display its circumference.
5. Program to accept two numbers from the user and check if the smaller number is a factor of the
larger number or not.
155