← Back to papers
ACSEE 🇹🇿 NECTA ✓ MS available

Science · Paper 2 · 2020

6 questions

💰 Sit full exam 200 TZS

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

Pay & start exam →

Questions (6)

Section A

1. 0 marks

Use an “Array” and “For loop” to create a C++ program which prompt a user to enter marks of five subjects for three students. The program should display the total marks, average and grade for each student as well as overall average marks. Use the grading system given in table 1 to assign average grades. Table 1 Average Range Grade 75 - 100 A 65 - 74 B 55 - 64 C 45 - 54 D 35 - 44 S 0 - 34 F

  1. Use an “Array” and “For loop” to create a C++ program which prompt a user to enter marks of five subjects for three students. The program should display the total marks, average and grade for each student as well as overall average marks. Use the grading system given in table 1 to assign average grades. (0 mk)
  2. Average Range Grade 75 - 100 A 65 - 74 B 55 - 64 C 45 - 54 D 35 - 44 S 0 - 34 F (0 mk)
  3. Construct a C++ program that requests a user to enter the number of rows, columns and the matrix elements. The program should display the entered matrix and find its transpose. (HINT: For transpose matrix rows are changed into columns and columns into rows). (0 mk)

Upgrade to see model answers.

Section C

2. 10 marks

The following table shows Form V midterm test records from a certain Secondary School. Page 3 of 4 (i) Use Microsoft Office access to create a table which contains the information above. (ii) Use appropriate data type for each field. Save a table as “Student” and save database as “Shule”. (iii) Create a form and save as StudentForm. (iv) Create query and its report for students who got Grade B. Save it as GradeB and ReportB respectively. (v) Activate your form so that Total Marks and Average Marks can be calculated automatically on it.

  1. Use Visual Basic program to create the following interface of Agent. (0 mk)
  2. Use Microsoft Office access to create a table which contains the information above. (0 mk)
  3. Use appropriate data type for each field. Save a table as “Student” and save database as “Shule”. (0 mk)
  4. Construct Visual Basic codes which will activate the interface created in part (a). The interface should enable an agent to send money to three customers and provide new balance for a customer and an Agent. Use the information given in table. (0 mk)
  5. NAME PHONE NUMBER BALANCE Agent 0 100,000 Customer 1 1 12000 Customer 2 2 10000 Customer 3 3 25000 (0 mk)
  6. Create a form and save as StudentForm. (0 mk)
  7. Create query and its report for students who got Grade B. Save it as GradeB and ReportB respectively. (0 mk)
  8. Activate your form so that Total Marks and Average Marks can be calculated automatically on it. (0 mk)
  9. The following table shows Form V midterm test records from a certain Secondary School. (0 mk)

Upgrade to see model answers.

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