<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5178717361846938184</id><updated>2026-01-16T17:14:26.906+05:30</updated><category term="BBA"/><category term="High School"/><category term="Computer Concept"/><category term="Bachelor"/><category term="Basic Computer Concept"/><category term="Programming"/><category term="Networking"/><category term="Class 11"/><category term="Classification of Computers"/><category term="E-Mail"/><category term="Internet"/><category term="Object Oriented Programming"/><category term="Syllabus"/><category term="IX"/><category term="Types of Computer"/><title type='text'>The Study Guru</title><subtitle type='html'>The Study Guru Blog is a site that features the stories you likely won&#39;t find in any other sites or headlines. We welcome you to join us daily as we attempt to guide your intelligence as being a &quot;GURU&quot;. Study is must; we treat them as such.You will find the best in it.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>62</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-4164827581286388486</id><published>2011-07-14T20:26:00.002+05:30</published><updated>2011-07-14T20:26:40.832+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Syllabus"/><title type='text'>Business Mathematics II : Syllabus For BBA</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 481.95pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;MTH 102.3 (Credit hours 3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 481.95pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 481.95pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;Business Mathematics II&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeading7&quot; style=&quot;tab-stops: right 6.3in 481.95pt;&quot;&gt;&lt;span style=&quot;font-size: 10.0pt;&quot;&gt;BBA, First Year, Second Semester&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 481.95pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 481.95pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Course Objectives:&lt;/span&gt;&lt;/b&gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: 18.4pt right 6.3in 481.95pt; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;This Course aims to provide students with a sound understanding of calculus and linear algebra for business &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: 18.4pt right 6.0in; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;decisions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 470.35pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 470.35pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Course Contents:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 470.35pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Module I&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in left 5.0in right 494.5pt; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-size: 12.0pt;&quot;&gt;Applications of Derivatives&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt; 5 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyTextIndent2&quot; style=&quot;tab-stops: 17.25pt right 470.35pt;&quot;&gt;Revenue, Cost and Profit Applications, Marginal approach to profit maximization, Elasticity, Market model&lt;/div&gt;&lt;div class=&quot;MsoBodyTextIndent2&quot; style=&quot;margin-left: 0in; tab-stops: 17.25pt right 470.35pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in left 5.0in right 494.5pt; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-style: italic;&quot;&gt;Functions of Several&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Variables&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;6 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyTextIndent2&quot; style=&quot;margin-left: 0in; tab-stops: 17.25pt right 470.35pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Functions of variables, Partial derivatives, Partial and total differentials, Higher order differentials&lt;/div&gt;&lt;div class=&quot;MsoBodyTextIndent2&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt right 470.35pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in left 5.0in right 494.5pt; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-style: italic;&quot;&gt;Optimization:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt; &lt;span style=&quot;mso-bidi-font-style: italic;&quot;&gt;Functions of Several&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Variables&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-weight: bold;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt right 470.35pt; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Maxima and minima of functions of several variables, Lagrange multiplier and constrained optimization, &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt right 470.35pt; text-align: justify;&quot;&gt;Competitive equilibrium of a firm, Monopoly price and output, Discriminating monopolists&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt right 470.35pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in left 5.0in right 6.9in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-size: 12.0pt;&quot;&gt;Integration and its Applications&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyTextIndent2&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt right 481.95pt;&quot;&gt;Indefinite integrals, Techniques of integration, Definite integrals, Improper integrals, Applications, &lt;/div&gt;&lt;div class=&quot;MsoBodyTextIndent2&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt right 481.95pt;&quot;&gt;Ordinary differential equations&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 17.25pt 5.0in 434.7pt right 481.95pt; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;6.&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-bidi-font-style: italic;&quot;&gt;Series&lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt; 4 hours&lt;span style=&quot;mso-bidi-font-weight: bold;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt; text-align: justify;&quot;&gt;Series; geometric series, &lt;st1:city w:st=&quot;on&quot;&gt;&lt;st1:place w:st=&quot;on&quot;&gt;Taylor&lt;/st1:place&gt;&lt;/st1:city&gt; series&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 17.25pt 5.0in 433.55pt right 481.95pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;7.&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Vector&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 17.25pt 433.55pt right 481.95pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Vector; vector spaces, Linear dependence, Basis&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 17.25pt 433.55pt right 481.95pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 17.25pt 5.0in 433.55pt right 481.95pt; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;8.&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-size: 12.0pt;&quot;&gt;Matrices and Determinant&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;11 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt; text-align: justify;&quot;&gt;Types of matrices, Matrix operations, Matrix representation of equations, Determinant, Inverse of a matrix, Cramer’s rule, Applications of matrix algebra, Input Output model.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/4164827581286388486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/business-mathematics-ii-syllabus-for.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/4164827581286388486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/4164827581286388486'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/business-mathematics-ii-syllabus-for.html' title='Business Mathematics II : Syllabus For BBA'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-3001291505012831936</id><published>2011-07-14T20:25:00.000+05:30</published><updated>2011-07-14T20:25:16.956+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Syllabus"/><title type='text'>Programming Language : Syllabus For BBA</title><content type='html'>&lt;h1 style=&quot;tab-stops: right 481.95pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;CMP 103.3 (Credit hours 3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h1 align=&quot;center&quot; style=&quot;tab-stops: right 481.95pt; text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Programming Language &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h1&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt; text-align: center;&quot;&gt;BBA, First Year, Second Semester&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Course Objectives:&lt;/span&gt;&lt;/b&gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 20.7pt; tab-stops: 20.7pt right 481.95pt; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;This course aims to introduce students to the imperative programming principles and acquaint them with the C programming language. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: 16.1pt right 481.95pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 470.35pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Course Contents:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 470.35pt; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Module I&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;h5 style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in left 5.0in right 494.5pt; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt;&quot;&gt;Historical Development&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div class=&quot;MsoBodyTextIndent3&quot; style=&quot;tab-stops: right 470.35pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 10.0pt;&quot;&gt;History of computing and computers, Types of computers (analog and digital), Generations of computers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyTextIndent3&quot; style=&quot;tab-stops: right 470.35pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 21.45pt; mso-list: l1 level1 lfo2; tab-stops: list 19.55pt 21.45pt left 5.0in right 494.5pt; text-align: justify; text-indent: -16.85pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Introduction to Computer Systems&lt;span style=&quot;mso-bidi-font-weight: bold;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; tab-stops: right 6.0in; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Fundamental concepts of computer, Memory, hardware, software and firmware, Block diagram of digital&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; tab-stops: right 470.35pt; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;computer, Computer peripherals&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; tab-stops: right 470.35pt; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 21.45pt; mso-list: l1 level1 lfo2; tab-stops: list 18.4pt 21.45pt left 351.0pt right 6.0in; text-align: justify; text-indent: -16.85pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Programming Preliminaries&lt;span style=&quot;mso-bidi-font-weight: bold;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; tab-stops: right 6.0in 470.35pt; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Introduction to program and programming language, Types of programming language, Generations of &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; tab-stops: right 6.0in 470.35pt; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;programming languages, Program design methodology, Software development: Stages of software development, Text editor; Assembler, Compiler, Interpreter, Algorithms, Flowcharts, Pseudo codes, ASCII&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; tab-stops: right 6.0in 470.35pt; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 21.45pt; mso-list: l1 level1 lfo2; tab-stops: list 18.4pt 21.45pt left 351.0pt right 6.0in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Introduction to C&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyTextIndent3&quot; style=&quot;tab-stops: right 6.0in 470.35pt; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;span style=&quot;font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;C Basics; variables and constants, The simple data types in C. Operators, Header files, Input and Output statement: Unformatted I/O, Formatted I/O, Type conversion, Loops and Decisions (For loop, while loop, Do while loop, Nested loop Case-break and continue statements, If Else, Else-If and Switch statements), Functions (Variables, Returning a value from a function, Sending a value to a function, Arguments, Preprocessor directives, C libraries, Macros, Header files and proto typing), Recursion&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyTextIndent3&quot; style=&quot;tab-stops: right 6.0in 470.35pt; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; mso-list: l1 level1 lfo2; tab-stops: list 17.25pt 21.45pt left 5.0in right 6.0in; text-align: justify; text-indent: -17.25pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;5.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Arrays and Strings&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: list 17.25pt right 6.0in; text-align: justify; text-indent: -1.15pt;&quot;&gt;Initializing arrays, Multidimensional arrays, String; functions related to the string&lt;/div&gt;&lt;div class=&quot;MsoBodyTextIndent3&quot; style=&quot;margin-left: 18.4pt; tab-stops: list 17.25pt right 6.0in 470.35pt; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; mso-list: l1 level1 lfo2; tab-stops: list 17.25pt 21.45pt left 5.0in right 6.0in; text-align: justify; text-indent: -16.1pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;6.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Structures and Unions&lt;span style=&quot;mso-bidi-font-weight: bold;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: list 17.25pt right 6.0in; text-align: justify;&quot;&gt;Initializing structures, Nested type structure, Arrays and structures, Unions&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: list 17.25pt right 6.0in; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: list 17.25pt left 19.55pt 5.0in right 6.0in; text-align: justify; text-indent: -16.1pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;7.&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;Pointers&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: list 17.25pt left 20.7pt right 6.0in; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Pointer data type, Pointers and Arrays, Pointers and Functions, Pointers and Structures&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: list 17.25pt left 20.7pt right 6.0in; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: list 17.25pt left 20.7pt 5.0in right 6.0in; text-align: justify; text-indent: -16.1pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;8.&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;Files and File handling&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: list 17.25pt left 20.7pt right 6.0in; text-align: justify; text-indent: -34.85pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;Opening and creating a file in different modes (Read, Write and Append)&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/3001291505012831936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/programming-language-syllabus-for-bba.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/3001291505012831936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/3001291505012831936'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/programming-language-syllabus-for-bba.html' title='Programming Language : Syllabus For BBA'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-3871525448536860250</id><published>2011-07-14T20:21:00.002+05:30</published><updated>2011-07-14T20:21:38.582+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Syllabus"/><title type='text'>Financial Accounting II : Syllabus For BBA</title><content type='html'>&lt;h1 style=&quot;tab-stops: right 418.2pt 499.2pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;ACC 102.3 (Credit hours 3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h1&gt;&lt;h1 style=&quot;tab-stops: right 499.2pt;&quot;&gt;&lt;span style=&quot;font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;center&quot; style=&quot;tab-stops: right 499.2pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Financial Accounting II&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h1&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 499.2pt; text-align: center;&quot;&gt;BBA, First Year, Second Semester&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 499.2pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoHeading9&quot; style=&quot;margin-left: 1.15pt; text-indent: 1.15pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt;&quot;&gt;Course Objective&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;This course aims to equip students with the knowledge and skill in handling financial accounting system. Specifically it aims to acquaint students with the &lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Recording,      accounting, valuation and disclosure in the financial statements of the      inventories and the cost of goods sold;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Accounting and      disclosure of cash, cash equivalents and receivables;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Accounting and      disclosure of non-current assets and liabilities;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Accounting and      disclosure of current liabilities; and&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Accounting and      presentation of owners&#39; equity and dividends.&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Course Contents: &lt;span style=&quot;mso-tab-count: 10;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.15pt; tab-stops: 17.25pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;1. &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Accounting for Inventories and Cost of Goods Sold&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 4;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-weight: bold;&quot;&gt;8 hours&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: 18.4pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;The nature of inventory; cost of goods sold model; inventory valuation and income measurement; inventory costing methods; choice of a method; methods of inventory estimation; effect of inventory valuation method on the cost of goods sold; disclosure in the financial statements.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.15pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoHeading8&quot; style=&quot;margin-left: 1.15pt; tab-stops: 17.25pt right 396.9pt; text-indent: -1.15pt;&quot;&gt;&lt;span style=&quot;font-size: 10.0pt;&quot;&gt;2. &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Accounting for Cash, Cash Equivalent and Receivables&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;8 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 16.1pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Cash and cash equivalent: components of cash and cash equivalents; preparation of the bank reconciliation statement and the need for adjustments to accounting records; petty cash, balance sheet presentation cash and cash equivalent; accounts receivable: valuation of accounts receivables, methods to account for uncollectible amount, balance sheet presentation; notes receivable: interest bearing notes, non-interest bearing notes, presentation of the notes receivable and related aspects in the financial statements.&lt;/div&gt;&lt;div class=&quot;MsoHeading8&quot; style=&quot;margin-left: 1.15pt; text-indent: -1.15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 17.25pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;b&gt;3 &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Accounting for Non-current Assets&lt;span style=&quot;mso-tab-count: 6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;11 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;Concepts of capital, revenue and deferred revenue expenditure; types of operating assets; acquisition of operating assets and the capitalization process; depreciation: concepts, methods and accounting( straight line and diminishing balance method including accelerated depreciation method), disposal of assets and accounting for gains and loses; disclosure in the financial statements.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoHeading8&quot; style=&quot;margin-left: 0in; tab-stops: 17.25pt right 396.9pt; text-indent: -1.15pt;&quot;&gt;&lt;span style=&quot;font-size: 10.0pt;&quot;&gt;4 &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Accounting for current Liabilities&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 18.4pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Accounts payable; notes payable and other current liabilities; balance sheet presentation.&lt;/div&gt;&lt;div class=&quot;MsoHeading8&quot; style=&quot;margin-left: 0in; text-indent: -1.15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 18.4pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;b&gt;5 &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Accounting for Non-current liabilities&lt;span style=&quot;mso-tab-count: 5;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;9 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.4pt; tab-stops: 18.4pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;Bonds payable: issuance of bonds, characteristics of bonds, factors affecting bond price, premium or discount on issuance of bonds, bond amortization, redemption of bonds, disclosure in financial statements. Accounting for leases: Operating and financial lease; balance sheet of presentation&lt;/div&gt;&lt;div class=&quot;MsoHeading8&quot; style=&quot;margin-left: 0in; text-indent: -1.15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoHeading8&quot; style=&quot;margin-left: 0in; tab-stops: 18.4pt right 396.9pt; text-indent: -1.15pt;&quot;&gt;&lt;span style=&quot;font-size: 10.0pt;&quot;&gt;6 &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Accounting for Stockholders&#39; Equity and Dividends&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Stockholders&#39; Equity: components of the stockholders&#39; equity section of the balance sheet; stocks: types of stock, issuance of stock, stock issued for cash and non-cash consideration and on a subscription basis, treasury stock, retirement of a stock; presentation in the financial statements; dividends: meaning and types of dividend-cash dividend, cash dividend for ordinary stock and preferred stock; stock dividend and stock split, disclosure in financial statements.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 17.25pt; tab-stops: 17.25pt; text-align: justify; text-indent: -1.15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/3871525448536860250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/financial-accounting-ii-syllabus-for.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/3871525448536860250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/3871525448536860250'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/financial-accounting-ii-syllabus-for.html' title='Financial Accounting II : Syllabus For BBA'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-5956871346107448514</id><published>2011-07-14T20:17:00.000+05:30</published><updated>2011-07-14T20:17:12.335+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Syllabus"/><title type='text'>English II : Syllabus for BBA</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h1 style=&quot;tab-stops: right 481.95pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;ENG 102.3 (Credit hours 3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h1&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;b&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h1 align=&quot;center&quot; style=&quot;tab-stops: right 481.95pt; text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;English II&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h1&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt; text-align: center;&quot;&gt;BBA, First Year, Second Semester&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Course Objectives:&lt;/span&gt;&lt;/b&gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 21.3pt; tab-stops: right 481.95pt; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;This course aims to develop writing skills in the students. If functions as a mini-rhetoric offering extensive advice on planning, writing and revising, including brainstorming, clustering, journal writing, and editing, The course introduces students to the various modes of writing and with enough examples it teaches how to distinguish between the various modes and comprehend an essay&#39;s Content, understand the writer&#39;s purpose and audience, recognize the stylistic and structural techniques used to shape the essay, and their sensitivity to the nuances of word choice and figurative language, In addition, there are ample &quot;Writing Assignments&quot; and &quot;Collaborative Writing Activity&quot; for the students to apply what they have learnt&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 481.95pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Course Contents:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;h5 style=&quot;tab-stops: 5.0in right 411.1pt left 433.55pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Module I&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;16 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Introduction &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;st1:city w:st=&quot;on&quot;&gt;&lt;st1:place w:st=&quot;on&quot;&gt;&lt;span style=&quot;color: black; mso-bidi-font-weight: bold;&quot;&gt;Reading&lt;/span&gt;&lt;/st1:place&gt;&lt;/st1:city&gt;&lt;span style=&quot;color: black; mso-bidi-font-weight: bold;&quot;&gt; to Write&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;The Writing Process &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; mso-bidi-font-weight: bold;&quot;&gt;Invention, Arrangement, Drafting and Revision&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Narration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Sandra Sisneros, Only Daughter; Donna Smith-Yackel, My Mother Never Worked&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Description&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Mark Twain, Reading the River; N. Scott Momaday, The Way to Rainy Mountain&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;h6&gt;&lt;o:p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/h6&gt;&lt;h5 style=&quot;tab-stops: 5.25in right 411.1pt left 439.3pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Module II&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;16 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;5.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Exemplification&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Robert M. Linlinfeld and William L. Rahje, Six Enviro-Myths&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Richard Leaderer, English is a Crazy Language&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;6.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Process&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Alexander Petrunkevitch, The Spider and the Wasp; Larry Brown, On Fire&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in left 439.3pt; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;7.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Cause and Effect&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Norman Cousins, Who Killed Benny Paret?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Marie Winn, Television: The Plug-In Drug&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;8.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Comparison and Contrast&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Bruce Catton, grant and Lee&quot; A Study in Contrast&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Deborah Tannen. Sex, Lies, and Conversation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;9.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Classification and Division&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Allen Pace Nilsen, Sexism in English: A 1990s Update&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Stephanie Ericsson, The Way We Lie&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoHeading7&quot; style=&quot;tab-stops: 387.0pt; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Module III&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;10.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Definition&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Judy Brady: I Want a Wife&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Burno Bettelheim. The Holocaust&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;11.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Argumentation &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black; mso-bidi-font-weight: bold;&quot;&gt;Structuring an Argumentative Essay&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Tomas Jefferson, The Declaration of &lt;st1:city w:st=&quot;on&quot;&gt;&lt;st1:place w:st=&quot;on&quot;&gt;Independence&lt;/st1:place&gt;&lt;/st1:city&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Debate Casebook: Multicultural Education&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;12.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Combining the patterns&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .25in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Lars Eighner, On Dumpster Diving&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; mso-list: l0 level1 lfo1; tab-stops: list .25in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;13.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Using and Documenting Sources&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Paraphourasing, Summarizing, and Using Quotations, Avoiding Plagiarism, Using APA Style to Cite and Document Sources&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/5956871346107448514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/english-ii-syllabus-for-bba.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/5956871346107448514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/5956871346107448514'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/english-ii-syllabus-for-bba.html' title='English II : Syllabus for BBA'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-6287168996093189079</id><published>2011-07-14T20:15:00.000+05:30</published><updated>2011-07-14T20:15:25.782+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Syllabus"/><title type='text'>Microeconomics: Syllabus for BBA</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 481.95pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;ECO 101 (Credit hours 3) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 481.95pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 481.95pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;Microeconomics&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeading7&quot; style=&quot;tab-stops: right 6.3in 481.95pt;&quot;&gt;&lt;span style=&quot;font-size: 10.0pt;&quot;&gt;BBA, First Year, Second Semester&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 6.3in 481.95pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoHeading9&quot; style=&quot;margin-left: -2.3pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt;&quot;&gt;Course Objective&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 14.95pt; tab-stops: 14.95pt;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;The courses aims to acquaint students the basic fundamentals of micro economic theory. It enhances the skills of the students in tabular and graphic interpretation of the economic concepts with respect to business decisions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: -2.3pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: -2.3pt;&quot;&gt;&lt;b&gt;Course Content&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; mso-list: l0 level1 lfo1; tab-stops: 17.25pt 5.0in; text-indent: -18.4pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Introduction&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Introduction to economic theory: Problem of scarcity, Introduction to microeconomics and macroeconomics, Function of microeconomic theory, Comparative statics and dynamics, Positive and normative economics&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h6 style=&quot;margin-left: 16.1pt; mso-list: l0 level1 lfo1; tab-stops: 17.25pt 5.0in right 411.1pt; text-indent: -18.4pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt;&quot;&gt;Demand, Supply and Equilibrium&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h6&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Meaning and Concept of Demand, Individual demand (Law of demand and Demand curve), Market demand curve, Meaning and Concept of Supply, Individual supply (Law of Supply and Supply Curve), Market supply curve, Shifts in demand and supply curves and the changes in equilibrium&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h6 style=&quot;margin-left: 16.1pt; mso-list: l0 level1 lfo1; tab-stops: 17.25pt 5.0in right 411.1pt; text-indent: -18.4pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt;&quot;&gt;Measurement of Elasticities&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h6&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Price elasticities of demand, Arc and point elasticity, Total expenditure (revenue) and elasticity, Income elasticity, cross elasticity and price elasticity of supply.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h6 style=&quot;margin-left: 16.1pt; mso-list: l0 level1 lfo1; tab-stops: 17.25pt 5.0in right 411.1pt; text-indent: -18.4pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt;&quot;&gt;Consumer Demand Theory&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h6&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Cardinal approach of utility, Consumer equilibrium, Ordinal approach of utility, Indifference curve, Marginal rate of substitution, budget line, consumer equilibrium, income consumption curve, price consumption curve, Separation of substitution and income effect from price effect for normal, inferior and Giffen good&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; mso-list: l0 level1 lfo1; tab-stops: 17.25pt 5.0in; text-indent: -18.4pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;5.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Theory of Production&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Production function, Production with one variable input: total, average and marginal product, Law of diminishing marginal returns, Production function with two variable inputs: Isoquants, marginal rate of technical substitution, Law of returns to scale, Isocost lines, Optimum Combination of inputs, Expansion path&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h6 style=&quot;margin-left: 16.1pt; mso-list: l0 level1 lfo1; tab-stops: 17.25pt 5.0in right 411.1pt; text-indent: -18.4pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;6.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt;&quot;&gt;Costs of Production&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h6&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Short-run total, average and marginal cost curves, Geometry (shape) of short-run cost curves with their relationships, Long-run average and marginal cost curves: derivations and their shapes&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h6 style=&quot;margin-left: 16.1pt; mso-list: l0 level1 lfo1; tab-stops: 17.25pt 5.0in right 411.1pt; text-indent: -18.4pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;7.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt;&quot;&gt;Concept of Revenue Curves&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h6&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Nature of revenue curves in various markets, Total, average and marginal revenue curves, Relationship between average and marginal revenue curves in different market situations&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; mso-list: l0 level1 lfo1; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;8.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Product Pricing&lt;span style=&quot;mso-tab-count: 8;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Perfect competition; pricing under perfect competition; equilibrium in short run and long run, Monopoly; pricing under monopoly, short and long period, Monopolistic competition; pricing under monopolistic competition; short and long period, Comparison among various market structures&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h6 style=&quot;margin-left: 16.1pt; mso-list: l0 level1 lfo1; tab-stops: 17.25pt 5.0in right 411.1pt; text-indent: -18.4pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;9.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt;&quot;&gt;Theory of Factor Pricing&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h6&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 16.1pt; tab-stops: 17.25pt; text-indent: -18.4pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Factor pricing in perfectly competitive markets, factor pricing in imperfectly competitive markets, Bilateral monopoly&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/6287168996093189079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/microeconomics-syllabus-for-bba.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/6287168996093189079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/6287168996093189079'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/microeconomics-syllabus-for-bba.html' title='Microeconomics: Syllabus for BBA'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-371435955765567154</id><published>2011-07-14T18:01:00.001+05:30</published><updated>2011-07-14T18:02:07.979+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="Basic Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Class 11"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><title type='text'>Unicode vs ASCII</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;txtcolor&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2266bb; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Unicode vs ASCII&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Unicode and ASCII both are standards for encoding texts. Uses of such standards are very much important all around the world. Code or standard provides unique number for every symbol no matter which language or program is being used. From big corporation to individual software developers, Unicode and ASCII have significant influence.&amp;nbsp;Communication&amp;nbsp;between different regions in the world was difficult but this was needed in every time. Recent easiness in communication and development of a unique platform for all people in the world is the result of inventing some universal encoding system.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Unicode&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Development of Unicode was coordinated by a non-profit organization Unicode Consortium. Unicode is most compatible with different language like Java, XML, Microsoft .Net etc. Symbolic figure or glyptic art are greatly available due to modification of character shape which is done using some mechanism adopted by Unicode. Invention of Unicode has brought major renovation in texture, graphics, themes etc. Natural numbers or&amp;nbsp;electrical&amp;nbsp;pulse is used to convert a text or picture and they are easy to transmit through different networks.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• Recent version of Unicode consist more than 109000&amp;nbsp;characters, charts for visual reference, encoding methodology, standard for encoding, collation, two-way display, depicting etc.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• UTF-8 is one of the widely used encodings.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• Unicode consortium consists of world leading software and hardware companies like Apple, Microsoft, Sun Microsystems, Yahoo, IBM, Google Oracle Corporation.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• First book was published by the consortium in 1991 and latest Unicode 6.0 published in 2010.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;ASCII&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Short form of American Standard Code for Information Interchange is ASCII. Encoding of that system is based on ordering the English alphabet. All modern data encoding machines support ASCII as well as other. ASCII was first used by Bell data services as a seven bit Tele-printer. Use of binary system had brought tremendous change in our personal computing. Personal Computer as we see now is the boon of using binary language which was used as core things for encoding and decoding. Various languages later created and adopted are based on it. As binary system makes the PC more comfortable and user friendly for all, similarly ASCII is being used for making easiness in communicating. 33 characters are non-printing, 94 printing characters and space altogether makes 128 characters which are used by ASCII.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• It allows 128 characters.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• WWW or World Wide Web used ASCII as character encoding system but now ASCII is superseded by UTF-8.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• Short passage was encoded by early ASCII.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• ASCII-code order is different from traditional alphabetical order&lt;/span&gt;.&lt;/div&gt;&lt;table align=&quot;center&quot; border=&quot;1&quot; class=&quot;aligncenter&quot; style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: initial; background-clip: initial; background-color: #ebe9eb; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(123, 114, 192); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-color: initial; border-left-color: rgb(123, 114, 192); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(123, 114, 192); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(123, 114, 192); border-top-style: solid; border-top-width: 1px; display: block; font-size: 13px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 575px;&quot;&gt;&lt;tbody style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
&lt;tr style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Difference between Unicode and ASCII&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;• Unicode is an expedition of Unicode Consortium to encode every possible languages but ASCII only used for frequent American English encoding. For example, ASCII does not use symbol of pound or umlaut.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;• Unicode require more space than ASCII.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;• Unicode use 8, 16 or 32 bit characters based on different presentation while ASCII is seven-bit encoding formula.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;• Many software and email can’t understand few Unicode character set.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;• ASCII only supports 128 characters while Unicode supports much more characters.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Though different variations appear among Unicode and ASCII but both are very much essential in development of web based communication.&lt;/div&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/371435955765567154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/unicode-vs-ascii.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/371435955765567154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/371435955765567154'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/unicode-vs-ascii.html' title='Unicode vs ASCII'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-4885815771513550848</id><published>2011-07-14T17:58:00.001+05:30</published><updated>2011-07-14T17:59:02.148+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="Basic Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Class 11"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><title type='text'>ASCII</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;ASCII&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Short form of American Standard Code for Information Interchange is ASCII. Encoding of that system is based on ordering the English alphabet. All modern data encoding machines support ASCII as well as other. ASCII was first used by Bell data services as a seven bit Tele-printer. Use of binary system had brought tremendous change in our personal computing. Personal Computer as we see now is the boon of using binary language which was used as core things for encoding and decoding. Various languages later created and adopted are based on it. As binary system makes the PC more comfortable and user friendly for all, similarly ASCII is being used for making easiness in communicating. 33 characters are non-printing, 94 printing characters and space altogether makes 128 characters which are used by ASCII.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;• It allows 128 characters.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;• WWW or World Wide Web used ASCII as character encoding system but now ASCII is superseded by UTF-8.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;• Short passage was encoded by early ASCII.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;• &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;ASCII-code order is different from traditional alphabetical order.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; border=&quot;1&quot; class=&quot;aligncenter&quot; style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: initial; background-clip: initial; background-color: #ebe9eb; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(123, 114, 192); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-color: initial; border-left-color: rgb(123, 114, 192); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(123, 114, 192); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(123, 114, 192); border-top-style: solid; border-top-width: 1px; display: block; font-size: 13px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 575px;&quot;&gt;&lt;tbody style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
&lt;tr style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Difference between Unicode and ASCII&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• Unicode is an expedition of Unicode Consortium to encode every possible languages but ASCII only used for frequent American English encoding. For example, ASCII does not use symbol of pound or umlaut.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• Unicode require more space than ASCII.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• Unicode use 8, 16 or 32 bit characters based on different presentation while ASCII is seven-bit encoding formula.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• Many software and email can’t understand few Unicode character set.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• ASCII only supports 128 characters while Unicode supports much more characters.&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Though different variations appear among Unicode and ASCII but both are very much essential in development of web based communication.&lt;/div&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/4885815771513550848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/ascii-short-form-of-american-standard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/4885815771513550848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/4885815771513550848'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/ascii-short-form-of-american-standard.html' title='ASCII'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-1284359904605118778</id><published>2011-07-14T17:45:00.002+05:30</published><updated>2011-07-14T17:50:53.410+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="Basic Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Class 11"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="IX"/><title type='text'>Compiler vs Interpreter</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;Compiler and interpreter, both basically serve the same purpose. They convert one level of language to another level. A compiler converts the high level instructions into machine language while an interpreter converts the high level instruction into some intermediate form and after that, the instruction is executed.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;Compiler&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;A compiler is defined as a computer program that is used to convert high level instructions or language into a form that can be understood by the computer. Since computer can understand only in binary numbers so a compiler is used to fill the gap otherwise it would have been difficult for a human to find info in the 0 and 1 form.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;Earlier the compilers were simple&amp;nbsp;programs&amp;nbsp;which were used to convert symbols into bits. The programs were also very simple and they contained a series of steps translated by hand into the data. However, this was a very time consuming process. So, some parts were programmed or automated. This formed the first compiler.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;More sophisticated compliers are created using the simpler ones. With every new version, more rules added to it and a more natural language environment is created for the human programmer. The complier programs are evolving in this way which improves their ease of use.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;There are specific compliers for certain specific languages or tasks. Compliers can be multiple or multistage pass. The first pass can convert the high level language into a language that is closer to computer language. Then the further passes can convert it into final stage for the purpose of execution.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;Interpreter&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;The programs created in high level languages can be executed by using two different ways. The first one is the use of compiler and the other method is to use an interpreter. High level instruction or language is converted into intermediate from by an interpreter. The advantage of using an interpreter is that the high level instruction does not goes through compilation stage which can be a time consuming method. So, by using an interpreter, the high level program is executed directly. That is the reason why some programmers use interpreters while making small sections as this saves time.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;Almost all high level&amp;nbsp;programming&amp;nbsp;languages have compilers and interpreters. But some languages like LISP and BASIC are designed in such a way that the programs made using them are executed by an interpreter.&lt;/span&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; border=&quot;1&quot; class=&quot;aligncenter&quot; style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: initial; background-clip: initial; background-color: #eef0f0; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(193, 151, 122); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-color: initial; border-left-color: rgb(193, 151, 122); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(193, 151, 122); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(193, 151, 122); border-top-style: solid; border-top-width: 1px; display: block; font-size: 13px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 575px;&quot;&gt;&lt;tbody style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
&lt;tr style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot; valign=&quot;middle&quot;&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;http://www.differencebetween.com/difference-between-compiler-and-vs-interpreter/&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot; title=&quot;Difference between compiler and interpreter&quot;&gt;Difference between compiler and interpreter&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• A complier converts the high level instruction into machine language while an interpreter converts the high level instruction into an intermediate form.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• Before execution, entire program is executed by the compiler whereas after translating the first line, an interpreter then executes it and so on.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• List of errors is created by the compiler after the compilation process while an interpreter stops translating after the first error.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;• An independent executable file is created by the compiler whereas interpreter is required by an interpreted program each time.&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/1284359904605118778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/compiler-vs-interpreter.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/1284359904605118778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/1284359904605118778'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/compiler-vs-interpreter.html' title='Compiler vs Interpreter'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-8397482851525665557</id><published>2011-07-14T17:31:00.003+05:30</published><updated>2011-07-14T17:34:48.147+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="Basic Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Class 11"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><title type='text'>What is the difference between primary &amp; secondary storage device?</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;color: red; font-size: large;&quot;&gt;PRIMARY STORAGE DEVICES            SECONDARY STORAGE DEVICES

