Monthly Archives: July 2014


Create a Website for a School in HTML and VBScript – IGNOU MCA Assignment 2014-15

MASTER OF COMPUTER APPLICATIONS
Course Code : MCSL-016
Course Title : Internet Concepts and Web Design (Lab Course)
Assignment Number : MCA(1)/L016/Assign/2014-15
Maximum Marks : 100
Weightage : 25%

 

Create a web site for a School consisting of the following pages:

a)The Home page should consists of four areas containing the following information:

  • Header area containing the logo, name of the school and a photograph of the school. Make sure that you use a good picture format.
  • Left area containing the links to other pages – these links should include – About us, Academics, Infrastructure, Contact us and Feedback.
  • The Content area should display a table showing list of upcoming events of the School along with dates.
  • The Footer area should display the copyright information and current date and time.

You need to make sure that the Header and Footer area is same across all the pages of the website.

For Main Page Area for Creating Frames:  Index.html

<HTML > 
<frameset rows="21%,*" > 
<frame name="topframe" src="header.html" frameborder="0" scrolling="no"/ > 
<frameset rows="83%,*" > 
<frameset cols="15%,*" > 
<frame name="left" src="links.html" frameborder="0" scrolling="no"/ > 
<frame name="centre" src="home.html" frameborder="0"/ > 
</frameset > 
<frame name="lowerframe" src="footer.html" frameborder="0" scrolling="no"/ > 
</frameset > 
</frameset > 
</HTML >

For Header Area:  Header.html

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<
.style2 {
font-size: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #00CC00;
}
.style4 {font-size: 10px; color: #000000; }
.style5 {font-family: Verdana, Arial, Helvetica, sans-serif}
.style6 {
font-size: 27px;
color: #FF0000;
}
.style10 {font-size: 10px; color: #9933FF; }
body {
background-color: #333333;
}
</style>
</head>
<body>
<table align="left">
<tr>
<td> <img src="logo.jpg" alt="logo" width="80px" height="80px"/>
<td>
<center><span class="style2">Indian Education Society's</span><br>
<span class="style6">NEW ENGLISH SCHOOL</span><br>
<span class="style10">Govt Colony, Bandra (E) </span><br>
<span class="style2">MUMBAi- 400051</span><br></center>
</td>
<td> <img src="logo.jpg" alt="logo" width="80px" height="80px"/>
</tr>
<tr>
</table>
<table align="right">
<td> <img src="school.jpeg" width="400px" height="80px"/> </td>
</td>
<tr>
<td> <span class="style2">Quick Links : </span>
<select name="ddlist">
<option> Home</option>
<option> About Us</option>
<option> Academics</option>
<option> Infrastructure</option>
<option> Contact Us</option>
<option> Feedback</option>
</select> </td>
</tr>
</tr>
</table>
</body>
</html>

For Left Area:  Links.html

<HTML >
<HEAD >
<TITLE > </TITLE >
</HEAD >
<BODY bgcolor="lightblue" >
<table align="left" >
<tr > <td > </td ></tr >
<tr >
<td > <a href="home.html" target="centre" > Home</a > </td >
</tr >
<tr > <td > </td ></tr >
<tr >
<td > <a href="about.html" target="centre" > About us</a > </td >
</tr >
<tr > <td > </td ></tr >
<tr >
<td > <a href="academic.html" target="centre" > Academics</a > </td >
</tr >
<tr > <td > </td ></tr >
<tr >
<td > <a href="infra.html" target="centre" > Infrastructure</a > </td >
</tr >
<tr > <td > </td ></tr >
<tr >
<td > <a href="contact.html" target="centre" > Contact us</a > </td >
</tr >
<tr > <td > </td ></tr >
<tr >
<td > <a href="feedback.html" target="centre" > Feedback</a > </td >
</tr >
</table >
</BODY >
</HTML >

For Content Area:  Home.html

<HTML >
<HEAD >
<TITLE > New Document </TITLE >
</HEAD >
<BODY bgcolor="lightgreen" >
Home Page
<center > <h1 > <u > Welcome To New English School Website</u > </h1 > <center >
<table align="center" >
<tr >
<tr > <img src="big_school.jpg" alt="Image" width="500px" height="250px"/ > </td >
</tr >
</table >
<table width="737" border="0">
<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><p align="center" class="style12"><strong><u>UPCOMING EVENTS</u><br><br>EXAMINATION SCHEDULE FOR HALF-YEARLY EXAMINATION<br>
</strong><strong>Aug 2014 </strong></p>
<table align="center" width="571" border="1">
<tr>
<td width="70"><div align="center" class="style15 style16">
<div align="center">Class/Date</div>
</div></td>
<td width="45"><div align="center"><span class="style28">1</span></div></td>
<td width="46"><div align="center"><span class="style28">4</span></div></td>
<td width="47"><div align="center"><span class="style28">7</span></div></td>
<td width="53"><div align="center"><span class="style28">10</span></div></td>
<td width="50"><div align="center"><span class="style28">13</span></div></td>
<td width="52"><div align="center"><span class="style28">16</span></div></td>
<td width="48"><div align="center"><span class="style28">19</span></div></td>
<td width="51"><div align="center"><span class="style28">22</span></div></td>
<td width="45"><div align="center"><span class="style28">25</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>I</strong></div>
</div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">Drawing</span></div></td>
<td><div align="center"><span class="style18">Science</span></div></td>
<td><div align="center"><span class="style18">Work Edn </span></div></td>
<td><div align="center"><span class="style18">Phy. Edn </span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>II</strong></div>
</div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">Science</span></div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style12"></span></div></td>
<td><div align="center"><span class="style18">Phy. Edn</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">Work Edn</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>III</strong></div>
</div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">Science</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">Phy. Edn</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">Work Edn</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>IV</strong></div>
</div></td>
<td><div align="center"><span class="style18">Phy. Edn</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">Science</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">Work Edn</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>V</strong></div>
</div></td>
<td><div align="center"><span class="style18">Science</span></div></td>
<td><div align="center"><span class="style18">Work Edn</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">Phy. Edn</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">*</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>VI</strong></div>
</div></td>
<td><div align="center"><span class="style18">*</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">Science</span></div></td>
<td><div align="center"><span class="style18">Phy. Edn</span></div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">History</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">Biology</span></div></td>
<td><div align="center"><span class="style18">Work Edn</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>VII</strong></div>
</div></td>
<td><div align="center"><span class="style18">Phy. Edn</span></div></td>
<td><div align="center"><span class="style18">Physics</span></div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">Chem</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">Work Edn</span></div></td>
<td><div align="center"><span class="style18">Economics</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">History</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>VIII</strong></div>
</div></td>
<td><div align="center"><span class="style18">Socio</span></div></td>
<td><div align="center"><span class="style18">Phy. Edn</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">Work Edn</span></div></td>
<td><div align="center"><span class="style18">Physics</span></div></td>
<td><div align="center"><span class="style18">Chem</span></div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">Economics</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>IX</strong></div>
</div></td>
<td><div align="center"><span class="style18">Biology</span></div></td>
<td><div align="center"><span class="style18">Work Edn</span></div></td>
<td><div align="center"><span class="style18">History</span></div></td>
<td><div align="center"><span class="style18">Chem</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">Phy. Edn</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">Physics</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>X</strong></div>
</div></td>
<td><div align="center"><span class="style18">Biology</span></div></td>
<td><div align="center"><span class="style18">Economics</span></div></td>
<td><div align="center"><span class="style18">Work Edn</span></div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">Physics</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">Phy. Edn</span></div></td>
<td><div align="center"><span class="style18">Biology</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>XI</strong></div>
</div></td>
<td><div align="center"><span class="style18">Chem</span></div></td>
<td><div align="center"><span class="style18">Economics</span></div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">Biology</span></div></td>
<td><div align="center"><span class="style18">Socio</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">Statistics</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">Physics</span></div></td>
</tr>
<tr>
<td><div align="center" class="style17">
<div align="center"><strong>XII</strong></div>
</div></td>
<td><div align="center"><span class="style18">Bengali</span></div></td>
<td><div align="center"><span class="style18">Biology</span></div></td>
<td><div align="center"><span class="style18">Socio</span></div></td>
<td><div align="center"><span class="style18">Maths</span></div></td>
<td><div align="center"><span class="style18">English</span></div></td>
<td><div align="center"><span class="style18">Statistics</span></div></td>
<td><div align="center"><span class="style18">Physics</span></div></td>
<td><div align="center"><span class="style18">Economics</span></div></td>
<td><div align="center"><span class="style18">Chem</span></div></td>
</tr>
</table>
</BODY >
</HTML >

For Footer Area:  Footer.html

<HTML > 
<HEAD > 
<TITLE > New Document </TITLE > 
</HEAD > 
<script language="vbscript" > 
sub getCurrentDateTime() 
dim daydate,daytime 
daydate=FormatDateTime(Date(),1) 
dtime=Hour(Now) 
document.form1.txtdatetime.value=CStr(daydate)+" "+CStr(Time) 
end sub 
</script> 
<BODY bgcolor="lightblue" onLoad="getCurrentDateTime()" > 
<form name="form1" onLoad="getCurrentDateTime()" > 
<p><center><u>ALL RIGHT RESERVED.</u><center > 
<span>Copyright @ 2014, New English School, Bandra.</span><br />
<table> 
<tr> </tr> 
<tr> <td> Current Date & Time:</td> <td> <input type="text" name="txtdatetime" size="30" /> </td> <td> </td> 
<tr> </tr> 
</table>
<strong><a href="home.html">Home</a> / <a href="about.html">About Us</a> / <a href="academic.html">Academics</a> / <a href="infra.html">Infrastucture</a>/ <a href="contact.html">Contact Us</a> </strong></p>
</form>
</BODY > 
</HTML >

 

b)About us page should give information about the Objectives, values and beliefs of the school, preferable in some structured format. You may use lists or tables for the same.

For About Us Page:  About.html

<head>
<title>IES New English School, Bandra , Mumbai</title>
</head>
<body bgcolor="lightgreen" >
About us Page
<div>
<h1>ABOUT US</h1>
<table width="581" border="0">
<tr>
<td width="700"><table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th height="117" scope="col"><p align="center" class="style15">Indian Education Society</p>
<p align="justify">The Indian Education Society was founded in 1912 by a tiny band of young and dedicated College teachers who gave the best years of their lives to the society and its Colleges. They were S.V. Nabar, B.N. Vaidya, V.N.SuIe, P.Y. Patkar and |M.D.Harne. The little seed these stalwarts sowed grew into a mighty tree with several branches, Colleges and colleges. In the later period, the Indian Education Society was served brilliantly by Manik Lotlikar and Padmakar Dhamdhere. Undertheir care and tutelage the society developed into an institution managing over sixty Colleges, a junior college and two professional colleges - a College of Management and a College of Architecture. The Colleges of the I.E.S. have been a nursery out of which have blossomed enormous number of persons with varied talents. Its Colleges have produced some of the leading scientists and researchers, scholars and teachers, engineers and doctors, brave members of the armed forces, cricketers and swimmers, theatre and film personalities as well as the first Indian idol! The Indian Education Society is committed to serve the community with the best kind of education. It has taken innovative steps in the field of education like e - learning, encouragement of technical education at the College level, digitalizing of libraries, introduction of new streams like the ICSE, etc. The Society has also initiated the process of accreditation of its Colleges by the Quality Council of India begining with the NES Campus in Bandra East. In establishing a junior college the IES affirms that it would provide the best facilities and resources to its students. In keeping with the high standard the IES has maintained in the past, we hope to have a junior college which would become soon the first choice of our students. The Indian Education Society believes that in cooperation with the heads of our institutions and teachers and parents / guardians and students, we can scale still greater heights of excellence and educate our young to become worthy citizens of our country.</p>
<div align="left">
<p> </p>
<table width="377" height="12" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="top"> </td>
<td colspan="2" valign="top"><p>Indian Education Society <br />
Raja Shivaji Vidyasankul, Hindu Colony, Dadar, <br />
Mumbai 400 014. Tel. N0. 6137 9595</p>
<p>Governing Council</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>A. B. Vaidya</p></td>
<td width="323" valign="top"><p>President</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Manohar D. Lotlikar</p></td>
<td width="323" valign="top"><p>Vice President and Chief Executive Officer</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Amol P. Dhamdhere</p></td>
<td width="323" valign="top"><p>Vice President</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Achala Joshi</p></td>
<td width="323" valign="top"><p>Trustee</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Satish M. Lotlikar</p></td>
<td width="323" valign="top"><p>Trustee</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Satish R. Nayak</p></td>
<td width="323" valign="top"><p>Trustee</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Shailendra V. Gharse</p></td>
<td width="323" valign="top"><p>Member</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>V. K. Sinha</p></td>
<td width="323" valign="top"><p>Member</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Meenal Mohadikar</p></td>
<td width="323" valign="top"><p>Member</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Suhas G. Rege</p></td>
<td width="323" valign="top"><p>Member</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Shaunak Satpute</p></td>
<td width="323" valign="top"><p>Member</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Gajanan Samant</p></td>
<td width="323" valign="top"><p>Member</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Sagar Sule</p></td>
<td width="323" valign="top"><p>Member</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Rajeev Joshi</p></td>
<td width="323" valign="top"><p>Member</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Geetanjali Desai</p></td>
<td width="323" valign="top"><p>Heads’ Representative</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Vaishali K. More</p></td>
<td width="323" valign="top"><p>Supervisors’ Representative</p></td>
</tr>
<tr>
<td width="119" valign="top"> </td>
<td width="201" valign="top"><p>Rajani Mhaisalkar</p></td>
<td width="323" valign="top"><p>Teachers’ Representative</p></td>
</tr>
</tbody>
</table>
</div>
<blockquote>
<p align="left"><strong>INDIAN EDUCATION SOCIETY<br />
New English School </strong><br />
</p>
<p align="left"> V. K. Sinha <strong>Chairman</strong></p>
<p align="left"> Amol Dhamdhere</p>
<p align="left"> Satish R. Nayak</p>
<p align="left"> Gajanan V. Samant</p>
<p align="left"> Shailendra V. Gharse</p>
<p align="left"> Vikram Karandikar</p>
<p align="left"> Lakshmi Jayakar</p>
<p align="left">Dr. Mulwad Vinata</p>
<p align="left">Bharati M. Hajari <strong>Convenor</strong></p>
<p align="left"><br />
INDIAN EDUCATION SOCIETY<br />
New English School
</p>
<p align="left">Government Servants Colony, Near Kherwadi Police Station,<br />
Bandra ( E) , Mumbai 400051.</p>
</blockquote>
<p align="left"> </p>
<p>V. K. Sinha Bharati M. Hajari</p>
<p>Chairman Principal</p>
</th>
</tr>
</tbody>
</table>
<br /></td>
</tr>
</table>
<p>&nbsp;</p>
</div>
</body>
</html>

c)Academics page lists details about the teachers and the past activities of the school.

For Academics Page:  Academic.html

 
<head> <title>IES New English School, Bandra , Mumbai</title> </head> <body bgcolor="lightgreen" > Academic's Page <div> <h1>Academic </h1> <table width="596" border="0"> <tr> <td width="590"><table width="539" height="47" border="0" align="center" cellpadding="0" cellspacing="0"> <tbody> <tr> <th width="520" height="45" scope="col"><p align="left"><span class="style18"><span class="style19"><span class="style20"><span class="style21"><span class="style23">Admission- </span><br /> <br /> 1] Admission is open to all irrespective caste, creed and religion.<br /> 2] Applications are available in the office<br /> 3] The necessary documents such as L.C, latest progress report from the previous school etc. should be attached with the form.<br /> 4] Admissions will be confirmed only after the interview of the student and payment of fees.</span></span></span></span></p> </th> </tr> </tbody> </table> <p align="center"><strong><u>ACHIEVEMENTS IN SPORTS</u></strong></p> <div align="center"> <table border="1" cellspacing="0" cellpadding="0" align="left"> <tr> <td width="81" valign="top"><br /> Year </td> <td width="111" valign="top"><p>Competition</p></td> <td width="115" valign="top"><p>Organizer</p></td> <td width="234" valign="top"><p>Result</p></td> </tr> <tr> <td width="81" valign="top"><p>2009</p></td> <td width="111" valign="top"><p>Carrom</p></td> <td width="115" valign="top"><p>District Krida Adhikari</p></td> <td width="234" valign="top"><p>Kadam Sheyas- I Prize &amp; gold medal<br /> Gaddam Neha-II Prize &amp; silver medal<br /> The school received Runner Up award and bagged a Trophy</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Cricket</p></td> <td width="115" valign="top"><p>Khichadiya</p></td> <td width="234" valign="top"><p>Runner Up Award</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>&nbsp;</p></td> <td width="115" valign="top"><p>Air India</p></td> <td width="234" valign="top"><p>Runner Up Award</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>&nbsp;</p></td> <td width="115" valign="top"><p>I. E. S</p></td> <td width="234" valign="top"><p>Won final and received a Trophy<br /> Pawar Dipesh declared the best player and received a gold medal</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Kho-Kho</p></td> <td width="115" valign="top"><p>Mumbai Sports</p></td> <td width="234" valign="top"><p>Won the final</p></td> </tr> <tr> <td width="81" valign="top"><p>2010</p></td> <td width="111" valign="top"><p> Kabaddi</p></td> <td width="115" valign="top"><p>Vand Mataram Foundation</p></td> <td width="234" valign="top"><p>I Prize &amp; Trophy</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Kho-Kho</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p>Trophy</p></td> </tr> <tr> <td width="81" valign="top"><p> </p></td> <td width="111" valign="top"><p>Cricket (Vinu Mankad)</p></td> <td width="115" valign="top"><p>District Krida Adhikari</p></td> <td width="234" valign="top"><p>Runner Up Award</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Carrom</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p>Acharya Raj- I Prize and Gold medal<br /> Kale Mayuri- I Prize &amp; Gold medal</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Chess</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p> Chaudary Vaibhavi- I Prize &amp; Gold medal</p></td> </tr> <tr> <td width="81" valign="top"><p>2011</p></td> <td width="111" valign="top"><p>Disrict level cricket </p></td> <td width="115" valign="top"><p>District Krida Adhikari</p></td> <td width="234" valign="top"><p>Runner Up Award</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Carrom</p></td> <td width="115" valign="top"><p>Bombay Arts &amp; Sports</p></td> <td width="234" valign="top"><p>Gaddam Neha, Kadam Shreyas, Malla Adarsh<br /> &amp; Sawant Sail<br /> Reveived I Prize</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Chess</p></td> <td width="115" valign="top"><p>Bombay Arts &amp; Sports</p></td> <td width="234" valign="top"><p>Dicholkar Diti<br /> &amp; Pol Prathmesh received I Prize</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>&nbsp;</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p>Malla Adarsh- I Prize and Gold medal</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>75m Running</p></td> <td width="115" valign="top"><p> M.S.B Scout &amp; Guide</p></td> <td width="234" valign="top"><p>Haldankar Anushka &amp; Pal Suraj- I Prize</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Langadi</p></td> <td width="115" valign="top"><p> ----“------</p></td> <td width="234" valign="top"><p>Kadam Tejal &amp; Kadam Sahil- I Prize</p></td> </tr> <tr> <td width="81" valign="top"><p>2012</p></td> <td width="111" valign="top"><p>Carrom</p></td> <td width="115" valign="top"><p>Care Foundation</p></td> <td width="234" valign="top"><p>Gaddam Neha,Malla Adarsh,Kadam Prathmesh received gold medals</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>&nbsp;</p></td> <td width="115" valign="top"><p>Mumbai Sports</p></td> <td width="234" valign="top"><p>Gaddam Neha-Gold medal</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Chess</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p>Chaudhary Vaibhavi- Gold medal &amp; Trophy</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Gymnastics VT</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p>Walavalkar Yash- Gold medal</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>400 m Running</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p>Inpure Tanvi- I Prize</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Long Jump</p></td> <td width="115" valign="top"><p>----“----</p></td> <td width="234" valign="top"><p>Yadav Ashutosh- I Prize</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Shot Put</p></td> <td width="115" valign="top"><p>------“-----</p></td> <td width="234" valign="top"><p>Chaudhari Pratik-I Prize</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Carrom</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p>The school received ‘Nirgudkar Foundation Trophy’</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Madhav Mantri Cricket Tournament</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p>The school received ‘Late Dr. Harish Ram Nayak Rotating Trophy’</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Kho-Kho</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p>Won finals and received a Trophy</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Cricket</p></td> <td width="115" valign="top"><p>District Krida Adhikari</p></td> <td width="234" valign="top"><p>Runner Up Award</p></td> </tr> <tr> <td width="81" valign="top"><p> </p></td> <td width="111" valign="top"><p>Foot Ball</p></td> <td width="115" valign="top"><p>I.E.S</p></td> <td width="234" valign="top"><p>Runner Up Award</p></td> </tr> <tr> <td width="81" valign="top"><p>&nbsp;</p></td> <td width="111" valign="top"><p>Lazim</p></td> <td width="115" valign="top"><p>Sahashaley Upakram</p></td> <td width="234" valign="top"><p>I Prize</p></td> </tr> </table> <br /></td> </tr> </table> <p>&nbsp;</p> </div> </body> </html>
d)Infrastructure page should highlighting the available resources of the school. For Infrastructure Page:  Infra.html
<head> <title>IES New English School, Bandra , Mumbai</title> </head> <body bgcolor="lightgreen" > Infrastructure Page <div> <h1>Infrastructure </h1> <table width="596" border="0"> <tr> <td width="590"><table width="539" height="47" border="0" align="center" cellpadding="0" cellspacing="0"> <tbody> <tr> <th width="520" height="45" scope="col"><p align="left"><span class="style18"><span class="style19"><span class="style20"><span class="style21"><span class="style23">Admission- </span><br /> <br /> 1] Admission is open to all irrespective caste, creed and religion.<br /> 2] Applications are available in the office<br /> 3] The necessary documents such as L.C, latest progress report from the previous school etc. should be attached with the form.<br /> 4] Admissions will be confirmed only after the interview of the student and payment of fees.</span></span></span></span></p> <p align="left" class="style21"><span class="style24"><strong>Facilities</strong>- </span><br /> <br /> 1] well lighted and ventilated classrooms<br /> <br /> 2] A computer Lab with individual computer for every student<br /> <br /> 3] Well equipped Laboratories for Physics, Chemistry and Biology<br /> <br /> 4] Audio-Visual room<br /> <br /> 5] Library with treasure of books<br /> <br /> 6] Specious play ground<br /> <br /> 7] Auditorium with well equipped technology<br /> <br /> 8] A healthy canteen service<br /> <br /> 9] Arts and Spots Academy with well experienced coaches<br /> <br /> 10] Art room for showing creativity?<br /> <br /> 11] Introduction of new subjects- <br /> a] Technical with equipped lab <br /> b] V.G [Vocational Guidance] with expert councilors.<br /> <br /> 12] Well qualified staff<br /> <br /> 13] Personal attention <a name="_GoBack" id="_GoBack"></a></p></th> </tr> </tbody> </table> <br /></td> </tr> </table> <p>&nbsp;</p> </div> </body> </html>
e)Contact us page should provide information about the school address and contact details For Contact Us Page:  Contact.html
 
