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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ 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.

Here is da final look & solution uploaded both in html and txt format.... please dont copy !! 


Fall 2011 :: Assignment 4 (CS101)


+ 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: 2604

.

+ 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)

Attachments:

Replies to This Discussion

copy to main kron gi...:P

marks apk jaengy mery nai

copy karne ke bad kuch changes kari pare gi me vohi kar raha ho

 

lekin ye kya ho ra ha...
html file save kro phr b word main khul ri ha.. plz guide to kro thoda 

me apko html file email kar deta hun

ok kr do.. or submit b hamain html file krani ha na?

emailed or han html file submit krni hy uska title or name apki vuid honi chahye

yar it's wrong ..

i mean all tables must be in  horizontal but it showing in vertical .. check it again .. n upload the correct one as soon as possible\

 

<html>
    <head>
        <title>Make Some changing Please</title>
        <style>
            body{
              text-align: center;
            }
            table{
              width: 300px;
              border: 1px solid #DDDDDD;
            }
            caption{
              font-weight: bolder;
            }
            tr{
              margin-bottom: 10px;
            }
            td{
              text-align: right;
              padding: 5px;
              border: 1px solid #DDDDDD;
            }
            td#form{
              text-align: left;
              color:#CC0000;
            }
            td#bold{
              font-weight: bolder;
            }


        </style>
    <script>
        function ValidateStartField(){
          val = document.getElementById("start").value;
          if(Number(val)){
            if(val<=1 || val >20){
             alert("The value of start field must be between 2 and 20.");
             document.getElementById("start").value="";
             window.setTimeout(function(){document.getElementById("start").focus();},0)

             return false;
            }
            else{
              return true;
            }
          }
          else{
            alert("Please enter numeric value in the start field.");
            document.getElementById("start").value="";
            window.setTimeout(function(){document.getElementById("start").focus();},0)
            return false;
          }
        }

        function ValidateEndField(){
          val = document.getElementById("end").value;
          if(Number(val)){
            if(val<=0){
             alert("Please enter value greater than zero in end field.");
             document.getElementById("end").value="";
             window.setTimeout(function(){document.getElementById("end").focus();},0)
             return false;
            }
            else{
              return true;
            }
          }
          else{
            alert("Please enter numeric value in the end field.");
            document.getElementById("end").value="";
            window.setTimeout(function(){document.getElementById("end").focus();},0)
            return false;
          }
        }

        function ValidateSizeField(){
           val = document.getElementById("size").value;
          if(Number(val)){
            if(val<=1 || val > 20){
             alert("The value of size field must be between 2 and 20.");
             document.getElementById("size").value="";
             window.setTimeout(function(){document.getElementById("size").focus();},0)
             return false;
            }
            else{
              return true;
            }
          }
          else{
            alert("Please enter numeric value in the size field.");
            document.getElementById("size").value="";
            window.setTimeout(function(){document.getElementById("size").focus();},0)
            return false;
          }
        }

        function DisplyTable(){
          var start, end, depth;
          start = document.getElementById("start").value;
          end = document.getElementById("end").value;
          depth = document.getElementById("size").value;

          if(ValidateStartField()!=true||ValidateEndField()!=true||ValidateSizeField()!=true){
            return false;
          }
          else if(end<=start){
           alert("The value in start field must be smaller than the value in end field.");
           document.getElementById("start").value="";
           document.getElementById("end").value="";
           window.setTimeout(function(){document.getElementById("start").focus();},0)
           return false;
          }
          else{
          counter=1;
          table="<table style='width:100%;text-align:centre;' align='center'><tbody><tr>";
          for (i=start;i<=end;i++){
            table +="<td>";
            table+="<table style='width:80%;text-align:center;' border='1'><caption style='font-weight:bolder;'>Table of "+i+"</caption><tbody>";
            for (j=1;j<=depth;j++){
              table+="<tr><td>"+i+"</td><td>*</td><td>"+j+"</td><td>=</td><td style='font-weight:bolder;'>"+i*j+"</td></tr>";
            }
            table+="</tbody></table>";
            table+="</td>";
            if(counter==4){
              table+="</tr><tr>";
            }
          counter+=1;
          }
          table +="</tr></tbody></table>";
          document.write(table);
        }
        }
        </script>
    </head>
    <body>
        <h1>Fall 2011:: Assignment 4 (CS101)</h1>
         <table align="center">
            <tbody>
                <tr>
                    <td>Start: </td>
                    <td id="form"><input id="start" type="text" name="start" value="" onchange="ValidateStartField();"/> *</td>
                </tr>
                <tr>
                    <td>End: </td>
                    <td id="form"><input id="end" type="text" name="end" value="" onchange="ValidateEndField();"/> *</td>
                </tr>
                <tr>
                    <td>Depth/ Size: </td>
                    <td id="form"><input id="size" type="text" name="size" value="" onchange="ValidateSizeField();"/> *</td>
                </tr>
                <tr>
                    <td></td>
                    <td id="form"><input id="submit" type="submit" name="submit" value="Generate Tables" onclick="DisplyTable();"/></td>
                </tr>
            </tbody>
         </table>
    </body>
</html>

bulls eye .. dude it was right .. now tell me how do i copy this ?? i mean by this how can i made my assignment?

dost copy all this text nd paste in notepad, then make some changing like change widt and border of table. change value in script and some thing like that. if you paste as it is then u will get zero marks...

RSS

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

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

.