Sponsored Links


Results 1 to 1 of 1

Thread: CS101 Introduction to Computing Assignment No.02 Fall Semester April 2012

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    Icon51 CS101 Introduction to Computing Assignment No.02 Fall Semester April 2012

    Sponsored Links1




    Assignment No. 02
    Semester: Spring 2012
    Introduction to Computing-CS101
    Total Marks: 20

    Due Date: 02-05-2012

    Objective: To develop your own JavaScript functions and using them in form.

    Instructions:
    Please read the following instructions carefully before solving & submitting assignment:
    Assignment should be in your own wordings not copied from internet, handouts or books.
    It should be clear that your assignment will not get any credit (zero marks) if:

    o The assignment is submitted after due date.
    o The submitted assignment does not open or file is corrupt.
    o The assignment is copied (from other student or copied from handouts or internet).
    o Student ID is not mentioned in the assignment file or name of file is other than student ID.

    Sponsored Links


    GOOD LUCK


    Question 1 [20 marks]

    Make a form in HTML document containing only one field named as Email and one Submit Button. Write your own JavaScript function to validate the email address.

    The Validation should be as follows:

    1. It must accept only your VU Student email address i.e; it must not accept any other student’s VU email address.
    2. It must show alert on acceptance or denial of the email address after validation.
    3. The name of the function should contain your student ID like
    4. If you enter your wrong student email id then it must show alert as well.
    5. It must accept your student ID only at vu.edu.pk, means if you enter then it must not accept it.
    6. There must be unique alerts for each error; like if the length of the student ID is larger or smaller than the original ID then the alert should be according to that.
    7. During each alert, the entered email address must also be shown in the alert box like: “BC102034560000008@vu.edu.pk is not your Valid Email address”

    Hint: See the attached sample html file for simply checking @ and dot in an email address.


    Note:

    o Assignment should be done by your own efforts, not copied from net, handouts or books.

    o You should submit your html file as well as word file containing the code, zip the both files in one single file and upload via your assignment interface.


    Attached Files Attached Files
    Last edited by Vuhelper; 04-28-2012 at 08:34 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 11-27-2012, 01:33 AM
  2. Replies: 0
    Last Post: 11-05-2012, 08:38 PM
  3. Replies: 3
    Last Post: 12-27-2011, 02:23 AM
  4. Replies: 3
    Last Post: 11-14-2011, 03:30 PM
  5. Replies: 30
    Last Post: 11-01-2011, 01:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft