<?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/"
	>

<channel>
	<title>Computer with Sir Rod &#187; Java Programming</title>
	<atom:link href="http://www.eregia.com/category/javaprogramming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eregia.com</link>
	<description>Java Programming and Animation in a Flash!</description>
	<lastBuildDate>Sun, 29 Aug 2010 07:15:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sample Java Program</title>
		<link>http://www.eregia.com/2010/08/24/sample-java-program/</link>
		<comments>http://www.eregia.com/2010/08/24/sample-java-program/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 14:13:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java Programming]]></category>

		<guid isPermaLink="false">http://www.eregia.com/?p=69</guid>
		<description><![CDATA[The following codes  is a Java program that will ask for two numbers and display their sum. It will then decide on if the sum is greater than or equal to 20, or not
*****
import java.io.*;
public class Decision{                                                   // defines the class &#8220;Decision&#8221;
public static void main(String[] args){
BufferedReader dataIn=
new BufferedReader(new InputStreamReader(System.in));
int x=0, y=0, sum=0;                                   //starts [...]]]></description>
			<content:encoded><![CDATA[<p>The following codes  is a Java program that will ask for two numbers and display their sum. It will then decide on if the sum is greater than or equal to 20, or not</p>
<p>*****</p>
<p>import java.io.*;</p>
<p>public class Decision{                                                   // defines the class &#8220;Decision&#8221;</p>
<p>public static void main(String[] args){</p>
<p>BufferedReader dataIn=</p>
<p>new BufferedReader(new InputStreamReader(System.in));</p>
<p>int x=0, y=0, sum=0;                                   //starts the variables x, y and sum</p>
<p>String Str1, Str2;</p>
<p>try{</p>
<p>System.out.print(&#8221;Enter 1st number: &#8220;);  // reads</p>
<p>Str1=dataIn.readLine();                                    // first</p>
<p>x=Integer.parseInt(Str1);                                  // number</p>
<p>System.out.print(&#8221;Enter 2nd number: &#8220;);             // reads</p>
<p>Str2=dataIn.readLine();                                    // second</p>
<p>y=Integer.parseInt(Str2);                                  // number</p>
<p>}</p>
<p>catch(Exception e){</p>
<p>System.out.print(&#8221;Error!&#8221;);</p>
<p>}</p>
<p>sum=x+y;                                                 // gives sum the value of x added to y</p>
<p>System.out.print(&#8221;The sum is &#8220;);                 // prints out &#8220;The sum is &#8221;</p>
<p>System.out.println(sum);                // prints out the value of the sum</p>
<p>if (sum &gt;= 20){</p>
<p>System.out.println(&#8221;It is greater than or equal to 20&#8243;);     // prints out if sum &gt;= 20</p>
<p>}</p>
<p>else {</p>
<p>System.out.println(&#8221;It is less than 20&#8243;);                           // prints out if sum &lt; 20</p>
<p>}</p>
<p>} }</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eregia.com/2010/08/24/sample-java-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computer IV Pointers &#8211; First Grading Exam</title>
		<link>http://www.eregia.com/2010/08/13/computer-iv-pointers-first-grading-exam/</link>
		<comments>http://www.eregia.com/2010/08/13/computer-iv-pointers-first-grading-exam/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 04:12:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java Programming]]></category>
		<category><![CDATA[Computer IV]]></category>
		<category><![CDATA[Pointers]]></category>

		<guid isPermaLink="false">http://www.eregia.com/?p=66</guid>
		<description><![CDATA[Computer IV Pointers &#8211; First Grading Exam:
Java Operators, 20 items, 20 points
Number Systems, 10 items, 20 points
Machine Language, 4 items, 20 points
The Ten Commandments of Computer Ethics, 3 items, 15 points
Circuits, 1 item, 15 points
Flowcharts,1 item, 20 points
Good Luck!  x^_^
]]></description>
			<content:encoded><![CDATA[<p>Computer IV Pointers &#8211; First Grading Exam:</p>
<p>Java Operators, 20 items, 20 points</p>
<p>Number Systems, 10 items, 20 points</p>
<p>Machine Language, 4 items, 20 points</p>
<p>The Ten Commandments of Computer Ethics, 3 items, 15 points</p>
<p>Circuits, 1 item, 15 points</p>
<p>Flowcharts,1 item, 20 points</p>
<p>Good Luck!  x^_^</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eregia.com/2010/08/13/computer-iv-pointers-first-grading-exam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Ten Commandments of Computer Ethics</title>
		<link>http://www.eregia.com/2009/07/27/the-ten-commandments-of-computer-ethics/</link>
		<comments>http://www.eregia.com/2009/07/27/the-ten-commandments-of-computer-ethics/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 08:05:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Animation in a Flash!]]></category>
		<category><![CDATA[IT Project Management]]></category>
		<category><![CDATA[Java Programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Computer Ethics]]></category>
		<category><![CDATA[Ethics]]></category>
		<category><![CDATA[Ten Commandments]]></category>

		<guid isPermaLink="false">http://www.eregia.com/?p=16</guid>
		<description><![CDATA[The following are the Ten Commandments of Computer Ethics as adapted from the Computer Ethics Institute.
Commandment:  an instruction; a requirement
Ethics:  a code of conduct; how a person should live.
1.) You shall not use a computer to harm other people.
Invading the privacy of individuals
2.) You shall not interfere with other people&#8217;s computer work.
Degrading or disrupting equipment, [...]]]></description>
			<content:encoded><![CDATA[<p>The following are the <strong>Ten Commandments of Computer Ethics</strong> as adapted from the <strong>Computer Ethics Institute</strong>.</p>
<p><em>Commandment</em>:  an instruction; a requirement<br />
<em>Ethics</em>:  a code of conduct; how a person should live.</p>
<p><strong>1.) You shall not use a computer to harm other people.</strong><br />
Invading the privacy of individuals</p>
<p><strong>2.) You shall not interfere with other people&#8217;s computer work.</strong><br />
Degrading or disrupting equipment, software, or system performance.<br />
Using resources to interfere with the proper operation of any computer, or destroy data.</p>
<p><strong>3.) You shall not snoop around in other people&#8217;s computer files.</strong><br />
Using an account owned by another user, or allowing another user to access your account.  (Any problems which arise from the misuse of a user’s password will be that user’s responsibility.)<br />
Invading the privacy of individuals</p>
<p><strong>4.) You shall not use a computer to steal.</strong><br />
Using resources in any manner that violates Board policy, federal, state, or local law including unauthorized copying or transmission of software.</p>
<p><strong>5.) You  shall not use a computer to bear false witness.</strong><br />
Initiating or forwarding “chain” letters.<br />
Downloading, storing printing, or distributing files or messages that are profane, obscene, threatening, or that use language that offends or tends to degrade others.<br />
Unproven rumors (e.g. free coca cola)</p>
<p><strong>6.) You shall not copy or use proprietary software for which you have not paid.</strong><br />
Using resources in any manner that violates the law including unauthorized copying or transmission of software.</p>
<p><strong>7.) You shall not use other people&#8217;s computer resources without authorization or proper compensation.<br />
</strong>Using information obtained through network and computer resources without giving proper credit to the source (plagiarism).</p>
<p><strong>8.) You shall not appropriate other people&#8217;s intellectual output.</strong><br />
Posting personal communication without the original author’s consent.<br />
Using information obtained through network and computer resources without giving proper credit to the source (plagiarism).</p>
<p><strong>9.) You shall think about the social consequences of the program you are writing or the system you are designing.</strong><br />
Downloading, storing, printing, or distributing files or messages that are profane, obscene, threatening, or that use language that offends or tends to degrade others.</p>
<p><strong>10.) You shall always use a computer in ways that show consideration and respect for your fellow humans.</strong><br />
Downloading, storing, printing, or distributing files or messages that contain information considered dangerous to the public at large.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eregia.com/2009/07/27/the-ten-commandments-of-computer-ethics/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
