Saturday, June 18, 2011

cs101Assignment NO:3 Solution Spring 2011

<html>
<head>
<title>VIRTUAL UNIVERSITY OF PAKISTAN</title>
<script type="text/javascript">
function copyItem(item){
if(item == 'nam')
document.getElementById("name2").value = document.getElementById("name1").value;
else if(item == 'pas')
document.getElementById("pass2").value = document.getElementById("pass1").value;
else if(item == 'add')
document.getElementById("address2").value = document.getElementById("address1").value;
else if(item == 'loc')
document.getElementById("location2").value = document.getElementById("location1").value;

}

function checkItem(item){
if(item == 'nam' && (document.getElementById("name1").value == '')){

document.getElementById("name1").focus();
alert('Name field is empty');
}
else if(item == 'pas' && (document.getElementById("pass1").value == ''))
alert('Password field is empty');
else if(item == 'add' && (document.getElementById("address1").value == ''))
alert('Address field is empty');
else if(item == 'loc' && (document.getElementById("location1").value == ''))
alert('Location field is empty');
else if(item == 'sub' && (!myForm.***[0].checked)){
alert('Male is not selected');
return false;
}


}


</script>
</head>
<body bgcolor="gray">

<TABLE border="3" align="center" bgcolor="lightgray">
<tr>
<td align="center">
<a href="http://vulms.vu.edu.pk/" target="_blank"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvHut_HkDpXVqRCL4fT-inp1_B5oIPFOi4m5oteBZPj3q-1yR-NqLusb3ozjaVxJdObOIFdWpo1QftIlHloHpupsKfyL8hh-O_DWRqbZZht79v9bRxWs5kur_1-ZgYtuD9dBB8ZT3TpWo/s1600-r/vu_logo.png" width="150" alt="vu logo"></a>
</td>
</tr>
<tr><td align="center">
<br><b>CS101 ASSIGNMENT NO. 03</b><br>

</td></tr>
<tr width="25">
<td><br><FORM METHOD="POST" ACTION="http://vu.edu.pk/" name="myForm" onsubmit="return checkItem('sub')">
<TABLE BORDER="2" BORDERCOLOR="PINK" BORDERCOLORLIGHT="#33CCFF" BORDERCOLORDARK="#0000CC" ALIGN="CENTER"><tr>
<td width="70" height="35" align="right" valign="top">Name:</td>
<td align="left"><input type="Name" name="User" MAXLENGTH="10" SIZE="25" id="name1" onkeyup="copyItem('nam')" onblur="checkItem('nam')"></td>
<td align="left"><input type="Name" name="User" MAXLENGTH="10" SIZE="25" id="name2" VALUE="" DISABLED ></td>
</tr><tr>
<td width="70" height="35" align="right" valign="top">Password:</td>
<td align="left" valign="top"><input type="PASSWORD" name="pwd" MAXLENGTH="6" SIZE="25" id="pass1" onkeyup="copyItem('pas')" onblur="checkItem('pas')"></td>
<td align="left" valign="top"><input type="PASSWORD" name="pwd" MAXLENGTH="6" SIZE="25" id="pass2" VALUE="" DISABLED ></td>
</tr>
<tr width="20">
<td width="80" height="100" align="right" valign="top">Address:</td>
<td align="left" valign="top"><TEXTAREA Name="comments" rows="4" cols="19" id="address1" onkeyup="copyItem('add')" onblur="checkItem('add')"></TEXTAREA></td>
<td align="left" valign="top"><TEXTAREA Name="comments" rows="4" cols="19" id="address2" VALUE="Read Only Box by *****" DISABLED></TEXTAREA></td>
</tr>
<tr width="20">
<td width="100" height="30" align="right" valign="top">Gender:</td>
<td align="left" colspan="2">
<input type="radio" name="***" value="male" id="***"/> Male <input type="radio" name="***" value="female" CHECKED> Female</td>
</tr>
<tr width="20">
<td align="right" valign="top">Hobbies:</td>
<td>

