<?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-3320644093565867876</id><updated>2024-08-28T12:13:35.121-07:00</updated><title type='text'>Code Updates</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-2433477260172713517</id><published>2016-03-22T00:22:00.001-07:00</published><updated>2016-03-22T00:22:59.542-07:00</updated><title type='text'>Python - function chaining</title><content type='html'>Implementing chaining of functions. This is reverse of python inbuilt &lt;b&gt;map() &lt;/b&gt;function.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;map() &lt;/b&gt;function works on each element of an iterable by applying the given function and returns the resultant list.&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; map(int, [&#39;1&#39;, &#39;2&#39;, &#39;3&#39;])&lt;br /&gt;
[1, 2, 3]&lt;br /&gt;
&lt;br /&gt;
In contrast the below implemented function would execute a chain of functions on a given argument.&lt;br /&gt;
&lt;br /&gt;
function implementation:-&lt;br /&gt;
&lt;b&gt;&amp;gt;&amp;gt;&amp;gt; fchain = lambda fnlist, argument: reduce( lambda x, fn: fn(x), [ argument ] + fnlist )&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Example for running this:-&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; def double(x): &amp;nbsp; &lt;br /&gt;
... &amp;nbsp; return x*2&lt;br /&gt;
...&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; def triple(x):&lt;br /&gt;
... &amp;nbsp; return x*3&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;fchain([double, triple, double, double], 10)&lt;br /&gt;
&lt;br /&gt;
240&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/2433477260172713517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2016/03/python-function-chaining.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/2433477260172713517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/2433477260172713517'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2016/03/python-function-chaining.html' title='Python - function chaining'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-6983660110196171354</id><published>2012-11-02T04:55:00.001-07:00</published><updated>2012-11-02T04:55:12.102-07:00</updated><title type='text'>explore files in linux as root</title><content type='html'>If you want to browse as root, try Alt-F2 and&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;pre class=&quot;bbcodeblock&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 34px; margin-right: -99999px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;&quot;&gt;gksudo nautilus&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/6983660110196171354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2012/11/explore-files-in-linux-as-root.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/6983660110196171354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/6983660110196171354'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2012/11/explore-files-in-linux-as-root.html' title='explore files in linux as root'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-3269615023450539493</id><published>2012-08-14T01:07:00.001-07:00</published><updated>2012-08-14T01:07:04.520-07:00</updated><title type='text'>E-mail configuration for outlook express</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;articlesTitle&quot; style=&quot;background-color: white; color: #5d5f60; font-family: &#39;Arial Narrow&#39;; font-size: 24px; margin: 0px 0px 2px; padding: 0px; text-align: justify;&quot;&gt;
&lt;h1 style=&quot;font-size: 24px; font-weight: normal; letter-spacing: -1px; margin: 0px 0px 2px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/h1&gt;
&lt;/div&gt;
&lt;div class=&quot;articleHeader clear&quot; style=&quot;background-color: white; clear: both; color: #636b75; font-family: Arial, sans-serif; font-size: 13px; line-height: 18px; margin: 0px; overflow: hidden; padding: 0px; text-align: justify;&quot;&gt;
&lt;div class=&quot;addthis_toolbox addthis_default_style addthis_32x32_style&quot; style=&quot;float: right; margin: 0px; padding: 10px; width: 34px;&quot;&gt;
&lt;span class=&quot; at300bs at15nc at15t_email&quot; style=&quot;background-image: url(http://ct1.addthis.com/static/r07/widget006_32x32_top.png); background-position: 0px -128px !important; background-repeat: no-repeat no-repeat; cursor: pointer; display: block; float: left; height: 32px !important; line-height: 32px; overflow: hidden; width: 32px !important;&quot;&gt;&lt;span class=&quot;at_a11y&quot; style=&quot;height: 1px !important; left: -10000px !important; overflow: hidden !important; position: absolute !important; top: auto !important; width: 1px !important;&quot;&gt;Share on emai&lt;a class=&quot;addthis_button_favorites at300b&quot; href=&quot;http://www.webdesignenterprise.com/email-configuration-for-outlook-express-article-6.html#&quot; style=&quot;color: #5b95d7; cursor: pointer; display: inline !important; line-height: 18px; padding: 0px 2px; text-decoration: none;&quot; title=&quot;Save to Favorites&quot;&gt;&lt;span class=&quot; at300bs at15nc at15t_favorites&quot; style=&quot;background-image: url(http://ct1.addthis.com/static/r07/widget006_32x32_top.png); background-position: 0px -192px !important; background-repeat: no-repeat no-repeat; cursor: pointer; display: inline !important; height: 32px !important; line-height: 32px; overflow: hidden; width: 32px !important;&quot;&gt;&lt;h1 style=&quot;color: #5d5f60; display: inline !important; font-family: &#39;Arial Narrow&#39;; font-size: 24px; font-weight: normal; letter-spacing: -1px; line-height: normal; margin: 0px 0px 2px; padding: 0px;&quot;&gt;
iguration for outlook express&lt;/h1&gt;
&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;a class=&quot;addthis_button_favorites at300b&quot; href=&quot;http://www.webdesignenterprise.com/email-configuration-for-outlook-express-article-6.html#&quot; style=&quot;color: #5b95d7; cursor: pointer; float: left; padding: 0px 2px; text-decoration: none;&quot; title=&quot;Save to Favorites&quot;&gt;&lt;span class=&quot; at300bs at15nc at15t_favorites&quot; style=&quot;background-image: url(http://ct1.addthis.com/static/r07/widget006_32x32_top.png); background-position: 0px -192px !important; background-repeat: no-repeat no-repeat; cursor: pointer; display: block; float: left; height: 32px !important; line-height: 32px; overflow: hidden; width: 32px !important;&quot;&gt;&lt;span class=&quot;at_a11y&quot; style=&quot;height: 1px !important; left: -10000px !important; overflow: hidden !important; position: absolute !important; top: auto !important; width: 1px !important;&quot;&gt;Share on favorite&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class=&quot; at300bs at15nc at15t_print&quot; style=&quot;background-image: url(http://ct1.addthis.com/static/r07/widget006_32x32_top.png); background-position: 0px -576px !important; background-repeat: no-repeat no-repeat; cursor: pointer; display: block; float: left; height: 32px !important; line-height: 32px; overflow: hidden; width: 32px !important;&quot;&gt;&lt;span class=&quot;at_a11y&quot; style=&quot;height: 1px !important; left: -10000px !important; overflow: hidden !important; position: absolute !important; top: auto !important; width: 1px !important;&quot;&gt;Share on p&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot; at300bs at15nc at15t_facebook&quot; style=&quot;background-image: url(http://ct1.addthis.com/static/r07/widget006_32x32_top.png); background-position: 0px -160px !important; background-repeat: no-repeat no-repeat; cursor: pointer; display: block; float: left; height: 32px !important; line-height: 32px; overflow: hidden; width: 32px !important;&quot;&gt;&lt;span class=&quot;at_a11y&quot; style=&quot;height: 1px !important; left: -10000px !important; overflow: hidden !important; position: absolute !important; top: auto !important; width: 1px !important;&quot;&gt;Share on faceboo&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot; at300bs at15nc at15t_twitter&quot; style=&quot;background-image: url(http://ct1.addthis.com/static/r07/widget006_32x32_top.png); background-position: 0px -704px !important; background-repeat: no-repeat no-repeat; cursor: pointer; display: block; float: left; height: 32px !important; line-height: 32px; overflow: hidden; width: 32px !important;&quot;&gt;&lt;span class=&quot;at_a11y&quot; style=&quot;height: 1px !important; left: -10000px !important; overflow: hidden !important; position: absolute !important; top: auto !important; width: 1px !important;&quot;&gt;Share on twitte&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot; at300bs at15nc at15t_digg&quot; style=&quot;background-image: url(http://ct1.addthis.com/static/r07/widget006_32x32_top.png); background-position: 0px -96px !important; background-repeat: no-repeat no-repeat; cursor: pointer; display: block; float: left; height: 32px !important; line-height: 32px; overflow: hidden; width: 32px !important;&quot;&gt;&lt;span class=&quot;at_a11y&quot; style=&quot;height: 1px !important; left: -10000px !important; overflow: hidden !important; position: absolute !important; top: auto !important; width: 1px !important;&quot;&gt;Share on dig&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;atclear&quot; style=&quot;clear: both; margin: 0px; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h1 style=&quot;color: #5b95d7; font-family: &#39;Arial Narrow&#39;; font-size: 24px; font-weight: normal; letter-spacing: -1px; line-height: normal; margin: 0px 5px 3px 0px; padding: 0px;&quot;&gt;
To set up your Outlook Express client to work with G E-mail configuration for outlook Gmail:&lt;/h1&gt;
&lt;ol&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;&lt;a href=&quot;http://mail.google.com/support/bin/answer.py?answer=13273&quot; style=&quot;color: #5b95d7; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Enable POP in your email account&lt;/a&gt;. Don&#39;t forget to click&amp;nbsp;&lt;strong&gt;Save Changes&lt;/strong&gt;&amp;nbsp;when you&#39;re done.&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Open Outlook or Outlook Express.&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Click the&amp;nbsp;&lt;strong&gt;Tools&lt;/strong&gt;&amp;nbsp;menu, and select&amp;nbsp;&lt;strong&gt;Accounts...&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Click&amp;nbsp;&lt;strong&gt;Add&lt;/strong&gt;, and then click&amp;nbsp;&lt;strong&gt;Mail...&lt;/strong&gt;&lt;/li&gt;
&lt;img alt=&quot;Add mail account&quot; src=&quot;http://www.google.com/help/hc/images/gmail_76147a_en.gif&quot; style=&quot;border: 0px;&quot; /&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Enter your name in the&amp;nbsp;&lt;strong&gt;Display name:&lt;/strong&gt;&amp;nbsp;field, and click&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Enter your full Gmail email address (username@gmail.com) in the&amp;nbsp;&lt;strong&gt;Email address:&lt;/strong&gt;&amp;nbsp;field, and click&lt;strong&gt;Next&lt;/strong&gt;. Google Apps users, enter your full address in the format &#39;username@your_domain.com.&#39;&lt;/li&gt;
&lt;img alt=&quot;Enter username&quot; src=&quot;http://www.google.com/help/hc/images/gmail_76147b_en.gif&quot; style=&quot;border: 0px;&quot; /&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Enter pop.gmail.com in the&amp;nbsp;&lt;strong&gt;Incoming mail (POP3, IMAP or HTTP) server:&lt;/strong&gt;&amp;nbsp;field. Enter smtp.gmail.com in the&amp;nbsp;&lt;strong&gt;Outgoing mail (SMTP) server:&lt;/strong&gt;&amp;nbsp;field. Google Apps users, enter the server names provided; don&#39;t add your domain name in this step.&lt;/li&gt;
&lt;img alt=&quot;Enter server names&quot; src=&quot;http://www.google.com/help/hc/images/gmail_76147c_en.gif&quot; style=&quot;border: 0px;&quot; /&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Click&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Enter your full email address (including &#39;@gmail.com&#39; or &#39;@your_domain.com&#39;) in the&amp;nbsp;&lt;strong&gt;Account name:&lt;/strong&gt;&amp;nbsp;field. Enter your email password in the&amp;nbsp;&lt;strong&gt;Password:&lt;/strong&gt;&amp;nbsp;field, and click&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;img alt=&quot;Enter account name and password&quot; src=&quot;http://www.google.com/help/hc/images/gmail_76147d_en.gif&quot; style=&quot;border: 0px;&quot; /&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Click&amp;nbsp;&lt;strong&gt;Finish&lt;/strong&gt;.&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Highlight&amp;nbsp;&lt;strong&gt;pop.gmail.com&lt;/strong&gt;&amp;nbsp;under&amp;nbsp;&lt;strong&gt;Account&lt;/strong&gt;, and click&amp;nbsp;&lt;strong&gt;Properties&lt;/strong&gt;.&lt;/li&gt;
&lt;img alt=&quot;Highlight account&quot; src=&quot;http://www.google.com/help/hc/images/gmail_76147e_en.gif&quot; style=&quot;border: 0px;&quot; /&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Click the&amp;nbsp;&lt;strong&gt;Advanced&lt;/strong&gt;&amp;nbsp;tab.&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Fill in the following information:*&lt;ul style=&quot;margin: 4px;&quot;&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Check the box next to&amp;nbsp;&lt;strong&gt;This server requires a secure connection (SSL)&lt;/strong&gt;&amp;nbsp;under&lt;strong&gt;Outgoing Mail (SMTP)&lt;/strong&gt;.&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Enter 465 in the&amp;nbsp;&lt;strong&gt;Outgoing mail (SMTP):&lt;/strong&gt;&amp;nbsp;field.&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Under&amp;nbsp;&lt;strong&gt;Outgoing Mail (SMTP)&lt;/strong&gt;, check the box next to&amp;nbsp;&lt;strong&gt;This server requires a secure connection (SSL)&lt;/strong&gt;.&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Under&amp;nbsp;&lt;strong&gt;Incoming mail (POP3)&lt;/strong&gt;, check the box next to&amp;nbsp;&lt;strong&gt;This server requires a secure connection (SSL)&lt;/strong&gt;. The port will change to 995.&lt;/li&gt;
&lt;img alt=&quot;Highlight account&quot; src=&quot;http://www.google.com/help/hc/images/gmail_76147f_en.gif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/ul&gt;
&lt;div style=&quot;padding: 10px 0px;&quot;&gt;
*The order of&amp;nbsp;&lt;strong&gt;Outgoing&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong&gt;Incoming&lt;/strong&gt;&amp;nbsp;mail server fields varies by version. Make sure you enter the correct information in each field.&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Return to the&amp;nbsp;&lt;strong&gt;Servers&lt;/strong&gt;&amp;nbsp;tab, and check the box next to&amp;nbsp;&lt;strong&gt;My server requires authentication&lt;/strong&gt;.&lt;/li&gt;
&lt;img alt=&quot;Highlight account&quot; src=&quot;http://www.google.com/help/hc/images/gmail_76147g_en.gif&quot; style=&quot;border: 0px;&quot; /&gt;
&lt;li style=&quot;margin-left: 20px; padding: 0px 0px 6px;&quot;&gt;Click&amp;nbsp;&lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/3269615023450539493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2012/08/e-mail-configuration-for-outlook-express.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/3269615023450539493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/3269615023450539493'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2012/08/e-mail-configuration-for-outlook-express.html' title='E-mail configuration for outlook express'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-913145502560385831</id><published>2012-06-08T04:51:00.002-07:00</published><updated>2012-06-08T04:51:26.223-07:00</updated><title type='text'>svn propedit</title><content type='html'>After going through many useless posts to edit externals for a repo, google finally helped me to reach atsome useful point. I&amp;nbsp;thought this may help many.&lt;br /&gt;
&lt;br /&gt;
propedit to change externals on a repo.&lt;br /&gt;
&lt;br /&gt;
~Checkout the repo on your machine.&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;svn co svn+ssh://.....&lt;br /&gt;
&lt;br /&gt;
~go to the directory which contains sub directories coming through external links.&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;cd dir_containing_external_dirs/&lt;br /&gt;
&lt;br /&gt;
~execute the command that will edit external links&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;svn propedit svn:externals .&lt;br /&gt;
don&#39;t miss dot at the end.&lt;br /&gt;
&lt;br /&gt;
~checkin your code.&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;svn ci -m &quot;&quot;&lt;br /&gt;
&lt;br /&gt;
~update your code with new external links.&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;svn up</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/913145502560385831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2012/06/svn-propedit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/913145502560385831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/913145502560385831'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2012/06/svn-propedit.html' title='svn propedit'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-6552578430872970404</id><published>2012-05-14T23:37:00.001-07:00</published><updated>2012-05-14T23:37:59.795-07:00</updated><title type='text'>Include variables to a shell script from an external script</title><content type='html'>file1 include.sh&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
var1=&quot;Hello there&quot;&lt;br /&gt;
&lt;br /&gt;
file2 includetest.sh&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
. include.sh&lt;br /&gt;
echo $var1&lt;br /&gt;
#file2 has access to all variables defined in file1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;Run file2 and you see the required output.&lt;br /&gt;
&amp;gt;&amp;gt;chmod +x includetest.sh&lt;br /&gt;
&amp;gt;&amp;gt;./includetest.sh</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/6552578430872970404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2012/05/include-variables-to-shell-script-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/6552578430872970404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/6552578430872970404'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2012/05/include-variables-to-shell-script-from.html' title='Include variables to a shell script from an external script'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-3308983146315871624</id><published>2012-05-14T23:00:00.001-07:00</published><updated>2012-05-14T23:32:37.078-07:00</updated><title type='text'>Mount a LAN resource in cmd</title><content type='html'>My need led me to think about this problem. I had to run an application from sources when I had the source code on a machine connected to my network(LAN). Due to some problem I didn&#39;t want to copy the source code on my machine. I took the following steps:-&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;1)mount the LAN resource:-&lt;br /&gt;
&amp;nbsp;&amp;gt;&amp;gt;&amp;gt;net use z: \\192.168.x.x\shared_folder&lt;br /&gt;
&amp;nbsp;Now z drive is a virtual drive on your machine.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;2)Set all your environment variables referring z drive.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;The above two steps makes you all set to run the application from sources that is present on a LAN resource.&lt;br /&gt;
There are many other such utilities with &quot;net&quot; command. Check them, You may find them&amp;nbsp;beneficial&amp;nbsp;too.</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/3308983146315871624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2012/05/mount-lan-resource-in-cmd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/3308983146315871624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/3308983146315871624'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2012/05/mount-lan-resource-in-cmd.html' title='Mount a LAN resource in cmd'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-7018539603070268981</id><published>2011-10-10T03:58:00.000-07:00</published><updated>2011-10-13T03:03:34.098-07:00</updated><title type='text'>something u must know if u r using DOCOMO(know ur call logs)</title><content type='html'>Recently I was really surprised to dat 1 of ma frnds had access to all my account details, my recent call logs n muh more. After some research I got to know some facts...&lt;br /&gt;&lt;br /&gt;1)Docomo has an online support desk(link-&lt;a href=&quot;http://bit.ly/24x7LiveChatSupport&quot;&gt;Online Support&lt;/a&gt;). Many of the advanced queries which customer support guys at 121 cannot answer are all answered there.&lt;br /&gt;&lt;br /&gt;2)Docomo has a &quot;my accounts&quot; page (link- &lt;a href=&quot;http://www.tatadocomo.com/myaccount.aspx&quot;&gt;My Account&lt;/a&gt;), where you can see all your account details.The details include...&lt;br /&gt;a)Ur account info like ur name n address on which ur no. is registered.&lt;br /&gt;b)Ur recent call logs.&lt;br /&gt;c)Ur recharge information.&lt;br /&gt;d)U can activate/deactivate DND. And some more information.&lt;br /&gt;&lt;br /&gt;Hope u would like the post.Remember not to disclose ur passwd :)&lt;br /&gt;&lt;br /&gt;~barun</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/7018539603070268981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/10/something-u-must-know-if-u-r-using_10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/7018539603070268981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/7018539603070268981'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/10/something-u-must-know-if-u-r-using_10.html' title='something u must know if u r using DOCOMO(know ur call logs)'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-2181823896197135446</id><published>2011-08-08T21:32:00.000-07:00</published><updated>2011-08-08T21:35:15.220-07:00</updated><title type='text'>Increase your PC&#39;s RAM!!</title><content type='html'>Use Ready Boost to use your USB as a temporary memory to increase your RAM.&lt;br /&gt;Do chek this link...&lt;br /&gt;&lt;br /&gt;http://www.sevenforums.com/tutorials/33289-readyboost-setup-use.html</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/2181823896197135446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/08/increase-your-pcs-ram.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/2181823896197135446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/2181823896197135446'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/08/increase-your-pcs-ram.html' title='Increase your PC&#39;s RAM!!'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-1508443755603533895</id><published>2011-08-08T21:22:00.000-07:00</published><updated>2011-08-08T21:40:41.376-07:00</updated><title type='text'>Windows boots up Slow..Cool Solution??</title><content type='html'>1)goto run--&gt;msconfig...and remove the items from startup which eat up your memory while startup but you don&#39;t need them as such.&lt;br /&gt;&lt;br /&gt;2)Delete all temporary files from your Windows machine..&lt;br /&gt; goto run--&gt;%temp%  and delete all temporary files.&lt;br /&gt;&lt;br /&gt;I hope your computer is not infected else you need an antivirus first!! :)</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/1508443755603533895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/08/windows-boots-up-slowcool-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/1508443755603533895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/1508443755603533895'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/08/windows-boots-up-slowcool-solution.html' title='Windows boots up Slow..Cool Solution??'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-1093837758332430077</id><published>2011-05-16T03:41:00.000-07:00</published><updated>2011-05-16T03:43:59.535-07:00</updated><title type='text'>Know your System</title><content type='html'>Method 1&lt;br /&gt;&lt;br /&gt;~type &quot;systeminfo&quot; in a dos.&lt;br /&gt;&lt;br /&gt;Method 2&lt;br /&gt;&lt;br /&gt;~Start-&gt;Run(Windows key+R)&lt;br /&gt;&lt;br /&gt;~type &quot;winmsd&quot; and click &quot;OK&quot;.</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/1093837758332430077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/05/know-your-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/1093837758332430077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/1093837758332430077'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/05/know-your-system.html' title='Know your System'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-3140826804552783285</id><published>2011-05-16T03:39:00.000-07:00</published><updated>2011-05-16T03:41:32.203-07:00</updated><title type='text'>Windows Keyboard Shortcuts</title><content type='html'>~goto start-&gt;Run&lt;br /&gt;&lt;br /&gt;~type &quot;C:\WINDOWS\Help\keyshort.chm&quot;&lt;br /&gt;&lt;br /&gt;~click &quot;OK&quot;&lt;br /&gt;&lt;br /&gt;~click Print</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/3140826804552783285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/05/windows-keyboard-shortcuts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/3140826804552783285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/3140826804552783285'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/05/windows-keyboard-shortcuts.html' title='Windows Keyboard Shortcuts'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-4416407773139811869</id><published>2011-05-16T02:21:00.000-07:00</published><updated>2011-05-16T02:33:29.948-07:00</updated><title type='text'>Changing MAC address</title><content type='html'>I hope you will not use it for illegal things...but it&#39;s sometimes really important for security reasons...&lt;br /&gt;&lt;br /&gt;The steps are as follows...&lt;br /&gt;&lt;br /&gt;Windows 2000/XP&lt;br /&gt;&lt;br /&gt;~Go to start&gt;my network places.Right click and go to Properties.&lt;br /&gt;&lt;br /&gt;~Under &quot;General&quot; tab, click on the &quot;Properties&quot; button&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;~Under &quot;General&quot; tab, click on the &quot;Configure&quot; button&lt;br /&gt;&lt;br /&gt;~Click on &quot;Advanced&quot; tab&lt;br /&gt;&lt;br /&gt;~Under &quot;Property section&quot; select &quot;Network Address&quot; or &quot;Locally Administered Address&quot;.&lt;br /&gt;&lt;br /&gt;~On the right side, under &quot;Value&quot;, type in the new MAC address you want to assign to your NIC. Do not use &quot;-&quot; between the MAC address numbers.&lt;br /&gt;&lt;br /&gt;~Goto command prompt and type in &quot;ipconfig /all&quot; or &quot;net config rdr&quot; to verify the changes.&lt;br /&gt;&lt;br /&gt;~If successful, reboot your system.&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Get MAC addresses of all computers connected to your network(LAN)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;~In command prompt execute &quot;arp -a&quot;.(arp is for Address Resolution Protocol)</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/4416407773139811869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/05/changing-mac-address.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/4416407773139811869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/4416407773139811869'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/05/changing-mac-address.html' title='Changing MAC address'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-1473672992505928822</id><published>2011-05-16T02:09:00.000-07:00</published><updated>2011-05-16T02:20:04.155-07:00</updated><title type='text'>What is PUK  code of a sim?</title><content type='html'>PUK code is a sim specific code assigned by your service provider. Its not possible to crack it on your own. So, whenever your cell asks for the PUK code, don&#39;t play(you may be in trouble), get the PUK code from your service provider.&lt;br /&gt;&lt;br /&gt;Many people use a pin no. to get access to their cell phones.But, sometimes this may be a great cause of problem.&lt;br /&gt;&lt;br /&gt;         Suppose mistakenly someone enters 3 wrong trials.This results in blocking of your sim card and cell will now ask for PUK no. If the tragedy is to happen,you again give 3 wrong trials for PUK code.And the unfortunate result is that your sim gets blocked permanently.Now there is only 1 solution,go to the customer care center and ask for a replacement sim or simply throw this one and buy a new sim.</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/1473672992505928822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/05/what-is-puk-code-of-sim.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/1473672992505928822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/1473672992505928822'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/05/what-is-puk-code-of-sim.html' title='What is PUK  code of a sim?'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-2894065461594147105</id><published>2011-05-15T13:31:00.000-07:00</published><updated>2011-05-16T02:37:04.969-07:00</updated><title type='text'>show hidden files and folders</title><content type='html'>Windows registry(winreg) to show the hidden files and folders.&lt;br /&gt;&lt;br /&gt;1)type &quot;regedit&quot; in Run.&lt;br /&gt;2)Make the following entry... &lt;br /&gt;&lt;br /&gt;User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\&lt;br /&gt;Advanced]&lt;br /&gt;Value Name: Hidden&lt;br /&gt;Data Type: REG_DWORD (DWORD Value)&lt;br /&gt;Value Data: (1 = show hidden, 2 = do not show)</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/2894065461594147105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/05/show-hidden-files-and-folders.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/2894065461594147105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/2894065461594147105'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/05/show-hidden-files-and-folders.html' title='show hidden files and folders'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-765120974627092387</id><published>2011-05-15T12:26:00.000-07:00</published><updated>2011-05-15T12:31:05.072-07:00</updated><title type='text'>Best SMS site</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;smsze.com&lt;/span&gt; is the best sms site I have ever used.It sends sms without ads,as if you were sending it from your cellphone.you will definitely like it.</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/765120974627092387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/05/best-sms-site.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/765120974627092387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/765120974627092387'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/05/best-sms-site.html' title='Best SMS site'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-1837786549012408542</id><published>2011-04-15T02:30:00.000-07:00</published><updated>2011-04-15T02:49:42.521-07:00</updated><title type='text'>Search Algorithms</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;Linear Search&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It is the easiest search algorithm.The algorithm intends so check each and every element and stops when the required element is found.&lt;br /&gt;&lt;br /&gt;Implementation&lt;br /&gt;&lt;br /&gt;int getindex(int a[], int n, int target) &lt;br /&gt;{&lt;br /&gt;  for(int i = 0; i &lt; n ; i++)&lt;br /&gt;     if (a[i] == target) { return i; }&lt;br /&gt;  return -1;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;  int a[]={3,4,5,2,6,8,10};&lt;br /&gt;  int n=7; //no. of elements in the array&lt;br /&gt;  int index=getindex(a,n,6);&lt;br /&gt;  printf(&quot;index of 6 in array &quot;a&quot; is::%d&quot;,index);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;explaination::The above code returns the index of element to be found...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Binary Search&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Binary Search use Divide and rule algorithm to find the reqd. element in an &lt;span style=&quot;font-weight:bold;&quot;&gt;already sorted list&lt;/span&gt;. The algorithm is deceptively simple. Pretend I was thinking of a number between 1 and 100. Every guess you take, I&#39;ll say higher or lower. The most efficient way to discover my number is to first guess 50. Higher. 75. Lower. 62. Higher 68. Yes!&lt;br /&gt;&lt;br /&gt;Implementation&lt;br /&gt;&lt;br /&gt;int findIndex(int a[],int n, int target) {&lt;br /&gt;  return binarySearch(a, target, 0, n);&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;int binarySearch(int a, int target,int start,int end) {&lt;br /&gt;  if (start &gt; end) { return -1; } //does not exist &lt;br /&gt;&lt;br /&gt;  int middle = (start + end) / 2;&lt;br /&gt;  int value = a[middle];&lt;br /&gt;&lt;br /&gt;  if (value &gt; target) { return binarySearch(a, target, start, middle-1); }&lt;br /&gt;  if (value &lt; target) { return binarySearch(a, target, middle+1, end); }&lt;br /&gt;  return middle; //found!&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int a[]={1, 4,6,8,9,12,32,45,56,58,78};&lt;br /&gt;int n=11;&lt;br /&gt;findIndex(a,n,12);</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/1837786549012408542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/04/linear-search.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/1837786549012408542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/1837786549012408542'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/04/linear-search.html' title='Search Algorithms'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-6158455930298851232</id><published>2011-04-04T06:51:00.000-07:00</published><updated>2011-04-04T06:54:20.755-07:00</updated><title type='text'>Microsoft Placement Paper</title><content type='html'>&lt;meta equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 12&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 12&quot;&gt;&lt;link rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5Cbarun%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:relyonvml/&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;link rel=&quot;themeData&quot; href=&quot;file:///C:%5CDOCUME%7E1%5Cbarun%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot;&gt;&lt;link rel=&quot;colorSchemeMapping&quot; href=&quot;file:///C:%5CDOCUME%7E1%5Cbarun%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;!--[endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:&quot;Cambria Math&quot;; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;My experience....MICROSOFT....conducted on 22nd Dec 2010&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;First round was a written test of an hour. There were 6 questions(4 programming and 2 test cases) 10 marks each.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;1)find output of following code??&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;void main()&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt; &lt;/span&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;void *ptr;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;char *a=&#39;A&#39;;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;char *b=&quot;TAN&quot;;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;int i=50;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;ptr=a;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;ptr=(*char)malloc(sizeof(a));&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;printf(&quot;%c&quot;,*ptr);&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;ptr=i;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;ptr=(*int)malloc(sizeof(i));&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;printf(&quot;%d&quot;,++(*ptr));&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;ptr=b;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;ptr=(*char)malloc(sizeof(b));&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;   &lt;/span&gt;printf(&quot;%c&quot;,++(*ptr));&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;}&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;ans: A51AN&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;2) Write a program that takes a no. from user and prints the no. subtracting 5 each time from the no. till the no. doesn’t crosses/reaches 0.And again prints the nos. now increasing 5 each time till the no. doesn’t reaches/crosses original no.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;don&#39;t use any loops or goto stmnt.And don&#39;t declare any local variables.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;ans: use recursion.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;3)convert a no. from string to integer.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt; &lt;/span&gt;eg: str:&quot;1234&quot;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;     &lt;/span&gt;convert to int a=1234;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;ans:while(*ptr!=NULL)&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;    &lt;/span&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;      &lt;/span&gt;a=(a*10)+(*ptr-48);&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;    &lt;/span&gt;}&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;4) Find the subarray of an array that has the greatest sum? Array contains both +ve as well as -ve nos.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;ans:I did it using 3 loops but when I went for the 2nd technical round the interviewer told me a very simple and optimal program for the same.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt; &lt;/span&gt;sumtillnow=0;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt; &lt;/span&gt;sum=0;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;for(i=0;i&lt;n;i++)&gt;&lt;/n;i++)&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;sumtillnow+=a[i];&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;if(sumtillnow&amp;gt;sum)&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;sum=sumtillnow;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;if(sumtillnow&amp;lt;=0)&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;sumtillnow=0;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;}&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;5) Write test cases for a student regestration&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;form.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;6) Write test cases for a web search engine.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;--------------------------------------&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;20 students were shortlisted after the written test.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;1st technical round...&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;First he saw my resume and asked me few ques about my BE Project and the TE Project.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;Then I was asked many questions from OOP concepts...mainly about virtual functions,pure virtual functions(application based) and v-table etc.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;Then he asked me some ques from OS...&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;1) Critical section&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;2) Semaphores&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;3) Processes&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;4) Threads&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;5) Reader Writers problem&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;Then there were a few questions from Logic Gates&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;1) Half adder....circuit and functionality&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;2) Full adder....circuit and functionality&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;Then he asked me 2 puzzles...&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;1) There are 3 buckets full of oranges, apples and mixture of both. Buckets are labeled with orange, apple and mixture. And it is known that all labels are false. Now just pick up 1 fruit from any 1 of the buckets and label all of them correctly.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;Ans ::hint: pick the fruit from mixed labeled basket.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;2) There are 5 bags containing marbles. All are identical.4 of them weight 9g one of them is 10g.you have a weighing balance.&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;In one go can u tell which is the bag with 10g.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;ans::i was blank.min I could produce was in 3 chances.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;-------------------------------------------------&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;In 1st round other students were also asked ques. from DBMS (Normalization, few queries and ER diagrams).&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;And ques from TOC (Finite automata machine)..... Draw a finite automata to accept a binary no. that is divisible by 5.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;-------------------------------------------------&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;2nd Round&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;He asked me some test cases.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;Then the interviewer asked me to optimize certain codes...&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;1)4th ques of the written exam. (Subarry sum)&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;2) An array of n elements contains elements 1-(n-1) in random order and 1 entry is duplicated. Find the duplicate entry???&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;ans::I told him to take one more array. Now pick the elements from 1st array and put them into respective index of the 2nd array. If duplicate occur then report and end the loop.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;he asked me to optimize the code. Then I suggested a BST. He asked me to optimize more and more and more and more......this ques fucked me..&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;But somehow I was advanced for the 3rd round..I was very excited.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;---------------------------------------------------&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;3rd Round&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;HR...Some test cases and Why should I take you in Microsoft.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;---------------------------------------------------&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;But unfortunately I wasn’t able to make it :( But may be these questions will help you for your placements. Best of Luck to all...&lt;/p&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/6158455930298851232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2011/04/microsoft-placement-paper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/6158455930298851232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/6158455930298851232'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2011/04/microsoft-placement-paper.html' title='Microsoft Placement Paper'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-4697914470126830986</id><published>2010-11-07T22:20:00.000-08:00</published><updated>2010-11-07T22:21:39.797-08:00</updated><title type='text'>Recursive Quick Sort</title><content type='html'>import java.io.*;&lt;br /&gt;import java.util.*;&lt;br /&gt;&lt;br /&gt;public class quick&lt;br /&gt;{&lt;br /&gt;    private static double[] arr;&lt;br /&gt;    public static void main(String[] args)&lt;br /&gt;    {&lt;br /&gt;        int i;&lt;br /&gt;        Scanner in=new Scanner(System.in);&lt;br /&gt;        System.out.print(&quot;Enter n::&quot;);&lt;br /&gt;        int n=in.nextInt();&lt;br /&gt;        arr=new double[n+1];&lt;br /&gt;        for(i=0;i&lt;n;i++)&lt;br /&gt;            arr[i]=in.nextDouble();&lt;br /&gt;        for(i=0;i&lt;n;i++)&lt;br /&gt;            System.out.print(&quot;  &quot;+arr[i]);&lt;br /&gt;        quick(0,n-1);&lt;br /&gt;        System.out.println(&quot;\n\n**************After Sorting****************\n&quot;);&lt;br /&gt;        for(i=0;i&lt;n;i++)&lt;br /&gt;            System.out.print(&quot;  &quot;+arr[i]);&lt;br /&gt;    }&lt;br /&gt;   &lt;br /&gt;    public static void quick(int low,int high)&lt;br /&gt;    {&lt;br /&gt;        if(low&lt;high)&lt;br /&gt;        {&lt;br /&gt;            int j=partition(low,high);&lt;br /&gt;            quick(low,j-1);&lt;br /&gt;            quick(j+1,high);&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public static int  partition(int low,int high)&lt;br /&gt;    {&lt;br /&gt;        double pivot = arr[low];&lt;br /&gt;        int i = low;&lt;br /&gt;        int j = high;&lt;br /&gt;        double temp;&lt;br /&gt;        do&lt;br /&gt;        {&lt;br /&gt;            do&lt;br /&gt;            {&lt;br /&gt;                i++;&lt;br /&gt;            }while(arr[i]&lt;pivot &amp;amp;&amp;amp; i&lt;high);&lt;br /&gt;               &lt;br /&gt;            while(arr[j]&gt;pivot)&lt;br /&gt;                j--;&lt;br /&gt;               &lt;br /&gt;            if(i&lt;j)&lt;br /&gt;            {&lt;br /&gt;                temp = arr[i];&lt;br /&gt;                arr[i]= arr[j];&lt;br /&gt;                arr[j]= temp;&lt;br /&gt;            }      &lt;br /&gt;        }while(i&lt;j);&lt;br /&gt;   &lt;br /&gt;        //swap pivot n a[j];&lt;br /&gt;        arr[low] = arr[j];&lt;br /&gt;        arr[j] = pivot;&lt;br /&gt;    return j;&lt;br /&gt;    }       &lt;br /&gt;}&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/4697914470126830986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2010/11/recursive-quick-sort.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/4697914470126830986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/4697914470126830986'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2010/11/recursive-quick-sort.html' title='Recursive Quick Sort'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3320644093565867876.post-8054205857552119440</id><published>2010-11-07T22:14:00.000-08:00</published><updated>2010-11-07T22:15:27.239-08:00</updated><title type='text'>Recursive Merge Sort</title><content type='html'>import java.io.*;&lt;br /&gt;&lt;br /&gt;public class merge&lt;br /&gt;{&lt;br /&gt;    public static void main(String a[])&lt;br /&gt;    {&lt;br /&gt;        int i;&lt;br /&gt;        int array[] = {12,9,4,99,120,1,3,10};&lt;br /&gt;        System.out.println(&quot;       Selection Sort\n\n&quot;);&lt;br /&gt;        System.out.println(&quot;Values Before the sort:\n&quot;);&lt;br /&gt;        for(i = 0; i &lt; array.length; i++)&lt;br /&gt;            System.out.print( array[i]+&quot;  &quot;);&lt;br /&gt;        System.out.println();&lt;br /&gt;        mergeSort_srt(array,0, array.length-1);&lt;br /&gt;        System.out.print(&quot;Values after the sort:\n&quot;);&lt;br /&gt;        for(i = 0; i &lt;array.length; i++)&lt;br /&gt;            System.out.print(array[i]+&quot;  &quot;);&lt;br /&gt;        System.out.println();&lt;br /&gt;        System.out.println(&quot;PAUSE&quot;);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;    public static void mergeSort_srt(int array[],int low, int high)&lt;br /&gt;    {&lt;br /&gt;        if (low &gt;= high)&lt;br /&gt;        {&lt;br /&gt;            return;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        int middle = (low + high) / 2;&lt;br /&gt;        mergeSort_srt(array, low, middle);&lt;br /&gt;        mergeSort_srt(array, middle + 1, high);&lt;br /&gt;        int end_low = middle;&lt;br /&gt;        int start_high = middle + 1;&lt;br /&gt;        while(low&lt;=end_low &amp;amp;&amp;amp; start_high&lt;=high)&lt;br /&gt;        {&lt;br /&gt;            if(array[low] &lt; array[start_high])&lt;br /&gt;                low++;&lt;br /&gt;            else&lt;br /&gt;            {&lt;br /&gt;                int temp=array[start_high];&lt;br /&gt;                int k;&lt;br /&gt;                for(k=start_high;k&gt;low;k--)&lt;br /&gt;                    array[k]=array[k-1];&lt;br /&gt;                array[k]=temp;&lt;br /&gt;                end_low++;&lt;br /&gt;                low++;&lt;br /&gt;                end_low++;&lt;br /&gt;                start_high++;&lt;br /&gt;            }&lt;br /&gt;        }           &lt;br /&gt;    } &lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://codeupdates.blogspot.com/feeds/8054205857552119440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeupdates.blogspot.com/2010/11/recursive-merge-sort.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/8054205857552119440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320644093565867876/posts/default/8054205857552119440'/><link rel='alternate' type='text/html' href='http://codeupdates.blogspot.com/2010/11/recursive-merge-sort.html' title='Recursive Merge Sort'/><author><name>Barun</name><uri>http://www.blogger.com/profile/17075194460983050463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS8LrUm_DMLnNNkjUh5xcqEpGP_wT7qAgMSOPPPixf6jQLL0bnXHsjwpaUbSpunsGuiQ-rOeV6HTtcSXEto6IAKuVAH0XqQCn8MJ45WxGHBYNnQyp9csrmY4d5HmIcyjc/s220/1.JPG'/></author><thr:total>0</thr:total></entry></feed>