<HTML >
<HEAD >
<TITLE > New Document </TITLE >
</HEAD >
<BODY bgcolor="lightgreen" >
Contact Page
<center > <h1 > <u > Contact Us</u > </h1 > <center >
<table align="center" >
<tr >
<tr > <img src="contact.jpg" alt="Image" width="600px" height="350px"/ > </td >
</tr >
</table >
</BODY >
</HTML >

f)Feedback page should have a feedback form consisting of text box, radio buttons, list boxes etc. This page should get the information from the site visitors about various aspects of schools website. You must use JavaScript to check that all the required fields are entered by the visitor.

For Feedback Page:  Feedback.html

<head>
<title>Feedback form</title>
</head>
<body bgcolor="lightgreen" >
Feedback Page
<h1>Website feedback form</h1>
<div class="content_node">
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Our website was recently redesigned. Please let us know how we can improve your experience by filling in this form.</p>
</div></div></div><div class="field field-name-field-contact-watiam-id field-type-text field-label-hidden"><div class="field-items"><div class="field-item even"><p><strong>Information and privacy:</strong></p></div></div></div><form class="webform-client-form webform-client-form-236" enctype="multipart/form-data" action="/school-environment-enterprise-development/website-feedback-form" method="post" id="webform-client-form-236" accept-charset="UTF-8"><div><div class="form-item webform-component webform-component-textfield webform-component--name">
<label for="edit-submitted-name">First name </label>
<input type="text" id="edit-submitted-name" name="submitted[name]" value="" size="60" maxlength="128" class="form-text" />
</div>
<div class="form-item webform-component webform-component-textfield webform-component--last-name">
<label for="edit-submitted-last-name">Last name </label>
<input type="text" id="edit-submitted-last-name" name="submitted[last_name]" value="" size="60" maxlength="128" class="form-text" />
</div>
<div class="form-item webform-component webform-component-email webform-component--email">
<label for="edit-submitted-email">Email </label>
<input class="email form-text form-email" type="email" id="edit-submitted-email" name="submitted[email]" size="60" />
</div>
<div class="form-item webform-component webform-component-select webform-component--who-are-you">
<div class="select-or-other">
<div class="form-item form-type-select form-item-submitted-who-are-you-select">
<label for="edit-submitted-who-are-you-select">Who are you? <abbr class="form-required" title="This field is required.">* <span>(required)</span></abbr> </label>
<select class="select-or-other-select form-select required" id="edit-submitted-who-are-you-select" name="submitted[who_are_you][select]"><option value="" selected="selected">- Select -</option><option value="1">Prospective student</option><option value="2">Undergrad student</option><option value="3">Graduate student</option><option value="4">Staff</option><option value="5">Faculty</option><option value="6">Alumni</option><option value="select_or_other">Other...</option></select>
</div>
<div class="form-item form-type-textfield form-item-submitted-who-are-you-other">
<label class="element-invisible" for="edit-submitted-who-are-you-other">Who are you? Other... </label>
<input class="select-or-other-other form-text" type="text" id="edit-submitted-who-are-you-other" name="submitted[who_are_you][other]" value="" size="60" maxlength="128" />
</div>
</div>
</div>
<input type="hidden" name="details[sid]" />
<input type="hidden" name="details[page_num]" value="1" />
<input type="hidden" name="details[page_count]" value="1" />
<input type="hidden" name="details[finished]" value="0" />
<input type="hidden" name="form_build_id" value="form-qjLa24rqko-g3tMMntC-5NRTPS4SnDNwWsDBT9KOaJY" />
<input type="hidden" name="form_id" value="webform_client_form_236" />
<div class='jfhtml'><p> <strong>What is your opinion of the site?</strong> </p> <p> Please rate the following aspects </p></div>
<div class='error-message' id='hdeb2_2453_error'></div>
<fieldset class='jfradio' id='hdeb2_2453'>
<div class='control-group'>
<legend class="jfradio" id="hdeb2_2453_label">Look and feel</legend>
<div class='controls'>
<label class='radio' for='hdeb2_2453_0'>
<input checked=checked value='Good' id='hdeb2_2453_0' name='hdeb2' type='radio' />
Good
</label>
<label class='radio' for='hdeb2_2453_1'>
<input value='Average' id='hdeb2_2453_1' name='hdeb2' type='radio' />
Average
</label>
<label class='radio' for='hdeb2_2453_2'>
<input value='Poor' id='hdeb2_2453_2' name='hdeb2' type='radio' />
Poor
</label>
<span class='help-block' id='hdeb2_2453_error'></span>
</div>
</div>
</fieldset>
<div class="clear"></div>
<div class='error-message' id='h5e77_2454_error'></div>
<fieldset class='jfradio' id='h5e77_2454'>
<div class='control-group'>
<legend class="jfradio" id="h5e77_2454_label">Ease of use</legend>
<div class='controls'>
<label class='radio' for='h5e77_2454_0'>
<input checked=checked value='Good' id='h5e77_2454_0' name='h5e77' type='radio' />
Good
</label>
<label class='radio' for='h5e77_2454_1'>
<input value='Average' id='h5e77_2454_1' name='h5e77' type='radio' />
Average
</label>
<label class='radio' for='h5e77_2454_2'>
<input value='Poor' id='h5e77_2454_2' name='h5e77' type='radio' />
Poor
</label>
<span class='help-block' id='h5e77_2454_error'></span>
</div>
</div>
</fieldset>
<div class="clear"></div>
<div class='error-message' id='h99b4_2455_error'></div>
<fieldset class='jfradio' id='h99b4_2455'>
<div class='control-group'>
<legend class="jfradio" id="h99b4_2455_label">Searching facilities</legend>
<div class='controls'>
<label class='radio' for='h99b4_2455_0'>
<input checked=checked value='Good' id='h99b4_2455_0' name='h99b4' type='radio' />
Good
</label>
<label class='radio' for='h99b4_2455_1'>
<input value='Average' id='h99b4_2455_1' name='h99b4' type='radio' />
Average
</label>
<label class='radio' for='h99b4_2455_2'>
<input value='Poor' id='h99b4_2455_2' name='h99b4' type='radio' />
Poor
</label>
<span class='help-block' id='h99b4_2455_error'></span>
</div>
</div>
</fieldset>
<div class="clear"></div>
<div class='error-message' id='h94b8_2456_error'></div>
<fieldset class='jfradio' id='h94b8_2456'>
<div class='control-group'>
<legend class="jfradio" id="h94b8_2456_label">Overall</legend>
<div class='controls'>
<label class='radio' for='h94b8_2456_0'>
<input value='Good' id='h94b8_2456_0' name='h94b8' type='radio' />
Good
</label>
<label class='radio' for='h94b8_2456_1'>
<input checked=checked value='Average' id='h94b8_2456_1' name='h94b8' type='radio' />
Average
</label>
<label class='radio' for='h94b8_2456_2'>
<input value='Poor' id='h94b8_2456_2' name='h94b8' type='radio' />
Poor
</label>
<label class='radio' for='h94b8_2456_3'>
<input value='No comment' id='h94b8_2456_3' name='h94b8' type='radio' />
No comment
</label>
<span class='help-block' id='h94b8_2456_error'></span>
</div>
</div>
</fieldset>
<div class="form-item webform-component webform-component-textarea webform-component--comments">
<label for="edit-submitted-comments">Comments </label>
<div class="form-textarea-wrapper resizable"><textarea id="edit-submitted-comments" name="submitted[comments]" cols="60" rows="5" class="form-textarea"></textarea></div>
</div>
<div class="form-actions"><input class="webform-submit button-primary form-submit" type="submit" name="op" value="Submit" /></div></div></form><span property="dc:title" content="Website feedback form" class="rdf-meta"></span> </div>
</body>
</html>

