You are on page 1of 2

MIDDLE & HIGH SCHOOL

Semester 1 Examination
November, SY 2023-2024
Grade 8 Subject Computer Science Practical

TIME: 80 minutes

NAME: DATE:

Instructions:

1. Write your name and date on the space provided.


2. Read carefully the instructions given before you answer the question correctly.
3. This is a closed book assessment. You may only refer to the question paper during the
entire duration of assessment.
4. Carry out every instruction in each step.
5. Download necessary resource files from ManageBac for practical test.
(Teachers may modify the instructions according to their subject requirements)

TOTAL MARKS MARKS OBTAINED PERCENTAGE

40

TEACHER'S SIGNATURE Teacher's Comment:

Checked by: Approved by:

Subject Representative Middle & High School Principal

This paper consists of 2 pages including the cover page

1
Practical
A. You are to create frames in HTML along with JavaScript. Follow the details
below.
1. Download file resources in ManageBac.
2. Create a new file with the name ‘exam.html’ and create frames with details as
follow:
• Insert A.html in frame 1 [5]
• Insert B.html in frame 3 [5]
• Insert C.html in frame 2 [5]
• Border thickness = 6 [3]
• Border color = green [4]
• Use no scrolling attribute [4]
3. Follow the image below to create the frames in HTML:

4. Create a new file where the user can input 3 variables; their [5]
name, grade and favorite_subject. Then display the text, “Hello,
my name is (name) I am in grade (grade) and my favorite
subject is (favorite_subject).” Save the file as introduction.html
5. Create another link in A.html and name it ‘Introduce yourself’ [5]
this linked to a file ‘introduction.html’ and when the user clicks
on it, it will change Frame 2 to this file.
6. Take screenshot of your output and place in the Evidence [2]
document.
7. Copy and paste your source code in the Evidence document. [2]
8. Save your work and upload your evidence document in
ManageBac.

You might also like