<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>demlaip Blog</title>
	<atom:link href="http://demlaip.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://demlaip.wordpress.com</link>
	<description></description>
	<lastBuildDate>Wed, 04 Jan 2012 09:27:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='demlaip.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8d7a37f394c8e35b6fae02b3b1278085?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>demlaip Blog</title>
		<link>http://demlaip.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://demlaip.wordpress.com/osd.xml" title="demlaip Blog" />
	<atom:link rel='hub' href='http://demlaip.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Sharing is Caring</title>
		<link>http://demlaip.wordpress.com/2012/01/01/sharing-is-caring/</link>
		<comments>http://demlaip.wordpress.com/2012/01/01/sharing-is-caring/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 18:30:43 +0000</pubDate>
		<dc:creator>Demla__Pawan</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Perception]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[share]]></category>

		<guid isPermaLink="false">http://demlaip.wordpress.com/?p=651</guid>
		<description><![CDATA[In this world of competition,every one of us is busy in Rat Race,from which some have got few seconds to read this. Its not about writing Big Big well thought quotes for just preaching others,its about incorporating that thoughts in your life. I&#8217;m a witness of great number of stolen great thoughts scattered around on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=651&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this world of competition,every one of us is busy in Rat Race,from which some have got few seconds to read this. <a href="http://demlaip.files.wordpress.com/2011/12/sharing_is_caring_www.jpg"><img class="alignright size-medium wp-image-652" title="sharing_is_caring" src="http://demlaip.files.wordpress.com/2011/12/sharing_is_caring_www.jpg?w=300&#038;h=229" alt="Old fills New" width="300" height="229" /></a><br />
Its not about writing Big Big well thought quotes for just preaching others,its about incorporating that thoughts in your life.<br />
I&#8217;m a witness of great number of stolen great thoughts scattered around on mine as well as my friends Facebook walls,most of them actually have tons of meaningful thinking behind them,but are mostly consumed as a light air .</p>
<p>I just took one of those thought written on my friends Facebook wall,it was &#8220;Sharing Is Caring&#8221;</p>
<p>This three word thought drives the whole human race from apes to present sophisticated ape.<br />
I don&#8217;t go much in deep,If I took this topic from various perspective,it would take at least one data center to store that information. So I try to brief about its role from a geek&#8217;s perspective.</p>
<p>I have the first case,where this thought perfectly blends is the Open-source Revolution,where the branded developers given their work and time for free to their descendent generation and it&#8217;s still continuing ,starting from crowdsourcing coding to Social coding. Apart from software fraternity,this concept is also getting popular in other engineering fields.<br />
Today even big MNC like Microsoft copies open-source systems Architecture to get best in the market for free. Its a fact,I heard from one of the Microsoft contractual employee.</p>
<p>So although even Big steals open-source concepts,but it doesn&#8217;t hurt much to open-source contributors,because there ultimate aim is to give back something to humanity,before leaving this earth. And they also know whatever valuable resources or knowledge they have,more useful for today,because tomorrow will be new knowledge based on todays conceptual pillars. That&#8217;s why I feel proud to be part of this knowledge Industry.</p>
<p>Actual aim of writing above paragraphs is make us understand that,we must share our experience&#8217;s,knowledge or whatever of whatever type,today people don&#8217;t shy of sharing their personals in the form of porn.<br />
So why do we hesitate to share what we know,whether it may be an idea or tools or anything,because we all have same working brains,some work today,some will tomorrow. So whatever happens,our each one&#8217;s execution of idea differs not the base idea,which differentiates Facebook from myspace.</p>
<p>In my previous post,I shared some tips which worked for me in my job search,although I was selfish that I shared them after trying,for which I apologize,but now I realize that was childish,however I learned something in that way and I was worried about hiding resources,in the process of job search,I found every job seeker has same resources,only thing differs is their usage of that resource at right time and at right place.</p>
<p>This above text may sound crap to some,BUt who cares,I shared What I wanted to,It was not written,to be read by many,it&#8217;s just a realization,which everyone will have some or the other time and I have just documented it,for later reference to keep me remember,that I will share my experience&#8217;s,as &#8220;Experienced is another name given to Mistakes&#8221;, so me as well as others can learn from it.<br />
And I took a resolution for year 2012,that I will share some of the Helpful Experience&#8217;s and Loose some weight also.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/demlaip.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/demlaip.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/demlaip.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/demlaip.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/demlaip.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/demlaip.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/demlaip.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/demlaip.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/demlaip.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/demlaip.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/demlaip.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/demlaip.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/demlaip.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/demlaip.wordpress.com/651/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=651&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://demlaip.wordpress.com/2012/01/01/sharing-is-caring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50206d2ea2f642aacf9fe6878372e76e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">demlaip</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/12/sharing_is_caring_www.jpg?w=300" medium="image">
			<media:title type="html">sharing_is_caring</media:title>
		</media:content>
	</item>
		<item>
		<title>Un-Placed to Placed</title>
		<link>http://demlaip.wordpress.com/2011/12/25/un-placed-to-placed/</link>
		<comments>http://demlaip.wordpress.com/2011/12/25/un-placed-to-placed/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 14:35:21 +0000</pubDate>
		<dc:creator>Demla__Pawan</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Perception]]></category>
		<category><![CDATA[jobless]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[HR]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Résumé]]></category>
		<category><![CDATA[Employment]]></category>
		<category><![CDATA[Company]]></category>
		<category><![CDATA[Recruitment]]></category>
		<category><![CDATA[Information technology]]></category>
		<category><![CDATA[working]]></category>
		<category><![CDATA[job search]]></category>
		<category><![CDATA[job seek]]></category>
		<category><![CDATA[Human resources]]></category>

		<guid isPermaLink="false">http://demlaip.wordpress.com/?p=641</guid>
		<description><![CDATA[Tried tips to get recruited or to get job in MNC.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=641&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello,its demlaip here,<a href="http://demlaip.files.wordpress.com/2011/12/steps.jpg"><img class="size-medium wp-image-642 alignright" title="steps" src="http://demlaip.files.wordpress.com/2011/12/steps.jpg?w=300&#038;h=225" alt="Journey" width="300" height="225" /></a></p>
<p style="text-align:justify;">Sharing my  job search experience in this last post of the year along with the ways which worked for me. Describing the ways I employed to get placed at a nice MNC company to learn more.In TSEC.engg.college , I was just a below average guy,who got very low final aggregate percentage.</p>
<p style="text-align:justify;">This low scorecard,was insufficient to get me ,even to first step of recruitment i.e. aptitude test. Due to which I missed to sit for companies like: Infosys,L&amp; T infotech,Delloite,Morgan stanley, Tech Mahindra,Blue star infotech.<br />
Although I got low scorecard,I got opportunity to sit for companies like:Accenture india, Vistaar,Oracle finance,Quinnox,Zycus infotech,Atidan,Tresvista,Vistex,Alphaplus tech,Citius tech,Microworld softwares,Rheal soft,Hostway,E-emphasis tech,Baysquare tech,Systenics tech,Zeus learning, and Capgemini india.</p>
<p style="text-align:justify;">After attempting around 20 companies,in some I reached till their 2nd round of technical interviews,however in most of the initial attempts I got filtered out in aptitude tests.Then comes the dawn,I got selected into one of the MNC,after which I got most comments from friends as &#8220;Set hai Boss !&#8221;.</p>
<p style="text-align:justify;">While attempting those so many companies to get recruited,once I got fedup and purchased one web domain also in order to have a start of my own web business as I was once a part time web enthusiast. So whatever happens I never stop analyzing alternative ways to learn more by never stopping journey.</p>
<p style="text-align:justify;">Now let&#8217;s get to the point, how I got so many chances to sit for good brand companies.<br />
Most of the initial 2-3 companies,my campus allowed me to sit for them.<br />
But due to only few campus chances and still remained unplaced after that,I employed following methods :</p>
<p style="text-align:justify;"><strong>(0).Get Certifications:-</strong><br />
After I finished my 4 yrs college,whichever company I visit for walk in&#8217;s,I was not getting any preference,as I had nothing to prove them that I know this or that thing well. So,in order to get eligible for that preference,I chose a single line,whether it will be database&#8217;s or development like java or .net. So I opted to go for certification in Oracle database,which was the primary reason I think I got to select in which stream of industry I want to go. without that,I may be thrown into testing,networking,or any other stream,in which I won&#8217;t be liking in start.So I suggest,Go for certification in whatever you like,whether it may be DAtabases,Robotics,or programming,just to get some tangible proof that you are not a Blank Kid in the market.</p>
<p style="text-align:justify;"><strong>(1). Built a short professional Resume:-</strong><br />
Although I tried many nice projects during my four years of BE college,but I mentioned only two projects of different type and as said in IT industry,&#8221;even experience people have 1 page resume&#8221;,so how can I even extend my resume more than Two pages as a Fresher. And rest all things you can see in <a title="RESUME_of_demlaip" href="https://docs.google.com/open?id=1QZwee6nZhedaBTQ-3lpkSxBwKyVmS5HK8c8s1FdRWbPg926cefbLpgePIV5A" target="_blank">attached resume</a>,that I mentioned only few main skills,in which I proved something or certified them.</p>
<p style="text-align:justify;"><strong>(2).submit resume on career portals:-</strong><br />
I submitted my resume on specific career portal sites of about 57 MNC companies along with that I already uploaded an updated resume on various job sites like naukri.com,monsterindia.com,shine.com,freshersworld.com etc. Just to increase the probability of myself getting placed.</p>
<p style="text-align:justify;"><strong>(3). Have a phone call:-</strong><br />
I tried calling various HR dept of MNC companies,where they usually ignore calls from students. So my call starts as &#8221; hello,its demla from TSEC engg college,basically I need some HR enquiries&#8221;. So after this statement,one of the HR comes on the call by assuming that college authority has called.<br />
So then say what you want to ask.</p>
<p style="text-align:justify;"><strong>(4). Get some reference touch:-</strong><br />
I tried to accumulate contacts of various nearby relatives,who may be in touch with any of the industry guy indirectly. So I spoke with them,about what I need,so they asked to send my resumes to them,so that they can forward my resume to their known peers or friends,who are in industry for sometime,in the process I got in touch with some of the nice professionals,who indirectly helped me achieve required skills which are actually useful in industry. But I don&#8217;t,I have received any direct help,it just works in chains,you don&#8217;t know who in the chain will be part of your professional network later.<br />
So just learn from whatever comes.</p>
<p style="text-align:justify;"><strong>(5). JOin various social Networking JOb Groups:-</strong><br />
I joined various JOb seekers Facebook groups,and followed some Twitter posters also regarding any new job opportunity info. They really help in evaluating whether to attempt or not particular job opportunity,as some of the opportunities are just fake and mostly are relevant to types of members of that groups. And MAking HR as the Connection On LinkedIn.com doesn&#8217;t help much,I know this from my friends experience.</p>
<p style="text-align:justify;"><strong>(6). Start working at Small:-</strong><br />
while trying above methods,I assisted in small startup also,to get in touch of some work.So try to get at least an internship to utilize your time till you get placed.Don&#8217;t hesitate to work for small,if you wish to work for Big.</p>
<p style="text-align:justify;">Even After Trying all above ways along with digital profile on various professional networking sites like LinkedIn,SiliconIndia etc.<br />
I got placed 3-4months after I finished my 4 years of college.<br />
ANd I also Realized that,&#8221;whatever happens,It happens for a reason&#8221;,that is to teach me some essential needed in journey ahead.<br />
And Forget what negative People say,they are just the audience,you are the Lead Actor in the Play.Never lose your flavor,as I also maintained my Engineer flavor in Step numbers which start with zero(0) similar to an Array of programming.</p>
<p style="text-align:justify;">SO,I learnt great thing in this process,which I know will be useful at every step in my journey,that : NEVER Give Up,search for alternatives till arrived at Desired level.<br />
As Even Einstein said once &#8220;Trying Same thing,expecting Different results each time&#8221;,will not work.</p>
<p style="text-align:justify;">So,Good Luck and Best wishes for your Recruitment process and see you in the Industry.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/demlaip.wordpress.com/641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/demlaip.wordpress.com/641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/demlaip.wordpress.com/641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/demlaip.wordpress.com/641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/demlaip.wordpress.com/641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/demlaip.wordpress.com/641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/demlaip.wordpress.com/641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/demlaip.wordpress.com/641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/demlaip.wordpress.com/641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/demlaip.wordpress.com/641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/demlaip.wordpress.com/641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/demlaip.wordpress.com/641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/demlaip.wordpress.com/641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/demlaip.wordpress.com/641/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=641&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://demlaip.wordpress.com/2011/12/25/un-placed-to-placed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50206d2ea2f642aacf9fe6878372e76e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">demlaip</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/12/steps.jpg?w=300" medium="image">
			<media:title type="html">steps</media:title>
		</media:content>
	</item>
		<item>
		<title>Bird&#8217;s View  from MounTrek</title>
		<link>http://demlaip.wordpress.com/2011/11/27/608/</link>
		<comments>http://demlaip.wordpress.com/2011/11/27/608/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 14:48:43 +0000</pubDate>
		<dc:creator>Demla__Pawan</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[mountaineer]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[trekking]]></category>

		<guid isPermaLink="false">http://demlaip.wordpress.com/?p=608</guid>
		<description><![CDATA[MOuNtReK: In order to get Birds view of Mumbra Town in maharahtra,india. I tried to get on top of a highest mountain in that area,which was just 1850ft high.  THis was not the first time I visited that mountain,its just that this time I got new experiences, which I never had before,like feeling sick in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=608&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>MOuNtReK:</strong></p>
<address>In order to get Birds view of Mumbra Town in maharahtra,india.</address>
<address>I tried to get on top of a highest mountain in that area,which was just 1850ft high. </address>
<address>THis was not the first time I visited that mountain,its just that this time I got new experiences,</address>
<address>which I never had before,like feeling sick in mid of trekking,not because I was actually sick,</address>
<address>its just the dehydration occurred in mid,as atmosphere temperature was near 32 degree celsius</address>
<address>in the afternoon. From two weeks,I was asking my friends to get ready and go for this,</address>
<address>however every time,some or the other things downturn this trek plan. so this time,</address>
<address>I carried on this trek alone,just to feel heat of afternoon sun,as for so many days</address>
<address>I had not tried anything which felt challenging as that of mount climbing alone,that&#8217;s what I feel.I don&#8217;t write much,</address>
<address>and I also don&#8217;t know,how to write nice paragraphs,as I&#8217;m still learning english by blogging.</address>
<address>so lets list out what I shot during this mountain trek.</address>

<a href='http://demlaip.wordpress.com/2011/11/27/608/2011-11-27_13-56-24_569/' title='2011-11-27_13-56-24_569'><img data-attachment-id='609' data-orig-size='2048,1536' data-liked='0'width="150" height="112" src="http://demlaip.files.wordpress.com/2011/11/2011-11-27_13-56-24_569.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="2011-11-27_13-56-24_569" title="2011-11-27_13-56-24_569" /></a>
<a href='http://demlaip.wordpress.com/2011/11/27/608/2011-11-27_13-56-40_514/' title='2011-11-27_13-56-40_514'><img data-attachment-id='610' data-orig-size='2048,1536' data-liked='0'width="150" height="112" src="http://demlaip.files.wordpress.com/2011/11/2011-11-27_13-56-40_514.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="2011-11-27_13-56-40_514" title="2011-11-27_13-56-40_514" /></a>
<a href='http://demlaip.wordpress.com/2011/11/27/608/2011-11-27_13-56-57_538/' title='2011-11-27_13-56-57_538'><img data-attachment-id='611' data-orig-size='1024,768' data-liked='0'width="150" height="112" src="http://demlaip.files.wordpress.com/2011/11/2011-11-27_13-56-57_538.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="2011-11-27_13-56-57_538" title="2011-11-27_13-56-57_538" /></a>
<a href='http://demlaip.wordpress.com/2011/11/27/608/2011-11-27_13-57-33_850/' title='2011-11-27_13-57-33_850'><img data-attachment-id='612' data-orig-size='1024,768' data-liked='0'width="150" height="112" src="http://demlaip.files.wordpress.com/2011/11/2011-11-27_13-57-33_850.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="2011-11-27_13-57-33_850" title="2011-11-27_13-57-33_850" /></a>
<a href='http://demlaip.wordpress.com/2011/11/27/608/2011-11-27_14-02-49_491/' title='2011-11-27_14-02-49_491'><img data-attachment-id='613' data-orig-size='1024,768' data-liked='0'width="150" height="112" src="http://demlaip.files.wordpress.com/2011/11/2011-11-27_14-02-49_491.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="2011-11-27_14-02-49_491" title="2011-11-27_14-02-49_491" /></a>
<a href='http://demlaip.wordpress.com/2011/11/27/608/2011-11-27_14-06-06_835/' title='2011-11-27_14-06-06_835'><img data-attachment-id='614' data-orig-size='2048,1536' data-liked='0'width="150" height="112" src="http://demlaip.files.wordpress.com/2011/11/2011-11-27_14-06-06_835.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="2011-11-27_14-06-06_835" title="2011-11-27_14-06-06_835" /></a>
<a href='http://demlaip.wordpress.com/2011/11/27/608/2011-11-27_14-12-15_686/' title='2011-11-27_14-12-15_686'><img data-attachment-id='615' data-orig-size='2048,1536' data-liked='0'width="150" height="112" src="http://demlaip.files.wordpress.com/2011/11/2011-11-27_14-12-15_686.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="2011-11-27_14-12-15_686" title="2011-11-27_14-12-15_686" /></a>
<a href='http://demlaip.wordpress.com/2011/11/27/608/2011-11-27_14-13-18_538/' title='2011-11-27_14-13-18_538'><img data-attachment-id='616' data-orig-size='2048,1536' data-liked='0'width="150" height="112" src="http://demlaip.files.wordpress.com/2011/11/2011-11-27_14-13-18_538.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="2011-11-27_14-13-18_538" title="2011-11-27_14-13-18_538" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/demlaip.wordpress.com/608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/demlaip.wordpress.com/608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/demlaip.wordpress.com/608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/demlaip.wordpress.com/608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/demlaip.wordpress.com/608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/demlaip.wordpress.com/608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/demlaip.wordpress.com/608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/demlaip.wordpress.com/608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/demlaip.wordpress.com/608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/demlaip.wordpress.com/608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/demlaip.wordpress.com/608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/demlaip.wordpress.com/608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/demlaip.wordpress.com/608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/demlaip.wordpress.com/608/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=608&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://demlaip.wordpress.com/2011/11/27/608/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50206d2ea2f642aacf9fe6878372e76e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">demlaip</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/11/2011-11-27_13-56-24_569.jpg?w=150" medium="image">
			<media:title type="html">2011-11-27_13-56-24_569</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/11/2011-11-27_13-56-40_514.jpg?w=150" medium="image">
			<media:title type="html">2011-11-27_13-56-40_514</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/11/2011-11-27_13-56-57_538.jpg?w=150" medium="image">
			<media:title type="html">2011-11-27_13-56-57_538</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/11/2011-11-27_13-57-33_850.jpg?w=150" medium="image">
			<media:title type="html">2011-11-27_13-57-33_850</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/11/2011-11-27_14-02-49_491.jpg?w=150" medium="image">
			<media:title type="html">2011-11-27_14-02-49_491</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/11/2011-11-27_14-06-06_835.jpg?w=150" medium="image">
			<media:title type="html">2011-11-27_14-06-06_835</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/11/2011-11-27_14-12-15_686.jpg?w=150" medium="image">
			<media:title type="html">2011-11-27_14-12-15_686</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/11/2011-11-27_14-13-18_538.jpg?w=150" medium="image">
			<media:title type="html">2011-11-27_14-13-18_538</media:title>
		</media:content>
	</item>
		<item>
		<title>Number Representation in 2&#8242;s Power using PHP</title>
		<link>http://demlaip.wordpress.com/2011/08/16/number-representation-in-2s-power-using-php/</link>
		<comments>http://demlaip.wordpress.com/2011/08/16/number-representation-in-2s-power-using-php/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 19:38:41 +0000</pubDate>
		<dc:creator>Demla__Pawan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[2's representation]]></category>
		<category><![CDATA[base_convert() method]]></category>
		<category><![CDATA[Binary numeral system]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://demlaip.wordpress.com/?p=552</guid>
		<description><![CDATA[In order to learn anything you got to experiment with things,so I have a bad habit of trying those experimentation right in beginning of any learning course. This time its the turn of PHP,which I started when I got fed with some speed mathematics formula&#8217;s and I thought instead of thinking so much for calculations [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=552&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to learn anything you got to experiment with things,so I have a bad habit of trying those experimentation right<br />
in beginning of any learning course.<br />
This time its the turn of PHP,which I started when I got fed with some speed mathematics formula&#8217;s and</p>
<p>I thought instead of thinking so much for calculations of 2&#8242;s power representation,</p>
<p>I can make a simple program code to think that for me.</p>
<p><span class="Apple-style-span" style="font-family:Consolas, Monaco, monospace;font-size:12px;line-height:18px;white-space:pre;">So the result of that is the below Code,</span></p>
<p><span class="Apple-style-span" style="font-family:Consolas, Monaco, monospace;font-size:12px;line-height:18px;white-space:pre;">in which I tried to represent any given number in 2&#8242;s power,</span></p>
<p><span class="Apple-style-span" style="font-family:Consolas, Monaco, monospace;font-size:12px;line-height:18px;white-space:pre;">because that&#8217;s the one </span>thing which I remember from mathematics that any number can be represented using 2&#8242;s power.</p>
<p>Below code works for numbers ranging from 1 to 1023,I tried with 1024 number also,but there is some issue</p>
<p>with numbers greater than 1023 which I resolve some other time,because at present ,I learnt one thing that</p>
<p>I can also code,if I think before coding anything. So,its enough for the day.</p>
<p><strong>DOWNLOAD:</strong> <a title="sourcecode" href="http://dl.dropbox.com/u/2025503/programs/PHP/maths/two_pow1.php" target="_blank">sourcecode_two_pow.php</a></p>
<p><strong>OUTPUT:</strong></p>
<p style="text-align:center;">
<p><strong><a href="http://demlaip.files.wordpress.com/2011/08/new1.png"><img class="aligncenter size-full wp-image-580" title="output" src="http://demlaip.files.wordpress.com/2011/08/new1.png?w=570" alt=""   /></a><br />
</strong></p>
<p><strong>CODE:</strong></p>
<p><pre class="brush: php;">
Represent any number upto 1023 in 2
&lt;sup&gt;n&lt;/sup&gt;
&lt;pre&gt; Form

&lt;form action=&quot;two_pow1.php&quot; method=&quot;POST&quot;&gt;
Enter the N's value: &lt;input type='text' size='4' name='n_val'&gt;
&lt;input type='submit' value='submit'&gt; &lt;/form&gt;

&lt;?php

/*
Objective: 	to represent any number given till 1023 in 2^n form.
Language: 	php
Tested results: (Working: n=0-1023) and (non-working for n&gt;1023)
*/

if ($_POST['n_val']&lt;0 || $_POST['n_val']&gt;1023)
echo (&quot;Program works only for values between 1 and 1023&quot;);
else
$n=$_POST['n_val']; //initializing 'N'
echo (&quot;Given Number: &lt;br/&gt; N=$n&quot;);
echo (&quot;&lt;br/&gt;&quot;);

//forming a list of 2^n upto 2^10
$two_pow=array(pow(2,0),pow(2,1),pow(2,2),
			   pow(2,3),pow(2,4),pow(2,5),
			   pow(2,6),pow(2,7),pow(2,8),
			   pow(2,9),pow(2,10));

$i=0; //initializing index counter for array.

//calculating upper limit of 2^n for given number
while($n&gt;=$two_pow[$i])
$i++;

/* get upper limit index  e.g : 2^3,if N=8*/
if($i&gt;0)
$up=$i-1;

//converting DECIMAL TO BINARY. ,optional to display,so commented
/*echo &quot;Binary Form: &lt;br/&gt;&quot;;
echo base_convert($n,10,2) .&quot;&lt;br/&gt;&quot;;
*/

//forming an array of binary number
$bins = array_reverse(str_split(base_convert($n,10,2)));
//optional to display key-value pair of binary number
//print_r($bins );

echo(&quot;In 2's Power form: &lt;br/&gt;&quot;);

if($n&gt;0)
{
	for($i=0;$i&lt;=$up;$i++)
	{
	if($bins[$i]!=0)
	echo(&quot;2&lt;sup&gt; $i &lt;/sup&gt;&quot;.&quot;+\n&quot;);
    }
}
else
echo(&quot;
not possible for values less then zero&quot;);

?&gt;

&lt;strong&gt;&lt;/strong&gt;
</pre></p>
<p>Below I also listed the file which includes the code when I was composing the above code in mockup ,by comparing with how I think of the above problem,so this file will be less clean with too much debris.</p>
<p><a title="conceptualization source code" href="http://dl.dropbox.com/u/2025503/programs/PHP/maths/two_pow.php" target="_blank">conceptualized time source code.php</a> includes conceptualization of above problem.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/demlaip.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/demlaip.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/demlaip.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/demlaip.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/demlaip.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/demlaip.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/demlaip.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/demlaip.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/demlaip.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/demlaip.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/demlaip.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/demlaip.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/demlaip.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/demlaip.wordpress.com/552/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=552&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://demlaip.wordpress.com/2011/08/16/number-representation-in-2s-power-using-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50206d2ea2f642aacf9fe6878372e76e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">demlaip</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/08/new1.png" medium="image">
			<media:title type="html">output</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning without evaluation</title>
		<link>http://demlaip.wordpress.com/2011/08/13/learning-without-evaluation/</link>
		<comments>http://demlaip.wordpress.com/2011/08/13/learning-without-evaluation/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 14:48:38 +0000</pubDate>
		<dc:creator>Demla__Pawan</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[child]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://demlaip.wordpress.com/?p=542</guid>
		<description><![CDATA[&#160; Everyone of us,learn some or other thing daily knowingly or unknowingly. But then also,we can&#8217;t utilize that learning when its most need arises,have we ever thought that, are we become incompetent to learn something and utilize that later at some place, if yes, then you may have got some answer or excuse,which may be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=542&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://demlaip.files.wordpress.com/2011/08/learning.jpg"><img class="aligncenter size-full wp-image-543" title="learning" src="http://demlaip.files.wordpress.com/2011/08/learning.jpg?w=570" alt=""   /></a></p>
<p>&nbsp;</p>
<p>Everyone of us,learn some or other thing daily knowingly or unknowingly. But then also,we can&#8217;t utilize that learning when its most need arises,have we ever thought that, are we become incompetent to learn something and utilize that later at some place, if yes, then you may have got some answer or excuse,which may be still unsatisfying you, think on it.</p>
<p>So, when we go in our childhood days,we got to learn many things a day,then we do at present, and we utilize that learning in our tasks like playing, fun , study and all.</p>
<p>And I come to know that ,when we were child,we learn anything we can,without having a second thought,where it gonna be used later.<br />
So,I jumped on conclusion from this, is that <strong>&#8220;we should learn and enjoy anything that comes in our way, without evaluating its applications for later&#8221;.</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/demlaip.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/demlaip.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/demlaip.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/demlaip.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/demlaip.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/demlaip.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/demlaip.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/demlaip.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/demlaip.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/demlaip.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/demlaip.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/demlaip.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/demlaip.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/demlaip.wordpress.com/542/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=542&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://demlaip.wordpress.com/2011/08/13/learning-without-evaluation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50206d2ea2f642aacf9fe6878372e76e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">demlaip</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/08/learning.jpg" medium="image">
			<media:title type="html">learning</media:title>
		</media:content>
	</item>
		<item>
		<title>TEN (10) &#8211; QUOTES OF unusualness</title>
		<link>http://demlaip.wordpress.com/2011/08/12/ten-10-quotes-of-unusualness/</link>
		<comments>http://demlaip.wordpress.com/2011/08/12/ten-10-quotes-of-unusualness/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 12:57:08 +0000</pubDate>
		<dc:creator>Demla__Pawan</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Quotations]]></category>

		<guid isPermaLink="false">http://demlaip.wordpress.com/?p=524</guid>
		<description><![CDATA[Recently I come across some unusual quotes,which I liked so much,that I thought to share with  everyone,why I thought like that I don&#8217;t know,so the first thing come in my mind is this Blog where I occasionally posted some of my computer science codes. The quotes which I find Unusual are: 1&#62;The amount a person [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=524&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I come across some unusual quotes,which I liked so much,that I thought to share with  everyone,why I thought like that I don&#8217;t know,so the first thing come in my mind is this Blog where I occasionally posted some of my computer science codes.</p>
<p>The quotes which I find Unusual are:</p>
<blockquote><p>1&gt;The amount a person uses his imagination is inversely proportional to the amount of punishment he will receive for using it.</p>
<p>2&gt;I am always doing that which I can not do, in order that I may learn how to do it.</p>
<p>3&gt;Standards are like toothbrushes, everybody agrees you should have one, but no one wants to use yours.</p>
<p>4&gt;If you can’t explain it simply, you don’t understand it well enough.</p>
<p>5&gt;Don’t stare at a blank page for too long, be bold, and make the first incisive stroke. The rest will come naturally.</p>
<p>6&gt;Don’t spend too much time planning, release early and often, some things will work, others won’t, refine and move forward and above all forget the money, just make sure you love what you’re doing.</p>
<p>7&gt;Do, or do not. There is no “try”.</p>
<p>8&gt;Find something you’re passionate about and keep tremendously interested in it.</p>
<p>9&gt;Heaven, I believe, is right here, just waiting for us to create it.</p>
<p>10&gt;Learning never exhausts the mind.</p>
<p style="text-align:center;"><a href="http://demlaip.files.wordpress.com/2011/08/handmade.jpg"><img class="size-medium wp-image-532 aligncenter" title="unusual" src="http://demlaip.files.wordpress.com/2011/08/handmade.jpg?w=300&#038;h=161" alt="unusual" width="300" height="161" /></a></p>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/demlaip.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/demlaip.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/demlaip.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/demlaip.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/demlaip.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/demlaip.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/demlaip.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/demlaip.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/demlaip.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/demlaip.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/demlaip.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/demlaip.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/demlaip.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/demlaip.wordpress.com/524/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=524&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://demlaip.wordpress.com/2011/08/12/ten-10-quotes-of-unusualness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50206d2ea2f642aacf9fe6878372e76e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">demlaip</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/08/handmade.jpg?w=300" medium="image">
			<media:title type="html">unusual</media:title>
		</media:content>
	</item>
		<item>
		<title>You Like Present,then you also like Future.</title>
		<link>http://demlaip.wordpress.com/2011/08/11/you-like-presentthen-you-also-like-future/</link>
		<comments>http://demlaip.wordpress.com/2011/08/11/you-like-presentthen-you-also-like-future/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 12:52:54 +0000</pubDate>
		<dc:creator>Demla__Pawan</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[life is gift]]></category>
		<category><![CDATA[present]]></category>
		<category><![CDATA[realization]]></category>

		<guid isPermaLink="false">http://demlaip.wordpress.com/?p=520</guid>
		<description><![CDATA[&#160; Today someone asked me such a simple Question ,of which I heard people giving Long answers to that.Because at some or the other time everyone comes across this question. i.e:  Question: WHAT DO YOU THINK HOW WILL BE YOUR FUTURE ? Answer :  &#8216;GOOD&#8217; OR &#8216;BAD&#8217;. I answered GOOD, then the person who asked [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=520&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;">
<p style="text-align:center;"><a href="http://demlaip.files.wordpress.com/2011/08/life-is-a-gift-with-background.jpg"><img class="aligncenter size-medium wp-image-582" title="Life is a gift with background" src="http://demlaip.files.wordpress.com/2011/08/life-is-a-gift-with-background.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p>&nbsp;</p>
<p>Today someone asked me such a simple Question ,of which I heard people giving Long answers to that.Because at some or the other time everyone comes across this question.</p>
<p>i.e:  Question: <strong>WHAT DO YOU THINK HOW WILL BE YOUR FUTURE ?</strong></p>
<p>Answer :  <strong>&#8216;GOOD&#8217; OR &#8216;BAD&#8217;</strong>.</p>
<p><strong>I answered GOOD</strong>, then the person who asked me this was clueless for the moment.So I asked him what are you thinking,you didn&#8217;t like what I just said.</p>
<p>He replied : At present you are going through worst days of your life,like you are jobless,your university results pending ,no source of money and some more, then also how can you say your  FUTURE will be GOOD,if thing are not in  your favour at present.</p>
<p>I replied: I don&#8217;t think much about whats not working,because I wish to concentrate on what will work.</p>
<p>And <strong>&#8220;IF you Don&#8217;t Like your Present then How will you Like your Future,when it becomes your present one day&#8221;</strong>.</p>
<p>So, I like all my days on earth,because at the End,when my creator calls me home,Flashback of all these moments on earth  will revolve around in my mind,so I want them to be good,for which I&#8217;m working on.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/demlaip.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/demlaip.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/demlaip.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/demlaip.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/demlaip.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/demlaip.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/demlaip.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/demlaip.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/demlaip.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/demlaip.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/demlaip.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/demlaip.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/demlaip.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/demlaip.wordpress.com/520/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=520&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://demlaip.wordpress.com/2011/08/11/you-like-presentthen-you-also-like-future/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50206d2ea2f642aacf9fe6878372e76e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">demlaip</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2011/08/life-is-a-gift-with-background.jpg?w=300" medium="image">
			<media:title type="html">Life is a gift with background</media:title>
		</media:content>
	</item>
		<item>
		<title>Able-Baker Problem Simulation in java</title>
		<link>http://demlaip.wordpress.com/2010/12/22/multi-channel-queue-or-able-baker-simulation-in-java/</link>
		<comments>http://demlaip.wordpress.com/2010/12/22/multi-channel-queue-or-able-baker-simulation-in-java/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 12:30:39 +0000</pubDate>
		<dc:creator>Demla__Pawan</dc:creator>
				<category><![CDATA[JavaSE program's]]></category>
		<category><![CDATA[able problem]]></category>
		<category><![CDATA[baker.able baker problem]]></category>
		<category><![CDATA[computer simulation]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[multi channel]]></category>
		<category><![CDATA[queue]]></category>

		<guid isPermaLink="false">http://demlaip.wordpress.com/2010/12/20/multi-channel-queue-or-able-baker-simulation-in-java/</guid>
		<description><![CDATA[In simulating real world systems on computer like a Multi channel queue or Able Baker problem consisting of a Two servers for serving the two queues of customers.so we have its following simulation along with the able baker problem with it: PROGRAM : Creating Multi channel or Able-Baker problem simulation . Instructions to run a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=485&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In simulating real world systems on computer like a Multi channel queue or Able Baker problem consisting of a Two servers for serving the two queues of customers.so we have its following simulation along with the able baker problem with it:</p>
<p><strong>PROGRAM </strong> : Creating Multi channel or Able-Baker problem simulation .</p>
<p><strong>Instructions to run a file:</strong><br />
1.save the program as .java in bin folder of jdk.<br />
2.compile the program using ” javac “in cmd prompt<br />
3.run the file using java command.</p>
<p><strong>Download Link</strong>: <a href="http://dl.dropbox.com/u/2025503/programs/C_Simulation_sem7/Multichannel.txt">Multi channel queue [.txt file]</a></p>
<p><strong>Source Code:</strong></p>
<blockquote><p><pre class="brush: java;">
/*
DESCRIPTION;
IN simulating real world systems on computer like a Multi channel queue or
Able Baker problem consisting of a Two servers for serving the two queues of customers.
so we have its following simulation along with the able baker problem with it:
*/

import java.io.*;
import java.util.*;

class Multichannel
{    public static void main(String a[])throws IOException
{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
Random r=new Random(0);
int i,j;
int arrivaltime[]={1,2,3,4};
double arrivalprob[]={0.25,0.40,0.20,0.15};
double cumarrival[]=new double[arrivalprob.length];
int arrivalrda[]=new int[arrivalprob.length];
int ableservice[]={2,3,4,5};
double ableprob[]={0.30,0.28,0.25,0.17};
double cumable[]=new double[ableprob.length];
int ablerda[]=new int[arrivalprob.length];
int bakerservice[]={3,4,5,6};
double bakerprob[]={0.35,0.25,0.20,0.20};
double cumbaker[]=new double[bakerprob.length];
int bakerrda[]=new int[arrivalprob.length];
int randomarrival[]=new int[60/ableservice[0]];
int randomservice[]=new int[60/ableservice[0]];
int arrival[]=new int[60/ableservice[0]];
int service[]=new int[60/ableservice[0]];
int interarrival[]=new int[60/ableservice[0]];
int serviceable[]=new int[60/ableservice[0]];
int servicebaker[]=new int[60/ableservice[0]];
int ablestart[]=new int[60/ableservice[0]];
int bakerstart[]=new int[60/ableservice[0]];
int ableend[]=new int[60/ableservice[0]];
int bakerend[]=new int[60/ableservice[0]];
int ableprocess[]=new int [60/ableservice[0]];
int bakerprocess[]=new int[60/ableservice[0]];
int qtime[]=new int[60/ableservice[0]];
int ttime[]=new int[60/ableservice[0]];
int tempable=0,tempbaker=0;
float ableavgser=0,bakeravgser=0,waitingcust=0,ttq=0,tts=0;
for(i=0;i
{    if(i==0)
{    cumarrival[i]=arrivalprob[i];
arrivalrda[i]=(int)(cumarrival[i]*100d);
}

else
{    cumarrival[i]=cumarrival[i-1]+arrivalprob[i];
arrivalrda[i]=(int)(cumarrival[i]*100d);
}
}
for(i=0;i
{    if(i==0)
{    cumable[i]=ableprob[i];
ablerda[i]=(int)(cumable[i]*100d);
}
else
{    cumable[i]=cumable[i-1]+ableprob[i];
ablerda[i]=(int)(cumable[i]*100d);
}
}
for(i=0;i
{    if(i==0)
{    cumbaker[i]=bakerprob[i];
bakerrda[i]=(int)(cumbaker[i]*100d);
}
else
{    cumbaker[i]=cumbaker[i-1]+bakerprob[i];
bakerrda[i]=(int)(cumbaker[i]*100d);
}
}
randomservice[0]=(int)(Math.random()*100d);
for(i=1;i&lt;(60/ableservice[0]);i++)
{    randomarrival[i]=(int)(Math.random()*100d);
randomservice[i]=(int)(Math.random()*100d);
}
for(i=1;i&lt;(60/ableservice[0]);i++)
{    for(j=0;j&lt;arrivalrda.length;j++)
{    if(randomarrival[i]==0)
{    arrival[i]=arrivaltime[arrivaltime.length-1];
break;
}
if(randomarrival[i]&lt;=arrivalrda[j])
{    arrival[i]=arrivaltime[j];
break;
}
}
interarrival[i]=interarrival[i-1]+arrival[i];
}
for(i=0;i&lt;(60/ableservice[0]);i++)
{    for(j=0;j&lt;ablerda.length;j++)
{    if(randomservice[i]==0)
{    serviceable[i]=ableservice[ableservice.length-1];
break;
}
if(randomservice[i]&lt;=ablerda[j])
{    serviceable[i]=ableservice[j];
break;
}
}
for(j=0;j&lt;bakerrda.length;j++)
{    if(randomservice[i]==0)
{    servicebaker[i]=bakerservice[bakerservice.length-1];
break;
}
if(randomservice[i]&lt;=bakerrda[j])
{    servicebaker[i]=bakerservice[j];
break;
}
}


}
for(i=0;i&lt;(60/ableservice[0]);i++)
{    if(tempable&lt;=interarrival[i])
{    ablestart[i]=interarrival[i];
ableend[i]=ablestart[i]+serviceable[i];
ableprocess[i]=serviceable[i];
tempable=ableend[i];
ttime[i]=ableprocess[i]+qtime[i];
}
else if(tempbaker&lt;=interarrival[i])
{    bakerstart[i]=interarrival[i];
bakerend[i]=bakerstart[i]+servicebaker[i];
bakerprocess[i]=servicebaker[i];
tempbaker=bakerend[i];
ttime[i]=bakerprocess[i]+qtime[i];
}
else if((interarrival[i]
{    ablestart[i]=tempable;
ableend[i]=ablestart[i]+serviceable[i];
ableprocess[i]=serviceable[i];
qtime[i]=tempable-interarrival[i];
tempable=ableend[i];
ttime[i]=ableprocess[i]+qtime[i];
waitingcust++;
}
else
{    bakerstart[i]=tempbaker;
bakerend[i]=bakerstart[i]+servicebaker[i];
bakerprocess[i]=servicebaker[i];
qtime[i]=tempbaker-interarrival[i];
tempbaker=bakerend[i];
ttime[i]=bakerprocess[i]+qtime[i];
waitingcust++;
}
}
for(i=0;(interarrival[i]&lt;=60)&amp;&amp;(i&lt;(60/ableservice[0]));i++)
{    ableavgser=ableavgser+ableprocess[i];
bakeravgser=bakeravgser+bakerprocess[i];
ttq=ttq+qtime[i];
tts=tts+ttime[i];
}
float totalcust=i;
System.out.println(&quot;No.\tRDA.\tARR.\tIARR.\tRDS.\tASTAT.\tAPRO.\tAEND.\tBSTAT.\tBPRO.\tBEND.\tTSQ.\tTIS&quot;);
System.out.println(&quot;-------------------------------------------------------------------------------------------------------&quot;);
for(i=0;(interarrival[i]&lt;=60)&amp;&amp;(i&lt;(60/ableservice[0]));i++)
{    System.out.println((i+1)+&quot;\t&quot;+randomarrival[i]+&quot;\t&quot;+arrival[i]+&quot;\t&quot;+interarrival[i]+&quot;\t&quot;+randomservice[i]+&quot;\t&quot;+ablestart[i]+&quot;\t&quot;+ableprocess[i]+&quot;\t&quot;+ableend[i]+&quot;\t&quot;+bakerstart[i]+&quot;\t&quot;+bakerprocess[i]+&quot;\t&quot;+bakerend[i]+&quot;\t&quot;+qtime[i]+&quot;\t&quot;+ttime[i]);
System.out.println(&quot;-------------------------------------------------------------------------------------------------------&quot;);
}
System.out.println(&quot;PERFORMANCE OF THE SYSTEM IS AS FOLLOWS:&quot;);
System.out.println(&quot;AVERAGE SERVICE TIME OF ABLE:&quot;+(ableavgser/totalcust));
System.out.println(&quot;AVERAGE SERVICE TIME OF BAKER:&quot;+(bakeravgser/totalcust));
if(waitingcust&gt;0)
System.out.println(&quot;AVERAGE WAITING TIME OF THE CUSTOMER IS:&quot;+(ttq/waitingcust));
System.out.println(&quot;PROBABILITY OF WAITING IS:&quot;+(waitingcust/totalcust));
System.out.println(&quot;AVERAGE TIME SPENT BY CUSTOMER IN THE SYSTEM IS:&quot;+(tts/totalcust));

}
}
/*OUTPUT

No.     RDA.    ARR.    IARR.   RDS.    ASTAT.  APRO.   AEND.   BSTAT.  BPRO.   BEND.   TSQ.    TIS
----------------------------------------------------------------------------------------------------
1       0       0       0       78      0       4       4       0       0       0       0       4
----------------------------------------------------------------------------------------------------
2       69      3       3       18      0       0       0       3       3       6       0       3
----------------------------------------------------------------------------------------------------
3       27      2       5       2       5       2       7       0       0       0       0       2
----------------------------------------------------------------------------------------------------
4       5       1       6       26      0       0       0       6       3       9       0       3
----------------------------------------------------------------------------------------------------
5       9       1       7       66      7       4       11      0       0       0       0       4
----------------------------------------------------------------------------------------------------
6       95      4       11      23      11      2       13      0       0       0       0       2
----------------------------------------------------------------------------------------------------
7       84      3       14      4       14      2       16      0       0       0       0       2
----------------------------------------------------------------------------------------------------
8       75      3       17      63      17      4       21      0       0       0       0       4
----------------------------------------------------------------------------------------------------
9       86      4       21      95      21      5       26      0       0       0       0       5
----------------------------------------------------------------------------------------------------
10      21      1       22      20      0       0       0       22      3       25      0       3
----------------------------------------------------------------------------------------------------
11      27      2       24      98      0       0       0       25      6       31      1       7
----------------------------------------------------------------------------------------------------
12      65      2       26      76      26      4       30      0       0       0       0       4
----------------------------------------------------------------------------------------------------
13      91      4       30      59      30      4       34      0       0       0       0       4
----------------------------------------------------------------------------------------------------
14      38      2       32      8       0       0       0       32      3       35      0       3
----------------------------------------------------------------------------------------------------
15      21      1       33      81      34      4       38      0       0       0       1       5
----------------------------------------------------------------------------------------------------
16      50      2       35      5       0       0       0       35      3       38      0       3
----------------------------------------------------------------------------------------------------
17      9       1       36      49      38      3       41      0       0       0       2       5
----------------------------------------------------------------------------------------------------
18      41      2       38      32      0       0       0       38      3       41      0       3
----------------------------------------------------------------------------------------------------
19      78      3       41      99      41      5       46      0       0       0       0       5
----------------------------------------------------------------------------------------------------
20      10      1       42      3       0       0       0       42      3       45      0       3
----------------------------------------------------------------------------------------------------
21      44      2       44      28      0       0       0       45      3       48      1       4
----------------------------------------------------------------------------------------------------
22      59      2       46      51      46      3       49      0       0       0       0       3
----------------------------------------------------------------------------------------------------
23      31      2       48      56      0       0       0       48      4       52      0       4
----------------------------------------------------------------------------------------------------
24      45      2       50      20      50      2       52      0       0       0       0       2
----------------------------------------------------------------------------------------------------
25      78      3       53      12      53      2       55      0       0       0       0       2
----------------------------------------------------------------------------------------------------
26      96      4       57      9       57      2       59      0       0       0       0       2
----------------------------------------------------------------------------------------------------
27      24      1       58      10      0       0       0       58      3       61      0       3
----------------------------------------------------------------------------------------------------
28      4       1       59      92      59      5       64      0       0       0       0       5
----------------------------------------------------------------------------------------------------
PERFORMANCE OF THE SYSTEM IS AS FOLLOWS:
AVERAGE SERVICE TIME OF ABLE:2.0357144
AVERAGE SERVICE TIME OF BAKER:1.3214285
AVERAGE WAITING TIME OF THE CUSTOMER IS:1.25
PROBABILITY OF WAITING IS:0.14285715
AVERAGE TIME SPENT BY CUSTOMER IN THE SYSTEM IS:3.5357144
*/


</pre></p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/demlaip.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/demlaip.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/demlaip.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/demlaip.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/demlaip.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/demlaip.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/demlaip.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/demlaip.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/demlaip.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/demlaip.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/demlaip.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/demlaip.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/demlaip.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/demlaip.wordpress.com/485/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=485&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://demlaip.wordpress.com/2010/12/22/multi-channel-queue-or-able-baker-simulation-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50206d2ea2f642aacf9fe6878372e76e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">demlaip</media:title>
		</media:content>
	</item>
		<item>
		<title>Single channel queue Simulation in java</title>
		<link>http://demlaip.wordpress.com/2010/12/21/single-channel-queue-simulation-in-java-4/</link>
		<comments>http://demlaip.wordpress.com/2010/12/21/single-channel-queue-simulation-in-java-4/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 12:30:39 +0000</pubDate>
		<dc:creator>Demla__Pawan</dc:creator>
				<category><![CDATA[JavaSE program's]]></category>
		<category><![CDATA[computer simulation]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[queue]]></category>
		<category><![CDATA[single channel]]></category>
		<category><![CDATA[single channel queue]]></category>

		<guid isPermaLink="false">http://demlaip.wordpress.com/2010/12/20/single-channel-queue-simulation-in-java-4/</guid>
		<description><![CDATA[In simulating real world systems on computer like a Single channel queue consisting of a single server for serving the queue of customers.so we have its following simulation: PROGRAM : Creating Single channel simulation . Instructions to run a file: 1.save the program as .java in bin folder of jdk. 2.compile the program using ” [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=479&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In simulating real world systems on computer like a Single channel queue consisting of a single server for serving the<br />
queue of customers.so we have its following simulation:</p>
<p><strong>PROGRAM </strong> : Creating Single channel simulation .</p>
<p><strong>Instructions to run a file:</strong><br />
1.save the program as .java in bin folder of jdk.<br />
2.compile the program using ” javac “in cmd prompt<br />
3.run the file using java command.</p>
<p><strong>Download Link</strong>: <a href="http://dl.dropbox.com/u/2025503/programs/C_Simulation_sem7/Singlechannel.txt">Single channel queue [.txt file]</a></p>
<p><strong>Source Code:</strong></p>
<p><pre class="brush: java;">&lt;/pre&gt;
import java.io.*;

class Singlechannel
{	public static void main(String a[])throws Exception
{	BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
float avgser=0,qavg=0,savg=0;
int i,no,wcount=0,icount=0,j;
System.out.println(&quot;ENTER THE NUMBER OF CUSTOMERS.&quot;);
no=Integer.parseInt(br.readLine());
int arrival[]={1,2,3,4,5,6,7,8};
int arrivalrda[]=new int[arrival.length];
float cumarrival[]=new float[arrival.length];
float arrivalprob[]={0.125f,0.125f,0.125f,0.125f,0.125f,0.125f,0.125f,0.125f};
int arrivaltime[]=new int[no];
int service[]={1,2,3,4,5,6};
float serviceprob[]={0.10f,0.20f,0.30f,0.25f,0.10f,0.05f};
float servicecum[]=new float[service.length];
int servicerda[]=new int[service.length];
int servicetime[]=new int[no];
int randomarrival[]=new int[no];
int randomservice[]=new int[no];
int interarrival[]=new int[no];
int starttime[]=new int[no];
int endtime[]=new int[no];
int ttq[]=new int[no];
int tts[]=new int[no];
int idletime[]=new int[no];
for(i=0;i&lt;arrival.length;i++)
{	if(i==0)
{	cumarrival[i]=arrivalprob[i];
arrivalrda[i]=(int)(cumarrival[i]*100);
}

else
{	cumarrival[i]=cumarrival[i-1]+arrivalprob[i];
arrivalrda[i]=(int)(cumarrival[i]*100);
}
}
for(i=0;i&lt;service.length;i++)
{	if(i==0)
{	servicecum[i]=serviceprob[i];
servicerda[i]=(int)(servicecum[i]*100);
}
else
{	servicecum[i]=servicecum[i-1]+serviceprob[i];
servicerda[i]=(int)(servicecum[i]*100);
}
}
randomservice[0]=(int)(Math.random()*100d);
for(i=1;i&lt;no;i++)
{	randomarrival[i]=(int)(Math.random()*100d);
randomservice[i]=(int)(Math.random()*100d);
}
for(i=1;i&lt;no;i++)
{	for(j=0;j&lt;arrivalrda.length;j++)
{	if(randomarrival[i]==0)
{	arrivaltime[i]=arrival[arrival.length-1];
break;
}
if(randomarrival[i]&lt;=arrivalrda[j])
{	arrivaltime[i]=arrival[j];
break;
}
}
interarrival[i]=interarrival[i-1]+arrivaltime[i];
}
for(i=0;i&lt;no;i++)
{	for(j=0;j&lt;servicerda.length;j++)
{	if(randomservice[i]==0)
{	servicetime[i]=service[service.length-1];
break;
}
if(randomservice[i]&lt;=servicerda[j])
{	servicetime[i]=service[j];
break;
}
}
}
for(i=0;i&lt;no;i++)
{	if(i==0)
{	starttime[i]=0;
endtime[i]=starttime[i]+servicetime[i];
tts[i]=servicetime[i];
}
else
{	if(endtime[i-1]&gt;=interarrival[i])
{	ttq[i]=endtime[i-1]-interarrival[i];
starttime[i]=endtime[i-1];
endtime[i]=starttime[i]+servicetime[i];
tts[i]=servicetime[i]+ttq[i];
}
else
{	idletime[i]=interarrival[i]-endtime[i-1];
starttime[i]=interarrival[i];
endtime[i]=starttime[i]+servicetime[i];
tts[i]=servicetime[i];
}
}
}
for(i=0;i&lt;no;i++)
{	avgser=avgser+servicetime[i];
qavg=qavg+ttq[i];
savg=savg+tts[i];
if(ttq[i]&gt;0)
wcount++;
if(idletime[i]&gt;0)
icount++;
}
System.out.println(&quot;No.\tRDA.\tARR.\tIARR.\tRDS.\tPSTAT.\tSERT.\tPEND.\tTSQ.
\tIDLW.\tTIS.&quot;);
for(i=0;i&lt;no;i++)		{
System.out.println((i+1)+&quot;\t&quot;+randomarrival[i]+&quot;\t&quot;+arrivaltime[i]+&quot;\t&quot;
+interarrival[i]+&quot;\t&quot;+randomservice[i]+&quot;
\t&quot;+starttime[i]+&quot;\t&quot;+servicetime[i]+&quot;\t&quot;+endtime[i]+&quot;\t&quot;+ttq[i]+&quot;\t&quot;
+idletime[i]+&quot;\t&quot;+tts[i]);

}

System.out.println(&quot;PERFORMANCE OF THE SYSTEM IS AS FOLLOWS:&quot;);

System.out.println(&quot;AVERAGE SERVICE TIME:&quot;+(avgser/no));

if(wcount&gt;0)

System.out.println(&quot;AVERAGE WAITING TIME OF THE CUSTOMER IS:&quot;+(qavg/wcount));

System.out.println(&quot;PROBABILITY OF WAITING IS:&quot;+((float)wcount/no));

System.out.println(&quot;AVERAGE TIME SPENT BY CUSTOMER IN THE SYSTEM IS:&quot;+(savg/no));

System.out.println(&quot;PROBABILITY OF IDLE SERVER IS:&quot;+((float)icount/no));

}

}

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/demlaip.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/demlaip.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/demlaip.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/demlaip.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/demlaip.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/demlaip.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/demlaip.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/demlaip.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/demlaip.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/demlaip.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/demlaip.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/demlaip.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/demlaip.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/demlaip.wordpress.com/479/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=479&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://demlaip.wordpress.com/2010/12/21/single-channel-queue-simulation-in-java-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50206d2ea2f642aacf9fe6878372e76e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">demlaip</media:title>
		</media:content>
	</item>
		<item>
		<title>a Date with a Smart cell Phone</title>
		<link>http://demlaip.wordpress.com/2010/09/27/a-date-with-a-smart-cell-phone/</link>
		<comments>http://demlaip.wordpress.com/2010/09/27/a-date-with-a-smart-cell-phone/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 11:05:20 +0000</pubDate>
		<dc:creator>Demla__Pawan</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[calm holy]]></category>
		<category><![CDATA[child cuteness]]></category>
		<category><![CDATA[cute]]></category>
		<category><![CDATA[fiction]]></category>
		<category><![CDATA[girl child]]></category>
		<category><![CDATA[happy]]></category>
		<category><![CDATA[human intelligence]]></category>
		<category><![CDATA[human touch]]></category>
		<category><![CDATA[humanity]]></category>
		<category><![CDATA[imagination]]></category>
		<category><![CDATA[learning experience]]></category>

		<guid isPermaLink="false">http://demlaip.wordpress.com/2010/09/27/a-date-with-a-smart-cell-phone/</guid>
		<description><![CDATA[When we travel long distances alone,either there is bombardment of mixed thoughts going on in our mind or we try to sleep to avoid headache. At that moment,there was thing going on in my mind ,that there should be some ears which are sent to listen me,I mean those special one&#8217;s ear. But at that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=445&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-456" title="mobiledate" src="http://demlaip.files.wordpress.com/2010/09/mobiledate.png?w=300&#038;h=188" alt="mobiledate" width="300" height="188" /></p>
<p>When we travel long distances alone,either there is bombardment of mixed thoughts going on in our mind or we try to sleep to avoid headache.<br />
At that moment,there was thing going on in my mind ,that there should be some ears which are sent to listen me,I mean those special one&#8217;s ear. But at that moment ,a voice came from my cell phone&#8217;s microphone:</p>
<ul>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="Cellphone" src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" alt="Cellphone" width="36" height="36" /><p class="wp-caption-text">Cellphone</p></div>
<p>hey Im there to listen you only.</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="me as Human " src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" alt="me as Human " width="36" height="36" /><p class="wp-caption-text">Human </p></div>
<p>what the f**k going on ?,cell phone talks .</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="Cellphone" src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" alt="Cellphone" width="36" height="36" /><p class="wp-caption-text">Cellphone</p></div>
<p>just say it,wht u want,I may fullfil your wish,as I can listen to you,because I have a voice command feature in me,so u can say whtever u want.</p>
<table border="0">
<tbody>
<tr>
<td>
<div id="_mcePaste">{</div>
<div id="_mcePaste">and then my First Date with my cell phone started in Dim Lights of night time train,just like a Candle Light Date.</div>
<div id="_mcePaste">***</div>
<div id="_mcePaste">***</div>
<div id="_mcePaste">After hearing voice from a gadget,firstly I got stunned for few seconds,then I thought ,it may be a dream,so I found it fine to chat with my cell,as although if it gets angry on my some points,while chatting,it can&#8217;t harm me.And I continued the chat,by saying:</div>
<div id="_mcePaste">***</div>
<div id="_mcePaste">}</div>
</td>
</tr>
</tbody>
</table>
</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="me as Human " src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" alt="me as Human " width="36" height="36" /><p class="wp-caption-text">Human </p></div>
<p>what can you do to make me happy,as you are just a gadget.</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="Cellphone" src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" alt="Cellphone" width="36" height="36" /><p class="wp-caption-text">Cellphone</p></div>
<p>I have so many things to make you happy and keep you busy.</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="me as Human " src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" alt="me as Human " width="36" height="36" /><p class="wp-caption-text">Human </p></div>
<p>how ?</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="Cellphone" src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" alt="Cellphone" width="36" height="36" /><p class="wp-caption-text">Cellphone</p></div>
<p>I have mini fun games,document viewer,voice manipulator,music player,web browser and so on. you just name it, I have it to entertain you.</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="me as Human " src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" alt="me as Human " width="36" height="36" /><p class="wp-caption-text">Human </p></div>
<p>this junk of applications,can&#8217;t make me happy for long,as it can just keep me busy for few days and then again I get a lonely feeling.</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="Cellphone" src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" alt="Cellphone" width="36" height="36" /><p class="wp-caption-text">Cellphone</p></div>
<p>to some extent you are right,as I can offer you only temporary happiness,but I have some social networking apps,which let you find some real humans,which may let you get rid of your loneliness.</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="me as Human " src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" alt="me as Human " width="36" height="36" /><p class="wp-caption-text">Human </p></div>
<p>I already know about those social apps,where many people come to either pretain their fakeness or show off or for their marketing purpose,there is no real sense of humanity,as seen there,although people there like the cause pages,but  they never give few minutes to read about those cause&#8217;s and some people just come there to approve some friend request or notification&#8217;s or to play childish game&#8217;s.</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="Cellphone" src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" alt="Cellphone" width="36" height="36" /><p class="wp-caption-text">Cellphone</p></div>
<p>ya! you are right,we gadget&#8217;s had just increased the gaps in human behavior&#8217;s,although we reduce the communication distances,but we had taken people far from each other,in terms of their heart relations and humanitywise.</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="Cellphone" src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" alt="Cellphone" width="36" height="36" /><p class="wp-caption-text">Cellphone</p></div>
<p>ok ok,now Im also getting sentimental,so now I should leave,as my battery has been drained off completely,so please charge me to have a next date with this friend.</li>
<li>
<div class="wp-caption alignnone" style="width: 46px"><img title="me as Human " src="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" alt="me as Human " width="36" height="36" /><p class="wp-caption-text">Human </p></div>
<p>ok bye cell ! uhh ! atlast the dream over.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/demlaip.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/demlaip.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/demlaip.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/demlaip.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/demlaip.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/demlaip.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/demlaip.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/demlaip.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/demlaip.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/demlaip.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/demlaip.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/demlaip.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/demlaip.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/demlaip.wordpress.com/445/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=demlaip.wordpress.com&amp;blog=9328249&amp;post=445&amp;subd=demlaip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://demlaip.wordpress.com/2010/09/27/a-date-with-a-smart-cell-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50206d2ea2f642aacf9fe6878372e76e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">demlaip</media:title>
		</media:content>

		<media:content url="http://demlaip.files.wordpress.com/2010/09/mobiledate.png?w=300" medium="image">
			<media:title type="html">mobiledate</media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" medium="image">
			<media:title type="html">Cellphone</media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" medium="image">
			<media:title type="html">me as Human </media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" medium="image">
			<media:title type="html">Cellphone</media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" medium="image">
			<media:title type="html">me as Human </media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" medium="image">
			<media:title type="html">Cellphone</media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" medium="image">
			<media:title type="html">me as Human </media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" medium="image">
			<media:title type="html">Cellphone</media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" medium="image">
			<media:title type="html">me as Human </media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" medium="image">
			<media:title type="html">Cellphone</media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" medium="image">
			<media:title type="html">me as Human </media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" medium="image">
			<media:title type="html">Cellphone</media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584807_phone.png" medium="image">
			<media:title type="html">Cellphone</media:title>
		</media:content>

		<media:content url="http://dl.dropbox.com/u/2025503/Blogs/images/1285584859_user%205.png" medium="image">
			<media:title type="html">me as Human </media:title>
		</media:content>
	</item>
	</channel>
</rss>