<input type="checkbox" name="hobby" value="Cricket" /> Playing Cricket<br/>
<input type="checkbox" name="hobby" value="Internet" /> Surfing Internet<br/>
<input type="checkbox" name="hobby" value="Books" /> Reading Books
</td>
<td>
<input type="checkbox" name="hobby" value="Cricket" DISABLED /> Playing Cricket<br/>
<input type="checkbox" name="hobby" value="Internet" DisABLED /> Surfing Internet<br/>
<input type="checkbox" name="hobby" value="Books" DISABLED /> Reading Books
</td>
</tr>
<tr width="20">
<td width="80" height="110" align="right" valign="top">Location:</td>
<td width="90%" align="left" valign="top">
<div align="center">
<select name="mydropdown" id="location1" onchange="copyItem('loc')" onblur="checkItem('loc')">
<option value="">Select Location</option>
<option value="Virtual University Campus (SHADMAN), Lahore
1st Floor 1-Shadman Market Shadman
">Lahore</option>
<option value="Virtual University Campus, Karachi
A-21, KCHS, Near Duty Free Centre, Baloch Colony Bus Stop, Karachi
">Karchi</option>
<option value="Virtual University Campus, Islamabad. 9-E, Rizwan Plaza, Blue Area, Islamabad.">Islamabad</option>
<option value="Virtual University Campus, Multan
23/3, Officers Colony, 2nd & 3rd Floor, Near Chungi No. 9, Bosan Road, Multan
">Multan</option>
<option value="Virtual University Campus, Peshawar
8-Jamrud Road, P.O. Tehkal Bala, Adjacent Toyota Froniter Motors, Peshawar.
">Peshawar</option>
</select>
</div>
</td>

<td width="90%" align="left" valign="top"><TEXTAREA Name="comments" rows="4" cols="19" VALUE="" id="location2" disABLED></TEXTAREA></td>
</tr>

<tr><td>&nbsp</td><td><input type="submit" value="Submit" /><input type="reset" value="Reset" /> </td></tr></tabale>
</form>


</body
</html>

No comments:

Post a Comment

Solution Available for following Subjects