Screen Shots:

Html_Website_School_1

 

Html_Website_School_2

 

g)Write a program using VBscipt that adds only diagonal elements of two matrices. The program should be efficient.

hh'vb script program to find sum of diagonal elements in the given matrix '
declare double dimentional array
dim a(2,2)
dim sum,k sum=0 k=0
for i=0 to ubound(a,1)
for j=0 to ubound(a,2)
a(i,j)=cint(inputbox("enter elements"))
next
sum=sum+a(i,k)
k=k+1
next
msgbox sum

Write and Implement multiple stacks in a single dimensional array – IGNOU MCA Assignment 2014-15

MASTER OF COMPUTER APPLICATIONS
Course Code : MCS-021
Course Title : Data and File Structures
Assignment Number : MCA(2)/021/Assign/2014-15
Maximum Marks : 100
Weightage : 25%

 
Implement multiple stacks in a single dimensional array. Write algorithms for various stack operations for them.

 

#include <stdio.h>
#define max 10

int top1, top2, stk_arr[max];

void push();
void pop();
void display();

void main()
{
int ch;
top1=-1,top2=max;
do
{
printf(“\n 1:push\n 2:pop\n 3:display\n 4:exit\n choice:”);
scanf(“%d”, &ch);
switch (ch)
{
case 1:push();
break;
case 2:pop();
break;
case 3:display();
break;
case 4:printf(“exiting from program\n”);
break;
default:printf(“wrong choice\n”);
break;
}
}while(ch!=4);
}
void push()
{
int x,ch;
if(top1==top2-1)
{
printf(“stack overflow \n”);
return;
}
printf(“enter a no \n”);
scanf(“%d”,&x);
printf(“\n press 1 to push in stack1 or press 2 for stack2:”);
scanf(“%d”,&ch);
if(ch==1)
stk_arr[++top1]=x;
else
stk_arr[--top2]=x;
printf(“\n %d element is successfully pushed \n”,x);
return;
}

void pop()
{
int y,ch;
printf(“\n press 1 to pop from stack1 or press 2 for stack2″);
scanf(“%d”,&ch);
if(ch==1)
{
if(top1==-1)
{
printf(“stack underflow\n”);
return;
}
y=stk_arr[top1];
stk_arr[top1--]=0;
}
else
{
if(top2==max)
{
printf(“stack underflow\n”);
return;
}
y=stk_arr[top2];
stk_arr[top2++]=0;
}
printf(“\n%d element is successfully poped from stack \n”, y);
return;
}

void display()
{
int i;
if (top1 == -1)
{
printf(“stack 1 is empty \n”);
}
else
{
printf(“elements of Stack 1 are : \n”);
for (i = 0; i <= top1; i++)
{
printf(“%d\n”,stk_arr[i]);
}
}
if (top2 == max)
{
printf(“stack 2 is empty \n”);
}
else
{
printf(“elements of Stack 2 are : \n”);
for (i = max; i >= top2; i–)
{
printf(“%d\n”,stk_arr[i]);
}
}
return ;
}

 Program Code:

#include <stdio.h>
#define max 10
 
int top1, top2, stk_arr[max];
 
void push();
void pop();
void display();
 
void main()
{
int ch;
top1=-1,top2=max;
do
{
printf("\n 1:push\n 2:pop\n 3:display\n 4:exit\n choice:");
scanf("%d", &ch);
switch (ch)
{
case 1:push();
break;
case 2:pop();
break;
case 3:display();
break;
case 4:printf("exiting from program\n");
break;
default:printf("wrong choice\n");
break;
}
}while(ch!=4);
}
void push()
{
int x,ch;
if(top1==top2-1)
{
printf("stack overflow \n");
return;
}
printf("enter a no \n");
scanf("%d",&x);
printf("\n press 1 to push in stack1 or press 2 for stack2:");
scanf("%d",&ch);
if(ch==1)
stk_arr[++top1]=x;
else
stk_arr[--top2]=x;
printf("\n %d element is successfully pushed \n",x);
return;
}
 
void pop()
{
int y,ch;
printf("\n press 1 to pop from stack1 or press 2 for stack2");
scanf("%d",&ch);
if(ch==1)
{
if(top1==-1)
{
printf("stack underflow\n");
return;
}
y=stk_arr[top1];
stk_arr[top1--]=0;
}
else
{
if(top2==max)
{
printf("stack underflow\n");
return;
}
y=stk_arr[top2];
stk_arr[top2++]=0;
}
printf("\n%d element is successfully poped from stack \n", y);
return;
}
 
