Blogger Text

My Aim to Provide you quality contents, Tips & Tricks, Software, Microsoft Office, Graphic Editing (Adobe PhotoShop, After Affects, Illustrator, inDesign) Corel Draw, Corel Video Studio, Cyberlink PowerDirector, Power ActionCinema, Tutorials about Blogging and VU Assignments, Quizes & GDB Solutions and Much More... at regular Basis
                                     ***    Kindly Subscribe our Official YouTube Channel "INFOPALACESS OFFICIAL-Tuts: in this channel we upload Programming (C,C++,C# JAVA, PHP), Web Development, Graphics Editing and Microsoft Office Step by Step Tutorials from bigginer to Advance Level. We also provide free online courses at our YouTube Channel. ***   Graded Assignments/Quizes and GDB will start in Next Week. Solution ideas of All assignments, Quizes and GDB will be available here. If you have any problem regarding this then you can contact us.

CS101 Assignment No 2 Solution Spring 2018

CS-101 Assignment No 2 Solution Spring 2018

Here, I am providing you "Solution of CS101  Assignment No 2 due date is 25-05-2018

Note: Please don't make exact copy of this document and make Changes in this assignment, write it in your own words always correct any errors if you found. I am not responsible for zero Marking.

Here i am just posting the answer of your requisite assignment of CS101

Solution:

Copy the code given below and paste it to your document and Don't forget to make necessary changes in your code to avoid zero Marking.
sss


<!-DocType Html->
<html>
<head>
               <title>CS101_Solution</title>
</head>
               <style type="text/css">
                              form {
                                             position: relative;
                                             margin: 30px auto;
                                             width: 500px;
                                             border: 8px solid #000000;
                              padding: 5px;
                              }
               </style>
<body>
               <form name="SignUp">
               <center>
<h1>      VU Sign Up Form</h1>
<br><br>
<table colspan="2" border="0">
<tr>
               <td>Name:</td>
               <td><input type="text" name="name" value="Ali Ahmed"></td>
</tr>
<tr>
               <td>Father Name:</td>
               <td><input type="text" name="fathername" value="Javed Ahmad"></td>
</tr>
<tr>
               <td>Gender:</td>
</tr>
<tr>
               <td>Male</td>
               <td><input type="radio" name="radio" checked value="Male"></td>
</tr>
               <td>Female</td>
               <td><input type="radio" name="radio"></td>
</tr>
<tr>
               <td>Date of Birth</td>
               <td><input type="text" name="DOB" value="09 /06 /1995"></td>
</tr>
<tr>
               <td valign="top">Study Program:</td>
               <td>
                              <select name="Studyprogram" size="1" onchange="ShowMessage()">
                              <option value="Certificate">Certificate
                              <option value="BS" selected>BS
                              <option value="MCS">MCS
                              <option value="MIT">MIT
                              <option value="MS">MS
                              </select></td>
<tr>
               <td>Comments:</td>
               <td><textarea name="Comments" rows="10" cols="22" value="">Desribe about yourself in few words i.e 20 to 30 words</textarea></td>
</tr>
<tr>
               <td>E-mail:</td>
               <td><input type="text" name="Email" value="bc1234567@gmail.com"></td>
</tr>
<tr>
               <td>Password:</td>
               <td><input type="Password" name="Password" id="Password1"></td>
</tr>
<tr>
               <td>Confirm Password:</td>
               <td><input type="Password" name="Password" id="Password2"></td>
</tr>
</table>
<br><br>
<p>
               <input type="submit" name="SignUp" value="Sign Up" onclick="CheckForm()">
               <input type="reset" value="Reset">
</p>
</center>
</form>

<script type="text/javascript">                  <!- JAVA SCRIPT CODE->
               function CheckForm(){
                              var a = document.getElementById("Password1").value;
                              var b = document.getElementById("Password2").value;
                              if (a != b) {
                                             window.alert("No Match of Password and Confirm Password");
                                             return false;
                              }
                              else if (a.length == 0 && b.length == 0) {
                                             window.alert("Password Field Empty! Please Enter The Password")
                              }             
                              else{
                                             window.alert("Congratulations! You have successfully registered.")
                              }
               }
               function ShowMessage(){
                              window.alert("Your Study Program Changed");
               }
</script>
</body>

</html>


NOTE:  IF YOU FOUND ANY MISTAKE THEN CORRECT IT PLEASE DON’T MAKE EXACT COPY OF THIS SOLUTION, MAKE CHANGES TO AVOID ZERO MARKING. IM NOT RESPONSIBLE FOR IT. 

NOTE: IF YOU FOUND ANY MISTAKE THEN CORRECT IT PLEASE DON’T MAKE EXACT COPY OF THIS SOLUTION, MAKE CHANGES TO AVOID ZERO MARKING. IM NOT RESPONSIBLE FOR IT.

Post a Comment

0 Comments