NAME OF LEARNER:  |  ||||
TOTAL QUESTION 1:  |  TOTAL QUESTION 2:  |  TOTAL QUESTION 3:  |  TOTAL QUESTION 4:  |  TOTAL  |  
/37  |  /41  |  /36  |  /36  |  /150  |  
QUESTION 1: GENERAL PROGRAMMING SKILLS  |  Max. MARKS  |  MARKS ACHIEVED  |  |
1.1 1.1.1  |  BUTTON: [1.1 Join] Declaring string variables✔ and age as an integer variable✔ Get E-mail and password as string variables✔   |  5  |  |
1.1.2  |  Initialise counters for capitals and numbers✔   |  16  |  |
1.2 1.2.1  |  BUTTON: [1.2 Upload] Obtain the category name from the combobox ✔ Obtain the speed and the size, both converted to a number ✔  |  2  |  |
1.2.2  |  If length of title > 23✔   |  3  |  |
1.2.3  |  Calculate time to upload in seconds (size/speed) ✔ Test for a whole number (using frac and trunc or any other  successful method) ✔  |  4  |  |
1.2.4  |  Compile the video code✔ using:    |  4  |  |
1.2.5  |  Display the Title, Video code, Category and Minutes in the   richedit (redUploads) in correct order✔   |  3  |  |
TOTAL QUESTION 1  |  37  |  
QUESTION 2: OBJECT-ORIENTATED PROGRAMMING  |  Max. MARKS  |  MARKS ACHIEVED  |  |
2.1.1  |  Constructor Create:   |  4  |  |
2.1.2  |  Procedure AddNewComment   |  7  |  |
2.1.3  |  Procedure SetRating;   |  7  |  |
2.1.4  |  Function GetRating: string;  OR  If frating = 2 then star string = ‘**’   |  5  |  |
2.1 Subtotal: Object class  |  23  |  ||
2.2.1  |  TQuestion2.lbxVideosClick   |  3  |  |
2.2.2  |  Button: [2.2.2 Like] and    |  2  |  |
2.2.3  |  Button: [2.2.3 Watch this video]   |  6  |  |
2.2.4  |  Button: [2.2.4 Submit]   |  7  |  |
2.2 Subtotal: Form class  |  18  |  ||
TOTAL QUESTION 2  |  41  |  
QUESTION 3: DATABASE PROGRAMMING  |  MAX. MARKS  |  MARKS ACHIEVED  |  |
3.1.1  |  Button: [3.1.1]  |  4  |  |
SQL: Select DateCreated, ProfileName from Profile order by DateCreated DESC  |  |||
Concepts:   |  |||
3.1.2  |  Button: [3.1.2]  |  9  |  |
SQL: Select DatePublished, format((Likes - Dislikes +  Comments)/Views, "Currency",2) AS [Earnings]   |  |||
Concepts:   |  |||
3.1.3  |  Button: [3.1.3]  |  4  |  |
SQL: Select VideoTitle    |  |||
Concepts:   |  |||
3.1.4  |  Button: [3.1.4]  |  4  |  |
SQL: Delete    |  |||
Concepts:   |  |||
3.1.5  |  Button: [3.1.5]  |  3  |  |
SQL: Update Profile    |  |||
Concepts:   |  |||
3.1 Subtotal: SQL  |  24  |  ||
3.2.1  |  Button: [3.2.1]   |  6  |  |
3.2.2  |  Button: [3.2.2]   |  6  |  |
3.2 Subtotal: Code constructs  |  12  |  ||
TOTAL QUESTION 3  |  36  |  
QUESTION 4: PROBLEM-SOLVING  |  MAX. MARKS  |  MARKS ACHIEVED  |  |
4.1  |  MENU OPTION [4.1 Sort and Remove]   |  17  |  |
4.2  |  MENU OPTION [4.3 Advertisements]   |  19  |  |
TOTAL QUESTION 4  |  36  |  ||
SAMPLE SOLUTIONS