void display()
{
int i;
if (top1 == -1)
{
printf("stack 1 is empty \n");
}
else
{
printf("elements of Stack 1 are : \n");
for (i = 0; i <= top1; i++)
{
printf("%d\n",stk_arr[i]);
}
}
if (top2 == max)
{
printf("stack 2 is empty \n");
}
else
{
printf("elements of Stack 2 are : \n");
for (i = max; i >= top2; i--)
{
printf("%d\n",stk_arr[i]);
}
}
return ;
}

 
Screen Shots:

C_program_Multiple_Stack_on_Array

 

C_program_Multiple_Stack_on_Array_Out

A C program and algorithm to implement Circular Doubly Linked List – IGNOU MCA Assignment 2014 – 15

MASTER OF COMPUTER APPLICATIONS
Course Code : MCS-021
Course Title : Data and File Structures
Assignment Number : MCA(2)/021/Assign/2014-15
Maximum Marks : 100
Weightage : 25%

 

Write an algorithm for the implementation of Circular Doubly Linked Lists.

 

#include<stdio.h>
struct node
{
int data;
struct node *next;
struct node *prev;
};
typedef struct node node; //with this Use “node” instead of “struct node”
node *root=NULL; //Global variable “root” pointer
node *create_node(int); //Declaration
void insert(int); //Declaration
void display_list(node *); //Declaration
void display_list_rev(node *);

void main()
{
clrscr();
display_list(root);
insert(10);
insert(20);
insert(30);
insert(40);
display_list(root);
display_list_rev(root);
getch();
}

node *create_node(int x)
{
node *temp;
temp=(node*)malloc(sizeof(node));
temp->data=x;
temp->next=NULL;
temp->prev=NULL;
return temp;
}

void insert(int x)
{
node *start;
start=root;
if(root==NULL)
{ root=create_node(x);root->next=root;root->prev=root;}
else
{
while(start->next!=root)
{
start=start->next;
} start->next=create_node(x);
start->next->next=root;
start->next->prev=start;
}
}
void display_list(node *start)
{
printf(“\nLink List :-\n”);
if(start==NULL)
{ printf(“List is Empty!\n”); }
else
{
while(start->next!=root)
{ printf(“%d->”,start->data);
start=start->next;
}printf(“%d->”,start->data);
}
}

void display_list_rev(node *start)
{
printf(“\n\nLink List (Reverse):-\n”);
if(start==NULL)
{ printf(“List is Empty!\n”); }
else
{ while(start->next!=root)
{
start=start->next;
}
while(start->prev!=root)
{ printf(“%d->”,start->data);
start=start->prev;
}printf(“%d->”,start->data);
start=start->prev;
printf(“%d->”,start->data);
}
}

Program Code:

#include<stdio.h>
struct node
{
int data;
struct node *next;
struct node *prev;
};
typedef struct node node; //with this Use "node" instead of "struct node"
node *root=NULL; //Global variable "root" pointer
node *create_node(int); //Declaration
void insert(int); //Declaration
void display_list(node *); //Declaration
void display_list_rev(node *);
void main()
{
clrscr();
display_list(root);
insert(10);
insert(20);
insert(30);
insert(40);
display_list(root);
display_list_rev(root);
getch();
}
node *create_node(int x)
{
node *temp;
temp=(node*)malloc(sizeof(node));
temp->data=x;
temp->next=NULL;
temp->prev=NULL;
return temp;
}
void insert(int x)
{
node *start;
start=root;
if(root==NULL)
{ root=create_node(x);root->next=root;root->prev=root;}
else
{
while(start->next!=root)
{
start=start->next;
} start->next=create_node(x);
start->next->next=root;
start->next->prev=start;
}
}
void display_list(node *start)
{
printf("\nLink List :-\n");
if(start==NULL)
{ printf("List is Empty!\n"); }
else
{
while(start->next!=root)
{ printf("%d->",start->data);
start=start->next;
}printf("%d->",start->data);
}
}
void display_list_rev(node *start)
{
printf("\n\nLink List (Reverse):-\n");
if(start==NULL)
{ printf("List is Empty!\n"); }
else
{ while(start->next!=root)
{
start=start->next;
}
while(start->prev!=root)
{ printf("%d->",start->data);
start=start->prev;
}printf("%d->",start->data);
start=start->prev;
printf("%d->",start->data);
}
}

Screen Shots:

C_program_Cir_Doub_Link_List

C_program_Cir_Doub_Link_List_Out

A C program and algorithm to implement stack in a single dimensional array – IGNOU MCA Assignment 2014 – 15

MASTER OF COMPUTER APPLICATIONS
Course Code : MCS-021
Course Title : Problem Solving and Programming
Assignment Number : MCA(1)/021/Assign/13
Assignment 2013

 

Implement stack in a single dimensional array. Write algorithms for various stack operations for them.

 

#include <stdio.h>
#define MAX 10 /* The maximum size of the stack */
void push(int [],int *,int);
void pop(int [],int *,int *);

void main()
{
int stack[MAX];
int top = -1;
int n,value;
do
{
do
{
printf(“Enter the element to be pushed\n”);
scanf(“%d”,&value);
push(stack,&top,value);
printf(“Enter 1 to continue\n”);
scanf(“%d”,&n);
} while(n == 1);

printf(“Enter 1 to pop an element\n”);
scanf(“%d”,&n);
while( n == 1)
{
pop(stack,&top,&value);
printf(“The value poped is %d\n”,value);
printf(“Enter 1 to pop an element\n”);
scanf(“%d”,&n);
}
printf(“Enter 1 to continue\n”);
scanf(“%d”,&n);
} while(n == 1);
getch();
}

void push(int stack[], int *top, int value)
{
if(*top < MAX )
{
*top = *top + 1;
stack[*top] = value;
}
else
{
printf(“The stack is full can not push a value\n”);
getch();
exit(0);
}
}

void pop(int stack[], int *top, int * value)
{
if(*top >= 0 )
{
*value = stack[*top];
*top = *top – 1;
}
else
{
printf(“The stack is empty can not pop a value\n”);
getch();
exit(0);
}
}

Program Code:

#include <stdio.h>
#define MAX 10 /* The maximum size of the stack */
void push(int [],int *,int);
void pop(int [],int *,int *);
void main()
{
int stack[MAX];
int top = -1;
int n,value;
do
{
do
{
printf("Enter the element to be pushed\n");
scanf("%d",&value);
push(stack,&top,value);
printf("Enter 1 to continue\n");
scanf("%d",&n);
} while(n == 1);
printf("Enter 1 to pop an element\n");
scanf("%d",&n);
while( n == 1)
{
pop(stack,&top,&value);
printf("The value poped is %d\n",value);
printf("Enter 1 to pop an element\n");
scanf("%d",&n);
}
printf("Enter 1 to continue\n");
scanf("%d",&n);
} while(n == 1);
getch();
}
void push(int stack[], int *top, int value)
{
if(*top < MAX )
{
*top = *top + 1;
stack[*top] = value;
}
else
{
printf("The stack is full can not push a value\n");
getch();
exit(0);
}
}
void pop(int stack[], int *top, int * value)
{
if(*top >= 0 )
{
*value = stack[*top];
*top = *top - 1;
}
else
{
printf("The stack is empty can not pop a value\n");
getch();
exit(0);
}
}

Screen Shots:

C_program_Stack_in_Array

 

C_program_Stack_in_Array_Out

A C program and algorithm to implement Circular Linked Lists – IGNOU MCA Assignment 2014 – 15

MASTER OF COMPUTER APPLICATIONS
Course Code : MCS-021
Course Title : Problem Solving and Programming
Assignment Number : MCA(1)/021/Assign/13
Assignment 2013

 

Write an algorithm for the implementation of Circular Linked Lists.

 

#include<stdio.h>
struct node
{
int data;
struct node *next;
};
typedef struct node node; //with this Use “node” instead of “struct node”
node *root=NULL; //Global variable “root” pointer
node *create_node(int); //Declaration
void insert(int); //Declaration
void display_list(node *); //Declaration

void main()
{
clrscr();
display_list(root);
insert(10);
insert(20);
insert(30);
insert(40);
display_list(root);
getch();
}

node *create_node(int x)
{
node *temp;
temp=(node*)malloc(sizeof(node));
temp->data=x;
temp->next=NULL;
return temp;
}

void insert(int x)
{
node *temp,*start;
start=root;
if(root==NULL)
{ root=create_node(x);root->next=root;}
else
{
while(start->next!=root)
{
start=start->next;
} start->next=create_node(x);
start->next->next=root;
}
}
void display_list(node *start)
{
if(start==NULL)
{ printf(“List is Empty!\n”); }
else
{
while(start->next!=root)
{ printf(“%d->”,start->data);
start=start->next;
}printf(“%d->”,start->data);
}
}

Program Code:

 

