COMPUTER SCIENCE 1 AND 2 FORM SIX MOCK EXAMS DAR ES SALAAM 2026 WITH MARKING SCHEME

COMPUTER SCIENCE 1 AND 2 FORM SIX MOCK EXAMS DAR ES SALAAM 2026 WITH MARKING SCHEME

Download & Install
Darasa Huru App

DOWNLOAD

COMPUTER SCIENCE 1 AND 2 FORM SIX MOCK EXAMS DAR ES SALAAM 2026 WITH MARKING SCHEME

Read Full and Download Free Exams For COMPUTER SCIENCE 1 AND 2 FORM SIX MOCK EXAMS DAR ES SALAAM 2026 WITH MARKING SCHEME

COMPUTER SCIENCE 1 EXAM

COMPUTER SCIENCE 1 MARKING SCHEME

COMPUTER SCIENCE 2 EXAM

COMPUTER SCIENCE 2 MARKING SCHEME

JavaScript Logic and Data Summary

Automate the interface created in part (a) using JavaScript codes to perform the
following tasks:

Submit Vote Button Activation: Write a JavaScript function that runs when the Submit Vote button is clicked.

The function must: Read the value entered in the “Your Full Name” text box.

Validate that the name field is not empty. If it is empty, an alert box must appear with the error message: “Please enter your Full Name before sub  mitting.’

Vote Tally: If the name is valid, the function should count how many programming language checkboxes were selected by the user.

Result Display: Display an alert box with the final summary message: “Thank you, [Full Name]! You voted for [Count] languages.”

Clear Selection Button Activation: Write a JavaScript function that resets the form by clearing the name text box and unchecking all the programming language checkboxes when the Clear Selection button is clicked.

Download & Install
Darasa Huru App

DOWNLOAD

Download & Install
Darasa Huru App

DOWNLOAD

You cannot copy content of this page. Contact Admin