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.

Please see the attachment. 

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


+ 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

Assignment No. 04
Semester: Spring 2015
Introduction to Computing - CS101


Total Marks:20


Due Date:  05/08/2015



Write your assignment Objectives Here.



Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:


  • The assignment is submitted after due date.
  • The assignment is submitted via email.
  • The assignment is copied from Internet or from any other student.
  • The submitted assignment does not open or file is corrupt.
  • It is in some format other than .doc (MS Word Document).


Note: All types of plagiarism are strictly prohibited.


For any query about the assignment, contact at cs101@vu.edu.pk




Question No 1:                                                                                                                           Marks 10

Assignment Scenario:

Noble School System is providing world class education to its students. School hires you as a web developer. School administration wants to train their children for computer use with knowledge based software. To achieve this task, you are asked to develop a web application for primary level children. This application will allow students to enter a number and will display multiplication table for entered number.

Based on the given scenario, you are required solve according to the given statements.


Question No. 1                                                                                                                             2 Marks

 You have to develop a webpage with specific design given below:







       This page should perform list of tasks given below:

  • Take input from user in text box
  • On clicking “calculate” button, it will show the table for number given as input.
  • Multiplication table should display on the same web page (The output of given number in the table should display below the “CALCULATE” button.
  • Output of page should be like figure given below:


















Only HTML and JavaScript should be used in development.

You should only send us the code file for this assignment in MS Word file.























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.

<script type='text/javascript'>
varnum = prompt("Enter Number", "0") //prompt user to enter the number
varnum = parseInt(num); //parse the num to number
var i = 0;
document.write('<table border="1" cellspacing="0">');
for(i=1;i<10;i++) {
document.write("<tr><td>" + num + " x " + i + " = " + num*i + "</td></tr>");
<script language = "Javascript">
d = 2; //Table 2 to 5
n = 1;
document.write(d+ "x" + n + "=" + d*n + "<BR>")
if (n == 10)
n = 0;
document.write(d+ "x" + n + "=" + d*n + "<BR>")

guyss check this code..........

Right or Wrong???????


Complete Solution

Enjoy.....Say thanks to DD.... Remember me in ur prayers....


Brother, when i copy your answer on web developer software the exact image appears but calculate button does not work on pressing....why? aap nay koi ghalti tou nai ke?

secondly tell if i write only <html> at the place of <!DOCTYPE html> will it work or is it wrong. what is the logic?

My code is 100% working. ap ne agr code ko change ni kia tu phr ap ne file teak extension se save ni ki hogi, agr code change kia he tu phrr ap ko hi pta ho k kaha se code change ki he usko same mere mtabiq kro. mene .html jo k output file he wo b upr yaha rakhi he or ek screen shot dia he or code b ek cooment me de dia he. all 3 possible conditions.

and ap ki second bat ka jawab. doctype ap na b use kro tu b chal jay ga. doctype likhne se browser ko ye pta chal jata he k ye html5 ka code he. wrna browser html4 k mubabiq render krta he. 4 and 5 are version of HMTL. CS101 k lectures ki jb vu me recording hue tb html4 the 5 bad me ai he.

DD plz make me understand ye aap nay kesay kiya?? ye sab kuch yaad karna parta hai?? ya samjhna hai?? ye sab codes kesay yaad hongay?? :(

code yad nahi krte respected lady. kisi b languages ka syntax yad rakhte hen baqi program ki logic khud se bnate hen. or syntax yad rakhne k lie practise ki jati he.

phr jb problem samne ati he tu hum apni lang ko dekhte hue jo hum ne sekhi hoti he us me available tool ko use krte hen jo hamare problem ki solution k lie fit hun. es trah se kisi b problem ka programmatically solution dhonda jata he.

Is there any need to explain the logic of this little piece of code???

Say thanks to DD

great job done bro, love u, u look like a web developer

i have a questions

How can we verify the code language that this html or JS is showing what image in normal English...any software or method for checking it ?

....kindly must reply,it will help lot ot of students especially me.


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

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