#include<stdio.h>
struct node
{
int data;
struct node *next;
};
typedef struct node node; //with this Use "node" instead of "struct node"
node *root=NULL; //Global variable "root" pointer
node *create_node(int); //Declaration
void insert(int); //Declaration
void display_list(node *); //Declaration
 
void main()
{
clrscr();
display_list(root);
insert(10);
insert(20);
insert(30);
insert(40);
display_list(root);
getch();
}
 
node *create_node(int x)
{
node *temp;
temp=(node*)malloc(sizeof(node));
temp->data=x;
temp->next=NULL;
return temp;
}
 
void insert(int x)
{
node *temp,*start;
start=root;
if(root==NULL)
{ root=create_node(x);root->next=root;}
else
{
while(start->next!=root)
{
start=start->next;
} start->next=create_node(x);
start->next->next=root;
}
}
void display_list(node *start)
{
if(start==NULL)
{ printf("List is Empty!\n"); }
else
{
while(start->next!=root)
{ printf("%d->",start->data);
start=start->next;
}printf("%d->",start->data);
}
}

 

Screen Shots:

C_program_Cir_Link_List

 

C_program_Cir_Link_List_Out

Draw ERD for Online Examination System – IGNOU MCA Assignment 2014 – 15

 MASTER OF COMPUTER APPLICATIONS
Course Code : MCS-014
Course Title : Systems Analysis and Design
Assignment Number : MCA(1)/014/Assign/13
Assignment 2013

ER Diagram

Notations for the components of ERD:

Entities: An entity is something about which the business needs to store data. An entity is a class of persons, places, objects, events or concepts about which we need to capture and store data. An entity instance is a single occurrence of an
entity.

Attribute: An attribute is a descriptive property or characteristic of an entity. Synonyms include element, property and field.A compound attribute is one that actually consists of other attributes. It is also known as a composite attribute. An attribute “Address” is the example of compound attribute as shown in the following illustration

Relationships: A relationship is a natural business association that exists between one or more entities. The relationship may represent an event that links the entities.

Cardinality: defines the minimum and maximum number of occurrences of one entity that may be related to a single occurrence of the other entity. Because all relationships are bidirectional, cardinality must be defined in both directions for every relationship.

Draw ERD for Online Examination System. Make necessary assumptions.

Figure:- ERD

ERD_Online_Examination

Draw DFD (Data Flow Diagram) to 2nd level for Online Examination System – IGNOU MCA Assignment 2014-15

 MASTER OF COMPUTER APPLICATIONS
Course Code : MCS-014
Course Title : Systems Analysis and Design
Assignment Number : MCA(1)/014/Assign/13
Assignment 2013

 

Data Flow Diagrams

A DFD can be categorized in the following forms:

Context diagram: An overview of an organizational system that shows the system boundaries, external entities that interact with the system and the major information flows between the entities and the system. In this diagram, a single process represents the whole system.

First level DFD: A data flow diagram that represents a system’s major processes, data flows, and data stores at a high level of detail.

Draw the DFDs upto 2nd level for Online Examination System.

Figure:- Level 0

DFD_Online_Examination_L0

 Figure:- Level 1

 

DFD_Online_Examination_L1

 Figure:- Level 2

 

DFD_Online_Examination_L2

Develop SRS for Online Examination System. SRS as per IEEE standard – IGNOU MCA Assignment 2014-15

 MASTER OF COMPUTER APPLICATIONS
Course Code : MCS-014
Course Title : Systems Analysis and Design
Assignment Number : MCA(1)/014/Assign/13
Assignment 2013

 

Develop SRS for Online Examination System. SRS should be as per IEEE standard SRS template. Make necessary assumptions.

 

Software Requirement Specification (SRS) for Online Examination

1. Introduction:

The following subsections of the SRS document provide an overview of the entire SRS.

i) Purpose: The purpose of the project is to provide online facility to Institutes to conduct online exams and to Students to give online exams. Institutes can enter and edit the questions along with the students list. Also they can view the result. Students can login and give their respective exams and view their score then and there. Others can view sample papers to get look and feel of the online examination system.

ii) Scope: The website to conduct online examination is “OnlineExamination”. This website provides facility to institutes to conduct online exams by providing a unique id to each institute. The institute provides questions along with positive and negative marks. Institute also enters the list of eligible students. All the information entered can be later edited by the institute.

In turn student can login with their id, name and instituteid to give the exams and can view their result then and there. Institutes can also view the result of their students.

Benefits: This website reduces the manual work, maintaining accuracy, increasing efficiency and saving time. Also institutes need not go to develop new software each time, instead they just register and conduct a test. For students, it saves time of going to far away centers and also they can view their result then and there.

iii) Abbreviations:

JSP stands for Java Server Pages

HTTP stands for HyperText Transfer Protocol

iv) References:

IEEE Recommended Practice for Software Requirements Specification- IEEE STD 830-1993.

v) Overview: The rest of this SRS document describes the various system requirements, interfaces, features and functionalities in detail.

2. Overall Description: In Online examination system institute can register to conduct an online test and view the records later. Students can give the test and their respective records, which include their marks for each test given by them, will be maintained separately. No student can take a particular exam more than once.

i.) Product

Perspective:

(i) User interfaces

The application will have a user friendly and menu based interface.

Following screens will be provided:

(ii) A login screen for entering the username, password will be provided. Access to different screens will be based upon the user.

(iii) There is a screen for displaying information regarding entries to be made by institutes.

(iv) There is a screen for displaying information regarding filling of exam details by institutes.

(v) There is a screen for displaying information regarding entering student list for the particular exam.

(vi) There is a screen for displaying information menu regarding what options the institutes will select while filling entries (entering questions, student list, deleting questions, entering exam details).

(vii) There is a screen for displaying exam details to the students when they are taking exams.

(viii) There is a screen for taking exam for the students.

(ix) There is a screen for displaying of results of students after taking the exam.

(x) Hardware interfaces

(i) Support for printer for printing results then and there.

(ii) Screen resolution of at least 800X600 is required for proper and complete viewing of screens. Higher resolution will be accepted.

(xi) Software interfaces

(i) Any windows based operating system.

(ii) MS Access 2000 as the DBMS-for database.

(iii) IDE (NET BEANS) for developing code.

(xii) Communications interfaces None

(xiii) Memory Constraints At least 512 MB RAM and 5 MB space on hard disk will be required for running the application.

(xv) Site Adaptation Requirements Web browser with cookies enabled.

ii.) Product Functions: The website will allow access only to authorised users with specific roles (Administrator- maintains the website, Institutes-Register to conduct the exams, Students-Give the exams online) A summary of the major functions that the website will perform:

a. Provide facility to institutes to register to conduct an online test.

b. Institutes can enter the number of questions, +ve, -ve marks, questions and answers and the list of eligible students.

c. Students can login and give the tests.

iii.) User Characteristics:

a. Educational level: Users should be comfortable with the English language.

b. Experience: Users should have prior information regarding the online examinations.

c. Skills: Users should have basic knowledge and should be comfortable using general purpose applications on computers.

iv.) Constraints:

* Since the DBMS being used is MS Access 2000, which is not a very popular DBMS, it will not be able to store a very huge number of records.

* Due to limited features of DBMS being used performance tuning features will not be applied to the queries and thus the system may become slow with the increase in number of records being stored.

* An extra security as SSL must be used to secure the marks details and other examination information.

v.) Assumptions: The examinations are all objective. Students can give each exam just once.

vi.) Apportioning of Requirements: The future versions of the website will be having a better database to handle larger number of records, in a more secure way.

Also separate profile will be maintained later for all students so that he can view all his previous test performances.

3. Specific Requirements: This section provides software requirements to a level of detail sufficient to enable designers to design the system and testers to test the system.

External Interface Requirements:

* User Interfaces:

*Institute Registration Screen: Various fields available on this screen will be:

*Login Name

*Institute Name

*Email Id

*Password

*Institute Login Screen: Fields available on this screen are:

*Login Name

*Password

*Entering Questions: Various Fields are:

*Questions

*Options (4)

*Correct Answer

*Exam Details Screen: Various Fields are:

*Exam Name

*No. Of Questions

*Time Limit

*+ve, -ve Marks

*Passing Marks

*Student List Screen: Various Fields are:

*Student ID

*Student Name

*Student Login Screen: Various Fields are:

*Student ID

*Student Name

*Institute ID

*Student Taking Exam Screen: Various Fields are:

*Display Of Question With Options

*Control Buttons To switch questions

*Result Displaying Screen: Various Fields are:

*No. Of Correct Questions

*No. Of Incorrect Questions

*No. Of Unattempted Questions.

*Total Marks.

*Result (Pass/Fail)

*Hardware interfaces:

*Support for printer for printing results then and there.

*Screen resolution of at least 800X600 is required for proper and complete viewing of screens. Higher resolution will be accepted.

*Software interfaces:

*Any windows based operating system.

*MS Access 2000 as the DBMS-for database.

*IDE (NET BEANS) for developing code.

*Communications interfaces

None

