We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

CS101 - Introduction to Computing Assignment No. 2 Solution and Discussion Spring 2017 Due Date: May 22, 2017

CS101 - Introduction to Computing Assignment No. 2 Solution and Discussion Spring 2017 Due Date: May 22, 2017

Assignment No. 02(Graded)
SEMESTER Spring 2017
CS101- Introduction to Computing

Total Marks: 20

Due Date: 22/5/2017



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.



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 cs101@vu.edu.pk


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 offers admissions in different disciplines. To facilitate far flung areas students, the administration decided to make an online webpage through which students can get registered online.  

  1. You as a web programmer need to design a webpage having an interactive form which will accept necessary bio data of the student.

The sample webpage shuold look like the following screen shot.

  1. 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 name and VU ID at the top of the registration form.


Note: Use only Notepad to write html and JavaScript code. If any other tool is used, then zero marks will be awarded.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 9954


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Replies to This Discussion

how to validate checkbox and radio button .validate text box is not a problem.how can we validate checkbox and radio button  and text box simultaneously.

how many time we need to use onsubmit 




Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.


Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 

<!DOCTYPE html>
<body bgcolor="Cyan">

<center><h2>Student Name : <i>????????</i></h2>
<h2>Student ID : BCxxxxxxx</h2></center>

<center><h1>Registration Form</h1></center>
<form id="myForm" form name="myForm" action="/action_page_post.php"
onsubmit="return validateForm()" method="post">
<table border='0' align='center'>
<td><input type='text' name='name'></td>
<td> CNIC:</td>
<td><input type='text'></td>
<td><input type='text' name='name'></td>
<td><input type='text' name='name'></td>

<td><input type='text' name='Email_Id'></td>
<td><input type='text' name='name'></td>
<td>ADDRESS <br /><br /><br /></td>
<td><textarea name="Address" rows="3" cols="25">
Male <input type="radio" name="Gender" value="Male" />
Female <input type="radio" name="Gender" value="Female" />

<select name="City_Id" id="City">
<option value="-1">---Select---</option>
<option value="1">Islamabad</option>
<option value="2">Lahore</option>
<option value="3">Karachi</option>
<option value="4">Peshawar</option>

<tr value="required">
<input type="checkbox" /> New Student</td>
<input type="checkbox"/> Continuing Student</td>

<td colspan="2" align="center">
<input class="btnLogin" input type="button" value="Submit">
<input type="button" onclick="myFunction()" value="Reset">
function myFunction() {


80% complete hahaha

agar help karni hai to theek se karo kya confuse karte ho aap ...

is ko submit notepad krwna hai ya html me


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

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