ICT
ICT
[Turn over]
Instructions:
Open a folder with your name.
Ensure you save all your work and files in this folder
Ensure you save changes after every question.
Copy and paste the image splash.gif from the common folder, inside
your folder.
Kindly write your grade division, name surname and roll number in
the header of your evidence document.
Printouts will not be handed over if the header is missing
Please note: No extra time will be provided for printing.
A. Open a notepad editor and create an html file with your name followed by your
grade and division followed by the word ‘Table’. [20]
Solve the questions that follow.
Box Number Name Price(per kg)
fs12 Apple 80
fs13 Water Melon 50
fs14 Guava 120
Page 2 of 4
CNS/Term1/2023-2024/ICT/MockPaper
Insert the provided image fruits.png either above or below the table.
Centre align the image.
The width of the image to 500 pixels and the height to 400 pixels.
Q2 Open a notepad editor and create an html file with your name followed by your
grade and division followed by the word ‘List’. Observe the provided screenshot of
the list and solve the questions that follow: [10]
Page 3 of 4
CNS/Term1/2023-2024/ICT/MockPaper
Q3 Python [10]
A Accept the measure of three angles of a triangle from the user and check if these
angles will form a valid triangle or not.
(Hint: In a triangle, the sum of the three interior angles must be equal to 180
degrees)
Paste the screenshot of the program and the output in the evidence document.
B Write a program to accept three sides of a triangle and check if it forms an isosceles
triangle or not.
Paste the screenshot of the program and the output in the evidence document.
C Write a program to accept a percentage from the user and display the
grade. The criteria of grading is as given below:
Percentage Grade
>=90
“A”
>=80 “B”
>=70 “C”
Display the message in the output “no information”, if any other value is
entered apart from the above range.
Paste the screenshot of the program and the output in the evidence document.
Please ensure the code and the output is clearly visible, else marks will not be
allotted if it is unclear.
Page 4 of 4