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.
18.1Run/Debug the solution (for Visual Studio.NET ONLY\
18.2Hold down the ALT key and press the print screen (Prnt Scrn\y.
18.3Open a blank MS Word document and paste the screen shot.
18.4Insert a blank THREE column header. (a\ (b\ Add your EXAMINATION NUMBER against the left margin. Add the
18.5Make a PRINTOUT of the page. 19. The following VB.NET solution files have be
Q1— Section header —
Q2— Section header —
Q3— Section header —
19.4(10041023\ Copyright reserved Please turn over
Q1— Section header —
1.1to Question
1.4he completed graphical user interface (G , with partially completed source code has been saved on the computer. Open the VB.NET solution
1.1When the
Q1— Section header —
1.1.1Write cod to validate the identity number entered by the user as follows: The identity number cannot be blank/empty. If the input is not valid, the application must draw the user's attention as follows:
1.1.2Write code to validate that a correctly formatted identity n umber has been entered by the user as follow The identity number should consist of numbers only. The identity number cannot be shorter or longer than thirteen
1.1.3Write code to validate an appropriate length for a valid name and surname as follows: The first name and surname must consist of two or more characters. If the input is not v id, the application must draw the user's attention
1.1.4
1.2The customers of Mzansi Superstore have the choice of joining two loyalty programmes, as indicated by the radio buttons on the interface. A stand alone programme. A multi partner programme. Write code so that when the user selects the stand
Q1— Section header —
Q1— Section header —
Q1— Section header —
Q1— Section header —
Q1— Section header —
Q1— Section header —
2.1Write code to create a loop counter variable, and THREE parallel, single dimension arrays to store SEVEN items of data for the following Distanc
2.2Write code to create a user defined function procedure called CalcConsumption , which w ill receive copies of the distance travelled and the
2.3When the QUESTION button is clicked: .3 .1
2.3.2Write code to increment the loop counter variable. (1\
2.3.3Write code to determine if the maximum limit of the array has been exceeded (a\ f TRUE, terminate the procedure. (2\ (10041023\
2.4Enter your EXAMINATION NUMBER, COMPUTER WORKSTATION NUMBER and DATE as comments in the first three lines of the source code. Save the
3.1When the application loads:
3.1.1Writ exception handling ode to populate the list box with the contents of the text ile dic
3.2When the QUESTION button is cli ck ed:
3.2.1Write code that will use an appropriate method to find a word from the li st of words in the list box based on the input provided in the text box, and assign the result to a new integer variable. (2\ (10041023\
3.2.2Write code to highli ght the corresponding word in the list box based on the integer variable created in QUESTION
3.2.1(2\ Example of output:
3.3Enter your EXAMINATION NUMBER, COMPUTER WORKSTATION NUMBER and DATE as comments in the first three lines of the so urce code.
4.1.6Use the database documenter to set the print table definition options as shown in FIGURE below FIGURE 5: TABLE STRUCTURE SETTINGS Print the database table structures for
4.2Open the Suppl ier table Add the following information to the table: Save the records and close the table. Add the follow ing produ
4.3Create a database query usi ng both table s. Th query should produce t
4.3.1Open the uery in esig ie
4.3.2Run the uery and print the resulting records. (2\ 10041023
4.4Create the following database report using the query created in
Q4— Section header —