BBA, B.Com & BS Assignments Discussion
BA All Subjects Assignment Discussion
ACC501 - Business Finance
CS001 - Computer Proficiency License
CS101 - Introduction to Computing
CS201 - Introduction to Programming
CS304 - Object Oriented Programming
ECO401 - Economics
ECO402 - Microeconomics
ECO403 - Macroeconomics
ENG101 - English Comprehension
ENG201 - Business and Technical English Writing
ENG301 - Business Communication
ETH201 - Ethics (for Non-Muslims)
ISL201 - Islamic Studies
IT430 - E-Commerce
MCM101 - Introduction to Mass Communication
MCM301 - Communication skills
MCM304 - Mass Media in Pakistan
MCM310 - Journalistic Writing
MGMT611 - Human Relations (alt. code=HRM611)
MGT101 - Financial Accounting
MGT111 - Introduction to Public Administration
MGT211 - Introduction To Business
MGT301 - Principles of Marketing
MGT401 - Financial Accounting II
MGT501 - Human Resource Management
MGT502 - Organizational Behaviour
MGT503 - Principles of Management
MGT603 - Strategic Management
MTH302 - Business Mathematics & Statistics
PAK301 - Pakistan Studies
STA301 - Statistics and Probability
PSY101 - Introduction to Psychology
PSY403 - Social Psychology
PSY502 - History & Systems of Psychology
SOC101 - Introduction to Sociology
B.Com All Subjects Assignment Discussion
ACC311 - Fundamentals of Auditing
ACC501 - Business Finance
CS101 - Introduction to Computing
ECO402 - Microeconomics
ECO403 - Macroeconomics
ENG101 - English Comprehension
ENG201 - Business and Technical English Writing
ETH201 - Ethics (for Non-Muslims)
FIN611 - Advanced Financial Accounting
FIN623 - Taxation Management
ISL201 - Islamic Studies
MCM301 - Communication skills
MGT101 - Financial Accounting
MGT211 - Introduction To Business
MGT401 - Financial Accounting II
MGT402 - Cost & Management Accounting
MGT411 - Money & Banking
MGT503 - Principles of Management
MGT611 - Business & Labor Law
MTH302 - Business Mathematics & Statistics
PAK301 - Pakistan Studies
STA301 - Statistics and Probability
B.Sc (Computer Science)
CS101 - Introduction to Computing
CS201 - Introduction to Programming
CS301 - Data Structures
CS302 - Digital Logic Design
CS304 - Object Oriented Programming
CS401 - Computer Architecture and Assembly Language Programming
CS403 - Database Management Systems
CS504 - Software Engineering - I
CS601 - Data Communication
CS610 - Computer Network)
ECO401 - Economics
ENG101 - English Comprehension
ENG201 - Business and Technical English Writing
ETH201 - Ethics (for Non-Muslims)
ISL201 - Islamic Studies
MGT101 - Financial Accounting
MGT301 - Principles of Marketing
MTH101 - Calculus And Analytical Geometry
MTH202 - Discrete Mathematics
MTH301 - Calculus II
MTH401 - Differential Equations
MTH501 - Linear Algebra
PAK301 - Pakistan Studies
PHY101 - Physics
PHY301 - Circuit Theory
STA301 - Statistics and Probability
BS Other subjects Assignments Discussion
MBA, MCS, MIT Assignment Discussion
MBA Compulsory/Required All Subjects
ACC501 - Business Finance
CS001 - VU-Computer Proficiency License
CS101 - Introduction to Computing
CS507 - Information Systems
ECO401 - Economics
ENG301 - Business Communication
MCM301 - Communication skills
MGT101 - Financial Accounting
MGT201 - Financial Management
MGT211 - Introduction To Business
MGT301 - Principles of Marketing
MGT401 - Financial Accounting II
MGT402 - Cost & Management Accounting
MGT411 - Money & Banking
MGT501 - Human Resource Management
MGT502 - Organizational Behaviour
MGT503 - Principles of Management
MGT510 - Total Quality Management (alt. code=MGMT510)
MGT601 - SME Management
MGT602 - Entrepreneurship
MGT603 - Strategic Management
MGT610 - Business Ethics
MGT613 - Production / Operations Management
MKT501 - Marketing Management
MTH001 - Elementary Mathematics
MTH302 - Business Mathematics & Statistics
STA301 - Statistics and Probability
STA630 - Research Methods
IT430 - E-Commerce
MBA All Specializations
Marketing Specialization
MKT610 - Customer Relationship Management
MKT621 - Advertising & Promotion
MKT624 - Brand Management
MKT630 - International Marketing
Finance Specialization
FIN621 - Financial Statement Analysis
FIN622 - Corporate Finance
FIN623 - Taxation Management
FIN630 - Investment Analysis & Portfolio Management
HRM Specialization
MGMT611 - Human Relations (alt. code=HRM611)
HRM624 - Conflict Management
HRM627 - Human Resource Development
MGMT628 - Organizational Development (alt. code=HRM628)
Information Technology Specialization
CS201 - Introduction to Programming
CS403 - Database Management Systems
CS610 - Computer Network
CS615 - Software Project Management
Management Specialization
MGMT623 - Leadership & Team Management (alt. code=HRM623)
MGMT625 - Change Management (alt. code=HRM625 )
MGMT629 - Crisis Management
MGMT630 - Knowledge Management
Banking Specialization
BNK601 - Banking Laws & Practices
BNK603 - Consumer Banking
MGT604 - Management of Financial Institutions (alt. code=BNK604)
FIN625 - Credit & Risk Management
MCS all Semesters Assignments Discussion
CS201 - Introduction to Programming
CS301 - Data Structures
CS302 - Digital Logic Design
CS304 - Object Oriented Programming
CS401 - Computer Architecture and Assembly Language Programming
CS402 - Theory of Automata
CS403 - Database Management Systems
CS501 - Advance Computer Architecture
CS502 - Fundamentals of Algorithms
CS504 - Software Engineering - I
CS506 - Web Design and Development
CS601 - Data Communication
CS604 - Operating Systems
CS605 - Software EngineeringII
CS607 - Artificial Intelligence
CS609 - System Programming
CS610 - Computer Network
CS614 - Data Warehousing
ENG201 - Business and Technical English Writing
MTH202 - Discrete Mathematics
MTH603 - Numerical Analysis
STA301 - Statistics and Probability
MIT All Semesters Subjects Assignments Discussion
CS201 - Introduction to Programming
CS301 - Data Structures
CS304 - Object Oriented Programming
CS401 - Computer Architecture and Assembly Language Programming
CS403 - Database Management Systems
CS408 - Human Computer Interaction
CS410 - Visual Programming
CS502 - Fundamentals of Algorithms
CS504 - Software Engineering - I
CS506 - Web Design and Development
CS601 - Data Communication
CS604 - Operating Systems
CS610 - Computer Network
CS614 - Data Warehousing
CS615 - Software Project Management
ENG201 - Business and Technical English Writing
MGT101 - Financial Accounting
MGT301 - Principles of Marketing
MGT501 - Human Resource Management
MGT502 - Organizational Behaviour
MGT503 - Principles of Management
MGT602 - Entrepreneurship
Proposals, Projects,Internship Reports and Past Papers
Sample Projects & Proposals
General Discussion About proposals & Project
InternShip Repots
Sample Internship Reports
Past & Current Papers
MID TERM Current Papers {May.-2011 Spring}
FINAL TERM Past Papers and pattern {Feb.-2011 Fall}
MID TERM Past Papers and pattern {Dec.-2010 Fall}
FINAL TERM Past Papers and pattern {Aug-2010 Spring}
MID TERM Past Papers and pattern {May-2010 Spring}
FINAL TERM Past Papers and pattern {Feb.-2010 Fall}
MID TERM Past Papers and pattern {Dec.-2009 Fall}
FINAL TERM Past Papers and pattern {JULY-2009 Spring}
MID TERM Past Papers and pattern {April-2009 Spring}
FINAL TERM Past Papers and pattern {Feb-2009 Fall}
MID TERM Past Papers and pattern {Dec.-2008 Fall}
Past Papers and Pattern {2004 to 2007}