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.
10.1Run the solution.
10.2Hold the ALT key down and press the print screen button (This will copy the active screen\
10.3Open MS Word and paste the form/screen in a new document.
10.4Add your EXAMINATION NUMBER to the top right hand side of your page.
10.5Print the page. 11. You are allowed to make use of the help files in VB.NET. 12. The following files will appear on your hard drive in the folders:
Q1— Section header —
Q2— Section header —
Q3— Section header —
Q4— Section header —
Q4— Section header —
Q1— Section header —
0.05Size 11 20 discount (price*size\
0.15Size greater than 20 discount (price*size\
0.2Calculate the total price o f the hiking trip TotalPrice = rice
1.1Create a class called clsQuotation and add the following program code.
1.1.1Create all the private fields as listed in the class diagram (2\
1.1.2Create the associated public properties for the private fields created
Q1— Section header —
1.1.3Create a public constructor to instantiate the clsQuotation class
Q1— Section header —
1.1.4Create a public function called calDiscount (\ to calculate the discount a client qualifies for according to the size of the group
1.1.5Create a public function called calTotalPrice(\ to calculate the total price for the group minus the discount returned by ca lDiscount(\ (3\
1.2Add the following program code to the click event of the CALCULATE QUOTATION button one the main ikers Explorer form.
1.2.1Declare all the variable to be used in the calculations and related data displays and assign it the values from the applicable controls. (3\
1.2.2Declare and instantiate an object of t he clsQuotation class (1\
1.2.3Assign all the applicable values and properties to the variables
Q1— Section header —
1.2.4Assign the calcu lated values to the applicable label controls as OTE: All R/c amounts must be formatted to display as currency. (4\ 10041024
1.3Change the text in the title bar of the form to your EXAMINATION NUMBER. (1\ Run the program with the test data below and make a screenshot printout of the result. TIME GROUP SI ZE DAY
Q2— Section header —
Q3— Section header —
Q3— Section header —
3.1.1Declare a variable called redate and assign it the value from the selected date (Date of Registration on the screenshots\Set the format as a
3.1.2Establish a connection to the Admis sions database
3.1.3Compose the SQL statement that will insert the student details into the database table tblStudent
3.1.4Define and set the values of all the required insert query parameters.
3.1.5Write the line of c ode that will execute the query to insert the record.
3.1.7Record was added successfully Close the connection to the database. (1\ Add your EXAMINATION NUMBER as a comment line to the program code of the main
Q4— Section header —
4.1The web page is divided into FIVE divisions (<DIV></DIV>\ . The pagewrapper division includes all the other divisions i.e., header navigation
4.1.1Add a link to the external cascading style sheet style.css which contains the class styling for the various divisions. (1\
4.1.2Create the pagewrapper division (1\
4.1.3Create the header division and insert the logo saved as environ.jpg in the folder Images . Set the width to 185
4.1.4Create the navigation division and code the navigation menu as shown in the left side bar underneath the logo.
4.1.5Create the content (2\
4.1.6Create a form and name it event. mailto: nviron@college.edu .za (2\
4.1Create a borderless table with five rows and two columns. Use this layout to complete the form inputs as displayed in FIGURE 4 i.e., name, surname, contact, etc. The t shirt size input should be a dropdown list with three options: Small, Medium, Large an
4.1.8Create fieldset with the legend complete it with the radio button elements as shown in FIGURE 4.
4.1.9Create a borderless table with one row and two columns to c ontain the submit and clear buttons, respectively Set the
4.1.10Create the footer division and add your EXAMINATION NUMBER as copyright. [25] 10025
Q5— Section header —
Q4— Section header —
5.1Write the code required to create the Validate(\ ava cript function in the index.html document.
5.2Declare all the required variables for the form input fields and assign it the values as entered by the user. (5\
5.3Determine whether or not the quantity input field holds a numeric value. If not lert the user with an appropriate message. (2\
5.4Determine whether or not the user has selected colour for the t shirt. If not alert the user with an appropriate message. (3\
5.513