Page 171 - Computer - 8
P. 171
B. HTML5 and CSS
1. Create a web page on applications of Artificial Intelligence. Use hyperlinks to move from one
page to another. Use various HTML elements to make the pages attractive.
(Sample web pages are given for your reference)
2. Create an HTML document titled ‘Quiz.html’ that displays 10 questions on computer hardware.
Create another document titled ‘Answers.html’ that displays the answers to the questions. Use
hyperlinks to move between the two documents. Use CSS rules to make the web pages attractive.
C. Python
Write the following programs in Python.
1. Program to print even numbers from 1 to 20 in separate lines.
2. Program to display the series 2, 5, 8, 11, … upto 15 terms.
3. Program to print the square and cube of numbers from 1 to 9.
4. Program to display first 10 numbers in the series 8, 15, 23, … and the sum of the numbers
displayed.
5. Program to accept two numbers from the user and display all odd numbers between the two
numbers in descending order.
6. Program to calculate the sum of squares of the first ten multiples of 3.
169