Exam time grade ix
1. Write the output of the given code and show them in dry run table.
i) a = 10
b = 15
c=a*b
print(f"The output:{c}")
ii) a = 2
b = 5
c=b/a
d=b//a
e=b%a
print(f" when a={a} and b={b}\n c=b/a={c} \n d=b//a={d}\n e=b%a={e}")
2. What is CSS? Explain three types of CSS with example.
3.Write and HTML code for
a. (a+b)2=a2+2ab+b2
b. CH4+O2→CO2+2H2O
c. Ordered list HTML Tags.
i. Apple
ii. Mango
iii. Banana
d. Unordered list using HTML Tags.
· Apple
· Mango
· Banana
4.
ECA List for Grade IX | |
Activities | No. of students |
Dance | 12 |
Football | 24 |
Basketball | 28 |
Art and Craft | 11 |
5.Write a Python Program to find the circumference of circle.
6. Write a Python Program to find the area of circle.
7. Write a Python Program to find simple interest.
8. Write a Python Program to find average of three numbers.
9. Write a Python Program to input the minutes and convert it into hour and minutes.
10. Write a Python Program to input the days and convert it into years, months and days.