Monday 15 April 2013

MCA sem - 4 Summer Examination - 2013

0 comments
MCA sem - 4 summer examination time table is out now, It's Starting from 21st May,13.

Download TimeTable here

This time table is gives relief because GTU has given 1-2 days gap between each paper, this will be beneficial for students. Start your preparation for the exams.


All the best to all the students
Keep Learning

 >> All MCA sem 1 to 5 summer 2013 exam time table link << 

5. Write a JavaScript to generate two random numbers and find out maximum and minimum out of it.

0 comments
WTAD Practical - 5
Write a JavaScript to generate two random numbers and find out maximum and
minimum out of it.




<HTML>
<HEAD>
<TITLE>WTAD.practical-5 @iAmLearningHere </TITLE>
</HEAD>

<script type="text/javascript">
    function calculateRandom()
    {
        var r1=Math.floor(Math.random()*100);
        var r2=Math.floor(Math.random()*100);
        document.write('<br>Random No.1 : ' + r1);
        document.write('<br>Random No.2 : ' + r2);
        if (r1 < r2)
        {
            document.write('<br><br>Minimum No.:' + r1);
            document.write('<br>Maximum No.:' + r2);
        }
        else
        {
            document.write('<br><br>Minimum No.:' + r2);
            document.write('<br>Maximum No.:' + r1);
        }
    }
</script>

Sunday 14 April 2013

4. Write a JavaScript that finds out multiples of 10 in 0 to 10000. On the click of button start the timer and stop the counter after 10 seconds. Display on the screen how many multiples of 10 are found out within stipulated time.

0 comments
WTAD Practical-4
Write a JavaScript that finds out multiples of 10 in 0 to 10000. On the click of button
start the timer and stop the counter after 10 seconds. Display on the screen how
many multiples of 10 are found out within stipulated time.



<HTML>
<HEAD>
<TITLE>WTAD.practical-4 @iAmLearningHere </TITLE>
</HEAD>

<script type="text/javascript">
    function start()
    {
        setTimeout("displayMultiple()", 10000); // time in millisecond
    }

    function displayMultiple()  
    {
        var i = 1;
        document.write(" [ ");
        for(i=1; i<=10000; i++)
        {
            if(i%10==0 )
                document.write(i + ' , ');
        }
        document.write(" ] ");
    }
</script>

Saturday 13 April 2013

3. Create a Form in HTML with two fields, minimum and maximum, write JavaScript to validate that only numeric value is entered in both, and the value entered in minimum is less than the value entered in maximum.

0 comments
WTAD Practicals :

Create a Form in HTML with two fields, minimum and maximum, write JavaScript
to validate that only numeric value is entered in both, and the value entered in
minimum is less than the value entered in maximum.

<HTML>
<HEAD>
<TITLE>WTAD.practical-3 @iAmLearningHere </TITLE>
</HEAD>
<BODY>
<script type="text/javascript">
    function isValidNum(num)
    {
        if(isNaN(num.value))
            alert("plz enter valid number!!");
        num.focus();
    }
  
    function check()
    {
        var num1 = document.getElementsByName("txtmin")[0].value;
        var num2 = document.getElementsByName("txtmax")[0].value;
        if( num1 < num2 )
            document.getElementById("msg").innerHTML=" Minimum is less than Maximum. OK!";
        else
            document.getElementById("msg").innerHTML="Wrong Entry!!";       
    }
</script>

Friday 12 April 2013

2. Write a JavaScript that demonstrates the use of +=,-=,*=,/= operators.

0 comments
WTAD Practical-2
Write a JavaScript that demonstrates the use of +=,-=,*=,/= operators.


<HTML>
<HEAD>
<TITLE>WTAD.practical-2 @iAmLearningHere </TITLE>
</HEAD>
<BODY>
<H2>Demonstration the use of +=,-=,*=,/= operators.</H2>
<H3>
<script type="text/javascript">

    var i = 11;
    document.write("<br> i = " + i);
    i += 10;
    document.write("<br>( i +=10 ) =>" + i);
    i *= 10;
    document.write("<br>( i *=10 ) =>" + i);
    i -= 10;
    document.write("<br>( i -=10 ) =>" + i);
    i /= 10;
    document.write("<br>( i /=10 ) =>" + i);
</script>

Thursday 11 April 2013

1. Write a JavaScript that shows how a variable’s type can be changed on-the-fly.

0 comments
WTAD Practical -1 :
Write a JavaScript that shows how a variable’s type can be changed on-the-fly.


<HTML>
<HEAD>
<TITLE>WTAD.practical-1 @iAmLearningHere </TITLE>
</HEAD>
<BODY>

<H4>See the Variable Type is changing .. !!</H4>
<script type="text/javascript">
    var p1 = 11;
    document.write("<br>p1 contains ::"+ p1 +" of Type :: "+ typeof(p1) +"<br>");
    p1 = 11.1;
    document.write("<br>p1 contains ::"+ p1 +" of Type :: "+ typeof(p1)+"<br>");
    p1 = 'i';
    document.write("<br>p1 contains ::"+ p1 +" of Type :: "+typeof(p1)+"<br>");
    p1 = true;
    document.write("<br>p1 contains ::"+ p1 +" of Type :: "+typeof(p1)+"<br>");
    p1 = "iamlearninghere";
    document.write("<br>p1 contains ::"+ p1 +" of Type :: "+typeof(p1)+"<br>");

</script>

Wednesday 3 April 2013

FON- What is OSI Model? from basics

0 comments


In Fundamental of Networking, OSI is basic model to start with Computer Networking.
Here we found one Video which gives you idea about What is OSI model?
Topic is nicely explained in Hindi so most of us easily understands concept of OSI. try to understand the concepts.


Here is Video



We have not created this video.. All credit of this video goes to http://computerseekho.com . we have just shared with you.

post your feedback in comments, are you comfortable with the language of this video??
want more videos or material of FON??

 

Recent Post

Recent Comments

© 2010 IamLearningHere Template by MBT