ii.) Software Product Features:

  • Validity Checks: JavaScript provides validity checks for various fields in the forms.
  •  Sequencing Information: All the information regarding exam details, student list, question details, display of result should be handled sequentially that is data should be stored only in a particular sequence to avoid any inconvenience
  •  Error Handling: If any of the validations or sequencing flows does not hold true then

appropriate error messages will be prompted to the user for doing the needful.

 

iii.) Performance Requirements: This subsection specifies numerical requirements placed on the software or on the human interaction with the software, as a whole. Numerical requirements will include:

*300 terminals will be supported at a time

*Only text information will be supported (HTTP)

*All the transactions will be processed within seconds.

iv.) Design Constraints: None

v.) Software System Attributes:

*Security: Only authorized users will be able to access the website by entering the correct login name and corresponding password.

*Maintainability: The website can be maintained in present or future. It will be easy to incorporate new requirements in the individual modules.

*Portability: As the website is online so will be easily portable on various systems.

The website will be also easily portable on any windows based system that has MSACCESS installed.

*Logical Database Requirements: The following information will be placed in the database:

*Organization Details: ID, Login Name, Email, Password, Institute Name.

*Institute Exam Details: ID, Ename, Tlimit, Passmarks, No. Of Questions,

Pmarks, Nmarks.

*Institute Student List: Sid, Sname, Egiven, Marks, Result.

*Institute Question Details: QID, Question, A, B, C, D, and Answer.

*Other Requirements: None

A C program to prompt user with option on menu at Post Office – IGNOU MCA Assignment 2014 – 15

BACHELOR OF COMPUTER APPLICATIONS
Course Code : BCSL-021
Course Title : C Language Programming
Assignment Number : BCA(II)/L-021/Assign/14-15
Maximum Marks : 50
Weightage : 25%

 

Write an interactive C program which prompts the user with the following options on the opening menu at any Post Office:

1) Information about the Post Office

2) Details of the Services at that Post Office

3) Rates- list for various services like Registered post, Parcels, Speed

Post, Money Order etc

4) Important Circulars / Notices for the information

5) Timings of the Post Office

6) Quit

Enter your choice:

If “1” is entered, should display the information about the Post Office.

If “2” is entered, it should give the details of all the services available at that Post Office.

If “3” is entered, it should display the list of rates for various services.

If “4” is entered important circulars, notices should be displayed.

If “5” is entered schedules/timings for the various services and also the working hours of the Post Office should be displayed.

If the user enters any letters or numbers other than the choice, redisplay the prompt. All outputs should go to the terminal and all input should come from the keyboard.

#include<stdio.h>
#include<dos.h>
void main()
{
int NUM;
struct date D;
clrscr();
getdate(&D);
START:
printf(“\n______________________________________________________________________”);
printf(“\n\t INDIAN POST “);
printf(“\n\t ministry of communication and information technoloy”);
printf(“\n______________________________________________________________________”);
printf(“\n\n POST OFFICE MALAD BRANCH “);
printf(“\t\t\tToday %d / %d / %d\n”,D.da_day,D.da_mon,D.da_year);
printf(“\n______________________________________________________________________”);
printf(“\n\n\t\tSELECT CHOICE\n”);
printf(“\n 1. Information about the Post Office\n”);
printf(“\n 2. Details of the Services at that Post Office\n”);
printf(“\n 3. Rates- list for various services\n”);
printf(“\n 4. Important Circulars / Notices for the information\n”);
printf(“\n 5. Timings of the Post Office\n”);
printf(“\n 6. Quit\n”);
printf(“______________________________________________________________________”);
printf(“\n\t\tENTER CHOICE HERE :”);
scanf(“%d”,&NUM);
switch(NUM)
{
case 1 : printf(“\n______________________________________________________________________”);
printf(“\n\t Information about the Post Office\n”);
printf(“\n______________________________________________________________________”);
printf(“\n\t For more than 150 years, the Department of Posts”);
printf(“\n\t (DoP) has been the backbone of the country’s”);
printf(“\n\t communication and has played a crucial role in”);
printf(“\n\t the country’s socio-economic development. “);
printf(“\n\t It touches the lives of Indian citizens in many”);
printf(“\n\t ways: delivering mails, accepting deposits under”);
printf(“\n\t Small Savings Schemes, providing life insurance”);
printf(“\n\t cover under Postal Life Insurance (PLI) and Rural”);
printf(“\n\t Postal Life Insurance (RPLI) and providing retail”);
printf(“\n\t services like bill collection, sale of forms, etc.”);
printf(“\n\t The DoP also acts as an agent for Government of India”);
printf(“\n\t in discharging other services for citizens such as”);
printf(“\n\t Mahatma Gandhi National Rural Employment Guarantee”);
printf(“\n\t Scheme (MGNREGS) wage disbursement and old age pension”);
printf(“\n\t payments. With 1,55,015 Post Offices, the DoP has the”);
printf(“\n\t most widely distributed postal network in the world.\n”);
printf(“______________________________________________________________________”);
break;
case 2 : printf(“\n______________________________________________________________________”);
printf(“\n\t Details of the Services at that Post Office\n”);
printf(“\n______________________________________________________________________”);
printf(“\n\t Registered post \n\t Parcels Speed Post \n\t Money Order”);
printf(“\n\t Stamps \n\t Postal RD and Savings \n\t Telephone Bill payment\n”);
printf(“\n______________________________________________________________________”);
break;
case 3 : printf(“\n______________________________________________________________________”);
printf(“\n\t Rates- list for various services\n”);
printf(“\n______________________________________________________________________”);
printf(“\n With the launch of the scheme ‘One India, One Rate’”);
printf(“\n People can send speed post at INR 35″);
printf(“\n (Previous Rate 25, Rates revised on Octomber 1, 2012 With new rate INR 35)”);
printf(“\n\n for all destinations across India, from Kashmir to Kanyakumari.”);
printf(“\n User can send Local Speed Post upto 50 grams at INR 15 + taxes. “);
printf(“\n\n Local Speed Post at INR 15 “);
printf(“\n ‘One India One Rate’ Speed Post at INR 35″);
printf(“\n\n Below are the Speed Post rates (Effective 1st Oct 2012)”);
printf(“\n______________________________________________________________________”);
printf(“\n Weight\t\t\tLocal upto200 201-1000 1001-2000 >2000 KM”);
printf(“\n______________________________________________________________________”);
printf(“\n\t\n Upto 50 Grams \tRs 15 Rs 35 Rs 35 Rs 35 Rs 35″);
printf(“\n\t\n 51 to 200 Grams Rs 25 Rs 35 Rs 40 Rs 60 Rs 70″);
printf(“\n\t\n 201 to 500 Grams Rs 30 Rs 50 Rs 60 Rs 80 Rs 90″);
printf(“\n\t\n Additional 1/2kg \tRs 10 Rs 15 Rs 30 Rs 40 Rs 50\n”);
printf(“\n______________________________________________________________________”);
break;
case 4 : printf(“\n______________________________________________________________________”);
printf(“\n\t Important Circulars / Notices for the information\n”);
printf(“\n______________________________________________________________________”);
printf(“\nAdmit cards for PM Grade I Departmental Examination scheduled to be held on 20.07.02014″);
printf(“\n\nTender for Empanelling fleet operators/Transport Service Providers for Logistics Post Services – CPMG, Tamilnadu Circle, and Chennai:-600002. (Tender ID: 2014_DOP_10361_1)”);
printf(“\n\nRecruitment of PA/SA, Postman & MTS in Karnataka Circle under Sports Quota”);
printf(“\n\nTender for Supply of 64 Small Form Factor Pluggable Transreceiver (SFP) – (Tender ID 2014_DOP_10321_1)”);
printf(“\n\nPrime Minister released commemorative postage stamps on 2014 FIFA World Cup\n”);
printf(“\n______________________________________________________________________”);
break;
case 5 : printf(“\n______________________________________________________________________”);
printf(“\n\t Timings of the Post Office\n”);
printf(“\n______________________________________________________________________”);
printf(“\n\nFor Reference and enquiries, sale of the postage stamps and stationery and grant of certificate of posting take place during the entire working hour of the office.”);
printf(“\n\nFor booking of registered and insured articles, including value payable articles parcels and telegraphic money orders. For about six to seven hours (On Saturdays usually for five hours stopping at 3 pm)”);
printf(“\n\nFor issue of money orders, sale and payments of postal orders, Savings Bank and Post Office Certificate transactions and payment of telephone bills. Etc. For about five hours (One Saturdays for three hours stopping at 1 p.m.) \n”);
printf(“\n______________________________________________________________________”);
break;

case 6 : printf(“READY TO QUIT !!!”);
goto EXIT;

default: goto START;
}
EXIT:
getch();
}

