NAME OF LEARNER: | |||||||
TOTAL QUESTION 1: | TOTAL QUESTION 2: | TOTAL QUESTION 3: | TOTAL QUESTION 4: | TOTAL | |||
/40 | /40 | /40 | /30 | /150 | |||
QUESTION 1: GENERAL PROGRAMMING SKILLS | MAX. MARKS | MARKS ACHIEVED | |||||
1.1 | Button [1.1 Display Club name]
| 6 | |||||
1.2 | Button [1.2 Process]
| 16 |
MAX. MARKS | MARKS ACHIEVED | ||
1.3 | Button [1.3 Test for leap year]
else
else
else
Alternative solution using a Boolean flag:
else
else
else
| 12 | |
1.4 | Button [1.4 Pattern]
| 6 | |
TOTAL QUESTION 1 | 40 |
QUESTION 2: OBJECT-ORIENTATED PROGRAMMING | MAX. MARKS | MARKS ACHIEVED | |
2.1.1 | Constructor Create:
| 5 | |
2.1.2 | Function calculatefunds : real
| 6 | |
2.1.3 | Procedure addnumber;
| 7 | |
2.1.4 | Function tostring: string;
| 8 | |
2.1 Subtotal: Object class | 26 | ||
2.2.1 | Button [Q2.2.1]
| 6 | |
2.2.2 |
| 8 | |
2.2 Subtotal: Form class | 14 | ||
TOTAL QUESTION 2 | 40 |
QUESTION 3: DATABASE PROGRAMMING | MAX. MARKS | MARKS ACHIEVED | |
3.1.1 | Button: [3.1.1] | 4 | |
SQL: select MaterialType from Material order by MaterialType DESC | |||
Concepts:
| |||
3.1.2 | Button: [3.1.2] | 5 | |
SQL: Select MaterialType from Material where MaterialType like ' + quotedstr('%' + SLINE + '%') | |||
Concepts:
| |||
3.1.3 | Button: [3.1.3] | 5 | |
SQL: Select Datedisposed, MaterialType from Material where Month(DateDisposed) = 10 | |||
Concepts:
| |||
3.1.4 | Button: [3.1.4] | 4 | |
SQL: update Disposal set Employees = Employees + Employees*10/100 | |||
Concepts:
| |||
3.1.5 | Button: [3.1.5] | 7 | |
SQL: Select sum(Quantity) As Total_Quantities, DisposalMethod from Material, Disposal where Material.Disposalcode = Disposal.Disposalcode group by DisposalMethod | |||
Concepts:
| |||
3.1 Subtotal: SQL | 25 |
3.2.1 | Button: [3.2.1]
| 7 | |
3.2.2 | Button: [3.2.2]
| 8 | |
3.2 Subtotal: Code constructs | 15 | ||
TOTAL QUESTION 3 | 40 |
QUESTION 4: PROBLEM SOLVING | MAX. MARKS | MARKS ACHIEVED | |
4.1 | Combobox option [Total weight of All waste]
| 4 | |
4.2 | Combobox option [Total weight of RECYCLED waste]
| 5 | |
4.3 | Combobox option [Percentage of RECYCLED waste]
| 3 | |
4.4 | Combobox option [TOTAL weight of EACH waste product]
| 18 | |
TOTAL QUESTION 4 | 30 |
QUESTION 1
QUESTION 3
QUESTION 4