<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://trcnet.asuscomm.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mentors</id>
	<title>TrcWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://trcnet.asuscomm.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mentors"/>
	<link rel="alternate" type="text/html" href="http://trcnet.asuscomm.com/mediawiki/index.php?title=Special:Contributions/Mentors"/>
	<updated>2026-09-01T19:55:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>http://trcnet.asuscomm.com/mediawiki/index.php?title=Beginner_Java_Programming&amp;diff=645</id>
		<title>Beginner Java Programming</title>
		<link rel="alternate" type="text/html" href="http://trcnet.asuscomm.com/mediawiki/index.php?title=Beginner_Java_Programming&amp;diff=645"/>
		<updated>2024-07-06T19:13:58Z</updated>

		<summary type="html">&lt;p&gt;Mentors: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== TRC Beginner Programming Curriculum ==&lt;br /&gt;
&lt;br /&gt;
=== Class 1 ===&lt;br /&gt;
* Introduction, overview: Everyone should bring a laptop to class. Student laptops are ok.&lt;br /&gt;
* Set up [replit.com](https://replit.com/signup) accounts: Most students use their google account to sign in.&lt;br /&gt;
* Create first java replit, &#039;&#039;Hello World&#039;&#039;&lt;br /&gt;
** Click &#039;&#039;run&#039;&#039; and get output.&lt;br /&gt;
** Discuss the basic components of a java program.&lt;br /&gt;
** Explain the syntax.&lt;br /&gt;
** Show a couple examples where the program breaks because of bad syntax. Explain the error messages.&lt;br /&gt;
* Topics covered:&lt;br /&gt;
** Variables&lt;br /&gt;
** Primitive types and Expressions&lt;br /&gt;
** Introduction to numeric types: &#039;&#039;int, long, float, double&#039;&#039;.&lt;br /&gt;
** Numeric operators: &#039;&#039;+-*/%&#039;&#039;&lt;br /&gt;
** Useful constants like &#039;&#039;Math.PI&#039;&#039;&lt;br /&gt;
** Variable declarations and initialization&lt;br /&gt;
** String types: simple string creation, concatenation&lt;br /&gt;
** Introduction to &#039;&#039;boolean&#039;&#039; types and operators. &#039;&#039;&amp;amp;&amp;amp; || == !=, &amp;gt;, &amp;lt;&#039;&#039; etc.&lt;br /&gt;
** Some practice with these types- give a few simple programming problems&lt;br /&gt;
&lt;br /&gt;
=== Class 2 ===&lt;br /&gt;
* Recap &#039;&#039;boolean&#039;&#039; expressions&lt;br /&gt;
* Introduction to &#039;&#039;while&#039;&#039; loops&lt;br /&gt;
** Using a variable to count loops&lt;br /&gt;
** Simple programs using &#039;&#039;while()&#039;&#039;&lt;br /&gt;
*** Print the numbers 1 to 10&lt;br /&gt;
*** Print the numbers 10 to 1&lt;br /&gt;
** Incrementing, decrementing, &lt;br /&gt;
* Introduction to &#039;&#039;if/else&#039;&#039; statements&lt;br /&gt;
** Simple conditional execution&lt;br /&gt;
** Combine &#039;&#039;if&#039;&#039; with &#039;&#039;while&#039;&#039;. For example, print even numbers up to 20.&lt;br /&gt;
* Introduction to &#039;&#039;Scanner&#039;&#039; and &#039;&#039;Random&#039;&#039;.  &lt;br /&gt;
** Ask the user to input their name and repeat it back&lt;br /&gt;
** Ask for a number and repeat back its square&lt;br /&gt;
&lt;br /&gt;
With these two we can start to build a complex program: play a guessing game: choose a random number between 1 and 10 and have the user guess the number, giving too low/ too high feedback. This might require step-by step building up the program with the students.&lt;br /&gt;
&lt;br /&gt;
Assign the &#039;&#039;fizz buzz&#039;&#039; problem for homework.&lt;br /&gt;
&lt;br /&gt;
=== Class 3 ===&lt;br /&gt;
* &#039;&#039;Fizz buzz&#039;&#039; solution&lt;br /&gt;
* [SKIP] &#039;&#039;do {…} while&#039;&#039; ⇔ &#039;&#039;while&#039;&#039; &lt;br /&gt;
* Introduction to &#039;&#039;for&#039;&#039; loops&lt;br /&gt;
** do several examples&lt;br /&gt;
** &#039;&#039;while&#039;&#039; ⇔ &#039;&#039;for&#039;&#039; loop&lt;br /&gt;
* Objects and classes: usually we use a working example of Robots or Animals&lt;br /&gt;
** Member variables&lt;br /&gt;
** Constructors&lt;br /&gt;
** Member methods&lt;br /&gt;
** Getters/setters&lt;br /&gt;
** Static class methods&lt;br /&gt;
** Inheritance - show some examples from FRC repos.&lt;br /&gt;
* Arrays&lt;br /&gt;
** Initialization&lt;br /&gt;
** Iterating&lt;br /&gt;
** Exercises: find the min, find the max, compute the average&lt;br /&gt;
* Case statements&lt;br /&gt;
* State machines&lt;br /&gt;
** Soda vending machine&lt;br /&gt;
** State transition diagram&lt;br /&gt;
** What variables are needed, &lt;br /&gt;
** Implementation as a class&lt;br /&gt;
* Exceptions - throwing/handling&lt;br /&gt;
* Wrap-up:&lt;br /&gt;
** Tour of FRC code base.&lt;br /&gt;
** Examples of state machines, inheritance&lt;br /&gt;
** Show example of a shooting state machine from the code.&lt;br /&gt;
* Installing &#039;&#039;&#039;WPILib&#039;&#039;&#039;, &#039;&#039;&#039;GitHub Desktop&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Mentors</name></author>
	</entry>
	<entry>
		<id>http://trcnet.asuscomm.com/mediawiki/index.php?title=Beginner_Java_Programming&amp;diff=644</id>
		<title>Beginner Java Programming</title>
		<link rel="alternate" type="text/html" href="http://trcnet.asuscomm.com/mediawiki/index.php?title=Beginner_Java_Programming&amp;diff=644"/>
		<updated>2024-07-06T18:56:17Z</updated>

		<summary type="html">&lt;p&gt;Mentors: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== TRC Beginner Programming Curriculum ==&lt;br /&gt;
&lt;br /&gt;
=== Class 1 ===&lt;br /&gt;
* Introduction, overview: Everyone should bring a laptop to class. Student laptops are ok.&lt;br /&gt;
* Set up replit.com accounts: Most students use their google account to sign in.&lt;br /&gt;
* Create first java replit, Hello World&lt;br /&gt;
** Click run and get output.&lt;br /&gt;
** Discuss the basic components of a java program.&lt;br /&gt;
** Explain the syntax.&lt;br /&gt;
** Show a couple examples where the program breaks because of bad syntax. Explain the error messages.&lt;br /&gt;
* Topics covered:&lt;br /&gt;
** Variables&lt;br /&gt;
** Primitive types and Expressions&lt;br /&gt;
** Introduction to numeric types: int, long, float, double.&lt;br /&gt;
** Numeric operators: +-*/%&lt;br /&gt;
** Useful constants like Math.PI&lt;br /&gt;
** Variable declarations and initialization&lt;br /&gt;
** String types: simple string creation, concatenation&lt;br /&gt;
** Introduction to boolean types and operators. &amp;amp;&amp;amp; || == !=, &amp;gt;, &amp;lt; etc.&lt;br /&gt;
** Some practice with these types- give a few simple programming problems&lt;br /&gt;
&lt;br /&gt;
=== Class 2 ===&lt;br /&gt;
* Recap boolean expressions&lt;br /&gt;
* Introduction to while loops&lt;br /&gt;
** Using a variable to count loops&lt;br /&gt;
** Simple programs using while() &lt;br /&gt;
*** Print the numbers 1 to 10&lt;br /&gt;
*** Print the numbers 10 to 1&lt;br /&gt;
** Incrementing, decrementing, &lt;br /&gt;
* Introduction to if/else statements&lt;br /&gt;
** Simple conditional execution&lt;br /&gt;
** Combine &#039;&#039;if&#039;&#039; with &#039;&#039;while&#039;&#039;. For example, print even numbers up to 20.&lt;br /&gt;
* Introduction to Scanner and Random.  &lt;br /&gt;
** Ask the user to input their name and repeat it back&lt;br /&gt;
** Ask for a number and repeat back its square&lt;br /&gt;
&lt;br /&gt;
With these two we can start to build a complex program: play a guessing game: choose a random number between 1 and 10 and have the user guess the number, giving too low/ too high feedback. This might require step-by step building up the program with the students.&lt;br /&gt;
&lt;br /&gt;
Assign the fizz buzz problem for homework.&lt;br /&gt;
&lt;br /&gt;
=== Class 3 ===&lt;br /&gt;
* Fizz buzz solution&lt;br /&gt;
* [SKIP] Do … while ⇔ while &lt;br /&gt;
* Introduction to for loops&lt;br /&gt;
** do several examples&lt;br /&gt;
** While ⇔ for loop&lt;br /&gt;
* Objects and classes: usually we use a working example of Robots or Animals&lt;br /&gt;
** Member variables&lt;br /&gt;
** Constructors&lt;br /&gt;
** Member methods&lt;br /&gt;
** Getters/setters&lt;br /&gt;
** Static class methods&lt;br /&gt;
** Inheritance - show some examples from FRC repos.&lt;br /&gt;
* Arrays&lt;br /&gt;
** Initialization&lt;br /&gt;
** Iterating&lt;br /&gt;
** Exercises: find the min, find the max, compute the average&lt;br /&gt;
* Case statements&lt;br /&gt;
* State machines&lt;br /&gt;
** Soda vending machine&lt;br /&gt;
** State transition diagram&lt;br /&gt;
** What variables are needed, &lt;br /&gt;
** Implementation as a class&lt;br /&gt;
* Exceptions - throwing/handling&lt;br /&gt;
* Wrap-up:&lt;br /&gt;
** Tour of FRC code base.&lt;br /&gt;
** Examples of state machines, inheritance&lt;br /&gt;
** Show example of a shooting state machine from the code.&lt;br /&gt;
* Installing WPILib, github desktop&lt;/div&gt;</summary>
		<author><name>Mentors</name></author>
	</entry>
</feed>