← Back to papers
ACSEE 🇹🇿 NECTA ✓ MS available

Science · Paper 2 · 2018

3 questions

💰 Sit full exam 200 TZS

3-hour timed simulation · auto-graded · counts toward ranking

Pay & start exam →

Questions (3)

Section A

1. 0 marks

Use a function named “Functionlarger” to create a C++ program that determines the largest number from a set of 10 numbers entered by the user. By using “Switch…Case” statement in C++ program, construct a menu-driven choice to calculate the area of triangle, rectangle or circle. The program should read the user’s choice and execute accordingly.

  1. Use a function named “Functionlarger” to create a C++ program that determines the largest number from a set of 10 numbers entered by the user. (0 mk)
  2. By using “Switch…Case” statement in C++ program, construct a menu-driven choice to calculate the area of triangle, rectangle or circle. The program should read the user’s choice and execute accordingly. (0 mk)

Upgrade to see model answers.

Section B

2. 0 marks

Use Microsoft Excel program to create a workbook and save as “Students Results”. Which includes different data such as Name, Physics, Computer, Advanced mathematics, GS, Average, Remarks and Rank. Use Built in function to fill the column G, H and I for each student. The average should be automatically rounded off to the nearest whole numbers. Hint: The remark follows the following trends: Open Microsoft word program and create the mailing documents given in the next Page 2 of 4 page. The text in the form “text” represents the names of the merged fields. Use the worksheet created in part (a) above as the data source for mailing list. Save your work as Academic Report and Print a report for Lee John as well as Jihad Ally.

  1. Use Microsoft Excel program to create a workbook and save as “Students Results”. Which includes different data such as Name, Physics, Computer, Advanced mathematics, GS, Average, Remarks and Rank. Use Built in function to fill the column G, H and I for each student. The average should be automatically rounded off to the nearest whole numbers. Hint: The remark follows the following trends: (0 mk)
  2. Open Microsoft word program and create the mailing documents given in the next Page 2 of 4 page. The text in the form “text” represents the names of the merged fields. Use the worksheet created in part (a) above as the data source for mailing list. Save your work as Academic Report and Print a report for Lee John as well as Jihad Ally. (0 mk)

Upgrade to see model answers.

Section C

3. 0 marks

Use HTML and JavaScript codes to create the following interface which will enable a user to type texts on text area and change its format after clicking radio button Interface descriptions: Rows and columns of text area are 10 and 70 respectively. Font size of the heading “Change Text Format” is h1. Use prompt box to input text size. (ii) Use basic HTML codes to create the following form: (iii) Use JavaScript codes to validate form inputs when the Submit button is clicked.

  1. Use HTML and JavaScript codes to create the following interface which will enable a user to type texts on text area and change its format after clicking radio button. Interface descriptions: Rows and columns of text area are 10 and 70 respectively. Font size of the heading “Change Text Format” is h1. Use prompt box to input text size. (0 mk)
  2. Use basic HTML codes to create the following form: Use JavaScript codes to validate form inputs when the Submit button is clicked. (0 mk)

Upgrade to see model answers.

💡 Unlock all answers & explanations
Premium · 3000 TZS/mo