<?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-04-25T01:02:03Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.2</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, ''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 ''if'' with ''while''. 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>
	<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 ''if'' with ''while''. 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>