This section provides a quick preview of questions from the document. It may not display every question or the complete wording of each one. For the full content, including diagrams, tables and other information, view the original PDF above.
Q1โ Section header โ
Q1โ Section header โ
Q1โ Section header โ
1.1to QUESTION
1.1Bu tton [1.1 Gender Write code to improve the radio group rgpQ1_1 as follows: Set the caption to
1.2Button [1.2 Random day A list box lstQ1_2 contains the days of the week from Sunday to Saturday. A day must be selected randomly from the list box and set to be indicated as
1.3Button [1.3 Calculate] The formula below is used by the owner of a company to calculate the bonus amount of an employee: where P is a constant value. NOTE: Code has been provided to set the constant P to the value of 8.
1.4Button [1.4 Title case A program is required which accepts a sentence as input and displays the sentence in title case. Title case is where every first letter of a word is capitalised.
Q2โ Section header โ
Q2โ Section header โ
Q2โ Section header โ
Q2โ Section header โ
2.1Tab sheet [
2.1SQL Example of graphical user interface (GUI\ for QUESTION
2.1Information Technology/P1 10 DBE/ May/June 2024 SC/ NS Confidential
Q2โ Section header โ
Q2โ Section header โ
Q2โ Section header โ
2.1.1Button [2.1.1 Free videos Display the Title Duration
2.1.2Button [2.1.2 Check domain] Display the CreatorName Email and
2.1.3Button [2.1.3 Latest videos Display the UploadDate VideoID and
2.1.4Button [2.1.4 ideos per creator] he company wants a list of creators that have uploaded more than five videos. Display the
2.1.5Button [2.1.5 Add new creator] New creators join the platform daily and their details must be added to the database. Add a new creator using the following details: Creator ID: C011
2.2Tab sheet [ 2. Delphi code] NOTE
Q2โ Section header โ
Q2โ Section header โ
Q2โ Section header โ
Q2โ Section header โ
2.2.1Butt on [
2.2Remove creator When a creator leaves the platform, their details must be removed from the database. The user must select the name of the creator to be removed from
2.2.2Button [
2.2Change upload date When the upload date of a video changes, the database must be updated. he user must
Q3โ Section header โ
Q3โ Section header โ
3.2that follow NOTE You are NOT allowed to add any additional attributes or user defined methods, unless explicitly stated in the question.
3.1The provided incomplete object class ( TAlbum contains the following: The eclaration of four
Q3โ Section header โ
Q3โ Section header โ
3.1.1Write code for a constructor method to receive the title of the album and the name of the artist as parameters and do the following: Assign
3.1.2Write code for an accessor method ca lled et Points that will return the value of the
3.1.3Write code for a method ca lled updatePoints that will receive three integer values as parameters, namely the number of albums sold, the number of songs from the album that were downloaded, and the number of songs from the album that were streamed.
3.1.4Write code for a mutator method called et Ranking that will receive an integer containing the number of weeks that the album was ranked number one . S
3.1.5A partially completed method called determine Status has been provided. Code has been provided to set the status of the album to 'None'. Add code to complete the method using the fRanking and the
3.2An incomplete program has been supplied in the
Q3โ Section header โ
Q3โ Section header โ
Q3โ Section header โ
3.2.1Button [3.2.1 Instantiate album o bject] The user must select an album from the combo box cmbQ3_2_1 Write code to
3.2.2Button [3.2.2 Calculate points The points allocated to an album is calculated using the number of albums sold, the number of songs downloaded and the number of songs streamed. Write code to do the following:
3.2.3Button [3.2.3 Set ranking The ranking of the album object will need to be set to determine whether it is high ranking or not.
3.2.4Button [3.2.4 Display album details Code has been provided to clear the rich edit redQ3 . Use the rich edit redQ3
Q4โ Section header โ
Q4โ Section header โ
Q4โ Section header โ
4.1and
Q4โ Section header โ
4.1Button [
4.1Sort The array arrPosition contains the current ranking positions of the songs. Write code to s ort the parallel arrays in ascending order
4.2Button [
4.2New chart You have been provided with a text file, Top20.txt that contains the names of the new top 20 songs ranked in order from 1 to 20. Example of the first
Q2โ Section header โ