Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

IT430 Assignment No 02 Fall 2020 Solution / Discussion Due Date: 17-21-2020

IT430 Assignment No 02 Fall 2020 Solution / Discussion Due Date: 17-21-2020

Assignment No. 02(Graded)
Semester Fall 2019
IT430: E-Commerce
Total Marks: 20 Due Date: 17-12-2020

Instructions

Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit (zero marks) if:

The assignment is submitted after due date.
The submitted assignment is other than .html.
The submitted assignment does NOT open or file is corrupted.
The assignment is copied (from other student or ditto copy from handouts or internet).

Uploading instructions
For clarity and simplicity, you are required to Upload/Submit only .html file.
 

Objective

The objective of this assignment is:

To understand the basics of html tables
To understand how to use interactive forms
To understand the concept of validation / check on different fields
 

For any query about the assignment, contact at it430@vu.edu.pk

Note:

No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.

Suppose a University uses a program to find Aggregate for its Admission candidates. To facilitate their applicants, University decided to create an online form/webpage through which applicants find their Current Aggregate.

You as a web programmer need to design a webpage having an interactive form which will accept necessary information and show their Aggregate after processing.
The Formula to find Aggregate is as underMatric [(Obtained Marks/Total Marks) * 30]
Intermediate [(Obtained Marks/Total Marks)  * 30]
Entry Test   [(Obtained Marks/Total Marks) * 40] 
Sum all of them.

The sample webpage shuold look like the following screen shot.

Make some restriction or validation checks on all fields which make sure that no field can be left empty while pressing submit button. The appropriat  message will be shown in case of empty field as shown in the screen shot .

 

 

Note: No marks will be given if student does not mention his/ her own Student Id and Name at the top of the Adminssion Agregate Calculation Form.

 

GOOD LUCK

Views: 748

Replies to This Discussion

Share the Assignment Questions & Discuss Here.... 

IT430 assignment no 02 solution fall 2020

Click on the below link to download the file

IT430_Assignment_No_02_Solution_Fall_2020

IT430 Assignment 2 Fall 2020

IT430 assignment 2

IT430 Assignment 2 Solution Fall 2020

IT430 Assignment no 02 solution fall 2020 codes

<html>

<head>

<title>IT430 Assignment 2</title>

<script>

function checkempty()

{

var bnm=document.getElementById("bm").value;

var bim=document.getElementById("bi").value;

var bem=document.getElementById("be").value;

var bmt=document.getElementById("mt").value;

var bit=document.getElementById("it").value;

var bet=document.getElementById("et").value;

var mot=document.getElementById("om").value;

var moi=document.getElementById("im").value;

var met=document.getElementById("em").value;

if(bnm.lenght< 1)

alert("Please enter your matric board name");

if(bim.lenght< 1)

alert("Please enter your inter board name");

if(bem.lenght< 1)

alert("Please enter your university name");

if(bmt.lenght<1)

alert("Please enter your matric board total marks");

if(bit.lenght<1)

alert("Please enter your inter board total marks");

if(bet.lenght<1)

alert("Please enter your Entry test total marks");

if(mot.lenght<1)

alert("Please enter your matric board total marks");

if(moi.lenght<1)

alert("Please enter your inter board total marks");

if(met.lenght<1)

alert("Please enter your Entry test total marks");

}

function checkmrks()

