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

<channel>
	<title>cod-E-mphasis</title>
	<atom:link href="http://codemphasis.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://codemphasis.wordpress.com</link>
	<description>sharing knowledge is the best way to increase it..</description>
	<lastBuildDate>Sun, 29 Nov 2009 10:29:20 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='codemphasis.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/c4709be43c1d7cd6022f7eb718d87b3e?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>cod-E-mphasis</title>
		<link>http://codemphasis.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://codemphasis.wordpress.com/osd.xml" title="cod-E-mphasis" />
		<item>
		<title>Understanding ETL</title>
		<link>http://codemphasis.wordpress.com/2009/11/29/understanding-etl/</link>
		<comments>http://codemphasis.wordpress.com/2009/11/29/understanding-etl/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 10:23:42 +0000</pubDate>
		<dc:creator>Arnab Guha</dc:creator>
				<category><![CDATA[Data warehousing]]></category>
		<category><![CDATA[ETL]]></category>

		<guid isPermaLink="false">http://codemphasis.wordpress.com/2009/11/29/understanding-etl/</guid>
		<description><![CDATA[
The Extract-Transform-Load (ETL) system is the foundation of the data warehouse. A properly designed ETL system extracts the data from source systems, performs transformations and cleansing and delivers the data in a presentation ready format after which the data will be loaded to the ware house. The following figure is the schematic description of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=323&subd=codemphasis&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /></p>
<p>The Extract-Transform-Load (ETL) system is the foundation of the data warehouse. A properly designed ETL system extracts the data from source systems, performs transformations and cleansing and delivers the data in a presentation ready format after which the data will be loaded to the ware house. The following figure is the schematic description of the ETL process.</p>
<p><a href="http://codemphasis.files.wordpress.com/2009/11/image.png"><img title="image" style="display:inline;border-width:0;" height="247" alt="image" src="http://codemphasis.files.wordpress.com/2009/11/image_thumb.png?w=722&#038;h=247" width="722" border="0" /></a></p>
<p>The 4 steps of ETL process are explained below:</p>
<p>Extracting: In this phase, data from different types of source systems are fetched into the staging area. The source systems can be mainframe, production sources or any other OLTP sources. Source files can also be different. Data can be stored in relational tables as well as flat files (e.g. Notepad files). The first job of ETL is to fetch data from these different sources. </p>
<p><b>Cleansing:</b> In most cases level of data quality in an OLTP source system is different from what is required in a data warehouse. To achieve those data quality, cleansing has to be applied. Data cleansing consists of many discrete steps, including checking for valid values, ensuring consistency across values, removing duplicates and checking whether complex business rules and procedures have been applied.</p>
<p><b>Conforming:</b> Data conformation is required whenever 2 or more data sources are merged in the data warehouse. Separate data sources cannot be queried together unless some or all the textual labels in these sources have been made identical and unless similar numerical measures have been rationalized. </p>
<p><b>Delivering:</b> The main motto of this step is to make the data ready for querying. It includes physical structuring the data into a set of simple, symmetric schemas known as dimensional models, or star schemas (we will discuss star schema and dimensional model later). These schemas are a necessary basis for building an OLAP system. </p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:ac0bd1be-b7d7-47eb-9013-4e9eb914f36e" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/Data+Warehousing" rel="tag">Data Warehousing</a>,<a href="http://technorati.com/tags/ETL" rel="tag">ETL</a></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codemphasis.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codemphasis.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codemphasis.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codemphasis.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codemphasis.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codemphasis.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codemphasis.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codemphasis.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codemphasis.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codemphasis.wordpress.com/323/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=323&subd=codemphasis&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://codemphasis.wordpress.com/2009/11/29/understanding-etl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7ecc0cb2809b2734d7879464cf70a328?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnab86</media:title>
		</media:content>

		<media:content url="http://codemphasis.files.wordpress.com/2009/11/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Data Warehousing… What is it all about?</title>
		<link>http://codemphasis.wordpress.com/2009/11/18/data-warehousing-what-is-it-all-about/</link>
		<comments>http://codemphasis.wordpress.com/2009/11/18/data-warehousing-what-is-it-all-about/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:03:29 +0000</pubDate>
		<dc:creator>Arnab Guha</dc:creator>
				<category><![CDATA[Data warehousing]]></category>

		<guid isPermaLink="false">http://codemphasis.wordpress.com/2009/11/18/data-warehousing-what-is-it-all-about/</guid>
		<description><![CDATA[We are all familiar with the term “Database”. What is a Database? We can say that a database is a storage of some meaningful data specific to one’s business/personal need. A database can store any type of data. But if a database is storing the data then what’s the need of a Data Warehouse? So [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=318&subd=codemphasis&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>We are all familiar with the term “<em>Database</em>”. What is a Database? We can say that a database is a storage of some meaningful data specific to one’s business/personal need. A database can store any type of data. But if a database is storing the data then what’s the need of a Data Warehouse? So at first we have to know the basic difference between a Database and a Data Warehouse. </p>
<p>A Database is that which is storing only the most current data. In a more technical term, it is known as <strong>OLTP</strong> source. OLTP stands for <em>Online Transactional Processing</em>. But whenever we use Oracle/DB2/Teradata etc. to store <strong>historical</strong> data, it becomes a Data Warehouse. By the term Historical data, we mean “Snapshots” of data. That is data of same process taken at different instant of time. Technically its known as <strong>OLAP </strong>(<em>Online Analytical Processing</em>) system.&#160; A simple example can be given at this context. Lets consider a bank. A database of the bank will store the latest transactional data only. But each day the bank have these types of data. So they need to archive these. So they are storing it in a daily basis, i.e. they are taking snapshots of data and consequently the are creating a data warehouse.</p>
<p>So am I able to draw the line clearly between a database and a data warehouse? Maybe I am ( thinking positively <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). Now another question comes into the picture. So why do one have to maintain a data warehouse. Because maintaining a data warehouse is a costly job. Day by day the size of the warehouse will grow. The answer is Business. One have to maintain the historical data to analyse the trend of his business and making decisions based on those data. This decisions can be a big factor in case of the present and upcoming performance of his business.</p>
<p>The job of a data warehouse specialist can be in many phase. He/she has to extract the data from different OLTP source systems, apply the modifications or cleansing according to the requirements and then loading this data to the data warehouse. And in another phase he have to fetch the data from the data warehouse, analyse it and develop the report. The end users can see those reports and based on those he/she can make the business decisions.</p>
<p>Ok… lets end it here. I will discuss more about this in depth from the next post. Take care..see you soon friends.</p>
</p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:e135dc83-1fb5-4c1a-b442-dd4757ba4b12" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/Data+Warehousing" rel="tag">Data Warehousing</a></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codemphasis.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codemphasis.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codemphasis.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codemphasis.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codemphasis.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codemphasis.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codemphasis.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codemphasis.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codemphasis.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codemphasis.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=318&subd=codemphasis&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://codemphasis.wordpress.com/2009/11/18/data-warehousing-what-is-it-all-about/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7ecc0cb2809b2734d7879464cf70a328?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnab86</media:title>
		</media:content>
	</item>
		<item>
		<title>SYSTEM FILES&gt;&gt;&gt;</title>
		<link>http://codemphasis.wordpress.com/2009/11/04/system-files/</link>
		<comments>http://codemphasis.wordpress.com/2009/11/04/system-files/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 20:02:09 +0000</pubDate>
		<dc:creator>danger101</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[System]]></category>

		<guid isPermaLink="false">http://codemphasis.wordpress.com/2009/11/04/system-files/</guid>
		<description><![CDATA[The Difference between the FAT 32 and NTFS file syetems::
NTFS::
1. Allows access local to w2k w2k3 XP win NT4 with SP4 and later may get access for some file.
2. Maximum size of partition is 2 terabytes and more.
3. Maximum file size is upto 16TB.
4. File and folder encryption is possible only in NTFS.
FAT 32::
1. Allows [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=317&subd=codemphasis&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The Difference between the FAT 32 and NTFS file syetems::</p>
<p>NTFS::</p>
<p>1. Allows access local to w2k w2k3 XP win NT4 with SP4 and later may get access for some file.<br />
2. Maximum size of partition is 2 terabytes and more.<br />
3. Maximum file size is upto 16TB.<br />
4. File and folder encryption is possible only in NTFS.</p>
<p>FAT 32::<br />
1. Allows access to win 95 98 Win Millenium Win2k XP on local partitions.<br />
2. Maximum size of partition is upto  2TB.<br />
3. Maximum file size is upto 4GB<br />
4. File and folder encryption is not possible.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codemphasis.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codemphasis.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codemphasis.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codemphasis.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codemphasis.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codemphasis.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codemphasis.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codemphasis.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codemphasis.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codemphasis.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=317&subd=codemphasis&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://codemphasis.wordpress.com/2009/11/04/system-files/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a6d5ffcafa02833b6f167cd8c7f143f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danger101</media:title>
		</media:content>
	</item>
		<item>
		<title>I am BACK ..after a long gap</title>
		<link>http://codemphasis.wordpress.com/2009/11/04/i-am-back-after-a-long-gap/</link>
		<comments>http://codemphasis.wordpress.com/2009/11/04/i-am-back-after-a-long-gap/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 18:53:13 +0000</pubDate>
		<dc:creator>Arnab Guha</dc:creator>
				<category><![CDATA[Data warehousing]]></category>

		<guid isPermaLink="false">http://codemphasis.wordpress.com/2009/11/04/i-am-back-after-a-long-gap/</guid>
		<description><![CDATA[Hello everyone. It was a tough 3 months for me. Oh, I forgot, you don&#8217;t have a idea of my present status. I have joined Accenture on August and relocated to Bangalore. So my present location is Bangalore aka Bengaluru. The first 2 month was really a hectic one. It was tough to follow a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=315&subd=codemphasis&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello everyone. It was a tough 3 months for me. Oh, I forgot, you don&#8217;t have a idea of my present status. I have joined Accenture on August and relocated to Bangalore. So my present location is Bangalore aka Bengaluru. The first 2 month was really a hectic one. It was tough to follow a daily schedule of 8-30 to 20-30 with exam after each couple of days. Many friends of mine were unable to sustain in this hectic procedure and some of them got unlucky and eventually&#160; they have been sacked. I got lucky and finally after 2 months of “without food – without sleep” effort I have cleared the training procedure. I have been trained on <strong>Informatica</strong>, the ETL tool. Previously there was a fascination in my mind that someday I will be a successful programmer. But it was again proved that there is something called as destiny. </p>
<p>By the way, though the training is a tough one, somehow It was also enjoyable. At least we have to think like that. The services provided in the Accenture premises are excellent. And also I have to mention about the building structure. The skyscrapers are really eye catching.</p>
<p><img title="DSCN0668" style="display:inline;border-width:0;" height="246" alt="DSCN0668" src="http://codemphasis.files.wordpress.com/2009/11/dscn0668.jpg?w=323&#038;h=246" width="323" border="0" /> <img title="bang4" style="display:inline;border-width:0;" height="248" alt="bang4" src="http://codemphasis.files.wordpress.com/2009/11/bang4.jpg?w=365&#038;h=248" width="365" border="0" /> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <em><font color="#808080">Accenture(Bang6), Divyashree Tech Park&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Accenture(Bang4), Eco Space SEZ</font></em></p>
</p>
<p><img title="" style="display:inline;border-width:0;" height="347" alt="" src="http://codemphasis.files.wordpress.com/2009/11/bang3.jpg?w=698&#038;h=347" width="698" border="0" /> </p>
<p align="center"><em><font color="#808080">Accenture (Bang3), Bannerghata Main Road, Dairy Circle</font></em></p>
<p>Above are some of the pictures of the Accenture offices in Bangalore. Presently I am working at Bang4 at Eco Space SEZ. </p>
<p>Now lets come to the technical stuff. So in the training period I was allocated <strong>Data warehousing</strong> as a stream. At first I thought it would be boring and conceptual one. But later on I am in love with this subject and specially the tool <strong>Informatica.</strong> The subject is totally inline with the present market needs and consumer goods and productions. Anyone can think of many practical scenarios in which the subject will be applicable.</p>
<p>Presently I am working on <strong>MicroStrategy,</strong> a reporting tool ( a<em> reporting tool is necessary to create reports on the basis of data available in data warehouse</em>).</p>
<p>So if all goes well then in the coming years I am gonna have some competency in Data warehousing field. Lets pray for that. Oh, one more thing. The upcoming posts will contain more about <strong><font color="#000000">Informatica, Business Objects, MicroStrategy</font></strong> and other concepts of <strong>Data warehousing</strong>. So <em>Hasta luego.</em></p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:b5bd4bf7-39ea-4214-be6c-c19dd25bb236" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/Bangalore" rel="tag">Bangalore</a>,<a href="http://technorati.com/tags/Accenture" rel="tag">Accenture</a>,<a href="http://technorati.com/tags/Informatica" rel="tag">Informatica</a>,<a href="http://technorati.com/tags/Business+Objects" rel="tag">Business Objects</a>,<a href="http://technorati.com/tags/MicroStrategy" rel="tag">MicroStrategy</a>,<a href="http://technorati.com/tags/Data+warehousing" rel="tag">Data warehousing</a></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codemphasis.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codemphasis.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codemphasis.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codemphasis.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codemphasis.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codemphasis.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codemphasis.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codemphasis.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codemphasis.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codemphasis.wordpress.com/315/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=315&subd=codemphasis&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://codemphasis.wordpress.com/2009/11/04/i-am-back-after-a-long-gap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7ecc0cb2809b2734d7879464cf70a328?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnab86</media:title>
		</media:content>

		<media:content url="http://codemphasis.files.wordpress.com/2009/11/dscn0668.jpg" medium="image">
			<media:title type="html">DSCN0668</media:title>
		</media:content>

		<media:content url="http://codemphasis.files.wordpress.com/2009/11/bang4.jpg" medium="image">
			<media:title type="html">bang4</media:title>
		</media:content>

		<media:content url="http://codemphasis.files.wordpress.com/2009/11/bang3.jpg" medium="image" />
	</item>
		<item>
		<title>How to configure a switch port to work in Promiscuous mode?</title>
		<link>http://codemphasis.wordpress.com/2009/07/20/how-to-configure-a-switch-port-to-work-in-promiscuous-mode/</link>
		<comments>http://codemphasis.wordpress.com/2009/07/20/how-to-configure-a-switch-port-to-work-in-promiscuous-mode/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 06:42:08 +0000</pubDate>
		<dc:creator>Jayanta Karmakar</dc:creator>
				<category><![CDATA[Networking & Related]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Promiscuous Mode]]></category>
		<category><![CDATA[Switch]]></category>

		<guid isPermaLink="false">http://codemphasis.wordpress.com/2009/07/20/how-to-configure-a-switch-port-to-work-in-promiscuous-mode/</guid>
		<description><![CDATA[Following are the steps to configure a switch port to work in promiscuous mode.


Connect to console port (using hyper terminal [port com1, speed 9600 bps]).


Run the following commands:

# configure terminal.

# no monitor session 1.

# monitor session 1 source interface fastEthernet 0/1.

# monitor session 1 destination interface fastEthernet 0/24.

# encapsulation dot1q.

# end

# show monitor session1.


 

[Note: Promiscuous [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=309&subd=codemphasis&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Following are the steps to configure a switch port to work in promiscuous mode.
</p>
<ol>
<li>Connect to console port (using hyper terminal [port com1, speed 9600 bps]).
</li>
<li>
<div>Run the following commands:
</div>
<p><span style="font-family:Courier New;"># configure terminal.<br />
</span></p>
<p><span style="font-family:Courier New;"># no monitor session 1.<br />
</span></p>
<p><span style="font-family:Courier New;"># monitor session 1 source interface fastEthernet 0/1.<br />
</span></p>
<p><span style="font-family:Courier New;"># monitor session 1 destination interface fastEthernet 0/24.<br />
</span></p>
<p><span style="font-family:Courier New;"># encapsulation dot1q.<br />
</span></p>
<p><span style="font-family:Courier New;"># end<br />
</span></p>
<p><span style="font-family:Courier New;"># show monitor session1.<br />
</span></p>
<p>
 </p>
<p>
<h5>[Note: Promiscuous mode refers to the special mode of Ethernet hardware, in particular network interface cards (NICs), that allows a NIC to receive all traffic to the network, even if it is not addressed to this NIC. In a wider sense, promiscuous mode also refers to network visibility from a single observation point.]</h5>
</p>
</li>
</ol>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codemphasis.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codemphasis.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codemphasis.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codemphasis.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codemphasis.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codemphasis.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codemphasis.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codemphasis.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codemphasis.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codemphasis.wordpress.com/309/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=309&subd=codemphasis&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://codemphasis.wordpress.com/2009/07/20/how-to-configure-a-switch-port-to-work-in-promiscuous-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/620af5bb43b5fca11e58d51d567d1e1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayanta854u</media:title>
		</media:content>
	</item>
		<item>
		<title>Uninstalling GRUB Boot loader:</title>
		<link>http://codemphasis.wordpress.com/2009/07/18/uninstalling-grub-boot-loader/</link>
		<comments>http://codemphasis.wordpress.com/2009/07/18/uninstalling-grub-boot-loader/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 06:13:31 +0000</pubDate>
		<dc:creator>Arnab Guha</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[GRUB]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MBR]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://codemphasis.wordpress.com/2009/07/18/uninstalling-grub-boot-loader/</guid>
		<description><![CDATA[

Format the Linux partitions to create unallocated space, if you haven&#8217;t already. You can find a walkthrough on how to do this under External Links listed below.



Change the BIOS so that your computer boots your CD drive first.



Insert the Windows XP disc and reboot. It may take a few minutes to load.



Select &#8216;Recovery Console&#8217; by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=303&subd=codemphasis&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><ol>
<li>
<div style="background:white;"><span style="color:#111111;">Format the Linux partitions to create unallocated space, if you haven&#8217;t already. You can find a walkthrough on how to do this under External Links listed below.<br />
</span></div>
</li>
<li>
<div style="background:white;"><span style="color:#111111;">Change the BIOS so that your computer boots your CD drive first.<br />
</span></div>
</li>
<li>
<div style="background:white;"><span style="color:#111111;">Insert the Windows XP disc and reboot. It may take a few minutes to load.<br />
</span></div>
</li>
<li>
<div style="background:white;"><span style="color:#111111;">Select &#8216;Recovery Console&#8217; by pressing &#8216;r&#8217;.<br />
</span></div>
</li>
<li>
<div style="background:white;"><span style="color:#111111;">Select the Windows system to log on to. The default option is &#8216;1&#8242;.<br />
</span></div>
</li>
<li>
<div style="background:white;"><span style="color:#111111;">Press enter to bypass the administrative password prompt.<br />
</span></div>
</li>
<li>
<div style="background:white;"><span style="color:#111111;">Type <em>fixboot</em> and press enter.<br />
</span></div>
</li>
<li>
<div style="background:white;"><span style="color:#111111;">Type <em>fixmbr</em> and press enter.<br />
</span></div>
<p style="background:white;"><span style="color:#111111;">Hope these will fix the MBR. <span style="font-family:Wingdings;">J</span><br />
</span></li>
</ol>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codemphasis.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codemphasis.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codemphasis.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codemphasis.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codemphasis.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codemphasis.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codemphasis.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codemphasis.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codemphasis.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codemphasis.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=303&subd=codemphasis&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://codemphasis.wordpress.com/2009/07/18/uninstalling-grub-boot-loader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7ecc0cb2809b2734d7879464cf70a328?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnab86</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Fix Win32 Generic Host Error?</title>
		<link>http://codemphasis.wordpress.com/2009/06/26/how-to-fix-win32-generic-host-error/</link>
		<comments>http://codemphasis.wordpress.com/2009/06/26/how-to-fix-win32-generic-host-error/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 07:56:39 +0000</pubDate>
		<dc:creator>Arnab Guha</dc:creator>
				<category><![CDATA[Fixing errors]]></category>
		<category><![CDATA[Technological Updates]]></category>
		<category><![CDATA[Worms]]></category>

		<guid isPermaLink="false">http://codemphasis.wordpress.com/?p=300</guid>
		<description><![CDATA[What is an Generic Host process for Win32:
Generic Host Process for Win32 Services or svchost.exe is a legal and essential component of Windows which is used to host services which run from dynamic-link libraries (DLLs). Multiple instances of Svchost.exe can run at the same time. So it is not a problem in most cases if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=300&subd=codemphasis&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>What is an Generic Host process for Win32:</strong></p>
<p>Generic Host Process for Win32 Services or svchost.exe is a legal and essential component of Windows which is used to host services which run from dynamic-link libraries (DLLs). Multiple instances of Svchost.exe can run at the same time. So it is not a problem in most cases if you see five or six or even more copies of svchost.exe running in your services because they host different groups of DLLs. However, there are several known spyware and trojans that pretend to be legal svchost.exe. They usually have the same name or one of the following names: svchost.exe, svchosts.exe (which often causes svchosts.exe page faults), Generic.exe, svcchost.exe and several others. Please note that legal svchost.exe should reside in <strong>Windows\System32</strong> folder and should <strong>not</strong> appear in startup list.</p>
<p><strong>Fixing Generic host Win32 Error:</strong></p>
<p><strong>Step1:</strong></p>
<ol>
<li>Hop to &#8216;Run&#8217; and open &#8216;Regedit&#8217;</li>
<li>Navigate to:<br />
HKEY_LOCAL_MACHINE &gt; SYSTEM &gt; CurrentControlSet &gt; Services &gt; Browser &gt; Parameters</li>
<li>Find the Key<br />
Name: IsDomainMaster<br />
and set<br />
Data: False</li>
<li>Restart Your PC</li>
</ol>
<p><strong>Step2:</strong></p>
<ol>
<li>Go to &#8216;Run&#8217; and open &#8216;cmd&#8217;</li>
<li>Type &#8216;netsh&#8217; in command console then press enter</li>
<li>Then type &#8216;winsock&#8217; and press enter and then type reset</li>
<li>Restart Your PC</li>
</ol>
<p><strong>Step3:</strong></p>
<ol>
<li>Open &#8216;cmd&#8217;</li>
<li>type regedit and press enter. This will lead you to the registry editor.</li>
<li>Find the following key: <span style="font-weight:bold;">HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NetBT\Parameters</span></li>
<li>In the right-hand window pane you will find an option called <span style="font-weight:bold;">TransportBindName</span>.<br />
Double click on<span style="font-weight:bold;">TransportBindName </span>and delete the existing default value and click <span style="font-weight:bold;">Ok</span> (This gives <span style="font-weight:bold;">TransportBindName </span>a blank value)</li>
<li>Close Port 135: Navigate to the following registry key:<br />
<span style="font-weight:bold;">HKEY_LOCAL_MACHINE\Software\Microsoft\Ole</span></li>
<li>In the right hand window pane you will see an option called <span style="font-weight:bold;">EnableDCOM</span>. Double-click <span style="font-weight:bold;">EnableDCOM </span>and change the <span style="font-weight:bold;">Y</span> to an <span style="font-weight:bold;">N</span> and click <span style="font-weight:bold;">Ok</span>. Close the Registry Editor and restart your computer.</li>
</ol>
<p>Hope this will solve your problem. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codemphasis.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codemphasis.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codemphasis.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codemphasis.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codemphasis.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codemphasis.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codemphasis.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codemphasis.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codemphasis.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codemphasis.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=300&subd=codemphasis&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://codemphasis.wordpress.com/2009/06/26/how-to-fix-win32-generic-host-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7ecc0cb2809b2734d7879464cf70a328?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnab86</media:title>
		</media:content>
	</item>
		<item>
		<title>Steps to get updates from WSUS Server:</title>
		<link>http://codemphasis.wordpress.com/2009/06/01/steps-to-get-updates-from-wsus-server/</link>
		<comments>http://codemphasis.wordpress.com/2009/06/01/steps-to-get-updates-from-wsus-server/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 06:43:03 +0000</pubDate>
		<dc:creator>Arnab Guha</dc:creator>
				<category><![CDATA[Windows Update]]></category>
		<category><![CDATA[win]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[WSUS]]></category>

		<guid isPermaLink="false">http://codemphasis.wordpress.com/?p=287</guid>
		<description><![CDATA[
The following steps should help you to get updates from WSUS server:&#8211;


Login as Administrator.


Goto Start &#8211;&#62; Run &#8211;&#62; type 	gpedit.msc and then press OK.


In the left pane of the window 	under local Comuter Policy, thee should be two subgroups as 	“Computer Configuration” and “User Configuration”. Click &#8216;+&#8217; 	left to Computer Configuration and then click &#8216;+&#8217; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=287&subd=codemphasis&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } --></p>
<p style="margin-bottom:0;">The following steps should help you to get updates from WSUS server:&#8211;</p>
<ol>
<li>
<p style="margin-bottom:0;">Login as Administrator.</p>
</li>
<li>
<p style="margin-bottom:0;">Goto Start &#8211;&gt; Run &#8211;&gt; type 	gpedit.msc and then press OK.</p>
</li>
<li>
<p style="margin-bottom:0;">In the left pane of the window 	under local Comuter Policy, thee should be two subgroups as 	“Computer Configuration” and “User Configuration”. Click &#8216;+&#8217; 	left to Computer Configuration and then click &#8216;+&#8217; left to 	Administrative Templates and then click &#8216;+&#8217; left to Windows 	Cmponents. Finally click on Windows Update.</p>
</li>
<li>
<p style="margin-bottom:0;">In the right pane, double click on 	the setting “Configue Automatic Updates”. Make it enabled and 	select 3-Auto Download and notify for install in the drop down menu. 	Then click the next setting menu.</p>
</li>
<li>
<p style="margin-bottom:0;">Make it enabled and type 	<a href="http://wus/">http://wus</a> (it should b the path of your 	WSUS server) in the both places. Then click Next setting button.</p>
</li>
<li>
<p style="margin-bottom:0;">Make it enabled and type PERSONAL 	(it can vary depending on users choice). Then click the Next setting 	button.</p>
</li>
<li>
<p style="margin-bottom:0;">Make it enabled and type the 	startup time as yu want. Then click Next setting button.</p>
</li>
<li>
<p style="margin-bottom:0;">Leave this settings as not 	configured and then click Next seting button.</p>
</li>
<li>
<p style="margin-bottom:0;">Make it enabled and type the time 	duration between each updation. Then click OK.</p>
</li>
</ol>
<p style="margin-bottom:0;">You have done necesary settings to recieve the windows update from a WSUS server. Now close the window and restart the pc. After restarting the pc, you will be prompted certain updates in the taskbar. The updates are required for your pc depending upon the windows software you had installed. Install the updates. You may be prompted to restart the pc.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codemphasis.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codemphasis.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codemphasis.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codemphasis.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codemphasis.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codemphasis.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codemphasis.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codemphasis.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codemphasis.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codemphasis.wordpress.com/287/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=287&subd=codemphasis&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://codemphasis.wordpress.com/2009/06/01/steps-to-get-updates-from-wsus-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7ecc0cb2809b2734d7879464cf70a328?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnab86</media:title>
		</media:content>
	</item>
		<item>
		<title>Computer Memory part 1</title>
		<link>http://codemphasis.wordpress.com/2009/05/04/computer-memory-part-1/</link>
		<comments>http://codemphasis.wordpress.com/2009/05/04/computer-memory-part-1/#comments</comments>
		<pubDate>Mon, 04 May 2009 20:23:07 +0000</pubDate>
		<dc:creator>danger101</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://codemphasis.wordpress.com/?p=282</guid>
		<description><![CDATA[Computer data storage, often called storage or memory, refers to computer components, devices, and recording media that retain digital data used for computing for some interval of time. Computer data storage provides one of the core functions of the modern computer, that of information retention. It is one of the fundamental components of all modern [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=282&subd=codemphasis&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Computer data storage, often called<strong> storage or memory</strong>, refers to computer components, devices, and recording media that retain digital data used for computing for some interval of time. Computer data storage provides one of the core functions of the modern computer, that of information retention. It is one of the fundamental components of all modern computers, and coupled with a central processing unit (CPU, a processor), implements the basic computer model used since the 1940s.<div id="attachment_283" class="wp-caption alignnone" style="width: 160px"><img src="http://codemphasis.files.wordpress.com/2009/05/250px-ddr2_ram_mounted.jpg?w=150&#038;h=100" alt="a DDR-2 RAM or RANDOM ACCESS MEMORY" title="250px-ddr2_ram_mounted" width="150" height="100" class="size-thumbnail wp-image-283" /><p class="wp-caption-text">a DDR-2 RAM or RANDOM ACCESS MEMORY</p></div>In contemporary usage, memory usually refers to a form of semiconductor storage known as random access memory (RAM) and sometimes other forms of fast but temporary storage. Similarly, storage today more commonly refers to mass storage &#8211; optical discs, forms of magnetic storage like hard disks, and other types slower than RAM, but of a more permanent nature. Historically, memory and storage were respectively called primary storage and secondary storage.<br />
The contemporary distinctions are helpful, because they are also fundamental to the architecture of computers in general. As well, they reflect an important and significant technical difference between memory and mass storage devices, which has been blurred by the historical usage of the term storage. Nevertheless, this article uses the traditional nomenclature.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codemphasis.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codemphasis.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codemphasis.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codemphasis.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codemphasis.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codemphasis.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codemphasis.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codemphasis.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codemphasis.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codemphasis.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=282&subd=codemphasis&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://codemphasis.wordpress.com/2009/05/04/computer-memory-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a6d5ffcafa02833b6f167cd8c7f143f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danger101</media:title>
		</media:content>

		<media:content url="http://codemphasis.files.wordpress.com/2009/05/250px-ddr2_ram_mounted.jpg?w=150" medium="image">
			<media:title type="html">250px-ddr2_ram_mounted</media:title>
		</media:content>
	</item>
		<item>
		<title>Programming Language C : Part 3</title>
		<link>http://codemphasis.wordpress.com/2009/04/27/programming-language-c-part-3/</link>
		<comments>http://codemphasis.wordpress.com/2009/04/27/programming-language-c-part-3/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 11:52:09 +0000</pubDate>
		<dc:creator>Jayanta Karmakar</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Middle Level]]></category>
		<category><![CDATA[Programming Language]]></category>
		<category><![CDATA[C programming]]></category>
		<category><![CDATA[Middle Level Language]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://codemphasis.wordpress.com/?p=267</guid>
		<description><![CDATA[
 Last day, I&#8217;d ended on the basic structure of the C Programming Language. Today, we shall start to do real programming. It is really fun.
Ok. Lets do a small program to print your name:

This program will give you output like: 
Now, we shall move to DATA Types.
As we know, there are many types of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=267&subd=codemphasis&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Calibri; 	mso-font-alt:"Century Gothic"; 	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-parent:""; 	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:Calibri; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --></p>
<p><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]-->Last day, I&#8217;d ended on the basic structure of the C Programming Language. Today, we shall start to do real programming. It is really fun.</p>
<p>Ok. Lets do a small program to print your name:</p>
<p class="MsoNormal"><img class="aligncenter size-full wp-image-268" title="c1" src="http://codemphasis.files.wordpress.com/2009/04/c1.png?w=399&#038;h=121" alt="c1" width="399" height="121" /></p>
<p class="MsoNormal" style="text-align:left;">This program will give you output like: <img class="aligncenter size-full wp-image-269" title="c2" src="http://codemphasis.files.wordpress.com/2009/04/c2.png?w=232&#038;h=19" alt="c2" width="232" height="19" /></p>
<p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]-->Now, we shall move to DATA Types.</p>
<p>As we know, there are many types of data in our real world. For example, the Integers, the Floating point numbers, Characters etc.</p>
<p>In case of C, there also exist all of them. In case, we want to use them, we need to &#8220;INITIALIZE&#8221; them to the Compiler. The method is like this:</p>
<p><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p><img class="aligncenter size-full wp-image-271" title="c3" src="http://codemphasis.files.wordpress.com/2009/04/c3.png?w=234&#038;h=190" alt="c3" width="234" height="190" />Here we can see, &#8220;int a&#8221; declares an integer called &#8216;a&#8217; without any value. But, &#8220;int b = 5&#8243; declares an integer called &#8216;b&#8217; with a value 5 assigned in it. Similarly for floating point numbers, &#8216;float&#8217; is used and for characters, &#8220;char&#8221; is used. All these &#8216;int&#8217; or &#8216;float&#8217; or &#8216;char&#8217; are called &#8220;keywords&#8221; in C.</p>
<p>We shall look further more keywords in C:</p>
<p><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p class="MsoNormal"><img class="aligncenter size-full wp-image-272" title="c4" src="http://codemphasis.files.wordpress.com/2009/04/c4.png?w=457&#038;h=140" alt="c4" width="457" height="140" /></p>
<p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]-->All these keywords have their own meanings and jobs to do. We shall look them further, while we will need them in future.</p>
<p>Now, there is a question. I know, I can use int as a keyword to mean the integers. But, how long that integer can be? Int x = 1234567891011121314151617&#8230;..??? There should be a limit of this.</p>
<p>char     =&gt; a single byte, capable of holding one character in the local character set</p>
<p>int        =&gt; an integer, typically reflecting the natural size of integers on the host machine</p>
<p>float     =&gt; single-precision floating point</p>
<p>double =&gt;  double-precision floating point</p>
<p>In addition, there are a number of qualifiers that can be applied to these basic types. short</p>
<p>and long apply to integers:</p>
<p>short int sh;</p>
<p>long int counter;</p>
<p>The word int can be omitted in such declarations, and typically it is. The intent is that short and long should provide different lengths of integers where practical; int will normally be the natural size for a particular machine. short is often 16 bits long, and int either 16 or 32 bits. Each compiler is free to choose appropriate sizes for its own hardware, subject only to the the restriction that shorts and ints are at least 16 bits, longs are at least 32 bits, and short is no longer than int, which is no longer than long.  The qualifier signed or unsigned may be applied to char or any integer. unsigned numbers are always positive or zero, and obey the laws of arithmetic modulo 2n, where n is the number of bits in the type. So, for instance, if chars are 8 bits, unsigned char variables have values between 0 and 255, while  signed chars have values between -128 and 127 (in a two&#8217;s complement machine.) Whether plain  chars are signed or unsigned is machine-dependent, but printable characters are always positive.  The type long double specifies extended-precision floating point. As with integers, the sizes of floating-point objects are implementation-defined; float, double and long double could represent one, two or three distinct sizes.</p>
<p><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codemphasis.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codemphasis.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codemphasis.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codemphasis.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codemphasis.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codemphasis.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codemphasis.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codemphasis.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codemphasis.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codemphasis.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codemphasis.wordpress.com&blog=7124068&post=267&subd=codemphasis&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://codemphasis.wordpress.com/2009/04/27/programming-language-c-part-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/620af5bb43b5fca11e58d51d567d1e1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayanta854u</media:title>
		</media:content>

		<media:content url="http://codemphasis.files.wordpress.com/2009/04/c1.png" medium="image">
			<media:title type="html">c1</media:title>
		</media:content>

		<media:content url="http://codemphasis.files.wordpress.com/2009/04/c2.png" medium="image">
			<media:title type="html">c2</media:title>
		</media:content>

		<media:content url="http://codemphasis.files.wordpress.com/2009/04/c3.png" medium="image">
			<media:title type="html">c3</media:title>
		</media:content>

		<media:content url="http://codemphasis.files.wordpress.com/2009/04/c4.png" medium="image">
			<media:title type="html">c4</media:title>
		</media:content>
	</item>
	</channel>
</rss>