Program Code :

  1. #include<stdio.h>
  2. #include<dos.h>
  3. void main()
  4. {
  5. int NUM;
  6. struct date D;
  7. clrscr();
  8. getdate(&D);
  9. START:
  10. printf("\n______________________________________________________________________");
  11. printf("\n\t INDIAN POST ");
  12. printf("\n\t ministry of communication and information technoloy");
  13. printf("\n______________________________________________________________________");
  14. printf("\n\n POST OFFICE MALAD BRANCH ");
  15. printf("\t\t\tToday %d / %d / %d\n",D.da_day,D.da_mon,D.da_year);
  16. printf("\n______________________________________________________________________");
  17. printf("\n\n\t\tSELECT CHOICE\n");
  18. printf("\n 1. Information about the Post Office\n");
  19. printf("\n 2. Details of the Services at that Post Office\n");
  20. printf("\n 3. Rates- list for various services\n");
  21. printf("\n 4. Important Circulars / Notices for the information\n");
  22. printf("\n 5. Timings of the Post Office\n");
  23. printf("\n 6. Quit\n");
  24. printf("______________________________________________________________________");
  25. printf("\n\t\tENTER CHOICE HERE :");
  26. scanf("%d",&NUM);
  27. switch(NUM)
  28. {
  29. case 1 : printf("\n______________________________________________________________________");
  30. printf("\n\t Information about the Post Office\n");
  31. printf("\n______________________________________________________________________");
  32. printf("\n\t For more than 150 years, the Department of Posts");
  33. printf("\n\t (DoP) has been the backbone of the country's");
  34. printf("\n\t communication and has played a crucial role in");
  35. printf("\n\t the country’s socio-economic development. ");
  36. printf("\n\t It touches the lives of Indian citizens in many");
  37. printf("\n\t ways: delivering mails, accepting deposits under");
  38. printf("\n\t Small Savings Schemes, providing life insurance");
  39. printf("\n\t cover under Postal Life Insurance (PLI) and Rural");
  40. printf("\n\t Postal Life Insurance (RPLI) and providing retail");
  41. printf("\n\t services like bill collection, sale of forms, etc.");
  42. printf("\n\t The DoP also acts as an agent for Government of India");
  43. printf("\n\t in discharging other services for citizens such as");
  44. printf("\n\t Mahatma Gandhi National Rural Employment Guarantee");
  45. printf("\n\t Scheme (MGNREGS) wage disbursement and old age pension");
  46. printf("\n\t payments. With 1,55,015 Post Offices, the DoP has the");
  47. printf("\n\t most widely distributed postal network in the world.\n");
  48. printf("______________________________________________________________________");
  49. break;
  50. case 2 : printf("\n______________________________________________________________________");
  51. printf("\n\t Details of the Services at that Post Office\n");
  52. printf("\n______________________________________________________________________");
  53. printf("\n\t Registered post \n\t Parcels Speed Post \n\t Money Order");
  54. printf("\n\t Stamps \n\t Postal RD and Savings \n\t Telephone Bill payment\n");
  55. printf("\n______________________________________________________________________");
  56. break;
  57. case 3 : printf("\n______________________________________________________________________");
  58. printf("\n\t Rates- list for various services\n");
  59. printf("\n______________________________________________________________________");
  60. printf("\n With the launch of the scheme 'One India, One Rate'");
  61. printf("\n People can send speed post at INR 35");
  62. printf("\n (Previous Rate 25, Rates revised on Octomber 1, 2012 With new rate INR 35)");
  63. printf("\n\n for all destinations across India, from Kashmir to Kanyakumari.");
  64. printf("\n User can send Local Speed Post upto 50 grams at INR 15 + taxes. ");
  65. printf("\n\n Local Speed Post at INR 15 ");
  66. printf("\n 'One India One Rate' Speed Post at INR 35");
  67. printf("\n\n Below are the Speed Post rates (Effective 1st Oct 2012)");
  68. printf("\n______________________________________________________________________");
  69. printf("\n Weight\t\t\tLocal upto200 201-1000 1001-2000 >2000 KM");
  70. printf("\n______________________________________________________________________");
  71. printf("\n\t\n Upto 50 Grams \tRs 15 Rs 35 Rs 35 Rs 35 Rs 35");
  72. printf("\n\t\n 51 to 200 Grams Rs 25 Rs 35 Rs 40 Rs 60 Rs 70");
  73. printf("\n\t\n 201 to 500 Grams Rs 30 Rs 50 Rs 60 Rs 80 Rs 90");
  74. printf("\n\t\n Additional 1/2kg \tRs 10 Rs 15 Rs 30 Rs 40 Rs 50\n");
  75. printf("\n______________________________________________________________________");
  76. break;
  77. case 4 : printf("\n______________________________________________________________________");
  78. printf("\n\t Important Circulars / Notices for the information\n");
  79. printf("\n______________________________________________________________________");
  80. printf("\nAdmit cards for PM Grade I Departmental Examination scheduled to be held on 20.07.02014");
  81. printf("\n\nTender for Empanelling fleet operators/Transport Service Providers for Logistics Post Services - CPMG, Tamilnadu Circle, and Chennai:-600002. (Tender ID: 2014_DOP_10361_1)");
  82. printf("\n\nRecruitment of PA/SA, Postman & MTS in Karnataka Circle under Sports Quota");
  83. printf("\n\nTender for Supply of 64 Small Form Factor Pluggable Transreceiver (SFP) - (Tender ID 2014_DOP_10321_1)");
  84. printf("\n\nPrime Minister released commemorative postage stamps on 2014 FIFA World Cup\n");
  85. printf("\n______________________________________________________________________");
  86. break;
  87. case 5 : printf("\n______________________________________________________________________");
  88. printf("\n\t Timings of the Post Office\n");
  89. printf("\n______________________________________________________________________");
  90. printf("\n\nFor Reference and enquiries, sale of the postage stamps and stationery and grant of certificate of posting take place during the entire working hour of the office.");
  91. printf("\n\nFor booking of registered and insured articles, including value payable articles parcels and telegraphic money orders. For about six to seven hours (On Saturdays usually for five hours stopping at 3 pm)");
  92. printf("\n\nFor issue of money orders, sale and payments of postal orders, Savings Bank and Post Office Certificate transactions and payment of telephone bills. Etc. For about five hours (One Saturdays for three hours stopping at 1 p.m.) \n");
  93. printf("\n______________________________________________________________________");
  94. break;
  95. case 6 : printf("READY TO QUIT !!!");
  96. goto EXIT;
  97. default: goto START;
  98. }
  99. EXIT:
  100. getch();
  101. }

Screen shots :-

C_program_Post_Office

After Execution :-

C_program_Post_Office_Out1

 

C_program_Post_Office_Out2

An Assembly language program convert 2 digit ASCII to binary – IGNOU MCA Assignment 2014 – 15

BACHELOR OF COMPUTER APPLICATIONS
Course Code : BCSL-022
Course Title : Assembly Language Programming Lab
Assignment Number : BCA(II)/BCSL022/Assign/14-15
Maximum Marks : 50
Weightage : 25%

 

Write and run an assembly language program that accepts a two digit input from the keyboard, and convert this two digit ASCII to equivalent binary value. The output should be stored in the AL register.

 

DATA SEGMENT
MSG DB 10,13,’ENTER 2 DIGIT NUMBER : $’
ASC1 DB ?
ASC2 DB ?
BIN DB ?
DATA ENDS

CODE SEGMENT
ASSUME DS:DATA,CS:CODE
START:
MOV AX,DATA
MOV DS,AX

LEA DX,MSG
MOV AH,9H
INT 21H

MOV AH,1
INT 21H
MOV ASC1,AL
SUB AL,30H
MOV BL,AL

MOV AH,1
INT 21H
MOV ASC2,AL
SUB AL,30H

MOV CL,04H
ROL BL,CL
OR AL,BL

MOV BIN,AL

MOV AH,4CH
INT 21H
CODE ENDS

END START

Program Code :

  1. DATA SEGMENT
  2. MSG DB 10,13,'ENTER 2 DIGIT NUMBER : $'
  3. ASC1 DB ?
  4. ASC2 DB ?
  5. BIN DB ?
  6. DATA ENDS
  7. CODE SEGMENT
  8. ASSUME DS:DATA,CS:CODE
  9. START:
  10. MOV AX,DATA
  11. MOV DS,AX
  12. LEA DX,MSG
  13. MOV AH,9H
  14. INT 21H
  15. MOV AH,1
  16. INT 21H
  17. MOV ASC1,AL
  18. SUB AL,30H
  19. MOV BL,AL
  20. MOV AH,1
  21. INT 21H
  22. MOV ASC2,AL
  23. SUB AL,30H
  24. MOV CL,04H
  25. ROL BL,CL
  26. OR AL,BL
  27. MOV BIN,AL
  28. MOV AH,4CH
  29. INT 21H
  30. CODE ENDS
  31. END START

Screen shots :-

 Asm_program_Ascii _2digit_To_Binary

Before Execution :-

 Asm_program_Ascii _2digit_To_Binary_v1

After Execution :-

Asm_program_Ascii _2digit_To_Binary_v2