{

var bmt=parseInt(document.getElementById("mt").value);

var bit=parseInt(document.getElementById("it").value);

var bet=parseInt(document.getElementById("et").value);

var mot=parseInt(document.getElementById("om").value);

var moi=parseInt(document.getElementById("im").value);

var met=parseInt(document.getElementById("em").value);

if (mot>bmt)

alert("Obtain marks cannot be more than total marks")

if (moi>bit)

alert("Obtain marks cannot be more than total marks")

if (met>bet)

alert("Obtain marks cannot be more than total marks")

if((mot<bmt) (moi<bit) (met<bet))

{

var m= mot/bmt*30;

var i= moi/bmt*30;

var e= met/bmt*40;

var s= m+ i+e ;

alert("Your aggregate is: "+s");

}

</script>

</head>

<body bgcolor="#00FFFF">

<H1 align="center" style="font-family:Arial, Helvetica, sans-serif">Admission Aggregate Calculation Form </H1>

<H1 align="center" style="font-family:Arial, Helvetica, sans-serif">student ID: BC20oxxxxxxxx </H1>

<H1 align="center" style="font-family:Arial, Helvetica, sans-serif"> Student Name: Your Name </H1>

<table bgcolor="#6666FF" bordercolor="#000000" align="center" width="800" border="5" cellpadding="5">

<tr align="center">

<th colspan="4" style="font-family: Arial, Helvetica, sans-serif">Qualification</th>

</tr>

<tr align="center">

<th style="font-family:Arial, Helvetica, sans-serif">examination</th>

<th style="font-family:Arial, Helvetica, sans-serif">board</th>

<th style="font-family:Arial, Helvetica, sans-serif">total marks</th>

<th style="font-family:Arial, Helvetica, sans-serif">marks obtained</th>

</tr>

<tr align="center">

<th style="font-family:Arial, Helvetica, sans-serif">Matric</th>

<td><input type="text" id="bm" size="25"></td>

<td><input type="text" id="mt" size="25"></td>

<td><input type="text" id="om" size="25"></td>

</tr>

<tr align="center">

<th style="font-family:Arial, Helvetica, sans-serif">inter</th>

<td><input type="text" id="bm" size="25"></td>

<td><input type="text" id="mt" size="25"></td>

<td><input type="text" id="om" size="25"></td>

</tr>

<tr align="center">

<th style="font-family:Arial, Helvetica, sans-serif">entry test</th>

<td><input type="text" id="bm" size="25"></td>

<td><input type="text" id="mt" size="25"></td>

<td><input type="text" id="om" size="25"></td>

</tr>

<tr align="center">

<td colspan="4"><input type="button" value="submit" onclick="checkempty(); checkmarks()"></td>

</tr>

</table>

</body>

</html>

IT430 Assignment 2 Fall 2020 Solution idea:

 

IT 430 – Assignment No 2 Solution 2020 !

<html>

<head>

<title>IT430 Assignment 2</title>

<script>

function checkempty()

{

var bnm=document.getElementById(“bm”).value;

var bim=document.getElementById(“bi”).value;

var bem=document.getElementById(“be”).value;

var bmt=document.getElementById(“mt”).value;

var bit=document.getElementById(“it”).value;

var bet=document.getElementById(“et”).value;

var mot=document.getElementById(“om”).value;

var moi=document.getElementById(“im”).value;

var met=document.getElementById(“em”).value;

if(bnm.lenght< 1)

alert(“Please enter your matric board name”);

if(bim.lenght< 1)

alert(“Please enter your inter board name”);

if(bem.lenght< 1)

alert(“Please enter your university name”);

if(bmt.lenght<1)

alert(“Please enter your matric board total marks”);

if(bit.lenght<1)

alert(“Please enter your inter board total marks”);

if(bet.lenght<1)

alert(“Please enter your Entry test total marks”);

if(mot.lenght<1)

alert(“Please enter your matric board total marks”);

if(moi.lenght<1)

alert(“Please enter your inter board total marks”);

if(met.lenght<1)

alert(“Please enter your Entry test total marks”);

}

function checkmrks()

{

var bmt=parseInt(document.getElementById(“mt”).value);

var bit=parseInt(document.getElementById(“it”).value);

var bet=parseInt(document.getElementById(“et”).value);

var mot=parseInt(document.getElementById(“om”).value);

var moi=parseInt(document.getElementById(“im”).value);

var met=parseInt(document.getElementById(“em”).value);

if (mot>bmt)

alert(“Obtain marks cannot be more than total marks”)

if (moi>bit)

alert(“Obtain marks cannot be more than total marks”)

if (met>bet)

alert(“Obtain marks cannot be more than total marks”)

if((mot<bmt) (moi<bit) (met<bet))

{

var m= mot/bmt*30;

var i= moi/bmt*30;

var e= met/bmt*40;

var s= m+ i+e ;

alert(“Your aggregate is: “+s”);

}

</script>

</head>

<body bgcolor=”#00FFFF”>

<H1 align=”center” style=”font-family:Arial, Helvetica, sans-serif”>Admission Aggregate Calculation Form </H1>

<H1 align=”center” style=”font-family:Arial, Helvetica, sans-serif”>student ID: BC20oxxxxxxxx </H1>

<H1 align=”center” style=”font-family:Arial, Helvetica, sans-serif”> Student Name: Your Name </H1>

<table bgcolor=”#6666FF” bordercolor=”#000000″ align=”center” width=”800″ border=”5″ cellpadding=”5″>

<tr align=”center”>

<th colspan=”4″ style=”font-family: Arial, Helvetica, sans-serif”>Qualification</th>

</tr>

<tr align=”center”>

<th style=”font-family:Arial, Helvetica, sans-serif”>examination</th>

<th style=”font-family:Arial, Helvetica, sans-serif”>board</th>

<th style=”font-family:Arial, Helvetica, sans-serif”>total marks</th>

<th style=”font-family:Arial, Helvetica, sans-serif”>marks obtained</th>

</tr>

<tr align=”center”>

<th style=”font-family:Arial, Helvetica, sans-serif”>Matric</th>

<td><input type=”text” id=”bm” size=”25″></td>

<td><input type=”text” id=”mt” size=”25″></td>

<td><input type=”text” id=”om” size=”25″></td>

</tr>

<tr align=”center”>

<th style=”font-family:Arial, Helvetica, sans-serif”>inter</th>

<td><input type=”text” id=”bm” size=”25″></td>

<td><input type=”text” id=”mt” size=”25″></td>

<td><input type=”text” id=”om” size=”25″></td>

</tr>

<tr align=”center”>

<th style=”font-family:Arial, Helvetica, sans-serif”>entry test</th>

<td><input type=”text” id=”bm” size=”25″></td>

<td><input type=”text” id=”mt” size=”25″></td>

<td><input type=”text” id=”om” size=”25″></td>

</tr>

<tr align=”center”>

<td colspan=”4″><input type=”button” value=”submit” onclick=”checkempty(); checkmarks()”></td>

</tr>

</table>

</body>

</html>

RSS

Looking For Something? Search Below

Latest Activity

VIP Member Badge & Others

How to Get This Badge at Your Profile DP

------------------------------------

Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service