1.These devices are tempo-      1.These devices are permanent.
rary.                       
2.These devices are expensive.  2.These are cheaper.
3.These devices are faster,     3.These devices Computers via 
therefore expensive.            cables,and slow, therefore 
                                cheaper.
4.These devices have less       4.These devices have high 
storage capacity.               storage capacity.
5.These devices refer to RAM.   5.These devices refer to FDD&lt;/span&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/8397482851525665557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/what-is-difference-between-primary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/8397482851525665557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/8397482851525665557'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/what-is-difference-between-primary.html' title='What is the difference between primary &amp; secondary storage device?'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-902429647144214665</id><published>2011-07-14T17:25:00.002+05:30</published><updated>2011-07-14T17:36:15.709+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="Basic Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Class 11"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><title type='text'>Difference between primary and secondary memory.</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 12px; line-height: 12px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;The primary memory or the main memory is part of the main computer system. The processor or the CPU directly stores and retrieves information from it. This memory is accessed by CPU, in random fashion. That means any location of this memory can be accessed by the CPU to either read information from it, or to store information in it.&lt;/span&gt;&lt;br /&gt;
o The primary memory itself is implemented by two types of memory technologies. The first is called Random Access Memory (RAM) and the other is read only memory (ROM). A more appropriate name for RAM is RWM (Read Write Memory), the CPU can write and read information from any primary memory location implemented using RAM. The other part of primary memory is implemented using ROM which stands for Read Only Memory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Primary memory is much faster and also it is more cost effective. But the secondary memory is much slower and also less costly. It stores the data permanently unless it is erased. The secondary memory is usually available in the form of floppy disk storage media, hard disk, CD, DVD, Pen drive (i.e. Mass storage devices), memory chips. A 5 and1/4 inch floppy disk typically stores 1.44 mb of data. The data on the floppy disk is organized in terms of tracks and sectors. Hard disk can have large capacity something like 80-300 GB&#39;s or higher. Hard disk itself is made up of, large number of platters. Hard disk is usually much faster compared to floppy disk. CD can store up to 750 mb of data. Information on CD ROM is organized in terms of a spiral track. A DVD is digital Versatile Disk and can store 4.6 Gigabyte of information. All these CD disk are usually write ones and read many times (if the disk is not multisession and re writable). So are the DVDs.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;  &lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/902429647144214665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/difference-between-primary-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/902429647144214665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/902429647144214665'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/difference-between-primary-and.html' title='Difference between primary and secondary memory.'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-9083669172710493654</id><published>2011-07-14T12:03:00.000+05:30</published><updated>2011-07-14T12:03:11.654+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="Class 11"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="IX"/><title type='text'>INTRODUCTION TO COMPUTER IX</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;INTRODUCTION TO COMPUTER&lt;/div&gt;&lt;h1&gt;Introduction&lt;/h1&gt;A computer is an electronic machine that accepts instruction as input   data, stores the data, processes them and produces the desired output.   Computer automatically accepts data and instructions as input, stores   and processes them and produces and gives the output under the control   of the instructions of the stored programs.&lt;br /&gt;
&lt;h2&gt;Features of computer:&lt;/h2&gt;As computer is an intelligent amplifier that performs the   above-mentioned operations in a faster, accurate and efficient way, it   creates extra leisure time which can be used in matters involving   creativity &amp;amp; judgment. Some of the common characteristics possessed   by computers are as follows:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt; A computer can perform tasks at very high speed. The speed, with   which computers carry out these operations, varies from a few   microseconds (10&lt;sup&gt;-6&lt;/sup&gt; of a second or millionth of a second) to  nanoseconds (10&lt;sup&gt;-9 &lt;/sup&gt;of a second or billionth of a second).&lt;/li&gt;
&lt;li&gt; It can store a large amount of data in its memory forever&lt;/li&gt;
&lt;li&gt; It gives 100% accurate outputs unless the wrong data and  instructions are entered. &lt;/li&gt;
&lt;li&gt; Once the data and instructions are given, it caries out its  operation automatically to produce the desired output. &lt;/li&gt;
&lt;li&gt; It can perform its tasks repetitively with same speed, efficiency   and accuracy, without being affected by traits of tiredness and lack of   concentration.&lt;/li&gt;
&lt;li&gt; It is versatile in a sense that it can perform from simple tasks,   such as Desktop Publishing, to advanced tasks, such as controlling of   automatic weapons, satellite launching, etc.&lt;/li&gt;
&lt;/ul&gt;&lt;h2&gt;Limitations of Computers:&lt;/h2&gt;&lt;ul&gt;&lt;li&gt; Since computer does not have its own intelligence, it should be   given instructions to carry out its tasks. However, the fifth generation   is supposed to have own intelligence.&lt;/li&gt;
&lt;li&gt; An important data can be lost sometimes due to the breakdown of  storage media in machine.&lt;/li&gt;
&lt;li&gt; However there are various systems to protect data, but there is  always fear of data piracy.&lt;/li&gt;
&lt;li&gt; Computer is a very expensive to install and maintain that it would   be difficult to afford it for everybody. But, with the ever-increasing   advances being made in the state of the art, the cost of computer   equipment has dropped drastically over the years. Hardware costs have   been decreasing at an estimated annual rate of 25%.&lt;/li&gt;
&lt;li&gt; Computers cannot store data unless they are given instructions.&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/9083669172710493654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/introduction-to-computer-ix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/9083669172710493654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/9083669172710493654'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/introduction-to-computer-ix.html' title='INTRODUCTION TO COMPUTER IX'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-1298086726020762563</id><published>2011-07-14T12:00:00.000+05:30</published><updated>2011-07-14T12:00:07.611+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>SWITCH-CASE STATEMENT</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;SWITCH-CASE STATEMENT&lt;/div&gt;&lt;h2&gt;Switch Statements&lt;/h2&gt;The &lt;strong&gt;switch&lt;/strong&gt; and &lt;strong&gt;case&lt;/strong&gt; statements help  control complex conditional and branching operations. The &lt;strong&gt;switch&lt;/strong&gt; statement transfers control to a statement within its body. &lt;br /&gt;
&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br /&gt;
The general form of a switch statement is:&lt;br /&gt;
&lt;h5&gt;switch (variable)&lt;/h5&gt;&lt;h5&gt;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case expression1:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;do something 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case expression2:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;do something 2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;....&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;default:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;do default  processing;&lt;br /&gt;
}&lt;/h5&gt;&lt;br /&gt;
&lt;strong&gt;Example :&lt;/strong&gt;&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int x;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Enter the any number&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;x);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch(x)&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;case 1:&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;I am in Case one&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;case 2:&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;I am in case two&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;case 3:&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;I am in case three&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;default:&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot; I am in Default&quot;);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;In above program if we enter 1 value in x then the output will be:&lt;br /&gt;
&lt;h5&gt;I am in Case one&lt;/h5&gt;When an expression is found that is equal to the tested variable,   execution continues until a break statement is encountered. It is   possible to have a case without a break. This causes execution to fall   through into the next case. This is sometimes very useful.</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/1298086726020762563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/switch-case-statement.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/1298086726020762563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/1298086726020762563'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/switch-case-statement.html' title='SWITCH-CASE STATEMENT'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-279812399002126089</id><published>2011-07-14T11:59:00.002+05:30</published><updated>2011-07-14T11:59:25.740+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>STORAGE CLASSES : Programming</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;STORAGE CLASSES&lt;/div&gt;&lt;h1&gt;Introduction&lt;/h1&gt;The storage class determines the part of memory where storage is   allocated for an object (particularly variables and functions) and how   long the storage allocation continues to exist.&lt;br /&gt;
A scope specifies the part of the program which a variable name is   visible, that is the accessibility of the variable by its name.&amp;nbsp; In C   program, there are four storage classes: automatic, register, external,   and static.&lt;br /&gt;
Moreover, a variable&#39;s storage class tells us:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt; Where the variable would be stored&lt;/li&gt;
&lt;li&gt; What will be the initial value of the variable, if initial value is  not specifically assigned(i.e. the default initial value)&lt;/li&gt;
&lt;li&gt; What is the scope of the variable; i.e. in which functions the  value of the variable would be available.&lt;/li&gt;
&lt;li&gt; What is the life of the variable; i.e. how long would the variable  exist.&lt;/li&gt;
&lt;/ul&gt;&lt;h1&gt;Automatic Storage Class&lt;/h1&gt;The features of a variable defined to have an automatic storage class  are as under&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 576px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Storage&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Memory&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Default initial   value&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Garbage value&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Scope&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Local to the block in which the variable is defined&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Life&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Till the control remains within the block in which the   variable is  defined&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;&lt;ul&gt;&lt;li&gt; The scope of automatic variables is local to the block in which   they are declared, including any blocks nested within that block. For   these reasons, they are also called local variables.&lt;/li&gt;
&lt;li&gt; No block outside the defining block may have direct access to   automatic variables (by variable name) but, they may be accessed   indirectly by other blocks and/or functions using pointers.&lt;/li&gt;
&lt;li&gt; Automatic variables may be specified upon declaration to be of   storage class auto. However, it is not required to use the keyword auto   because by default, storage class within a block is auto.&lt;/li&gt;
&lt;li&gt; Automatic variables declared with initializers are initialized   every time the block in which they are declared is entered or accessed.&lt;/li&gt;
&lt;li&gt; auto is the default storage class for local variables.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;strong&gt;Example&lt;/strong&gt;&lt;br /&gt;
&lt;h5&gt;void main()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int Count;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; auto int Month;&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;The example above defines two variables with the same storage class.   auto can only be used within functions, i.e. local variables.&lt;br /&gt;
&lt;h1&gt;Register Storage Class&lt;/h1&gt;The features of a variable defined to have an automatic storage class  are as under&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Storage&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; CPU Register&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Default initial   value&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Garbage value&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Scope&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Local to the block in which the variable is defined&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Life&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Till the control remains within the block in which the   variable is  defined&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;&lt;ul&gt;&lt;li&gt; Registers are memory located within the CPU itself where data can  be stored and accessed quickly. Normally, the &lt;strong&gt;compiler  determines&lt;/strong&gt; what data is to be stored in the registers of the  CPU at what times.&lt;/li&gt;
&lt;li&gt; register is used to define local variables that should be stored in   a register instead of RAM. This means that the variable has a maximum   size equal to the register size (usually one word) and can&#39;t have the   unary &#39;&amp;amp;&#39; operator applied to it (as it does not have a memory   location).&lt;/li&gt;
&lt;/ul&gt;&lt;strong&gt;Example&lt;/strong&gt;:&lt;br /&gt;
&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void main()&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; register int&amp;nbsp; Miles;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/h5&gt;&lt;h1&gt;Static Storage Class&lt;/h1&gt;The features of a variable defined to have an automatic storage class  are as under&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Storage&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Memory&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Default initial   value&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Zero&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Scope&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Local to the block in which the variable is defined&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Life&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Value of the variable persists between different   function calls&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;&lt;ul&gt;&lt;li&gt; Static automatic variables continue to exist even after the block   in which they are defined terminates. Thus, the value of a static   variable in a function is retained between repeated function calls to   the same function.&lt;/li&gt;
&lt;/ul&gt;Comparing two storage class we get to know how static storage class  variable works and auto storage class works.&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 558px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; valign=&quot;top&quot;&gt; &lt;pre&gt;&lt;strong&gt;Auto Storage Class&lt;/strong&gt;&lt;/pre&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot; valign=&quot;top&quot;&gt; &lt;pre&gt;&lt;strong&gt;Static Storage Class&lt;/strong&gt;&lt;/pre&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; valign=&quot;top&quot;&gt; &lt;h5&gt;void Increment()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; auto int i=1;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d\n&quot;,i);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i=i+1;&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;void   main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Increment();&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Increment();&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Increment();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot; valign=&quot;top&quot;&gt; &lt;h5&gt;void Increment()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; static int i=1;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d\n&quot;,i);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i=i+1;&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;void   main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Increment();&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Increment();&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Increment();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; valign=&quot;top&quot;&gt; Output:&lt;br /&gt;
1&lt;br /&gt;
1&lt;br /&gt;
1&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; valign=&quot;top&quot;&gt; Output:&lt;br /&gt;
1&lt;br /&gt;
2&lt;br /&gt;
3&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; valign=&quot;top&quot;&gt; Each time the Increment() function is called i variable   is taken as   new and each time i is initialized with 1 so when i is printed   each   time it displays 1&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; valign=&quot;top&quot;&gt; When first time Increment() function is called i variable   is   initialized to 1 and next two time the value will be incremented by one.   That   is when Increment() function is called second time i variable  in  not initialized   again but will directly goto printf() and displays   the value of i i.e. 2 and   so on it displays 3&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;&lt;h1&gt;External Storage Class&lt;/h1&gt;The features of a variable defined to have an automatic storage class  are as under&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Storage&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Memory&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Default initial   value&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Zero&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Scope&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; Globle&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;strong&gt;Life&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot;&gt; As long as the program&#39;s execution doesn&#39;t come to an   end&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;&lt;ul&gt;&lt;li&gt; All variables we have seen so far have had limited scope (the block   in which they are declared) and limited lifetimes (as for automatic   variables).&lt;/li&gt;
&lt;li&gt; However, in some applications it may be useful to have data which   is accessible from within any block and/or which remains in existence   for the entire execution of the program. Such variables are called &lt;strong&gt;global  variables&lt;/strong&gt;, and the C language provides storage classes which  can meet these requirements; namely, the &lt;strong&gt;external&lt;/strong&gt; (extern) and &lt;strong&gt;static&lt;/strong&gt; (static) classes.&lt;/li&gt;
&lt;li&gt; Declaration for external variable is as follows:&lt;/li&gt;
&lt;li&gt; extern int var;&lt;/li&gt;
&lt;li&gt; External variables may be declared outside any function block in a   source code file the same way any other variable is declared; by   specifying its type and name (extern keyword may be omitted).&lt;/li&gt;
&lt;/ul&gt;&lt;strong&gt;Example&lt;/strong&gt;:&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;extern int i;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;void Increment()&lt;/h5&gt;&lt;h5&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i=i+1;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d\n&quot;,i);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;void Decrement()&lt;/h5&gt;&lt;h5&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i=i-1;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d\n&quot;,i);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;void main()&lt;/h5&gt;&lt;h5&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; printf(&quot;initial value=%d\n&quot;,i);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Increment();&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Increment();&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Decrement();&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Decrement();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h4&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output:&lt;/h4&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initial value = 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
&lt;h1&gt;&lt;br /&gt;
&lt;/h1&gt;&lt;strong&gt;Book :&lt;/strong&gt; Let us C</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/279812399002126089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/storage-classes-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/279812399002126089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/279812399002126089'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/storage-classes-programming.html' title='STORAGE CLASSES : Programming'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-6259616733785159353</id><published>2011-07-14T11:58:00.002+05:30</published><updated>2011-07-14T11:58:30.585+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>INPUT/OUTPUT : Programming</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;INPUT/OUTPUT&lt;/div&gt;Usually i/o, input and  output, form an important part of any program.  To do anything useful  your program needs to be able to accept input  data and report back your  results. In C, the standard library provides  routines for input and  output. The standard library has functions for  i/o that handle input,  output, and character and string manipulation. In  this lesson, all the  input functions described read from standard input  and all the output  functions described write to standard output.  Standard input is usually  the keyboard. Standard output is usually the  monitor.&lt;br /&gt;
&lt;h1&gt;Formatted Output&lt;/h1&gt;The standard library function printf is used for formatted output. It   takes as arguments a format string and an optional list of variables  or  literals to output. The variables and literals are output according  to  the specifications in the format string. Here is the prototype for   printf.&lt;br /&gt;
int printf(const char *format, arg1, arg2, arg3, ......);&lt;br /&gt;
&lt;strong&gt;Example: Adding two number&lt;/strong&gt;&lt;br /&gt;
&lt;h5&gt;#include &lt;br /&gt;
#include &lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int a,b,c;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;enter the value for a and b&quot;); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d&quot;,  &amp;amp;a, &amp;amp;b);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; c= a + b;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d + %d = %d&quot;  ,a ,b ,c);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;br /&gt;
}&lt;/h5&gt;Here are the more common conversion specifiers.&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;288&quot;&gt; &lt;strong&gt;Specifier&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;397&quot;&gt; &lt;strong&gt;Argument   Type&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;288&quot;&gt; %d&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;397&quot;&gt; int&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;288&quot;&gt; %f&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;397&quot;&gt; float   or double&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;288&quot;&gt; %e&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;397&quot;&gt; float   or double, output in scientific notation.&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;288&quot;&gt; %c&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;397&quot;&gt; character&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;288&quot;&gt; %s&lt;br /&gt;
&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;397&quot;&gt; character   string (char *)&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;&lt;h1&gt;Formatted Input Output&lt;/h1&gt;The standard library function scanf is used for formatted input. It   takes as its arguments a format string and a list of pointers to   variables to store the input values. Similar to its use in printf, the   format string can contain literals and conversion specifiers. In C, to   return a value from a function to a calling routine, a pointer to a   variable is passed into the function. A pointer stores the memory   address of another variable. The methods of passing and returning values   from functions are described in Passing Arguments to Functions. Don&#39;t   worry if you don&#39;t understand pointers completely. For now, all this   means is a slightly different notation in the call to scanf. In later   lessons, pointers and functions will be fully explained. Here is the   prototype of scanf and a program illustrating its use.&lt;br /&gt;
Scanf returns an integer, either the number of values read in, or EOF   if an end of file is reached. EOF is a special termination character,   specified in stdio.h, which designates the end of a file. If no values   are successfully read, scanf returns 0. To use scanf in a program, the   file stdio.h must be included.&lt;br /&gt;
&lt;em&gt; &lt;/em&gt;&lt;br /&gt;
&lt;strong&gt;WAP to find out simple interest (SI) and Amount (A), given  that SI=PRT/100 and A=P+SI.&lt;/strong&gt;&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; float p,t,r,A,SI;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; printf(&quot;Enter value p, t, r &quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; scanf(&quot;%f %f %f&quot;,&amp;amp;p,&amp;amp;t,&amp;amp;r);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; //calculating  simple interest&lt;br /&gt;
&amp;nbsp;&amp;nbsp; SI=(p*t*r)/100;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; //calculating Amount&lt;br /&gt;
&amp;nbsp;&amp;nbsp; A=SI+p;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; printf(&quot;Simple interest=%f, Amount=%f&quot;, SI, A);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; getch();&lt;br /&gt;
}&lt;/h5&gt;&lt;h1&gt;Unformatted Input / Output&lt;/h1&gt;Unformatted functions do not allow the user to read or display data   in desired format. These library functions basically deal with a single   character or a string of characters. The functions getchar(),  putchar(),  gets(), puts(), getch(),gerche () , putch() are considered  as  unformatted functions.&lt;br /&gt;
&lt;h2&gt;getchar and putchar&lt;/h2&gt;getchar reads a single character from standard input.&lt;br /&gt;
putchar writes a single character to standard output.&lt;br /&gt;
&lt;strong&gt;Example:&lt;/strong&gt;&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt; void main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;char c;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c = getchar(); /* to  take input form keyboard */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;putchar(c);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* to display value  of &#39;c&#39; in screen */&lt;br /&gt;
}&lt;br /&gt;
&lt;/h5&gt;&lt;h3&gt;gets and puts&lt;/h3&gt;gets reads a line of input into a character array (String).&lt;br /&gt;
puts writes a line of output to standard output .&lt;br /&gt;
&lt;strong&gt;Example:&lt;/strong&gt;&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char   str[120]; /* Holds input and output strings */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gets(str); /* to   take string as input form keyboard */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts(str); /* to  display  value of &#39;str&#39; string in screen */&lt;br /&gt;
}&lt;/h5&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/6259616733785159353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/inputoutput-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/6259616733785159353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/6259616733785159353'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/inputoutput-programming.html' title='INPUT/OUTPUT : Programming'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-2150063456018716640</id><published>2011-07-14T11:54:00.003+05:30</published><updated>2011-07-14T11:55:23.140+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>FILE HANDELING</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;FILE HANDELING&lt;/div&gt;&lt;h1&gt;File Input and Output&lt;/h1&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;file:///C:/Users/KUMARL~1/AppData/Local/Temp/msohtmlclip1/01/clip_image001.gif&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
&lt;h2&gt;Library Functions for File I/O.&lt;/h2&gt;fopen is used to open a file for formatted I/O and to associate a   stream with that file. A stream is a source or destination of data. It   may be a buffer in memory, a file or some hardware device such as a   port.&lt;br /&gt;
&lt;h5&gt;FILE *fp;&lt;/h5&gt;&lt;h5&gt;fp=fopen(filename, mode);&lt;/h5&gt;fopen() returns a file pointer on success or NULL on failure. The   file pointer is used to identify the stream and is passed as an argument   to the routines that read, write or manipulate the file. The filename   and mode arguments are standard null-terminated strings. The valid  modes  are shown below.&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 640px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot;&gt;&lt;strong&gt;Mode&lt;/strong&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt;&lt;strong&gt;Use&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot;&gt;&quot;r&quot;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt;&lt;strong&gt;Read Mode&lt;/strong&gt;.If   the file exists, loads it into memory   and sets up a pointer which points to   the first character in it. If   the file doesn&#39;t &amp;nbsp;exist it returns NULL.&lt;br /&gt;
&lt;strong&gt;Operations   Possible&lt;/strong&gt;:- reading from the file&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot;&gt;&quot;w&quot;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt;&lt;strong&gt;Write Mode.&lt;/strong&gt; If the file exists, its contents are   overwritten. If the file doesn&#39;t exist,   a new file is created. Returns   NULL, if unable to open file.&lt;br /&gt;
&lt;strong&gt;Operations   Possible&lt;/strong&gt;:- writing to the file&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot;&gt;&quot;a&quot;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt;&lt;strong&gt;Append Mode. &lt;/strong&gt;If   the file exists, loads it into   memory and sets up a pointer that points to   the last character in it.   If the file doesn&#39;t exist, a new file is created. Returns   NULL, if   unable to open file&lt;br /&gt;
&lt;strong&gt;Operations   Possible&lt;/strong&gt;:- adding new contents at the  end of file&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot;&gt;&quot;r+&quot;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt;&lt;strong&gt;Read Plus Mode&lt;/strong&gt;.   If the file exists, loads it into   memory and sets up a pointer which points   to the first character in   it. If the file doesn&#39;t &amp;nbsp;exist it returns NULL.&lt;br /&gt;
&lt;strong&gt;Operations   Possible&lt;/strong&gt;:- reading existing contents,  writing new contents, modifying existing   contents of the file&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot;&gt;&quot;w+&quot;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt;&lt;strong&gt;Write Plus Mode.&lt;/strong&gt; If the file exists, its contents   are destroyed. If the file doesn&#39;t exist, a   new file is created.   Returns NULL, if unable to open file.&lt;br /&gt;
&lt;strong&gt;Operations   Possible&lt;/strong&gt;:- writing new contents,  reading them back and modifying existing   contents of the file&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot;&gt;&quot;a+&quot;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt;&lt;strong&gt;Append Plus Mode. &lt;/strong&gt;If the file exists, loads it into   memory and sets up a pointer that   points to the first character in  it.  If the file doesn&#39;t exist, a new file is   created. Returns NULL,  if  unable to open file&lt;br /&gt;
&lt;strong&gt;Operations   Possible&lt;/strong&gt;:- reading existing contents,  appending new contents to the end   of file. Cannot modify existing  contents.&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;Files are closed with the function fclose. Its prototype is:&lt;br /&gt;
&lt;h5&gt;fclose(*fp);&lt;/h5&gt;&lt;h2&gt;Functions for Reading and Writing to the file&lt;/h2&gt;&lt;h3&gt;fprintf():&lt;/h3&gt;Data is written to a file using &lt;strong&gt;&lt;em&gt;fprintf&lt;/em&gt;&lt;/strong&gt;.   This function is very similar to printf. Printf was used to write to   standard output, stdout. Fprintf has one additional argument to specify   the stream to send data. Its prototype is:&lt;br /&gt;
&lt;h5&gt;fprintf(FILE *stream, const char* format, ....);&lt;/h5&gt;&lt;h3&gt;fscanf():&lt;/h3&gt;Data is read from a file using fscanf. This function is very similar   to scanf, is used to read from standard input, stdin. Fscanf has one   additional argument to specify the stream to read from. Remember that   the argument to store data must be pointers.&lt;br /&gt;
&lt;h5&gt;fscanf(FILE *stream, const char* format, ....);&lt;/h5&gt;&lt;h3&gt;&lt;strong&gt;Other Useful Standard Library Functions for Input and Output&lt;/strong&gt;&lt;/h3&gt;&lt;h5&gt;int fgetc(FILE *stream);&lt;/h5&gt;This function returns the next character in the input stream, or EOF   if the end of the file is encountered. It returns int rather than char   because the &quot;end of file&quot;, EOF, character must be handled. EOF is an  int  and is too large to fit in a char variable.&lt;br /&gt;
&lt;h5&gt;int *fgets(char *s, int n, FILE *stream);&lt;/h5&gt;It returns a pointer to the character string if successful, or NULL   if end of file is reached or if an error has occurred. The string is   also read into the character array specified as an argument. The   character string will be terminated be a &quot;\0&quot;, which is standard for C.&lt;br /&gt;
At most n-1 characters will be read. This allows for storage of the  string terminator, &#39;\0&#39;.&lt;br /&gt;
&lt;h5&gt;fputs(const char s*, FILE *stream);&lt;/h5&gt;This function writes a string to the stream. It returns EOF on  failure.&lt;br /&gt;
&lt;h5&gt;int fputc(int c, FILE *stream);&lt;/h5&gt;fputc writes a single character to the output stream i.e. file. It  returns EOF on failure.&lt;br /&gt;
&lt;h5&gt;int sprintf(char *buffer, const char *format, ...);&lt;/h5&gt;This function is the same as fprintf, except data is written into a  character buffer rather than an output stream.&lt;br /&gt;
&lt;h5&gt;int sscanf(char *buffer, const char *format, ...);&lt;/h5&gt;This function is the same as fscanf, except data is read from a  character buffer rather than an input stream.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Example 1&lt;/strong&gt;: Here is the example program which creates  a file &quot;Record.txt&quot; and adds students record in it.&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;char name[30];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int idNum;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FILE *fp;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Open file for input */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fp = fopen(&quot;Record.txt&quot;,&quot;w&quot;);&lt;/h5&gt;&lt;h5&gt;if(fp==NULL)&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Error Opening File !!!&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit(1);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;printf(&quot;Enter name and id&quot;)&lt;/h5&gt;&lt;h5&gt;scnaf(&quot;%d %s&quot;, name, &amp;amp;idNum);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;/* Write out data */&lt;/h5&gt;&lt;h5&gt;fprintf(fp,&quot;%d %s\n&quot;,idNum, name);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;/* Close Files */&lt;/h5&gt;&lt;h5&gt;fclose(fp);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;strong&gt;Example 2&lt;/strong&gt;: Here is the example program which reads  name and id form student record a file &quot;Record.txt&quot; and displays on  screen.&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;char name[30];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int idNum;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FILE *fp;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Open file for read */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fp = fopen(&quot;Record.txt&quot;,&quot;r&quot;);&lt;/h5&gt;&lt;h5&gt;if(fp==NULL)&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Error Opening File !!!&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit(1);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;/*reading all records form file */&lt;/h5&gt;&lt;h5&gt;while(fscanf(fp,&quot;%d %s&quot;, &amp;amp;idNum, name) != EOF)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d %s\n&quot;, idNum, name);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;/* Close Files */&lt;/h5&gt;&lt;h5&gt;fclose(fp);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;strong&gt;Example:&lt;/strong&gt; Create a file name &quot;COLLEGE.DAT&quot;. Write a   program to store record of n students in a file. These records contain   student name, roll no, program. Also display records of those students   whose program is BBAII and BCA II.&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;string.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#define N 2 //defining the N no. of student&lt;/h5&gt;&lt;h5&gt;void main()&lt;/h5&gt;&lt;h5&gt;{&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct student&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int roll_no;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char name[25],program[25];&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct student s;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE *fp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fp = fopen (&quot;COLLEGE.DAT &quot;, &quot;w+&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (fp == NULL);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts(&quot;Cannot open file&quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit(0);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //taking student records as input and writing it into file&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;N;i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %s %s %d&quot;,&amp;amp;s.roll_no,s.name, s.program);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fwrite(&amp;amp;s,sizeof(s),1,fp);//writing record into file&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //reading from file until end of file&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(fread(&amp;amp;s,sizeof(s),1,fp)!=EOF)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //displaying only those records having program is BBAII or  BCAII&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  if(strcmp(s.program,&quot;BBAII&quot;)==0||strcmp(s.program,&quot;BCAII&quot;)==0)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d\t %s\t  %s\n&quot;,s.roll_no,s.name,s.program);&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fclose(fp);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/2150063456018716640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/file-handeling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/2150063456018716640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/2150063456018716640'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/file-handeling.html' title='FILE HANDELING'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-3975483723304517656</id><published>2011-07-14T11:53:00.000+05:30</published><updated>2011-07-14T11:53:01.985+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>STRUCTURE</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;STRUCTURE&lt;/div&gt;&lt;h2&gt;Structures&lt;strong&gt; &lt;/strong&gt;&lt;/h2&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;file:///C:/Users/KUMARL~1/AppData/Local/Temp/msohtmlclip1/01/clip_image001.gif&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
Structures are used to group a number of different variables together   which enables us treat a number of different variables stored in   different place in memory.&lt;br /&gt;
&lt;h3&gt;Syntax:&lt;/h3&gt;&lt;h5&gt;struct structure_name&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;Data_type member;&lt;/h5&gt;&lt;h5&gt;........&lt;/h5&gt;&lt;h5&gt;};&lt;/h5&gt;&lt;h5&gt;struct structure_name&amp;nbsp; structure_variable;&lt;/h5&gt;&lt;h3&gt;&lt;strong&gt;Declaring Structures&lt;/strong&gt;&lt;/h3&gt;A structure is declared by using the keyword struct followed by an   optional structure tag followed by the body of the structure. The   variables or members of the structure are declared within the body. Here   is an example of a structure that would be useful in representing the   book containing id, name of book and price.&lt;br /&gt;
&lt;h5&gt;struct book {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;int id;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;char name[25];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; float price;&lt;br /&gt;
};&lt;/h5&gt;The struct declaration is a user defined data type. Variables of type   book may be declared similarly to the way variables of a built in type   are declared.&lt;br /&gt;
&lt;h5&gt;struct book b1, b2;&lt;/h5&gt;&lt;br /&gt;
&lt;strong&gt;Example: &lt;/strong&gt;Simple example to declare structure and  performing input/output process.&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;struct book&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int id;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char name[25];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; float price;&lt;/h5&gt;&lt;h5&gt;};&lt;/h5&gt;&lt;h5&gt;struct book b1;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;printf(&quot;Enter the record of book&quot;);&lt;/h5&gt;&lt;h5&gt;scanf(&quot;%d %s %f&quot;, &amp;amp;b1.id, b1.name, &amp;amp;b1.price);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;//displaying the book record&lt;/h5&gt;&lt;h5&gt;printf(&quot;%d %s %f&quot;, b1.id, b1.name, b1.price);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h2&gt;&lt;strong&gt;Arrays of Structures&lt;/strong&gt;&lt;/h2&gt;The data structures needed to solve some problems are best   represented as an array of structures. Consider, for instance, the   problem of storing 100 books record. Here we need to declare book   variable like b1, b2, b3 and so on to b100, which is very hard way of   doing so. So, this problem can be made easier by using array of   structure. Array of structure is declared as follows:&lt;br /&gt;
&lt;h5&gt;struct book{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int id;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char name[25];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; float price;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/h5&gt;&lt;h5&gt;struct book b[100];&lt;/h5&gt;&lt;strong&gt;Example: &lt;/strong&gt;Here is a simple program to illustrate the   use of some of these array of structure. This program will input 100   book record and finds out the number of books price above 300.&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;struct book&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int id;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char name[25];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; float price;&lt;/h5&gt;&lt;h5&gt;};&lt;/h5&gt;&lt;h5&gt;struct book b[100];&lt;/h5&gt;&lt;h5&gt;int i, ctr=0;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;printf(&quot;Enter the 100 records of book&quot;);&lt;/h5&gt;&lt;h5&gt;for(i=0; i&amp;lt;100; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %s %f&quot;, &amp;amp;b[i].id, b[i].name, &amp;amp;b[i].price);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;//finding out the book record whose price is above 300&lt;/h5&gt;&lt;h5&gt;for(i=0; i&amp;lt;100; i++)&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;if(b[i].price &amp;gt; 300)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ctr = ctr +1;&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;printf(&quot;No. of books having price above 300 is %d&quot;, ctr);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h2&gt;Nested Structure&lt;/h2&gt;When a structure is created at first and then again is called by   another structure as a member of it. We call this mechanism as nested   structure. In another simply can say, structures can contain other   structures as members then we call it as nested structure.&lt;br /&gt;
&lt;h3&gt;&amp;nbsp;Declaration:&lt;/h3&gt;&lt;h5&gt;struct Date&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;int dd, mm, yy;&lt;/h5&gt;&lt;h5&gt;};&lt;/h5&gt;&lt;h5&gt;struct book&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;int id;&lt;/h5&gt;&lt;h5&gt;char name[25];&lt;/h5&gt;&lt;h5&gt;float price;&lt;/h5&gt;&lt;h5&gt;struct Date issue;&lt;/h5&gt;&lt;h5&gt;};&lt;/h5&gt;&lt;h5&gt;struct book b;&lt;/h5&gt;&lt;h3&gt;Example:&lt;/h3&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; void main()&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct Date&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int dd, mm, yy;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct student&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int roll;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char name[25]&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct Date dob;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct student s;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //taking input in normal structure&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %s&quot;,&amp;amp;s.roll, name);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //taking input in nested structure&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d %d&quot;,&amp;amp;s.dob.dd, &amp;amp;s.dob.mm,  &amp;amp;s.dob.yy);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Displaying the value of structure&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d %s&quot;,s.roll, name);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Displaying the value of nested structure&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d %d %d&quot;,s.dob.dd, s.dob.mm, s.dob.yy);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/h5&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/3975483723304517656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/structure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/3975483723304517656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/3975483723304517656'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/structure.html' title='STRUCTURE'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-3930015605843937648</id><published>2011-07-14T11:50:00.000+05:30</published><updated>2011-07-14T11:50:04.056+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>UNION</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;UNION&lt;/div&gt;&lt;h1&gt;Union&lt;/h1&gt;Union is used to group a number of different variables together which   enables us to treat the same space in memory as a number of different   variables. Union and structure are exactly alike, the only difference  is  that structure uses different memory space to store different  variables  but union uses the same memory space to store different  variable.&lt;br /&gt;
&lt;h3&gt;Syntax:&lt;/h3&gt;&lt;h5&gt;union structure_name&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;Data_type member;&lt;/h5&gt;&lt;h5&gt;........&lt;/h5&gt;&lt;h5&gt;};&lt;/h5&gt;&lt;h5&gt;union structure_name&amp;nbsp; structure_variable;&lt;/h5&gt;&lt;h3&gt;&lt;strong&gt;Declaring Union&lt;/strong&gt;&lt;/h3&gt;A union is declared by using the keyword &lt;strong&gt;&lt;em&gt;union&lt;/em&gt;&lt;/strong&gt;  followed by an optional union tag followed by the body of the union.   The variables or members of the union are declared within the body. Here   is an example of a union that would be useful in representing the book   containing id, name of book and price.&lt;br /&gt;
&lt;h5&gt;union book {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;int id;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;char name[25];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; float price;&lt;br /&gt;
};&lt;/h5&gt;The union declaration is a user defined data type. Variables of type   book may be declared similarly to the way variables of a built in type   are declared.&lt;br /&gt;
&lt;h5&gt;union book b1, b2, b[100];&lt;/h5&gt;&lt;strong&gt;Example&lt;/strong&gt;:&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;void main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; union try&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char ch[2];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; union try t;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t.ch[0]=50;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t.ch[1]=30;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t.i=512;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;t.i=%d\n&quot;,t.i);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;t.ch[0]=%d\n&quot;,t.ch[0]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;t.ch[1]=%d&quot;,t.ch[1]);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br /&gt;
&lt;h5&gt;t.i = 512&lt;/h5&gt;&lt;h5&gt;t.ch[0] = 0&lt;/h5&gt;&lt;h5&gt;t.ch[1] = 2&lt;/h5&gt;&lt;strong&gt;Reason:&lt;/strong&gt;&lt;br /&gt;
Values of t.ch[0] and t.ch[1] i.e. 50 and 30 , is changed to 0 and 2   respectively after t.i is assigned with 512. This happens because   t.ch[0] and t.ch[1] share the same memory.</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/3930015605843937648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/union.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/3930015605843937648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/3930015605843937648'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/union.html' title='UNION'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-6378598630167756169</id><published>2011-07-14T11:49:00.002+05:30</published><updated>2011-07-14T11:49:28.539+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Difference Between Structure And Union</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;&amp;nbsp;DIFFERENCE BETWEEN STRUCTURE AND UNION&lt;/div&gt;&lt;h2&gt;Difference Between Structure And Union&lt;/h2&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 667px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; &lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; &lt;strong&gt;Structure&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; &lt;strong&gt;Union&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; 1&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; Structures are used to group a number of different variables     together which enables us treat a number of different variables stored   in different   place in memory.&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; Union are used to group a number of different variables   together   which enables us to treat the same space in memory as a number of     different variables.&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; 2&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; &lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br /&gt;
struct structure_name&lt;br /&gt;
{&lt;br /&gt;
Data_type member;&lt;br /&gt;
........&lt;br /&gt;
};&lt;br /&gt;
struct structure_name&amp;nbsp; structure_variable;&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; &lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br /&gt;
union structure_name&lt;br /&gt;
{&lt;br /&gt;
Data_type member;&lt;br /&gt;
........&lt;br /&gt;
};&lt;br /&gt;
union structure_name&amp;nbsp; structure_variable;&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; 3&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; &lt;strong&gt;Example:&lt;/strong&gt;&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; struct   try&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int   i;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char   ch[2];&lt;br /&gt;
&amp;nbsp; };&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; struct   try t;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; t.ch[0]=50;&lt;br /&gt;
&amp;nbsp; t.ch[1]=30;&lt;br /&gt;
&amp;nbsp; t.i=512;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; printf(&quot;t.i=%d\n&quot;,t.i);&lt;br /&gt;
&amp;nbsp; printf(&quot;t.ch[0]=%d\n&quot;,t.ch[0]);&lt;br /&gt;
&amp;nbsp; printf(&quot;t.ch[1]=%d&quot;,t.ch[1]);&lt;br /&gt;
}&lt;br /&gt;
&lt;strong&gt;Output:&lt;/strong&gt;&lt;br /&gt;
t.i =   512&lt;br /&gt;
t.ch[0]   = 50&lt;br /&gt;
t.ch[1]   = 30&lt;br /&gt;
&lt;strong&gt;Reason:&lt;/strong&gt;&lt;br /&gt;
t.ch[0]   , t.ch[1] and t.i values are stored in different memory  locations there for,   no values are changed&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 23px;&quot; valign=&quot;top&quot;&gt; &lt;strong&gt;Example:&lt;/strong&gt;&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
union   try&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int   i;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char   ch[2];&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
union   try t;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; t.ch[0]=50;&lt;br /&gt;
&amp;nbsp; t.ch[1]=30;&lt;br /&gt;
&amp;nbsp; t.i=512;&lt;br /&gt;
&lt;br /&gt;
printf(&quot;t.i=%d\n&quot;,t.i);&lt;br /&gt;
printf(&quot;t.ch[0]=%d\n&quot;,t.ch[0]);&lt;br /&gt;
printf(&quot;t.ch[1]=%d&quot;,t.ch[1]);&lt;br /&gt;
}&lt;br /&gt;
&lt;strong&gt;Output:&lt;/strong&gt;&lt;br /&gt;
t.i =   512&lt;br /&gt;
t.ch[0]   = 0&lt;br /&gt;
t.ch[1]   = 2&lt;br /&gt;
&lt;strong&gt;Reason:&lt;/strong&gt;&lt;br /&gt;
Values   of t.ch[0] and t.ch[1] i.e. 50 and 30 , is changed to 0 and 2   respectively   after t.i is assigned with 512. This happens because   t.ch[0] and t.ch[1]   share the same memory.&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/6378598630167756169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/difference-between-structure-and-union.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/6378598630167756169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/6378598630167756169'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/difference-between-structure-and-union.html' title='Difference Between Structure And Union'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-7936468746183532442</id><published>2011-07-14T11:48:00.002+05:30</published><updated>2011-07-14T11:48:47.739+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>FUNCTION</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;FUNCTION&lt;/div&gt;A self-contained software  routine that performs a task. Functions can  do a large amount of  processing or as little as adding two numbers and  deriving a result.  Values are passed to the function, and values may be  returned. Or, the  function may just perform the operation and not return  a resulting  value. The concept of a function within a program is that,  once  written, it can be used over and over again without the programmer   having to duplicate the same lines of code in the program each time that   same processing is desired.&lt;br /&gt;
&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br /&gt;
&lt;h5&gt;return_type function_name(list of parameters);&lt;/h5&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br /&gt;
&lt;h5&gt;int max(int n1, int n2);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* A programmer-defined function */&lt;br /&gt;
int printf(const char *format,...);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* From the standard library */&lt;br /&gt;
int fputs(const char *buff, File *fp);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* From the standard library  */&lt;/h5&gt;&lt;h2&gt;Local Variables&lt;/h2&gt;The scope of a variable is simply the part of the program where it   may be accessed or written. If a variable is declared within a function,   it is local to that function. Variables of the same name may be   declared and used within other functions without any conflicts.&lt;br /&gt;
&lt;h5&gt;int fun1()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int a;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int b;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;....&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
int fun2()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int a;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int c;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;....&lt;br /&gt;
}&lt;/h5&gt;Here, the local variable &quot;a&quot; in fun1 is distinct from the local   variable &quot;a&quot; in fun2. Changes made to &quot;a&quot; in one function have no effect   on the &quot;a&quot; in the other function. Also, note that &quot;b&quot; exists and can  be  used only in fun1. &quot;C&quot; exists and can be used only in fun2. The  scope  of b is fun1. The scope of c is fun2. Note that main is also a  function.  Variables declared after the opening bracket of main will  have all of  main as their scope.&lt;br /&gt;
&lt;h2&gt;&lt;strong&gt;External Variables&lt;/strong&gt;&lt;/h2&gt;Variables may also be defined outside of any function. These are   referred to as global or external variables. The scope of an external   variable is from its declaration to the end of the file.&lt;br /&gt;
&lt;h5&gt;int j;&lt;br /&gt;
...&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;....&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
int  k;&lt;br /&gt;
float funA()&lt;br /&gt;
{&lt;br /&gt;
}&lt;br /&gt;
int l;&lt;br /&gt;
float funB()&lt;br /&gt;
{&lt;br /&gt;
}&lt;/h5&gt;The variable &quot;j&quot; will be visible in main, funA and funB. The variable   &quot;k&quot; will be visible in funA and funB only. The variable &quot;l&quot; will be   visible only in function funB.&lt;br /&gt;
An important distinction between automatic (local) variables and   external (global) variables is how they are initialized. External   variables are initialized to zero. Automatic variables are undefined.   They will have whatever random value happens to be at their memory   location. Automatic, or local, variables must always be initialized   before use. It is a serious error, a bug, to use a local variable   without initialization.</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/7936468746183532442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/7936468746183532442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/7936468746183532442'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/function.html' title='FUNCTION'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-4728925491198557802</id><published>2011-07-14T11:47:00.003+05:30</published><updated>2011-07-14T11:47:59.941+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Functions: TYPES OF FUNCTIONS</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;TYPES OF FUNCTIONS&lt;/div&gt;&lt;h2&gt;1.&amp;nbsp; Function Without return_type and without parameters:&lt;/h2&gt;&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;void add()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int x, y;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Enter value for x and y&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d&quot;, &amp;amp;x, &amp;amp;y);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Sum of x and y is %d&quot;, x+y);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add();&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;void keyword is used since no return type is needed.&lt;br /&gt;
&lt;h2&gt;2.&amp;nbsp; Function Without return_type and with parameters:&lt;/h2&gt;&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;void add(int x, int y)&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Sum of x and y is %d&quot;, x+y);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int x, y;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Enter value for x and y&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d&quot;, &amp;amp;x, &amp;amp;y);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add(x,y);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;Above example is of without return type so void keyword is used.   Variable x and y is used as parameter in function add() whose value is   supplied from&amp;nbsp; main() function.&lt;br /&gt;
&lt;h2&gt;3.&amp;nbsp; Function With return_type and without parameters&lt;/h2&gt;&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;int add()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int x, y;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Enter value for x and y&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d&quot;, &amp;amp;x, &amp;amp;y);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(x+y);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int sum;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum=add();&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Sum of x and y is %d&quot;, sum);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;In add() function &lt;em&gt;int&lt;/em&gt; return type is used and at last line   of add() function return keyword is used to return added value of x and y   to main function to display.&lt;br /&gt;
&lt;h2&gt;4.&amp;nbsp; Function With return_type and with parameters&lt;/h2&gt;&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;int add(int x, int y)&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(x+y);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int x, y, z;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Enter value for x and y&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d&quot;, &amp;amp;x, &amp;amp;y);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; z=add(x, y);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Sum of x and y is %d&quot;, z);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Sum of x and z is %d&quot;, add(x,z));&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;main() function calls add() function by passing two value. add()   function those two value as parameter and performs addition and returns   the added value to main() function so that main() function can display   the added value.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt; &lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Example 1:&lt;/strong&gt; Write a program to find the factorial of N  number using function.&lt;br /&gt;
&lt;h5&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;long int fact(int n); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //prototype&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; long int f;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int x;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;enter the value for x:&quot;)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;x);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f = fact(x);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot; Factorial of x is %ld&quot;, f);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;long int fact(int n)&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; long int f=1;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=1; i&amp;lt;=n; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f= f*i;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(f);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;strong&gt;Example 2:&lt;/strong&gt; Write a program to find the length of  string using function.&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;int slen(char str[]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int len;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char str[25];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Enter any string as input&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%s&quot;, str);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; len = slen(str);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Length of string is %d&quot;, len);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;int slen(int str[])&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int l;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(l=0; str[l] != &#39;\0&#39;, l++);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(l);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/4728925491198557802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/functions-types-of-functions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/4728925491198557802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/4728925491198557802'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/functions-types-of-functions.html' title='Functions: TYPES OF FUNCTIONS'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-5003976910794932008</id><published>2011-07-14T11:47:00.000+05:30</published><updated>2011-07-14T11:47:13.437+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Functions: RECURSIVE FUNCTION</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;RECURSIVE FUNCTION&lt;/div&gt;Recursion in computer  programming defines a function in terms of  itself. One example  application of recursion is in recursive descent  parsers for  programming languages. The great advantage of recursion is  that an  infinite set of possible sentences, designs, or other data can  be  defined, parsed, or produced by a finite computer program.&lt;br /&gt;
&lt;strong&gt;syntax:&lt;/strong&gt;&lt;br /&gt;
void &lt;strong&gt;function()&lt;/strong&gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; .. .. ..&lt;br /&gt;
&amp;nbsp;&amp;nbsp; .. .. ..&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;strong&gt;function();&lt;/strong&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; .. .. ..&lt;br /&gt;
&amp;nbsp;&amp;nbsp; .. .. ..&lt;br /&gt;
}&lt;br /&gt;
&lt;strong&gt;Example 1:&lt;/strong&gt; Write a program to find out the factorial  of n&lt;sup&gt;th&lt;/sup&gt; term using recursive function.&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;long int fact(int n)&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; long int f;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(n==1)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(1)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f = n * fact(n-1);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(f);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; long int f;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int x;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;enter the value for x:&quot;)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;x);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f = fact(x);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot; Factorial of x is %ld&quot;, f);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;br /&gt;
&lt;strong&gt;Example 2:&lt;/strong&gt; Write a program to find out the sum of  digit of an integer number using recursive function.&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;int sumdigit(int n)&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int sum;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(n&amp;lt;10)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(n)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum = (n%10) * sumdigit(n/10);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(sum);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int sum;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int x;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;enter the value for x:&quot;)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;x);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum = fact(x);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot; sum of digit is %d&quot;, sum);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/5003976910794932008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/functions-recursive-function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/5003976910794932008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/5003976910794932008'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/functions-recursive-function.html' title='Functions: RECURSIVE FUNCTION'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-7723221049838553460</id><published>2011-07-14T11:42:00.000+05:30</published><updated>2011-07-14T11:42:06.503+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Functions: Difference Between pass by value and pass by reference with example</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;&amp;nbsp;DIFFERENCE BETWEEN PASS BY VALUE AND PASS BY REFERENCE WITH EXAMPLE&lt;/div&gt;&lt;h2&gt;Difference Between pass by value and pass by reference with example&lt;/h2&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 329px;&quot; valign=&quot;top&quot;&gt; &lt;div align=&quot;center&quot;&gt;&lt;strong&gt;Pass by value&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 329px;&quot; valign=&quot;top&quot;&gt; &lt;div align=&quot;center&quot;&gt;&lt;strong&gt;Pass by reference&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 329px;&quot; valign=&quot;top&quot;&gt; While calling by value,   variable value is passed and its value is  received by the arguments in the function&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 329px;&quot; valign=&quot;top&quot;&gt; While calling by reference,   variable&#39;s address is passed and the   pointers as arguments in the function   pointes to that variable&#39;s   address.&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 329px;&quot; valign=&quot;top&quot;&gt; &lt;strong&gt;Example:&lt;/strong&gt;&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
void swap(int x,   int y)&lt;br /&gt;
{&lt;br /&gt;
int   temp;&lt;br /&gt;
temp   = x;&lt;br /&gt;
x   = y;&lt;br /&gt;
y   = temp;&lt;br /&gt;
}&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
int   x=5, y=10;&lt;br /&gt;
swap(x,   y); //pass by value&lt;br /&gt;
&lt;br /&gt;
printf(&quot;x=%d   \n y=%d&quot;, x, y);&lt;br /&gt;
&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;OUTPUT:&lt;/strong&gt;&lt;br /&gt;
x=5&lt;br /&gt;
y=10&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 329px;&quot; valign=&quot;top&quot;&gt; &lt;strong&gt;Example:&lt;/strong&gt;&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
void swap(int *x,   int *y)&lt;br /&gt;
{&lt;br /&gt;
int   temp;&lt;br /&gt;
temp   = *x;&lt;br /&gt;
*x   = *y;&lt;br /&gt;
*y   = temp;&lt;br /&gt;
}&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
int   x=5, y=10;&lt;br /&gt;
swap(&amp;amp;x,   &amp;amp;y); //pass by reference&lt;br /&gt;
&lt;br /&gt;
printf(&quot;x=%d   \n y=%d&quot;, x, y);&lt;br /&gt;
&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;OUTPUT:&lt;/strong&gt;&lt;br /&gt;
x=10&lt;br /&gt;
y=5&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 329px;&quot; valign=&quot;top&quot;&gt; In above example, from main()   function value of x and y is sent to   swap() function. The value swapped   between x and y is within swap   function only. So, when return back to main()   function the value of x   and y remains same. That is why value of x is   displayed as 5 and y as   10.&lt;br /&gt;
Its like Ram and Laxman   searing different room in Ram And Laxman  story.&lt;br /&gt;
&lt;/td&gt; &lt;td class=&quot;bd&quot; style=&quot;width: 329px;&quot; valign=&quot;top&quot;&gt; Here, from main() function x   and y address (reference) is sent to   swap() function. The value swapped   between x and y is the value   swapped for swap() and main() function because   both&#39;s x and y points   to same block of address. So, when return back to   main() function the   value of x and y is changed. That is why value of x is   displayed as  10  and y as 5.&lt;br /&gt;
Its like Ram and Laxman searing same   room in Ram And Laxman story.&lt;br /&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/7723221049838553460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/functions-difference-between-pass-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/7723221049838553460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/7723221049838553460'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/functions-difference-between-pass-by.html' title='Functions: Difference Between pass by value and pass by reference with example'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-511740023399473177</id><published>2011-07-14T11:38:00.002+05:30</published><updated>2011-07-14T11:38:52.363+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>DYNAMIC MEMORY ALLOCATION</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;DYNAMIC MEMORY ALLOCATION&lt;/div&gt;&lt;h2&gt;Dynamic Memory Allocation&lt;/h2&gt;C language requires that the number of elements in an array should be   specified at compile time. Our initial judgment of size, if it is   wrong, may cause failure of the program or wastage of memory space. Many   languages permit a programmer to specify an array?s size at run time.   Such languages take the ability to calculate and assign, during   execution, the memory space required by the variables in a program. The   process of allocating memory at run time is known as dynamic memory   allocation. The library functions used for allocating memory are :&lt;br /&gt;
Function - Task&lt;br /&gt;
&lt;strong&gt;malloc&lt;/strong&gt;( ) -Allocates requested size of bytes and  returns a pointer to the first byte of the allocated space&lt;br /&gt;
&lt;strong&gt;calloc&lt;/strong&gt;() - Allocates space for an array of element,  initializes them to zero and then returns a pointer to the memory&lt;br /&gt;
&lt;h3&gt;Memory Allocation Process&lt;/h3&gt;Let us first look at the memory allocation process associated with a C   program. Fig. below shows the conceptual view of storage of a C  program  in memory.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt; Local Variable Stack&lt;/li&gt;
&lt;li&gt; Free Memory Heap&lt;/li&gt;
&lt;li&gt; Global Variables&lt;/li&gt;
&lt;li&gt; C Program instructions&lt;/li&gt;
&lt;/ul&gt;The program instructions and global and static variables are stored   in a region known as permanent storage area and the local variables are   stored in another area called stack. The memory space that is located   between these two regions is available for dynamic allocation during   execution of the program. The free memory region is called the heap. The   size of the heap keeps changing when program is executed due to   creation and death of variables that are local to functions and blocks.   Therefore, it is possible to encounter memory &quot;overflow&quot; during dynamic   allocation process. In such situations, the memory allocations  functions  mentioned above returns a NULL pointer.&lt;br /&gt;
&lt;h4&gt;Allocating a block of memory&lt;/h4&gt;A block of memory may be allocated using the function malloc. The   malloc function reserves a block of memory of specified size and returns   a pointer of type void. This means that we can assign it to any type  of  pointer. It takes the following form;&lt;br /&gt;
&lt;h5&gt;Ptr = ( Cast type * ) malloc ( byte size ) ;&lt;/h5&gt;Ptr is a pointer of type cast type. The malloc returns a pointer (of  cast type) to an area of memory with size byte - size.&lt;br /&gt;
&lt;strong&gt;Example&lt;/strong&gt; :&lt;br /&gt;
&lt;h5&gt;X = ( int * ) malloc ( 100 * size of ( int )) ;&lt;/h5&gt;On successful execution of this statement, a memory space equivalent   to &quot;100 times the size of an int&quot; bytes is reserved and the address of   the first byte of the memory allocated is assigned to the pointer X of   type int.&lt;br /&gt;
Similarly, the statement&lt;br /&gt;
&lt;h5&gt;Cptr = ( char * ) malloc ( 10 ) ;&lt;/h5&gt;allocates 10 bytes of space for the pointer cptr of type char. This  is illustrated below :&lt;br /&gt;
Cptr Address of first byte&lt;br /&gt;
10 bytes of Space&lt;br /&gt;
Remember, the malloc allocates a block of adjacent bytes. The   allocation can fail if the space in the heap is not sufficient to   satisfy the request. If it fails, it returns a NULL. We should therefore   check whether the allocation is successful before using the memory   pointer.&lt;br /&gt;
&lt;h4&gt;Allocating Multiple Blocks of Memory&lt;/h4&gt;Calloc is another memory allocation function that is normally used   for requesting memory space at runtime for storing derived data types   such as arrays and structures. While malloc allocates a single block of   storage space, calloc allocates multiple blocks of storage, each of the   same size, and then allocates all bytes to O. The general form of  calloc  is :&lt;br /&gt;
&lt;h5&gt;Ptr = (Cast type * ) Calloc ( n, elem-size );&lt;/h5&gt;The above statement allocates contiguous space for n blocks, each of   size elem-size bytes. All bytes are initialized to zero and a pointer  to  the first byte of the allocated region is returned. If there is not   enough space, a NULL pointer is returned.</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/511740023399473177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/dynamic-memory-allocation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/511740023399473177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/511740023399473177'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/dynamic-memory-allocation.html' title='DYNAMIC MEMORY ALLOCATION'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-5210385163993694407</id><published>2011-07-14T11:37:00.000+05:30</published><updated>2011-07-14T11:37:21.418+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>INTRODUCTION OF POINTER</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;&lt;u&gt;INTRODUCTION OF POINTER&lt;/u&gt;&lt;/div&gt;Pointers are variables that  hold addresses. They provide much power  and utility for the programmer  to access and manipulate data in ways not  seen in some other languages.&lt;br /&gt;
A pointer is a special type of variable that contains a memory   address rather than a data value. Just as data is modified when a normal   variable is used, the value of the address stored in a pointer is   modified as a pointer variable is manipulated.&lt;br /&gt;
Usually, the address stored in the pointer is the address of some  other variable.&lt;br /&gt;
&lt;h5&gt;int *ptr;&lt;br /&gt;
ptr = &amp;amp;count /* Stores the address of count in ptr  */&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;To get the value that is stored at the memory location in the pointer   it is necessary to dereference the pointer. Dereferencing is done with   the unary operator &quot;*&quot;.&lt;br /&gt;
&lt;h5&gt;int total;&lt;br /&gt;
total = *ptr;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* The value in the address  stored in ptr is assigned to total */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;Example 1: To take input and output for integer pointer variable&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;string.h&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;main()&lt;br /&gt;
{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int a;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int *x;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //taking input for general variable&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;a);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //taking input for printer&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;, x);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //displaying value for general variable&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d&quot;, a);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //displaying value for pointer variable&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d&quot;, *x);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;strong&gt;Example 2: &lt;/strong&gt;Program to convert uppercase string into  lowercase using pointer&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;string.h&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;main()&lt;br /&gt;
{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char *str;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Enter value for string:&quot;);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%s&quot;, str);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; *(str+i)!=&#39;\0&#39;; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(*(str+i)&amp;gt;= &#39;A&#39; &amp;amp;&amp;amp; *(str+i)&amp;lt;= &#39;Z&#39;)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(str+i) = *(str+i) + 32;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;converted into Lower case sting is %s &quot;, str);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;strong&gt;&amp;nbsp; &lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Example 3:&lt;/strong&gt; Write a program to input name of person.  Reorder record in alphabetical order of name.&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;string.h&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char *name[10], temp[25];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i, j;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*taking input for name and age*/&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;10; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%s&quot;, name[i]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*reordering record in order of name */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;10; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=i+1; j&amp;lt;10; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(strcmp(name[i], name[j]) &amp;gt; 0)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //swapping name&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(temp, name[i]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(name[i], name[j]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(name[j], temp)&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/h5&gt;&lt;h5&gt;/*Displaying the reordered name */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;10; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%s&quot;, name[i]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/5210385163993694407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/introduction-of-pointer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/5210385163993694407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/5210385163993694407'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/introduction-of-pointer.html' title='INTRODUCTION OF POINTER'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5178717361846938184.post-2318877042937268150</id><published>2011-07-14T11:35:00.002+05:30</published><updated>2011-07-14T11:35:29.925+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bachelor"/><category scheme="http://www.blogger.com/atom/ns#" term="BBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer Concept"/><category scheme="http://www.blogger.com/atom/ns#" term="High School"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>DIMENSION OF ARRAY</title><content type='html'>&lt;div class=&quot;heading&quot;&gt;DIMENSION OF ARRAY&lt;/div&gt;&lt;h2&gt;Important Note About Array Dimensions&lt;/h2&gt;The C language performs no error checking on array bounds. If you   define an array with 50 elements and you attempt to access element 50   (the 51st element), or any out of bounds index, the compiler issues no   warnings. It is the programmer&#39;s task alone to check that all attempts   to access or write to arrays are done only at valid array indexes.   Writing or reading past the end of arrays is a common programming bug   and can be hard to isolate.&lt;br /&gt;
What will happen if a program accesses  past the end of an array? Suppose a program has the following code.&lt;br /&gt;
&lt;h5&gt;int val;&lt;br /&gt;
int buffer[10];&lt;br /&gt;
val = buffer[10];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Bug,  remember that the indexes of buffer run from 0 to 9. */&lt;/h5&gt;&lt;br /&gt;
What value will be in val? Whatever happens to be in memory at   the location right after the end of the array. This value could be   anything. Worse yet, the program may continue to run with the incorrect   value and no warnings are issued.&lt;br /&gt;
What will happen if a program writes past the end of an array?  Suppose a program has the following code.&lt;br /&gt;
&lt;h5&gt;int buffer[10];&lt;br /&gt;
buffer[593] = 99;&lt;/h5&gt;The value of 99 will be written at the memory location, buffer + 593.   &quot;buffer&quot; is a pointer to the beginning of the array. buffer + 593 is   pointer arithmetic for the address equal to the starting address of the   array plus the size of 593 integers. The overwriting of the value at   this memory location will change the value of whatever variable is   stored there. Some other variable may have its value changed   unintentionally. If the program writes unintentionally to memory   locations that not valid, the program may crash.&lt;br /&gt;
&lt;strong&gt;&lt;em&gt; &lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;h2&gt;Multidimensional Arrays&lt;/h2&gt;The C language also allows multidimensional arrays. They are defined as follows.&lt;br /&gt;
&lt;h5&gt;int matrix[3][3];&lt;/h5&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;0&lt;/div&gt;&lt;/td&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;1&lt;/div&gt;&lt;/td&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;2&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;0&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;x1&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;x2&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;x3&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;1&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;x4&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;x5&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;x6&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;2&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;x7&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;x8&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;x9&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;To represent x5 it should be written as follows&lt;br /&gt;
&lt;h5&gt;matrix[1][1]&lt;/h5&gt;Similarly&lt;br /&gt;
&lt;h5&gt;x1 = matrix[0][0];&lt;/h5&gt;&lt;h5&gt;x2 = matrix[0][1];&lt;/h5&gt;&lt;h5&gt;x3 = matrix[0][2];&lt;/h5&gt;&lt;h5&gt;x4 = matrix[1][0];&lt;/h5&gt;&lt;h5&gt;and so on&lt;/h5&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br /&gt;
&lt;h5&gt;int x[3][3];&lt;/h5&gt;&lt;h5&gt;x[0][0] = 5;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x[0][1] = 3;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x[0][2] = 9;&lt;/h5&gt;&lt;h5&gt;x[1][0] = 6;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x[1][1] = 22;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x[1][2] = 33;&lt;/h5&gt;&lt;h5&gt;x[2][0] = 32;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x[2][1] = 45;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x[2][2] = 7;&lt;/h5&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;0&lt;/div&gt;&lt;/td&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;1&lt;/div&gt;&lt;/td&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;2&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;0&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;5&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;3&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;9&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;1&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;6&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;22&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;33&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; &lt;div align=&quot;center&quot;&gt;2&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;32&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;45&lt;/div&gt;&lt;/td&gt; &lt;td class=&quot;bd&quot;&gt; &lt;div align=&quot;center&quot;&gt;7&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;A common way to access the elements of multidimensional arrays is  with nested for loops.&lt;br /&gt;
&lt;h5&gt;#define row 3&lt;br /&gt;
#define col 3&lt;br /&gt;
&lt;br /&gt;
int i;&lt;br /&gt;
int j;&lt;br /&gt;
int  x[row][col];&lt;br /&gt;
&lt;br /&gt;
for (i = 0; i &amp;lt; row; i++)&lt;/h5&gt;&lt;h5&gt;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (j = 0; j &amp;lt; col; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values[i][j] = &lt;em&gt;whatever&lt;/em&gt;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;/h5&gt;&lt;strong&gt;Example:&lt;/strong&gt; Program to find the sum of matrix of 3x3&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int A[3][3], B[3][3], c[3][3];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i, j;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*taking input values in matrix A  and matrix B */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;3; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=1; j&amp;lt;3; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d &quot;,  &amp;amp;A[i][j], &amp;amp;B[i][j]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;/*Adding matrix */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;3; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=0; j&amp;lt;3; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C[i][j] = A[i][j] +  B[i][j];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;/*Displaying the result in screen */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;3; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=0; j&amp;lt;3; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d&quot;, C[i][j]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;strong&gt;Example :&lt;/strong&gt; Program to find the multiplication of  matrix of 3x3&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int A[3][3], B[3][3], c[3][3];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i, j, k, sum;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*taking input values in matrix A and matrix B */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;3; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=0; j&amp;lt;3; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d &quot;, &amp;amp;A[i][j], &amp;amp;B[i][j]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*multiplying matrix */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;3; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=0; j&amp;lt;3; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum = 0;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(k=0; k&amp;lt;3; k++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum = sum + (A[i][k]*B[k][j]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C[i][j] = sum;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;/*Displaying the result in screen */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;3; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=0; j&amp;lt;3; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d&quot;, C[i][j]);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;strong&gt;Example 3:&lt;/strong&gt; Program to transpose matrix of 3x3&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int A[3][3], B[3][3];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i, j;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*taking input values in matrix A and matrix B */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;3; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=0; j&amp;lt;3; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d &quot;, &amp;amp;A[i][j]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*transposing matrix */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;3; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=0; j&amp;lt;3; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B[j][i] = A[i][j];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp; /*Displaying the result in screen */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;3; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=0; j&amp;lt;3; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d&quot;, B[i][j]);&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;&lt;strong&gt;Example 4:&lt;/strong&gt; Write a program to input name and age of  person. Reorder record in alphabetical order of name.&lt;br /&gt;
&lt;h5&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;string.h&amp;gt;&lt;/h5&gt;&lt;h5&gt;main()&lt;/h5&gt;&lt;h5&gt;{&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char name[10][25], temp[25];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i, j, age[10], temp1;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*taking input for name and age*/&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;10; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%s %d &quot;,name[i], &amp;amp;age[i]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*reordering record in order of name */&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;10; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=i+1; j&amp;lt;10; j++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(strcmp(name[i], name[j]) &amp;gt; 0)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //swapping name&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(temp, name[i]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(name[i], name[j]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(name[j], temp)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;//swapping age&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp1 = age[i];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; age[i] = age[j];&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; age[j] = temp1;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/h5&gt;&lt;h5&gt;/*Displaying the reordered name and  age*/&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;10; i++)&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%s %d&quot;, name[i],  age[i]);&lt;/h5&gt;&lt;h5&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/h5&gt;&lt;h5&gt;}&lt;/h5&gt;</content><link rel='replies' type='application/atom+xml' href='http://thestudyguru.blogspot.com/feeds/2318877042937268150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/dimension-of-array.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/2318877042937268150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5178717361846938184/posts/default/2318877042937268150'/><link rel='alternate' type='text/html' href='http://thestudyguru.blogspot.com/2011/07/dimension-of-array.html' title='DIMENSION OF ARRAY'/><author><name>Subodh Poudyal</name><uri>http://www.blogger.com/profile/09069818440748234856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='11' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeF7eoPwnnftcGoy85YlpKogGMTSlamn6SuSTAELLqHPpCdKP-fk1tLH_VC_nM4eajfkz0V-RRffFNBdPBkfg5t1CKpEH1tGdg5pGQp-K4P3ePKc6NZR6zt0aH4Y/s220/149227_1422972465577_1570684319_30868471_7037042_n.jpg'/></author><thr:total>0</thr:total></entry></feed>