<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://classes.engineering.wustl.edu/cse425s/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dennis.cosgrove</id>
	<title>CSE425S Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://classes.engineering.wustl.edu/cse425s/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dennis.cosgrove"/>
	<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Special:Contributions/Dennis.cosgrove"/>
	<updated>2026-11-28T17:19:03Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.4</generator>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2417</id>
		<title>Render Part A Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2417"/>
		<updated>2026-11-05T20:09:21Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Code to Implement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Diagram=&lt;br /&gt;
[[File:Diagram_part_a.png|600px]]&lt;br /&gt;
&lt;br /&gt;
=Code to Use=&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]==&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#method-i-draw_convex_polygon draw_convex_polygon]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#method-i-draw_curve draw_curve]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#method-i-draw_image draw_image]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#method-i-draw_string draw_string]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html font_size]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html font_face]&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Point2.html Point2]==&lt;br /&gt;
: x&lt;br /&gt;
: y&lt;br /&gt;
&lt;br /&gt;
==[https://ruby-doc.org/core-2.6/Math.html Math]==&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-cos Math.cos(radians)]&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-sin Math.sin(radians)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=Code to Investigate=&lt;br /&gt;
==Cavalcade of Graphics==&lt;br /&gt;
{{RubyToRun|cavalcade_of_graphics|cavalcade_of_graphics|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Cavalcade of graphics.png]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
Each of the renderable components has its own file in the &amp;lt;code&amp;gt;src/main/ruby/drawings/core&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
Be sure to add accessors for all constructor parameters.&lt;br /&gt;
&lt;br /&gt;
[https://www.rubyguides.com/2018/11/attr_accessor/ How to use attr_accessor]&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToImplement|rectangle|drawings/core|Rectangle|Object|initialize(half_width, half_height)&amp;lt;br/&amp;gt;half_width()&amp;lt;br&amp;gt;half_width&amp;amp;#61;()&amp;lt;br/&amp;gt;half_height()&amp;lt;br&amp;gt;half_height&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for half_width and half_height.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|rectangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_rectangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Equilateral Triangle==&lt;br /&gt;
{{RubyToImplement|equilateral_triangle|drawings/core|EquilateralTriangle|Object|initialize(half_side_length)&amp;lt;br/&amp;gt;half_side_length()&amp;lt;br&amp;gt;half_side_length&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
[[File:Equilateral Triangle Render Studio.svg]]&lt;br /&gt;
&lt;br /&gt;
[https://en.wikipedia.org/wiki/Equilateral_triangle wikipedia]&lt;br /&gt;
&lt;br /&gt;
'''WARNING:''' Ruby division of two integers results in an integer.  For example: 1/3 == 0&lt;br /&gt;
&lt;br /&gt;
The triangle should be equilateral, rendered with its the origin at the center of mass.&lt;br /&gt;
&lt;br /&gt;
Your constructor should accept a &amp;lt;code&amp;gt;half_side_length&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessor] for half_side_length.&lt;br /&gt;
&lt;br /&gt;
The height of the triangle should be side_length * sqrt(3)/2&lt;br /&gt;
&lt;br /&gt;
The center of mass is one third from the bottom.&lt;br /&gt;
&lt;br /&gt;
So, the bottom left point A's x coordinate should be &amp;lt;code&amp;gt;-half_side_length&amp;lt;/code&amp;gt; and its y coordinate should be &amp;lt;code&amp;gt;-1/3 height&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|equilateral_triangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_equilateral_triangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToImplement|ellipse|drawings/core|Ellipse|Object|initialize(x_radius, y_radius)&amp;lt;br/&amp;gt;x_radius()&amp;lt;br&amp;gt;x_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;y_radius()&amp;lt;br&amp;gt;y_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for x_radius and y_radius.&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (2*Math::PI) /slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|ellipse|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_ellipse.png]]&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToImplement|circular_segment|drawings/core|CircularSegment|Object|initialize(x_radius, y_radius, theta_a, theta_z)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
In geometry a [https://en.wikipedia.org/wiki/Chord_(geometry) chord] is a line segment which joins two points on a curve.  We will define a &amp;lt;code&amp;gt;class CircularSegment&amp;lt;/code&amp;gt; which renders a filled shape of an ellipse cut at the chord between theta_a and theta_z.&lt;br /&gt;
&lt;br /&gt;
[[File:Chord_theta_a_z.png]]&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (@theta_z-@theta_a) / slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: a Chord with 32 slices will have 33 points.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|circular_segment|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_chord.png]]&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToImplement|image|drawings/core|Image|Object|initialize(path)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
should draw the pixels from (0,0)&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|image|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_image.png]]&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToImplement|text|drawings/core|Text|Object|initialize(text, font_size, font_face)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|text|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_text.png]]&lt;br /&gt;
&lt;br /&gt;
==Bézier Curve==&lt;br /&gt;
{{RubyToImplement|bezier_curve|drawings/core|BezierCurve|Object|initialize(control_points)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
NOTE: you need not implement the interpolation yourself.  Use the [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_curve-instance_method draw_curve] method on [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: right; &amp;quot;&lt;br /&gt;
| Quadratic (Second Order) Curve:&lt;br /&gt;
| [[File:Bézier_2_big.svg]] &lt;br /&gt;
| [[File:Bézier_2_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Quadratic (Third Order) Curve:&lt;br /&gt;
| [[File:Bézier_3_big.svg]] &lt;br /&gt;
| [[File:Bézier_3_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Fourth Order Curve:&lt;br /&gt;
| [[File:Bézier_4_big.svg]] &lt;br /&gt;
| [[File:Bézier_4_big.gif]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|bezier_curve|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_bezier_curve.png]]&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_a}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_a_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;br /&gt;
&lt;br /&gt;
==Somewhat Outdated Testing Demo==&lt;br /&gt;
&amp;lt;youtube&amp;gt;utK0TewIRjc&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_B_Assignment&amp;diff=2416</id>
		<title>Render Part B Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_B_Assignment&amp;diff=2416"/>
		<updated>2026-11-05T16:01:42Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this assignment we will evolve our code from [[Render_Part_A_Assignment|Render (Part A)]] to leverage class hierarchies.&lt;br /&gt;
&lt;br /&gt;
[[File:Diagram_part_b.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Continue editing files in the drawings/core directory.&lt;br /&gt;
&lt;br /&gt;
In this exercise, we will have parameters for which explicitly passed arguments are not required (for convenience and backwards compatibility).  We will [https://github.com/rubocop-hq/ruby-style-guide#keyword-arguments-vs-optional-arguments prefer keyword arguments over optional arguments].&lt;br /&gt;
&lt;br /&gt;
=Code To Use=&lt;br /&gt;
[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#push_affine_transform-instance_method push_affine_transform]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#pop_affine_transform-instance_method pop_affine_transform]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#apply_translation-instance_method apply_translation]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#color=-instance_method color=]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#clear-instance_method clear]&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
==Transform==&lt;br /&gt;
{{RubyToImplement|transform|drawings|Transform|Object|initialize(x,y)&amp;lt;br/&amp;gt;x()&amp;lt;br/&amp;gt;x&amp;amp;#61;()&amp;lt;br/&amp;gt;y()&amp;lt;br/&amp;gt;y&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add accesors for x and y.&lt;br /&gt;
&lt;br /&gt;
Transform's constructor should take x and y parameters and store them in instance variables.&lt;br /&gt;
&lt;br /&gt;
It should define a render method which [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#push_affine_transform-instance_method preserves the current affine transformation], [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#apply_translation-instance_method translates by x and y], passes the untransformed_render message to itself (a.k.a. invokes a method on itself), and [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#pop_affine_transform-instance_method restores the model view transformation].&lt;br /&gt;
&lt;br /&gt;
All subclasses must implement a private untransformed_render method.&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToEvolve|image|drawings|Image|Transform|initialize(path, x: 0, y: 0)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#Image|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0 and y: 0 and invoke your superclass with these parameters.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==ColorTransform==&lt;br /&gt;
{{RubyToImplement|color_transform|drawings|ColorTransform|Transform|initialize(x,y,color)&amp;lt;br/&amp;gt;color()&amp;lt;br/&amp;gt;color&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an accessor for color.&lt;br /&gt;
&lt;br /&gt;
ColorTransform's constructor should take x, y, and color parameters.  x and y should be passed to the superclass and color should be stored in an instance variable.&lt;br /&gt;
&lt;br /&gt;
NOTE: Override render.  Be sure to [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#color=-instance_method change the color] (unless it is nil) on the graphics instance before invoking your superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: invoke the [https://ruby-doc.org/core-2.5.3/Object.html#method-i-nil-3F nil?] method to check for nil.&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToEvolve|text|drawings|Text|ColorTransform|initialize(text, font,  x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#Text|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToEvolve|ellipse|drawings|Ellipse|ColorTransform|initialize(x_radius, y_radius, x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#Ellipse|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==EquilateralTriangle==&lt;br /&gt;
{{RubyToEvolve|equilateral_triangle|drawings|EquilateralTriangle|ColorTransform|initialize(half_side_length, x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#EquilateralTriangle|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==BezierCurve==&lt;br /&gt;
{{RubyToEvolve|bezier_curve|drawings|BezierCurve|ColorTransform|initialize(control_points, x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#B.C3.A9zier_Curve|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToEvolve|circular_segment|drawings|CircularSegment|ColorTransform|initialize(x_radius, y_radius, theta_a, theta_z, x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#CircularSegment|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToEvolve|rectangle|drawings|Rectangle|ColorTransform|initialize(half_width, half_height, x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#Rectangle|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==CompositeTransform==&lt;br /&gt;
{{RubyToImplement|composite_transform|drawings|CompositeTransform|Transform|initialize(x: 0, y: 0)&amp;lt;br/&amp;gt;components&amp;lt;br/&amp;gt;push_component(component)&amp;lt;br/&amp;gt;untransformed_render(g)}}&lt;br /&gt;
&lt;br /&gt;
Instances of CompositeTransform will act like a group of objects.  When it moves all of its child components will move with it.  When it is drawn, each of its child components will be drawn.&lt;br /&gt;
&lt;br /&gt;
Add a reader for components.&lt;br /&gt;
&lt;br /&gt;
Add a push_component method which accepts a component which will later be rendered.&lt;br /&gt;
&lt;br /&gt;
The untransformed_render method should render each pushed component.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
NOTE: sometimes when constructing objects we need to initialize instance variables that are not necessarily passed in as arguments.  this is one of those times.&lt;br /&gt;
&lt;br /&gt;
==Scene==&lt;br /&gt;
'''Fall 2023 ALERT: there is an error in scene.rb'''&lt;br /&gt;
&lt;br /&gt;
'''The require_relative at the top of the file is missing a ../'''&lt;br /&gt;
&lt;br /&gt;
'''Change the require_relative from:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;require_relative '../../../core/ruby/render/core/render'&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''to:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative '../../../../core/ruby/render/core/render'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RubyToImplement|scene|drawings|Scene|Object|initialize(background_color: Color::BLACK)&amp;lt;br/&amp;gt;background_color()&amp;lt;br/&amp;gt;background_color&amp;amp;#61;()&amp;lt;br/&amp;gt;components()&amp;lt;br/&amp;gt;push_component(component)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an accessor for background_color and a reader for components.&lt;br /&gt;
&lt;br /&gt;
Scene's constructor should take a keyword parameter background_color: Color.new(0,0,0) and store it in an instance variable.&lt;br /&gt;
&lt;br /&gt;
Add a push_component method which accepts a component which will later be rendered.&lt;br /&gt;
&lt;br /&gt;
The render method should [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#clear-instance_method clear] the color buffer once before proceeding to render each pushed component.&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_b}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_b}}&lt;br /&gt;
&lt;br /&gt;
===Backwards Compatibility===&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_b_components_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|part_b_composites_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2415</id>
		<title>Render Part A Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2415"/>
		<updated>2026-11-05T16:01:18Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Graphics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Diagram=&lt;br /&gt;
[[File:Diagram_part_a.png|600px]]&lt;br /&gt;
&lt;br /&gt;
=Code to Use=&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]==&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#method-i-draw_convex_polygon draw_convex_polygon]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#method-i-draw_curve draw_curve]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#method-i-draw_image draw_image]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#method-i-draw_string draw_string]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html font_size]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html font_face]&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Point2.html Point2]==&lt;br /&gt;
: x&lt;br /&gt;
: y&lt;br /&gt;
&lt;br /&gt;
==[https://ruby-doc.org/core-2.6/Math.html Math]==&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-cos Math.cos(radians)]&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-sin Math.sin(radians)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=Code to Investigate=&lt;br /&gt;
==Cavalcade of Graphics==&lt;br /&gt;
{{RubyToRun|cavalcade_of_graphics|cavalcade_of_graphics|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Cavalcade of graphics.png]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
Each of the renderable components has its own file in the &amp;lt;code&amp;gt;src/main/ruby/drawings/core&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
Be sure to add accessors for all constructor parameters.&lt;br /&gt;
&lt;br /&gt;
[https://www.rubyguides.com/2018/11/attr_accessor/ How to use attr_accessor]&lt;br /&gt;
&lt;br /&gt;
==Equilateral Triangle==&lt;br /&gt;
{{RubyToImplement|equilateral_triangle|drawings/core|EquilateralTriangle|Object|initialize(half_side_length)&amp;lt;br/&amp;gt;half_side_length()&amp;lt;br&amp;gt;half_side_length&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
[[File:Equilateral Triangle Render Studio.svg]]&lt;br /&gt;
&lt;br /&gt;
[https://en.wikipedia.org/wiki/Equilateral_triangle wikipedia]&lt;br /&gt;
&lt;br /&gt;
'''WARNING:''' Ruby division of two integers results in an integer.  For example: 1/3 == 0&lt;br /&gt;
&lt;br /&gt;
The triangle should be equilateral, rendered with its the origin at the center of mass.&lt;br /&gt;
&lt;br /&gt;
Your constructor should accept a &amp;lt;code&amp;gt;half_side_length&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessor] for half_side_length.&lt;br /&gt;
&lt;br /&gt;
The height of the triangle should be side_length * sqrt(3)/2&lt;br /&gt;
&lt;br /&gt;
The center of mass is one third from the bottom.&lt;br /&gt;
&lt;br /&gt;
So, the bottom left point A's x coordinate should be &amp;lt;code&amp;gt;-half_side_length&amp;lt;/code&amp;gt; and its y coordinate should be &amp;lt;code&amp;gt;-1/3 height&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|equilateral_triangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_equilateral_triangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToImplement|rectangle|drawings/core|Rectangle|Object|initialize(half_width, half_height)&amp;lt;br/&amp;gt;half_width()&amp;lt;br&amp;gt;half_width&amp;amp;#61;()&amp;lt;br/&amp;gt;half_height()&amp;lt;br&amp;gt;half_height&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for half_width and half_height.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|rectangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_rectangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToImplement|ellipse|drawings/core|Ellipse|Object|initialize(x_radius, y_radius)&amp;lt;br/&amp;gt;x_radius()&amp;lt;br&amp;gt;x_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;y_radius()&amp;lt;br&amp;gt;y_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for x_radius and y_radius.&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (2*Math::PI) /slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|ellipse|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_ellipse.png]]&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToImplement|circular_segment|drawings/core|CircularSegment|Object|initialize(x_radius, y_radius, theta_a, theta_z)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
In geometry a [https://en.wikipedia.org/wiki/Chord_(geometry) chord] is a line segment which joins two points on a curve.  We will define a &amp;lt;code&amp;gt;class CircularSegment&amp;lt;/code&amp;gt; which renders a filled shape of an ellipse cut at the chord between theta_a and theta_z.&lt;br /&gt;
&lt;br /&gt;
[[File:Chord_theta_a_z.png]]&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (@theta_z-@theta_a) / slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: a Chord with 32 slices will have 33 points.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|circular_segment|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_chord.png]]&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToImplement|image|drawings/core|Image|Object|initialize(path)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
should draw the pixels from (0,0)&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|image|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_image.png]]&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToImplement|text|drawings/core|Text|Object|initialize(text, font_size, font_face)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|text|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_text.png]]&lt;br /&gt;
&lt;br /&gt;
==Bézier Curve==&lt;br /&gt;
{{RubyToImplement|bezier_curve|drawings/core|BezierCurve|Object|initialize(control_points)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
NOTE: you need not implement the interpolation yourself.  Use the [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_curve-instance_method draw_curve] method on [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: right; &amp;quot;&lt;br /&gt;
| Quadratic (Second Order) Curve:&lt;br /&gt;
| [[File:Bézier_2_big.svg]] &lt;br /&gt;
| [[File:Bézier_2_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Quadratic (Third Order) Curve:&lt;br /&gt;
| [[File:Bézier_3_big.svg]] &lt;br /&gt;
| [[File:Bézier_3_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Fourth Order Curve:&lt;br /&gt;
| [[File:Bézier_4_big.svg]] &lt;br /&gt;
| [[File:Bézier_4_big.gif]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|bezier_curve|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_bezier_curve.png]]&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_a}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_a_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;br /&gt;
&lt;br /&gt;
==Somewhat Outdated Testing Demo==&lt;br /&gt;
&amp;lt;youtube&amp;gt;utK0TewIRjc&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2414</id>
		<title>Render Part A Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2414"/>
		<updated>2026-11-05T16:00:25Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Graphics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Diagram=&lt;br /&gt;
[[File:Diagram_part_a.png|600px]]&lt;br /&gt;
&lt;br /&gt;
=Code to Use=&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]==&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_convex_polygon-instance_method draw_convex_polygon]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_curve-instance_method draw_curve]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_image-instance_method draw_image]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_string-instance_method draw_string]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html font_size]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html font_face]&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Point2.html Point2]==&lt;br /&gt;
: x&lt;br /&gt;
: y&lt;br /&gt;
&lt;br /&gt;
==[https://ruby-doc.org/core-2.6/Math.html Math]==&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-cos Math.cos(radians)]&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-sin Math.sin(radians)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=Code to Investigate=&lt;br /&gt;
==Cavalcade of Graphics==&lt;br /&gt;
{{RubyToRun|cavalcade_of_graphics|cavalcade_of_graphics|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Cavalcade of graphics.png]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
Each of the renderable components has its own file in the &amp;lt;code&amp;gt;src/main/ruby/drawings/core&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
Be sure to add accessors for all constructor parameters.&lt;br /&gt;
&lt;br /&gt;
[https://www.rubyguides.com/2018/11/attr_accessor/ How to use attr_accessor]&lt;br /&gt;
&lt;br /&gt;
==Equilateral Triangle==&lt;br /&gt;
{{RubyToImplement|equilateral_triangle|drawings/core|EquilateralTriangle|Object|initialize(half_side_length)&amp;lt;br/&amp;gt;half_side_length()&amp;lt;br&amp;gt;half_side_length&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
[[File:Equilateral Triangle Render Studio.svg]]&lt;br /&gt;
&lt;br /&gt;
[https://en.wikipedia.org/wiki/Equilateral_triangle wikipedia]&lt;br /&gt;
&lt;br /&gt;
'''WARNING:''' Ruby division of two integers results in an integer.  For example: 1/3 == 0&lt;br /&gt;
&lt;br /&gt;
The triangle should be equilateral, rendered with its the origin at the center of mass.&lt;br /&gt;
&lt;br /&gt;
Your constructor should accept a &amp;lt;code&amp;gt;half_side_length&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessor] for half_side_length.&lt;br /&gt;
&lt;br /&gt;
The height of the triangle should be side_length * sqrt(3)/2&lt;br /&gt;
&lt;br /&gt;
The center of mass is one third from the bottom.&lt;br /&gt;
&lt;br /&gt;
So, the bottom left point A's x coordinate should be &amp;lt;code&amp;gt;-half_side_length&amp;lt;/code&amp;gt; and its y coordinate should be &amp;lt;code&amp;gt;-1/3 height&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|equilateral_triangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_equilateral_triangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToImplement|rectangle|drawings/core|Rectangle|Object|initialize(half_width, half_height)&amp;lt;br/&amp;gt;half_width()&amp;lt;br&amp;gt;half_width&amp;amp;#61;()&amp;lt;br/&amp;gt;half_height()&amp;lt;br&amp;gt;half_height&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for half_width and half_height.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|rectangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_rectangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToImplement|ellipse|drawings/core|Ellipse|Object|initialize(x_radius, y_radius)&amp;lt;br/&amp;gt;x_radius()&amp;lt;br&amp;gt;x_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;y_radius()&amp;lt;br&amp;gt;y_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for x_radius and y_radius.&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (2*Math::PI) /slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|ellipse|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_ellipse.png]]&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToImplement|circular_segment|drawings/core|CircularSegment|Object|initialize(x_radius, y_radius, theta_a, theta_z)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
In geometry a [https://en.wikipedia.org/wiki/Chord_(geometry) chord] is a line segment which joins two points on a curve.  We will define a &amp;lt;code&amp;gt;class CircularSegment&amp;lt;/code&amp;gt; which renders a filled shape of an ellipse cut at the chord between theta_a and theta_z.&lt;br /&gt;
&lt;br /&gt;
[[File:Chord_theta_a_z.png]]&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (@theta_z-@theta_a) / slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: a Chord with 32 slices will have 33 points.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|circular_segment|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_chord.png]]&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToImplement|image|drawings/core|Image|Object|initialize(path)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
should draw the pixels from (0,0)&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|image|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_image.png]]&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToImplement|text|drawings/core|Text|Object|initialize(text, font_size, font_face)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|text|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_text.png]]&lt;br /&gt;
&lt;br /&gt;
==Bézier Curve==&lt;br /&gt;
{{RubyToImplement|bezier_curve|drawings/core|BezierCurve|Object|initialize(control_points)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
NOTE: you need not implement the interpolation yourself.  Use the [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_curve-instance_method draw_curve] method on [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: right; &amp;quot;&lt;br /&gt;
| Quadratic (Second Order) Curve:&lt;br /&gt;
| [[File:Bézier_2_big.svg]] &lt;br /&gt;
| [[File:Bézier_2_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Quadratic (Third Order) Curve:&lt;br /&gt;
| [[File:Bézier_3_big.svg]] &lt;br /&gt;
| [[File:Bézier_3_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Fourth Order Curve:&lt;br /&gt;
| [[File:Bézier_4_big.svg]] &lt;br /&gt;
| [[File:Bézier_4_big.gif]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|bezier_curve|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_bezier_curve.png]]&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_a}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_a_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;br /&gt;
&lt;br /&gt;
==Somewhat Outdated Testing Demo==&lt;br /&gt;
&amp;lt;youtube&amp;gt;utK0TewIRjc&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2413</id>
		<title>Render Part A Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2413"/>
		<updated>2026-11-05T15:59:32Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Text */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Diagram=&lt;br /&gt;
[[File:Diagram_part_a.png|600px]]&lt;br /&gt;
&lt;br /&gt;
=Code to Use=&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]==&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_convex_polygon-instance_method draw_convex_polygon]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_curve-instance_method draw_curve]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_image-instance_method draw_image]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_string-instance_method draw_string]&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Point2.html Point2]==&lt;br /&gt;
: x&lt;br /&gt;
: y&lt;br /&gt;
&lt;br /&gt;
==[https://ruby-doc.org/core-2.6/Math.html Math]==&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-cos Math.cos(radians)]&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-sin Math.sin(radians)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=Code to Investigate=&lt;br /&gt;
==Cavalcade of Graphics==&lt;br /&gt;
{{RubyToRun|cavalcade_of_graphics|cavalcade_of_graphics|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Cavalcade of graphics.png]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
Each of the renderable components has its own file in the &amp;lt;code&amp;gt;src/main/ruby/drawings/core&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
Be sure to add accessors for all constructor parameters.&lt;br /&gt;
&lt;br /&gt;
[https://www.rubyguides.com/2018/11/attr_accessor/ How to use attr_accessor]&lt;br /&gt;
&lt;br /&gt;
==Equilateral Triangle==&lt;br /&gt;
{{RubyToImplement|equilateral_triangle|drawings/core|EquilateralTriangle|Object|initialize(half_side_length)&amp;lt;br/&amp;gt;half_side_length()&amp;lt;br&amp;gt;half_side_length&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
[[File:Equilateral Triangle Render Studio.svg]]&lt;br /&gt;
&lt;br /&gt;
[https://en.wikipedia.org/wiki/Equilateral_triangle wikipedia]&lt;br /&gt;
&lt;br /&gt;
'''WARNING:''' Ruby division of two integers results in an integer.  For example: 1/3 == 0&lt;br /&gt;
&lt;br /&gt;
The triangle should be equilateral, rendered with its the origin at the center of mass.&lt;br /&gt;
&lt;br /&gt;
Your constructor should accept a &amp;lt;code&amp;gt;half_side_length&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessor] for half_side_length.&lt;br /&gt;
&lt;br /&gt;
The height of the triangle should be side_length * sqrt(3)/2&lt;br /&gt;
&lt;br /&gt;
The center of mass is one third from the bottom.&lt;br /&gt;
&lt;br /&gt;
So, the bottom left point A's x coordinate should be &amp;lt;code&amp;gt;-half_side_length&amp;lt;/code&amp;gt; and its y coordinate should be &amp;lt;code&amp;gt;-1/3 height&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|equilateral_triangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_equilateral_triangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToImplement|rectangle|drawings/core|Rectangle|Object|initialize(half_width, half_height)&amp;lt;br/&amp;gt;half_width()&amp;lt;br&amp;gt;half_width&amp;amp;#61;()&amp;lt;br/&amp;gt;half_height()&amp;lt;br&amp;gt;half_height&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for half_width and half_height.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|rectangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_rectangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToImplement|ellipse|drawings/core|Ellipse|Object|initialize(x_radius, y_radius)&amp;lt;br/&amp;gt;x_radius()&amp;lt;br&amp;gt;x_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;y_radius()&amp;lt;br&amp;gt;y_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for x_radius and y_radius.&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (2*Math::PI) /slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|ellipse|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_ellipse.png]]&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToImplement|circular_segment|drawings/core|CircularSegment|Object|initialize(x_radius, y_radius, theta_a, theta_z)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
In geometry a [https://en.wikipedia.org/wiki/Chord_(geometry) chord] is a line segment which joins two points on a curve.  We will define a &amp;lt;code&amp;gt;class CircularSegment&amp;lt;/code&amp;gt; which renders a filled shape of an ellipse cut at the chord between theta_a and theta_z.&lt;br /&gt;
&lt;br /&gt;
[[File:Chord_theta_a_z.png]]&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (@theta_z-@theta_a) / slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: a Chord with 32 slices will have 33 points.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|circular_segment|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_chord.png]]&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToImplement|image|drawings/core|Image|Object|initialize(path)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
should draw the pixels from (0,0)&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|image|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_image.png]]&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToImplement|text|drawings/core|Text|Object|initialize(text, font_size, font_face)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|text|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_text.png]]&lt;br /&gt;
&lt;br /&gt;
==Bézier Curve==&lt;br /&gt;
{{RubyToImplement|bezier_curve|drawings/core|BezierCurve|Object|initialize(control_points)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
NOTE: you need not implement the interpolation yourself.  Use the [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_curve-instance_method draw_curve] method on [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: right; &amp;quot;&lt;br /&gt;
| Quadratic (Second Order) Curve:&lt;br /&gt;
| [[File:Bézier_2_big.svg]] &lt;br /&gt;
| [[File:Bézier_2_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Quadratic (Third Order) Curve:&lt;br /&gt;
| [[File:Bézier_3_big.svg]] &lt;br /&gt;
| [[File:Bézier_3_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Fourth Order Curve:&lt;br /&gt;
| [[File:Bézier_4_big.svg]] &lt;br /&gt;
| [[File:Bézier_4_big.gif]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|bezier_curve|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_bezier_curve.png]]&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_a}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_a_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;br /&gt;
&lt;br /&gt;
==Somewhat Outdated Testing Demo==&lt;br /&gt;
&amp;lt;youtube&amp;gt;utK0TewIRjc&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Recursive_Circles_Assignment&amp;diff=2412</id>
		<title>Recursive Circles Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Recursive_Circles_Assignment&amp;diff=2412"/>
		<updated>2026-10-20T18:53:21Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Outside Circles */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Motivation=&lt;br /&gt;
We will recursively generate some images with the [https://docs.racket-lang.org/teachpack/2htdpimage.html Racket Image Library].&lt;br /&gt;
&lt;br /&gt;
=Code To Investigate=&lt;br /&gt;
==Racket Image Library==&lt;br /&gt;
===placement===&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._beside%29%29 beside]&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._above%29%29 above]&lt;br /&gt;
===shapes===&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._circle%29%29 circle]&lt;br /&gt;
&lt;br /&gt;
=Shrinking Circles=&lt;br /&gt;
{{RacketToImplement|shrinking_to_the_right_circles|shrinking-to-the-right-circles|recursive_circles}}&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;(shrinking-to-the-right-circles radius n)&lt;br /&gt;
  (raise 'not-yet-implemented #t))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; &amp;quot;&lt;br /&gt;
|[[File:Shrinking-to-the-right-circles_0.svg|200px]]&lt;br /&gt;
|[[File:Shrinking-to-the-right-circles_1.svg|300px]]&lt;br /&gt;
|[[File:Shrinking-to-the-right-circles_2.svg|350px]]&lt;br /&gt;
|[[File:Shrinking-to-the-right-circles_3.svg|375px]]&lt;br /&gt;
|[[File:Shrinking-to-the-right-circles_4.svg|387px]]&lt;br /&gt;
|-&lt;br /&gt;
|n=0&lt;br /&gt;
|n=1&lt;br /&gt;
|n=2&lt;br /&gt;
|n=3&lt;br /&gt;
|n=4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Outside Circles=&lt;br /&gt;
{{RacketToImplement|outside_circles|outside-circles|recursive_circles}}&lt;br /&gt;
&lt;br /&gt;
NOTE: to avoid layout problems, make the next level outside-circles one third the radius of the current one.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;(outside-circles radius n)&lt;br /&gt;
  (raise 'not-yet-implemented #t))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; &amp;quot;&lt;br /&gt;
|[[File:Outside-circles_0.svg|200px]]&lt;br /&gt;
|[[File:Outside-circles_1.svg|300px]]&lt;br /&gt;
|[[File:Outside-circles_2.svg|400px]]&lt;br /&gt;
|[[File:Outside-circles_3.svg|500px]]&lt;br /&gt;
|[[File:Outside-circles_4.svg|600px]]&lt;br /&gt;
|-&lt;br /&gt;
|n=0&lt;br /&gt;
|n=1&lt;br /&gt;
|n=2&lt;br /&gt;
|n=3&lt;br /&gt;
|n=4&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Recursive_Circles_Assignment&amp;diff=2411</id>
		<title>Recursive Circles Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Recursive_Circles_Assignment&amp;diff=2411"/>
		<updated>2026-10-20T18:51:38Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Outside Circles */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Motivation=&lt;br /&gt;
We will recursively generate some images with the [https://docs.racket-lang.org/teachpack/2htdpimage.html Racket Image Library].&lt;br /&gt;
&lt;br /&gt;
=Code To Investigate=&lt;br /&gt;
==Racket Image Library==&lt;br /&gt;
===placement===&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._beside%29%29 beside]&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._above%29%29 above]&lt;br /&gt;
===shapes===&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._circle%29%29 circle]&lt;br /&gt;
&lt;br /&gt;
=Shrinking Circles=&lt;br /&gt;
{{RacketToImplement|shrinking_to_the_right_circles|shrinking-to-the-right-circles|recursive_circles}}&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;(shrinking-to-the-right-circles radius n)&lt;br /&gt;
  (raise 'not-yet-implemented #t))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; &amp;quot;&lt;br /&gt;
|[[File:Shrinking-to-the-right-circles_0.svg|200px]]&lt;br /&gt;
|[[File:Shrinking-to-the-right-circles_1.svg|300px]]&lt;br /&gt;
|[[File:Shrinking-to-the-right-circles_2.svg|350px]]&lt;br /&gt;
|[[File:Shrinking-to-the-right-circles_3.svg|375px]]&lt;br /&gt;
|[[File:Shrinking-to-the-right-circles_4.svg|387px]]&lt;br /&gt;
|-&lt;br /&gt;
|n=0&lt;br /&gt;
|n=1&lt;br /&gt;
|n=2&lt;br /&gt;
|n=3&lt;br /&gt;
|n=4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Outside Circles=&lt;br /&gt;
{{RacketToImplement|outside_circles|outside-circles|recursive_circles}}&lt;br /&gt;
&lt;br /&gt;
NOTE: to avoid layout problems, make the next level circle one third the size of the current one.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;(outside-circles radius n)&lt;br /&gt;
  (raise 'not-yet-implemented #t))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; &amp;quot;&lt;br /&gt;
|[[File:Outside-circles_0.svg|200px]]&lt;br /&gt;
|[[File:Outside-circles_1.svg|300px]]&lt;br /&gt;
|[[File:Outside-circles_2.svg|400px]]&lt;br /&gt;
|[[File:Outside-circles_3.svg|500px]]&lt;br /&gt;
|[[File:Outside-circles_4.svg|600px]]&lt;br /&gt;
|-&lt;br /&gt;
|n=0&lt;br /&gt;
|n=1&lt;br /&gt;
|n=2&lt;br /&gt;
|n=3&lt;br /&gt;
|n=4&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Home_Is_Where_The_Heart_Is_Assignment&amp;diff=2410</id>
		<title>Home Is Where The Heart Is Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Home_Is_Where_The_Heart_Is_Assignment&amp;diff=2410"/>
		<updated>2026-10-20T17:09:26Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* shapes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Motivation=&lt;br /&gt;
Become accustomed to programming in Racket with some warm up activities which provide visual feedback.&lt;br /&gt;
&lt;br /&gt;
We will use the functions provided by the [https://docs.racket-lang.org/teachpack/2htdpimage.html Racket Image Library] to draw the pictures below.&lt;br /&gt;
&lt;br /&gt;
=Racket Image Library=&lt;br /&gt;
==placement==&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._beside%29%29 beside]&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._above%29%29 above]&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._overlay%29%29 overlay] [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._overlay%2Falign%29%29 overlay/align] [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._overlay%2Fxy%29%29 overlay/xy]&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._rotate%29%29 rotate]&lt;br /&gt;
&lt;br /&gt;
==shapes==&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._triangle%29%29 triangle]&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._circle%29%29 circle]&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._wedge%29%29 wedge]&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._square%29%29 square]&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._rectangle%29%29 rectangle]&lt;br /&gt;
* [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._frame%29%29 frame]&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&amp;lt;youtube&amp;gt;mks5Yed9Smg&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;HHqpI059I-8&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Code To Implement=&lt;br /&gt;
==Flags==&lt;br /&gt;
{{RacketToImplement|flags|tri-bar-flag/left-to-right&amp;lt;br/&amp;gt;tri-bar-flag/top-to-bottom|home_is_where_the_heart_is}}&lt;br /&gt;
&lt;br /&gt;
===tri-bar-flag/left-to-right===&lt;br /&gt;
&lt;br /&gt;
Yes, the function name is literally &amp;lt;code&amp;gt;tri-bar-flag/left-to-right&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;(define (tri-bar-flag/left-to-right width height left-color middle-color right-color)&lt;br /&gt;
  (raise 'not-yet-implemented #t))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Flag_of_France.svg|200px]] [[File:Flag_of_Ireland.svg|200px]]&lt;br /&gt;
&lt;br /&gt;
===tri-bar-flag/top-to-bottom===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;(define (tri-bar-flag/top-to-bottom width height top-color middle-color bottom-color)&lt;br /&gt;
  (raise 'not-yet-implemented #t))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Flag_of_Netherlands.svg|200px]] [[File:Flag_of_India.svg|200px]]&lt;br /&gt;
&lt;br /&gt;
==Home==&lt;br /&gt;
{{RacketToImplement|home|home|home_is_where_the_heart_is}}&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;(define (home roof-side-length roof-color base-width base-height base-color door-width door-height door-color)&lt;br /&gt;
  (raise 'not-yet-implemented #t))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Home.svg|200px]]&lt;br /&gt;
&lt;br /&gt;
==Heart==&lt;br /&gt;
{{RacketToImplement|heart|heart|home_is_where_the_heart_is}}&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;(define (heart side-length color)&lt;br /&gt;
  (raise 'not-yet-implemented #t))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Heart.svg|200px]]&lt;br /&gt;
&lt;br /&gt;
==Castle==&lt;br /&gt;
==Heart==&lt;br /&gt;
{{RacketToImplement|castle|castle|home_is_where_the_heart_is}}&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;(define (castle base-width)&lt;br /&gt;
  (raise 'not-yet-implemented #t))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Castle_Racket_Image_Library.svg|200px]]&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Template:ClassSession&amp;diff=2409</id>
		<title>Template:ClassSession</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Template:ClassSession&amp;diff=2409"/>
		<updated>2026-09-23T20:54:20Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;style=&amp;quot;background-color:#95d9ed;&amp;quot; | Class {{{1}}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2408</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2408"/>
		<updated>2026-09-23T20:53:06Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 9:00 -  9:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 9:30 - 10:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;10:00 - 10:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;10:30 - 11:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;11:00 - 11:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;11:30 - 12:00&amp;lt;/code&amp;gt;||  ||  || {{ClassSession|McDonnell 361}} ||  || {{ClassSession|McDonnell 361}} || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;12:00 - 12:30&amp;lt;/code&amp;gt;||  ||  || {{ClassSession|McDonnell 361}} ||  || {{ClassSession|McDonnell 361}} || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;12:30 -  1:00&amp;lt;/code&amp;gt;||  ||  || {{ClassSession|McDonnell 361}} ||  || {{ClassSession|McDonnell 361}} || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 1:00 -  1:30&amp;lt;/code&amp;gt;||  ||  || {{ClassSession|McDonnell 361}} ||  || {{ClassSession|McDonnell 361}} || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 1:30 -  2:00&amp;lt;/code&amp;gt;||  ||  || {{ClassSession|McDonnell 361}} ||  || {{ClassSession|McDonnell 361}} || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 2:00 -  2:30&amp;lt;/code&amp;gt;||  ||  || {{ClassSession|McDonnell 361}} ||  || {{ClassSession|McDonnell 361}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 2:30 -  3:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 3:00 -  3:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 3:30 -  4:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 4:00 -  4:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 4:30 -  5:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 5:00 -  5:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 5:30 -  6:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 6:00 -  6:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 6:30 -  7:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 7:00 -  7:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 7:30 -  8:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 8:00 -  8:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 8:30 -  9:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 9:00 -  9:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 9:30 - 10:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;10:00 - 10:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;10:30 - 11:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;11:00 - 11:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;11:30 - 12:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2407</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2407"/>
		<updated>2026-09-23T20:52:22Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 9:00 -  9:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 9:30 - 10:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;10:00 - 10:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;10:30 - 11:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;11:00 - 11:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;11:30 - 12:00&amp;lt;/code&amp;gt;||  ||  || {{ClassTime|McDonnell 361}} ||  || {{ClassTime|McDonnell 361}} || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;12:00 - 12:30&amp;lt;/code&amp;gt;||  ||  || {{ClassTime|McDonnell 361}} ||  || {{ClassTime|McDonnell 361}} || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;12:30 -  1:00&amp;lt;/code&amp;gt;||  ||  || {{ClassTime|McDonnell 361}} ||  || {{ClassTime|McDonnell 361}} || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 1:00 -  1:30&amp;lt;/code&amp;gt;||  ||  || {{ClassTime|McDonnell 361}} ||  || {{ClassTime|McDonnell 361}} || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 1:30 -  2:00&amp;lt;/code&amp;gt;||  ||  || {{ClassTime|McDonnell 361}} ||  || {{ClassTime|McDonnell 361}} || {{OfficeHourInPerson|Prof. Cosgrove|McDonnell 362}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 2:00 -  2:30&amp;lt;/code&amp;gt;||  ||  || {{ClassTime|McDonnell 361}} ||  || {{ClassTime|McDonnell 361}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 2:30 -  3:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 3:00 -  3:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 3:30 -  4:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 4:00 -  4:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 4:30 -  5:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 5:00 -  5:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 5:30 -  6:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 6:00 -  6:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 6:30 -  7:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 7:00 -  7:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 7:30 -  8:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 8:00 -  8:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 8:30 -  9:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 9:00 -  9:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt; 9:30 - 10:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;10:00 - 10:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;10:30 - 11:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;11:00 - 11:30&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;code&amp;gt;11:30 - 12:00&amp;lt;/code&amp;gt;||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Main_Page&amp;diff=2406</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Main_Page&amp;diff=2406"/>
		<updated>2026-09-15T14:23:30Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Fall 2025 Extensions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the wiki for CSE 425s Programming Languages at Washington University in St. Louis.&lt;br /&gt;
&lt;br /&gt;
=Calendar=&lt;br /&gt;
&lt;br /&gt;
Click [http://www.cse.wustl.edu/~cosgroved/courses/cse425s/current/calendar.html here] to visit the course calendar.&lt;br /&gt;
&lt;br /&gt;
=Office Hours=&lt;br /&gt;
{{:Office hours}}&lt;br /&gt;
&lt;br /&gt;
=Class Policies=&lt;br /&gt;
==Academic Integrity==&lt;br /&gt;
This is not a group project course.  You are expected to complete all assignments independently.&lt;br /&gt;
&lt;br /&gt;
Any act of dishonesty (e.g. cheating, lying) will be referred to the Dean's office in Engineering Student Services.&lt;br /&gt;
&lt;br /&gt;
If found in violation, the student will receive an F in the course and a permanent mark on his or her record.&lt;br /&gt;
&lt;br /&gt;
There is no statute of limitations for academic integrity violations.  If a violation is later discovered after the completion of the course or even graduation, an F will be retroactively applied (even if it means that the offending student's degree would be revoked).&lt;br /&gt;
&lt;br /&gt;
See the [https://wustl.edu/about/compliance-policies/academic-policies/undergraduate-student-academic-integrity-policy/ Undergraduate Student Academic Integrity Policy] for a non-exhaustive list.  If in doubt ask the Professor for clarification.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''Withdrawing from the course will not prevent the academic integrity officer or hearing panel from adjudicating the case, imposing sanctions, or recommending grade penalties, including a failing grade in the course.''&lt;br /&gt;
&lt;br /&gt;
While it's policies may or may not be different, CSE 131 has some [http://www.cse.wustl.edu/~cytron/cse131/Info/collaboration.shtml general advice on academic integrity].&lt;br /&gt;
&lt;br /&gt;
===Honor Pledge===&lt;br /&gt;
You will be required to fill out a pledge, acknowledgements, and citations file for each assignment.  To be clear: failure to fill out this pledge will not save you from an academic integrity violation.&lt;br /&gt;
&lt;br /&gt;
Example Pledge (which you are free to use):&lt;br /&gt;
:''On my honor as a student, the work I am submitting is mine own.  It was created within the acceptable bounds of this course.''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Attendance==&lt;br /&gt;
You are expected to either synchronously join the live online class session or asynchronously watch the recording later.  Either way, you a required complete the &amp;quot;in-class&amp;quot; quiz for credit for the class session.  On Canvas, these &amp;quot;in-class&amp;quot; quizzes will report to be due by the end of the synchronous session.  This is obviously unreasonable for those taking the course asynchronously.  Everyone will have as long as the quiz is available on Canvas to complete the quiz without penalty.  Further students are granted 3 free misses of &amp;quot;in-class&amp;quot; quizzes.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
You are expected to attend class (on both Fridays) and you will lose points if you fail to show up more than three times. We take attendance.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
If you are caught trying to sign in or pick up a quiz for an absent friend, we will consider this an academic integrity violation and treat it as such. If your friends ask you to do this for them, tell them you do not want an F in the course and academic integrity violation on your record.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==S&amp;amp;Q Forms==&lt;br /&gt;
&lt;br /&gt;
There will usually be a Synthesis and Question form due before every class.  We expect you to complete these before class begins. Like attendance, you will only be penalized after missing more than three S&amp;amp;Q forms.  If you fail to turn these in on time for class, you can still receive 70% credit by turning them in as long as they are available on Canvas.  During a typical semester, preps are available for late submission until Saturday 11:59PM Central of the week they are due.&lt;br /&gt;
&lt;br /&gt;
==UW Exercises==&lt;br /&gt;
The UW exercises come with a bare minimum of tests.  You can get a score estimate by submitting your work to the Coursera grader.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Passing these tests does not guarantee anything when it comes to a grade on the assignment.  Labs are read by the instructors.  Students are provided feedback and given an initial grade.  Students then have a week from that feedback to turn in revisions which will then be reviewed and given a final grade.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WashU Exercises==&lt;br /&gt;
WashU exercises are usually but not always graded automatically by if they pass all of the tests within their suite.  &lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Studios can receive up to 70% credit up to a week after they are due.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
It should go without saying that any dishonest effort to pass the tests without solving the problem would be an academic integrity violation.&lt;br /&gt;
&lt;br /&gt;
==Fall 2026 Extensions==&lt;br /&gt;
For the Fall 2026 semester: All Exercises will have an eight day, no penalty extension.&lt;br /&gt;
&lt;br /&gt;
To be clear, the due dates are asserted to be reasonable.  The bonus week and a day is intended to account for extreme circumstances.&lt;br /&gt;
&lt;br /&gt;
=Grading breakdown=&lt;br /&gt;
*'''Participation/Attendance (In-Class Worksheets) (3%)'''&lt;br /&gt;
*'''Prep Q&amp;amp;S Forms (10%)''' submit on [https://wustl.instructure.com/courses/80136 Canvas]&lt;br /&gt;
*'''WashU Exercises (75%)''' commit and push to git repo on [https://bitbucket.org bitbucket]&lt;br /&gt;
*'''UW Exercises (12%)''' commit and push to git repo on [https://bitbucket.org bitbucket]&lt;br /&gt;
**[[Calendar Date Assignment]]&lt;br /&gt;
**[[Card Game Assignment]]&lt;br /&gt;
**[[Pattern Matching Assignment]]&lt;br /&gt;
**[[Streams Assignment]]&lt;br /&gt;
**[[MUPL Assignment]]&lt;br /&gt;
**[[Tetris Assignment]]&lt;br /&gt;
**[[Geometry Language Assignment]] (Split Assignment: 30% SML, 70% Ruby)&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2405</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2405"/>
		<updated>2026-09-04T13:36:14Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: Replaced content with &amp;quot;To Be Determined&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To Be Determined&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Remove_First_Assignment&amp;diff=2404</id>
		<title>Remove First Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Remove_First_Assignment&amp;diff=2404"/>
		<updated>2026-09-04T12:27:10Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Test */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Motivation=&lt;br /&gt;
Experience with equality types (along with more experience writing recursive functions with pattern matching).&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
{{SMLToImplement|remove_first|remove_first|warmup_remove_first_occurrence}}&lt;br /&gt;
==remove_first==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;fun remove_first(xs : ''a list, target : ''a) : ''a list =&lt;br /&gt;
     raise NotYetImplemented&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remove the first item which matches &amp;lt;code&amp;gt;target&amp;lt;/code&amp;gt; if it exists.  For example, &amp;lt;code&amp;gt;remove_first([1,2,3,4,5], 3)&amp;lt;/code&amp;gt; should return the list &amp;lt;code&amp;gt;[1,2,4,5]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the target does not exist, return the complete list.  For example, &amp;lt;code&amp;gt;remove_first([1,2,3,4,5], 6)&amp;lt;/code&amp;gt; should return the list &amp;lt;code&amp;gt;[1,2,3,4,5]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{SMLUnitTesting|run_remove_first_occurrence_testing|warmup_remove_first_occurrence}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Is_Strictly_Ascending_Assignment&amp;diff=2403</id>
		<title>Is Strictly Ascending Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Is_Strictly_Ascending_Assignment&amp;diff=2403"/>
		<updated>2026-09-01T21:21:08Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Test */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Code to Implement=&lt;br /&gt;
&lt;br /&gt;
{{SMLToImplement|is_strictly_ascending_fun|is_strictly_ascending|warmup_is_strictly_ascending}}&lt;br /&gt;
&lt;br /&gt;
==is_strictly_ascending==&lt;br /&gt;
Write a function&lt;br /&gt;
&lt;br /&gt;
 fun is_strictly_ascending(xs : int list) : bool&lt;br /&gt;
&lt;br /&gt;
which returns true if every value in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; is strictly less than all of the values which follow it.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{SMLUnitTesting|run_is_strictly_ascending_fun_testing|warmup_is_strictly_ascending_fun}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=To_Squares_With_Functions_Assignment&amp;diff=2402</id>
		<title>To Squares With Functions Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=To_Squares_With_Functions_Assignment&amp;diff=2402"/>
		<updated>2026-08-27T14:02:24Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Code to Implement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Code to Use=&lt;br /&gt;
=={{ListStructure}}==&lt;br /&gt;
{{ListNilConstructor}}&lt;br /&gt;
{{ListConsConstructor}}&lt;br /&gt;
{{ListNull}}&lt;br /&gt;
{{ListHd}}&lt;br /&gt;
{{ListTl}}&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
{{SMLToImplement|to_squares|squares_fun|warmup_squares_fun}}&lt;br /&gt;
&lt;br /&gt;
==to_squares==&lt;br /&gt;
A list of integers &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; is passed to &amp;lt;code&amp;gt;to_squares&amp;lt;/code&amp;gt;.  Evaluate to a list where each item is the square of its counterpart in the passed list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sml&amp;quot;&amp;gt;&lt;br /&gt;
fun to_squares(xs : int list) : int list =&lt;br /&gt;
	raise Fail &amp;quot;NotYetImplemented&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, if the passed list is &amp;lt;code&amp;gt;[1,2,3,4]&amp;lt;/code&amp;gt; then &amp;lt;code&amp;gt;to_squares&amp;lt;/code&amp;gt; would evaluate to &amp;lt;code&amp;gt;[1, 4, 9, 16]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{SMLUnitTesting|run_squares_fun_testing|warmup_squares_fun}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Tetris_Assignment&amp;diff=2401</id>
		<title>Tetris Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Tetris_Assignment&amp;diff=2401"/>
		<updated>2025-12-06T16:24:48Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Credit=&lt;br /&gt;
{{GrossmanCredit}}&lt;br /&gt;
&lt;br /&gt;
[https://www.coursera.org/learn/programming-languages-part-c/supplement/8lyk9/homework-6-instructions Coursera Instructions]&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
This assignment is about a Tetris game written in Ruby. There are four Ruby files involved:&lt;br /&gt;
&lt;br /&gt;
# The Ruby code in uw6provided.rb implements a simple but fully functioning Tetris game (see, for example, http://en.wikipedia.org/wiki/Tetris#Gameplay).&lt;br /&gt;
# In uw6assignment.rb, you will create a second game that is Tetris with some enhancements, described below. This is the only file you will submit (other than, as usual, a file you used for testing).&lt;br /&gt;
# The Ruby code in uw6runner.rb is the main starting point. From the command-line (not within irb), you can run ruby uw6runner.rb to play a Tetris game that includes your enhancements. To use the original game rather than your code in uw6assignment.rb, run ruby uw6runner.rb original.&lt;br /&gt;
# The Ruby code in uw6graphics.rb provides a simple graphics library, tailored to Tetris. It is used by the Tetris game in uw6provided.rb. Your code can also use the classes and methods in uw6graphics.rb (as well as the classes and methods in uw6provided.rb), except for the methods marked with comments as not to be called by student code. Your code cannot use the Tk graphics library directly.&lt;br /&gt;
&lt;br /&gt;
You will turn in only uw6assignment.rb, so your solution cannot involve modifying any of the provided code. Instead, use subclassing (since, after all, this is the OOP portion of the course) to nonetheless reuse as much of the code as possible. Some code-copying will still be necessary, but you should try to minimize it. Your solution should also not change any of the provided classes in any way. You will define subclasses that behave differently. As a result, the provided Tetris game will run without change.&lt;br /&gt;
&lt;br /&gt;
Much of the work in this assignment is understanding the provided code. There are parts you will need to understand very well and other parts you will not need to understand. Part of the challenge is figuring out which parts are which. This experience is fairly realistic.&lt;br /&gt;
&lt;br /&gt;
=Enhancements=&lt;br /&gt;
1. In your game, the player can press the ’u’ key to make the piece that is falling rotate 180 degrees.&amp;lt;br/&amp;gt;(Note it is normal for this to make some pieces appear to move slightly.)&lt;br /&gt;
&lt;br /&gt;
2. In your game, instead of the pieces being randomly (and uniformly) chosen from the 7 classic pieces, the pieces are randomly (and uniformly) chosen from 10 pieces. They are the classic 7 and these 3:&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;background-color:#ccccff;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot;| [-1,-1]&lt;br /&gt;
| style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot; | [0,-1]&lt;br /&gt;
| style=&amp;quot;width:64px; height:64px; text-align:center; background-color:#ffffff;&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot;| [-1,0]&lt;br /&gt;
| style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot; | [0,0]&lt;br /&gt;
| style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot; | [1,0]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;background-color:#ccccff;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot;| [-2, 0]&lt;br /&gt;
 |style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot;| [-1, 0]&lt;br /&gt;
 |style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot;| [0, 0]&lt;br /&gt;
 |style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot;| [1, 0]&lt;br /&gt;
 |style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot;| [2, 0]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:128px; height:128px; text-align:center; background-color:#ccccff;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot;| [-1, 0]&lt;br /&gt;
|style=&amp;quot;width:64px; height:64px; text-align:center; background-color:#ffffff;&amp;quot;| &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot;| [0, 0] &lt;br /&gt;
|style=&amp;quot;width:64px; height:64px; text-align:center;&amp;quot;| [0, 1]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial rotation for each piece is also chosen randomly.&lt;br /&gt;
&lt;br /&gt;
3. In your game, the player can press the ’c’ key to cheat: If the score is less than 100, nothing happens.&amp;lt;br/&amp;gt;Else the player loses 100 points (cheating costs you) and the next piece that appears will be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width:64px; height:64px; text-align:center; background-color:#ccccff;&amp;quot;| [0, 0]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The piece after is again chosen randomly from the 10 above (unless, of course, the player hits ’c’ while the “cheat piece” is falling and still has a large enough score). Hitting ’c’ multiple times while a single piece is falling should behave no differently than hitting it once.&lt;br /&gt;
&lt;br /&gt;
=How To Run The Game=&lt;br /&gt;
We recommend you not use irb to load uw6runner.rb and start a game. We have not had success getting the graphics library to restart properly more than once inside irb, so you would likely have to exit the REPL after playing each game anyway. You can use the REPL for testing individual methods and exploring the program, but to launch a game, go outside irb and run ruby uw6runner.rb (or to make sure the original unenhanced game still works correctly, run ruby uw6runner.rb original). Make sure the 4 Ruby files are in the same directory and run the ruby command (or irb when exploring) from that directory.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|uw6runner|uw6|main}}&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
For our testing scripts to work, you must follow these guidelines.&lt;br /&gt;
* Your game should have all the features of the original Tetris game, as well as the enhancements.&lt;br /&gt;
* The subclasses you create must start with My followed by the name of the original class. For example, your Tetris class should be called MyTetris. We have provided empty class definitions for you to complete. You do not need any other classes.&lt;br /&gt;
* Do not add to or modify any classes defined in other files or the standard library.&lt;br /&gt;
* It is required that your board MyBoard has a next piece method that provides the same functionality that Board’s next piece provides, which is that it sets @current block to the next piece that will fall, which might or might not be the cheat piece.&lt;br /&gt;
* You must have a MyPiece class and it must define a class constant All My Pieces that contains exactly the ten “normal” pieces (i.e., the initial seven plus the three additional pieces from enhancement two). It must not contain your cheat piece. It must be in the same format as the All Pieces array in the provided code.&lt;br /&gt;
* All your new pieces, including your cheat piece, must use the same format as the provided pieces.&amp;lt;br/&amp;gt;Hint: Be particularly careful to have enough nesting in your arrays or your game may be subtly, almost imperceptibly, incorrect.&lt;br /&gt;
&lt;br /&gt;
=Advice and Guidance=&lt;br /&gt;
For the piece you are adding that has 5 squares in it and is not a line, be sure to add the piece as pictured and not its mirror image.&lt;br /&gt;
* It takes time to understand code you are given. Be patient and work methodically. You might try changing things to see what happens, but be sure you undo any changes you make to the provided code.&lt;br /&gt;
* The sample solution is about 85 lines of code. As always, that is just a rough guideline; your solution might be longer or shorter.&lt;br /&gt;
* While you should not copy code unless necessary, some copying will be necessary. After all, the original game may not have functionality broken down into overridable methods the way you would want and you are not allowed to change the provided code. This is a fairly realistic situation.&lt;br /&gt;
&lt;br /&gt;
=(Lack Of) Challenge Problem=&lt;br /&gt;
The best thing to do to continue the assignment is to implement an additional enhancement (or more) to your game, but we do not have a reasonable way to grade this and additional enhancements could possibly mess up auto-grading. So:&lt;br /&gt;
&lt;br /&gt;
* This assignment will not have a graded challenge problem.&lt;br /&gt;
* Be sure to turn in a solution that adds only the three asked-for enhancements.&lt;br /&gt;
* Then enjoy trying additional enhancements. Be creative.&lt;br /&gt;
&lt;br /&gt;
We encourage you to share on the discussion forum what you did but not how you did it as that would take away the fun from others who might try to repeat your accomplishment.&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_B_Assignment&amp;diff=2400</id>
		<title>Render Part B Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_B_Assignment&amp;diff=2400"/>
		<updated>2025-11-20T22:03:21Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Fall 2025 ALERT: there is an error in scene.rb'''&lt;br /&gt;
&lt;br /&gt;
'''The require_relative at the top of the file is missing a ../'''&lt;br /&gt;
&lt;br /&gt;
'''Change the require_relative from:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;require_relative '../../../core/ruby/render/core/render'&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''to:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative '../../../../core/ruby/render/core/render'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this assignment we will evolve our code from [[Render_Part_A_Assignment|Render (Part A)]] to leverage class hierarchies.&lt;br /&gt;
&lt;br /&gt;
[[File:Diagram_part_b.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Continue editing files in the drawings/core directory.&lt;br /&gt;
&lt;br /&gt;
In this exercise, we will have parameters for which explicitly passed arguments are not required (for convenience and backwards compatibility).  We will [https://github.com/rubocop-hq/ruby-style-guide#keyword-arguments-vs-optional-arguments prefer keyword arguments over optional arguments].&lt;br /&gt;
&lt;br /&gt;
=Code To Use=&lt;br /&gt;
[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#push_affine_transform-instance_method push_affine_transform]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#pop_affine_transform-instance_method pop_affine_transform]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#apply_translation-instance_method apply_translation]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#color=-instance_method color=]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#clear-instance_method clear]&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
==Transform==&lt;br /&gt;
{{RubyToImplement|transform|drawings|Transform|Object|initialize(x,y)&amp;lt;br/&amp;gt;x()&amp;lt;br/&amp;gt;x&amp;amp;#61;()&amp;lt;br/&amp;gt;y()&amp;lt;br/&amp;gt;y&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add accesors for x and y.&lt;br /&gt;
&lt;br /&gt;
Transform's constructor should take x and y parameters and store them in instance variables.&lt;br /&gt;
&lt;br /&gt;
It should define a render method which [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#push_affine_transform-instance_method preserves the current affine transformation], [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#apply_translation-instance_method translates by x and y], passes the untransformed_render message to itself (a.k.a. invokes a method on itself), and [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#pop_affine_transform-instance_method restores the model view transformation].&lt;br /&gt;
&lt;br /&gt;
All subclasses must implement a private untransformed_render method.&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToEvolve|image|drawings|Image|Transform|initialize(path, x: 0, y: 0)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#Image|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0 and y: 0 and invoke your superclass with these parameters.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==ColorTransform==&lt;br /&gt;
{{RubyToImplement|color_transform|drawings|ColorTransform|Transform|initialize(x,y,color)&amp;lt;br/&amp;gt;color()&amp;lt;br/&amp;gt;color&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an accessor for color.&lt;br /&gt;
&lt;br /&gt;
ColorTransform's constructor should take x, y, and color parameters.  x and y should be passed to the superclass and color should be stored in an instance variable.&lt;br /&gt;
&lt;br /&gt;
NOTE: Override render.  Be sure to [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#color=-instance_method change the color] (unless it is nil) on the graphics instance before invoking your superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: invoke the [https://ruby-doc.org/core-2.5.3/Object.html#method-i-nil-3F nil?] method to check for nil.&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToEvolve|text|drawings|Text|ColorTransform|initialize(text, font,  x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#Text|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToEvolve|ellipse|drawings|Ellipse|ColorTransform|initialize(x_radius, y_radius, x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#Ellipse|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==EquilateralTriangle==&lt;br /&gt;
{{RubyToEvolve|equilateral_triangle|drawings|EquilateralTriangle|ColorTransform|initialize(half_side_length, x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#EquilateralTriangle|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==BezierCurve==&lt;br /&gt;
{{RubyToEvolve|bezier_curve|drawings|BezierCurve|ColorTransform|initialize(control_points, x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#B.C3.A9zier_Curve|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToEvolve|circular_segment|drawings|CircularSegment|ColorTransform|initialize(x_radius, y_radius, theta_a, theta_z, x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#CircularSegment|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToEvolve|rectangle|drawings|Rectangle|ColorTransform|initialize(half_width, half_height, x: 0, y: 0, color: nil)|untransformed_render(g)|render(g)}}&lt;br /&gt;
&lt;br /&gt;
You will evolve your code from [[Render_Part_A_Assignment#Rectangle|from Part A]]&lt;br /&gt;
&lt;br /&gt;
be sure to add the following line above your class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative 'color_transform'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render.  Implement the untransformed_render method instead.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
==CompositeTransform==&lt;br /&gt;
{{RubyToImplement|composite_transform|drawings|CompositeTransform|Transform|initialize(x: 0, y: 0)&amp;lt;br/&amp;gt;components&amp;lt;br/&amp;gt;push_component(component)&amp;lt;br/&amp;gt;untransformed_render(g)}}&lt;br /&gt;
&lt;br /&gt;
Instances of CompositeTransform will act like a group of objects.  When it moves all of its child components will move with it.  When it is drawn, each of its child components will be drawn.&lt;br /&gt;
&lt;br /&gt;
Add a reader for components.&lt;br /&gt;
&lt;br /&gt;
Add a push_component method which accepts a component which will later be rendered.&lt;br /&gt;
&lt;br /&gt;
The untransformed_render method should render each pushed component.&lt;br /&gt;
&lt;br /&gt;
NOTE: untransformed_render(g) must be private.&lt;br /&gt;
&lt;br /&gt;
NOTE: sometimes when constructing objects we need to initialize instance variables that are not necessarily passed in as arguments.  this is one of those times.&lt;br /&gt;
&lt;br /&gt;
==Scene==&lt;br /&gt;
'''Fall 2023 ALERT: there is an error in scene.rb'''&lt;br /&gt;
&lt;br /&gt;
'''The require_relative at the top of the file is missing a ../'''&lt;br /&gt;
&lt;br /&gt;
'''Change the require_relative from:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;require_relative '../../../core/ruby/render/core/render'&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''to:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
require_relative '../../../../core/ruby/render/core/render'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RubyToImplement|scene|drawings|Scene|Object|initialize(background_color: Color::BLACK)&amp;lt;br/&amp;gt;background_color()&amp;lt;br/&amp;gt;background_color&amp;amp;#61;()&amp;lt;br/&amp;gt;components()&amp;lt;br/&amp;gt;push_component(component)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an accessor for background_color and a reader for components.&lt;br /&gt;
&lt;br /&gt;
Scene's constructor should take a keyword parameter background_color: Color.new(0,0,0) and store it in an instance variable.&lt;br /&gt;
&lt;br /&gt;
Add a push_component method which accepts a component which will later be rendered.&lt;br /&gt;
&lt;br /&gt;
The render method should [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#clear-instance_method clear] the color buffer once before proceeding to render each pushed component.&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_b}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_b}}&lt;br /&gt;
&lt;br /&gt;
===Backwards Compatibility===&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_b_components_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|part_b_composites_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Ruby_Setup&amp;diff=2399</id>
		<title>Ruby Setup</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Ruby_Setup&amp;diff=2399"/>
		<updated>2025-11-20T19:58:37Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Mac OSX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Language==&lt;br /&gt;
===Mac OSX===&lt;br /&gt;
Note: depending on how the permissions are set up on your machine you may need to prefix a command with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; or perhaps you may have to omit &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====[https://brew.sh/ Homebrew]====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/bin/bash -c &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)&amp;quot; &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
====Standard Ruby====&lt;br /&gt;
Nicely, Ruby ships with the Mac standard installation.  While it may not be the most up to date version, it may be the best option to simply use your default version: /usr/bin/ruby.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
====Install Ruby====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;brew install ruby&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Add Ruby To Path====&lt;br /&gt;
if Mac OSX 10.15 Catalina or greater&lt;br /&gt;
&lt;br /&gt;
    ~/.zshrc&lt;br /&gt;
&lt;br /&gt;
else&lt;br /&gt;
&lt;br /&gt;
    ~/.bash_profile&lt;br /&gt;
&lt;br /&gt;
Add this line:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;export PATH=&amp;quot;/usr/local/opt/ruby/bin:$PATH&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====check ruby====&lt;br /&gt;
You can either &lt;br /&gt;
&lt;br /&gt;
1) restart your terminal &lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
2) source the appropriate configuration file based on your shell (which is often dependent on the OSX version)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;source .zshrc&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;source .bash_profile&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ruby --version&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
====Ruby====&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Download and Install [https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.2-1/rubyinstaller-devkit-3.1.2-1-x64.exe Ruby+Devkit 3.1.2-1 (x64)]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Download and Install [https://rubyinstaller.org/downloads/ https://rubyinstaller.org/downloads/]&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
====Ruby Language====&lt;br /&gt;
&lt;br /&gt;
=====Fedora=====&lt;br /&gt;
[https://developer.fedoraproject.org/tech/languages/ruby/ruby-installation.html install ruby]&lt;br /&gt;
&lt;br /&gt;
=====Ubuntu=====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo apt-get install ruby-full&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Gems==&lt;br /&gt;
 gem install bundler&lt;br /&gt;
&lt;br /&gt;
 bundler install&lt;br /&gt;
&lt;br /&gt;
==IDE==&lt;br /&gt;
* [https://www.jetbrains.com/student/ Apply for student status with JetBrains]&lt;br /&gt;
* [https://www.jetbrains.com/ruby/download/ Download and Install RubyMine]&lt;br /&gt;
* Ensure that the Ruby SDK and Gems setting is correctly configured&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Check Installation==&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
'''NOTE: CSE 425s no longer uses tk so there is no longer a tk_check.rb to run.'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;7KN7NJ7VvNE&amp;lt;/youtube&amp;gt;&lt;br /&gt;
===Tk===&lt;br /&gt;
{{RubyToRun|tk_check|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Tk installation check.png]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===OpenGL===&lt;br /&gt;
&lt;br /&gt;
Mac users- run this:&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|mac_osx_glfw_downloader_and_extractor|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
Everyone, including Mac users, run this:&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|opengl_check|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Opengl  installation check.png]]&lt;br /&gt;
&lt;br /&gt;
===OpenGL Texture===&lt;br /&gt;
{{RubyToRun|opengl_texture_check|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Opengl texture installation check.png]]&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Ruby_Setup&amp;diff=2398</id>
		<title>Ruby Setup</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Ruby_Setup&amp;diff=2398"/>
		<updated>2025-11-20T19:58:17Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Ruby */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Language==&lt;br /&gt;
===Mac OSX===&lt;br /&gt;
Note: depending on how the permissions are set up on your machine you may need to prefix a command with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; or perhaps you may have to omit &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====[https://brew.sh/ Homebrew]====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/bin/bash -c &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)&amp;quot; &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
====Standard Ruby====&lt;br /&gt;
Nicely, Ruby ships with the Mac standard installation.  While it may not be the most up to date version, it may be the best option to simply use your default version: /usr/bin/ruby.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
====Install Ruby====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;brew install ruby&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Add Ruby To Path====&lt;br /&gt;
if Mac OSX 10.15 Catalina or greater&lt;br /&gt;
&lt;br /&gt;
    ~/.zshrc&lt;br /&gt;
&lt;br /&gt;
else&lt;br /&gt;
&lt;br /&gt;
    ~/.bash_profile&lt;br /&gt;
&lt;br /&gt;
Add this line:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;export PATH=&amp;quot;/usr/local/opt/ruby/bin:$PATH&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====check ruby====&lt;br /&gt;
You can either &lt;br /&gt;
&lt;br /&gt;
1) restart your terminal &lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
2) source the appropriate configuration file based on your shell (which is often dependent on the OSX version)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;source .zshrc&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;source .bash_profile&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ruby --version&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which should report version &amp;lt;code&amp;gt;2.7.2&amp;lt;/code&amp;gt; as of Fall 2020.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
====Ruby====&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Download and Install [https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.2-1/rubyinstaller-devkit-3.1.2-1-x64.exe Ruby+Devkit 3.1.2-1 (x64)]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Download and Install [https://rubyinstaller.org/downloads/ https://rubyinstaller.org/downloads/]&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
====Ruby Language====&lt;br /&gt;
&lt;br /&gt;
=====Fedora=====&lt;br /&gt;
[https://developer.fedoraproject.org/tech/languages/ruby/ruby-installation.html install ruby]&lt;br /&gt;
&lt;br /&gt;
=====Ubuntu=====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo apt-get install ruby-full&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Gems==&lt;br /&gt;
 gem install bundler&lt;br /&gt;
&lt;br /&gt;
 bundler install&lt;br /&gt;
&lt;br /&gt;
==IDE==&lt;br /&gt;
* [https://www.jetbrains.com/student/ Apply for student status with JetBrains]&lt;br /&gt;
* [https://www.jetbrains.com/ruby/download/ Download and Install RubyMine]&lt;br /&gt;
* Ensure that the Ruby SDK and Gems setting is correctly configured&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Check Installation==&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
'''NOTE: CSE 425s no longer uses tk so there is no longer a tk_check.rb to run.'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;7KN7NJ7VvNE&amp;lt;/youtube&amp;gt;&lt;br /&gt;
===Tk===&lt;br /&gt;
{{RubyToRun|tk_check|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Tk installation check.png]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===OpenGL===&lt;br /&gt;
&lt;br /&gt;
Mac users- run this:&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|mac_osx_glfw_downloader_and_extractor|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
Everyone, including Mac users, run this:&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|opengl_check|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Opengl  installation check.png]]&lt;br /&gt;
&lt;br /&gt;
===OpenGL Texture===&lt;br /&gt;
{{RubyToRun|opengl_texture_check|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Opengl texture installation check.png]]&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2397</id>
		<title>Render Part A Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2397"/>
		<updated>2025-11-18T22:08:14Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Point2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Diagram=&lt;br /&gt;
[[File:Diagram_part_a.png|600px]]&lt;br /&gt;
&lt;br /&gt;
=Code to Use=&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]==&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_convex_polygon-instance_method draw_convex_polygon]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_curve-instance_method draw_curve]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_image-instance_method draw_image]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_string-instance_method draw_string]&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Point2.html Point2]==&lt;br /&gt;
: x&lt;br /&gt;
: y&lt;br /&gt;
&lt;br /&gt;
==[https://ruby-doc.org/core-2.6/Math.html Math]==&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-cos Math.cos(radians)]&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-sin Math.sin(radians)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=Code to Investigate=&lt;br /&gt;
==Cavalcade of Graphics==&lt;br /&gt;
{{RubyToRun|cavalcade_of_graphics|cavalcade_of_graphics|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Cavalcade of graphics.png]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
Each of the renderable components has its own file in the &amp;lt;code&amp;gt;src/main/ruby/drawings/core&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
Be sure to add accessors for all constructor parameters.&lt;br /&gt;
&lt;br /&gt;
[https://www.rubyguides.com/2018/11/attr_accessor/ How to use attr_accessor]&lt;br /&gt;
&lt;br /&gt;
==Equilateral Triangle==&lt;br /&gt;
{{RubyToImplement|equilateral_triangle|drawings/core|EquilateralTriangle|Object|initialize(half_side_length)&amp;lt;br/&amp;gt;half_side_length()&amp;lt;br&amp;gt;half_side_length&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
[[File:Equilateral Triangle Render Studio.svg]]&lt;br /&gt;
&lt;br /&gt;
[https://en.wikipedia.org/wiki/Equilateral_triangle wikipedia]&lt;br /&gt;
&lt;br /&gt;
'''WARNING:''' Ruby division of two integers results in an integer.  For example: 1/3 == 0&lt;br /&gt;
&lt;br /&gt;
The triangle should be equilateral, rendered with its the origin at the center of mass.&lt;br /&gt;
&lt;br /&gt;
Your constructor should accept a &amp;lt;code&amp;gt;half_side_length&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessor] for half_side_length.&lt;br /&gt;
&lt;br /&gt;
The height of the triangle should be side_length * sqrt(3)/2&lt;br /&gt;
&lt;br /&gt;
The center of mass is one third from the bottom.&lt;br /&gt;
&lt;br /&gt;
So, the bottom left point A's x coordinate should be &amp;lt;code&amp;gt;-half_side_length&amp;lt;/code&amp;gt; and its y coordinate should be &amp;lt;code&amp;gt;-1/3 height&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|equilateral_triangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_equilateral_triangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToImplement|rectangle|drawings/core|Rectangle|Object|initialize(half_width, half_height)&amp;lt;br/&amp;gt;half_width()&amp;lt;br&amp;gt;half_width&amp;amp;#61;()&amp;lt;br/&amp;gt;half_height()&amp;lt;br&amp;gt;half_height&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for half_width and half_height.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|rectangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_rectangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToImplement|ellipse|drawings/core|Ellipse|Object|initialize(x_radius, y_radius)&amp;lt;br/&amp;gt;x_radius()&amp;lt;br&amp;gt;x_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;y_radius()&amp;lt;br&amp;gt;y_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for x_radius and y_radius.&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (2*Math::PI) /slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|ellipse|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_ellipse.png]]&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToImplement|circular_segment|drawings/core|CircularSegment|Object|initialize(x_radius, y_radius, theta_a, theta_z)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
In geometry a [https://en.wikipedia.org/wiki/Chord_(geometry) chord] is a line segment which joins two points on a curve.  We will define a &amp;lt;code&amp;gt;class CircularSegment&amp;lt;/code&amp;gt; which renders a filled shape of an ellipse cut at the chord between theta_a and theta_z.&lt;br /&gt;
&lt;br /&gt;
[[File:Chord_theta_a_z.png]]&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (@theta_z-@theta_a) / slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: a Chord with 32 slices will have 33 points.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|circular_segment|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_chord.png]]&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToImplement|image|drawings/core|Image|Object|initialize(path)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
should draw the pixels from (0,0)&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|image|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_image.png]]&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToImplement|text|drawings/core|Text|Object|initialize(text, font)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|text|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_text.png]]&lt;br /&gt;
&lt;br /&gt;
==Bézier Curve==&lt;br /&gt;
{{RubyToImplement|bezier_curve|drawings/core|BezierCurve|Object|initialize(control_points)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
NOTE: you need not implement the interpolation yourself.  Use the [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_curve-instance_method draw_curve] method on [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: right; &amp;quot;&lt;br /&gt;
| Quadratic (Second Order) Curve:&lt;br /&gt;
| [[File:Bézier_2_big.svg]] &lt;br /&gt;
| [[File:Bézier_2_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Quadratic (Third Order) Curve:&lt;br /&gt;
| [[File:Bézier_3_big.svg]] &lt;br /&gt;
| [[File:Bézier_3_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Fourth Order Curve:&lt;br /&gt;
| [[File:Bézier_4_big.svg]] &lt;br /&gt;
| [[File:Bézier_4_big.gif]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|bezier_curve|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_bezier_curve.png]]&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_a}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_a_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;br /&gt;
&lt;br /&gt;
==Somewhat Outdated Testing Demo==&lt;br /&gt;
&amp;lt;youtube&amp;gt;utK0TewIRjc&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_C_Assignment&amp;diff=2396</id>
		<title>Render Part C Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_C_Assignment&amp;diff=2396"/>
		<updated>2025-11-18T22:07:36Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Point2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this studio we will evolve our code from [[Render_Part_B_Assignment]] to add new methods and a new class.&lt;br /&gt;
&lt;br /&gt;
[[File:Diagram_part_c.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Continue editing files in the drawings directory.&lt;br /&gt;
&lt;br /&gt;
=Background=&lt;br /&gt;
==Bounds Calculation==&lt;br /&gt;
We will add support for calculating a bounding box for each of our drawable objects.&lt;br /&gt;
&lt;br /&gt;
We will implement a BoundingBox class (via [https://ruby-doc.org/core-2.5.0/Struct.html Struct], if desired) to store the min and max points of a box which bounds the object.&lt;br /&gt;
&lt;br /&gt;
Transformable objects will split the responsibility into two methods, untransformed_bounds and bounds.  On the subclasses the untransformed_bounds method will return its object's bounds in the same untransformed space that untransformed_render acts: that is, about its origin.  On the Transform superclass, the bounds method will transform the untransformed_bounds by the x and y location (akin to how render transforms the affine matrix via glTranslate to transform the space untransformed_render operates in).  The bounds method will not be able to rely on glTranslate.  It will need to create a new transformed BoundingBox.&lt;br /&gt;
&lt;br /&gt;
For example, an Ellipse created with an x_radius of 0.3, a y_radius of 0.4, an x location of 0.1, and a y location of 0.2 would produce an untransformed_bounds with a min of (-0.3, -0.4) and a max of (0.3, 0.4).  The bounds calculation inherited from Transform would transform the untransformed bounds with the x and y locations, producing a bounding box with a min of (-0.2, -0.2) and a max of (0.4, 0.6).&lt;br /&gt;
&lt;br /&gt;
=Code To Use=&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]==&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Point2.html Point2]==&lt;br /&gt;
: x&lt;br /&gt;
: y&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/BoundingBox.html BoundingBox]==&lt;br /&gt;
: min&lt;br /&gt;
: max&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==BoundingBox==&lt;br /&gt;
{{RubyToImplement|bounding_box|drawings|BoundingBox|Object|initialize(min,max)&amp;lt;br/&amp;gt;min()&amp;lt;br/&amp;gt;min&amp;amp;#61;(min)&amp;lt;br/&amp;gt;max()&amp;lt;br/&amp;gt;max&amp;amp;#61;(max)}}&lt;br /&gt;
&lt;br /&gt;
Note: be sure to require_relative 'point2'.&lt;br /&gt;
&lt;br /&gt;
Note: min and max should be instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: You may wish to use Ruby's convenient [https://ruby-doc.org/core-2.4.2/Struct.html Struct] construct.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Transform==&lt;br /&gt;
{{RubyToEvolve|transform|drawings|Transform|Object|Ø|move(direction,amount)&amp;lt;br/&amp;gt;bounds()|Ø}}&lt;br /&gt;
===move===&lt;br /&gt;
the move method will accept two parameters: direction and amount and change the x,y position as appropriate.&lt;br /&gt;
&lt;br /&gt;
direction can be one of four [https://ruby-doc.org/core-2.5.0/Symbol.html symbols]&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;:left&lt;br /&gt;
:right&lt;br /&gt;
:up&lt;br /&gt;
:down&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:left corresponds to translating along the negative x axis&lt;br /&gt;
&lt;br /&gt;
:right corresponds to translating along the positive x axis&lt;br /&gt;
&lt;br /&gt;
:down corresponds to translating along the negative y axis&lt;br /&gt;
&lt;br /&gt;
:up corresponds to translating along the positive y axis&lt;br /&gt;
&lt;br /&gt;
any other value for direction should raise an [https://ruby-doc.org/core-2.5.0/ArgumentError.html ArgumentError].&lt;br /&gt;
&lt;br /&gt;
Note: do NOT call glTranslate here.  simply update your instance fields so that later when you are rendering, you will glTranslate the updated amounts.&lt;br /&gt;
&lt;br /&gt;
===bounds===&lt;br /&gt;
invoke &amp;lt;code&amp;gt;untransformed_bounds&amp;lt;/code&amp;gt; and transform the returned bounds by x and y.&lt;br /&gt;
&lt;br /&gt;
NOTE: &amp;lt;code&amp;gt;untransformed_bounds&amp;lt;/code&amp;gt; is abstract.  it must be defined by the subclasses.&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToEvolve|rectangle|drawings|Rectangle|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of BoundingBox specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Rectangle_bounds}}&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToEvolve|ellipse|drawings|Ellipse|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of BoundingBox specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Ellipse bounds}}&lt;br /&gt;
&lt;br /&gt;
==EquilateralTriangle==&lt;br /&gt;
{{RubyToEvolve|equilateral_triangle|drawings|EquilateralTriangle|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of BoundingBox specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Equilateral triangle bounds}}&lt;br /&gt;
&lt;br /&gt;
==BezierCurve==&lt;br /&gt;
{{RubyToEvolve|bezier_curve|drawings|BezierCurve|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToEvolve|text|drawings|Text|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToEvolve|circular_segment|drawings|CircularSegment|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToEvolve|image|drawings|Image|Transform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CompositeTransform==&lt;br /&gt;
{{RubyToEvolve|composite_transform|drawings|CompositeTransform|Transform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of Bounds specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
NOTE: when computing the bounds of multiple objects, recall that the [https://en.wikipedia.org/wiki/Identity_element#Examples identity element of minimum and the maximum] is not 0.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Composite transform bounds}}&lt;br /&gt;
&lt;br /&gt;
==Scene==&lt;br /&gt;
{{RubyToEvolve|scene|drawings|Scene|Object|bounds()|Ø|Ø}}&lt;br /&gt;
===bounds===&lt;br /&gt;
NOTE: this method must be public.&lt;br /&gt;
&lt;br /&gt;
NOTE: when computing the bounds of multiple objects, recall that the [https://en.wikipedia.org/wiki/Identity_element#Examples identity element of minimum and the maximum] is not 0.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Scene bounds}}&lt;br /&gt;
&lt;br /&gt;
==ConvexPolygon==&lt;br /&gt;
{{RubyToImplement|convex_polygon|drawings|ConvexPolygon|ColorTransform|initialize(points, x: 0, y: 0, color: nil)&amp;lt;br/&amp;gt;untransformed_render()&amp;lt;br/&amp;gt;untransformed_bounds()}}&lt;br /&gt;
&lt;br /&gt;
===initialize===&lt;br /&gt;
Accept a required parameter points which is an array of Point2s.&lt;br /&gt;
&lt;br /&gt;
Accept keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render. Implement the render_transformed method instead.&lt;br /&gt;
&lt;br /&gt;
===untransformed_render===&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
NOTE: when computing the bounds of multiple objects, recall that the [https://en.wikipedia.org/wiki/Identity_element#Examples identity element of minimum and the maximum] is not 0.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Convex polygon bounds}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|convex_polygon|drawings|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render convex polygon.png]]&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_c}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_c}}&lt;br /&gt;
&lt;br /&gt;
===Backwards Compatibility===&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_b}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_c_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_C_Assignment&amp;diff=2395</id>
		<title>Render Part C Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_C_Assignment&amp;diff=2395"/>
		<updated>2025-11-18T22:07:12Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* BoundingBox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this studio we will evolve our code from [[Render_Part_B_Assignment]] to add new methods and a new class.&lt;br /&gt;
&lt;br /&gt;
[[File:Diagram_part_c.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Continue editing files in the drawings directory.&lt;br /&gt;
&lt;br /&gt;
=Background=&lt;br /&gt;
==Bounds Calculation==&lt;br /&gt;
We will add support for calculating a bounding box for each of our drawable objects.&lt;br /&gt;
&lt;br /&gt;
We will implement a BoundingBox class (via [https://ruby-doc.org/core-2.5.0/Struct.html Struct], if desired) to store the min and max points of a box which bounds the object.&lt;br /&gt;
&lt;br /&gt;
Transformable objects will split the responsibility into two methods, untransformed_bounds and bounds.  On the subclasses the untransformed_bounds method will return its object's bounds in the same untransformed space that untransformed_render acts: that is, about its origin.  On the Transform superclass, the bounds method will transform the untransformed_bounds by the x and y location (akin to how render transforms the affine matrix via glTranslate to transform the space untransformed_render operates in).  The bounds method will not be able to rely on glTranslate.  It will need to create a new transformed BoundingBox.&lt;br /&gt;
&lt;br /&gt;
For example, an Ellipse created with an x_radius of 0.3, a y_radius of 0.4, an x location of 0.1, and a y location of 0.2 would produce an untransformed_bounds with a min of (-0.3, -0.4) and a max of (0.3, 0.4).  The bounds calculation inherited from Transform would transform the untransformed bounds with the x and y locations, producing a bounding box with a min of (-0.2, -0.2) and a max of (0.4, 0.6).&lt;br /&gt;
&lt;br /&gt;
=Code To Use=&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]==&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Point2.html Point2]==&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/BoundingBox.html BoundingBox]==&lt;br /&gt;
: min&lt;br /&gt;
: max&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==BoundingBox==&lt;br /&gt;
{{RubyToImplement|bounding_box|drawings|BoundingBox|Object|initialize(min,max)&amp;lt;br/&amp;gt;min()&amp;lt;br/&amp;gt;min&amp;amp;#61;(min)&amp;lt;br/&amp;gt;max()&amp;lt;br/&amp;gt;max&amp;amp;#61;(max)}}&lt;br /&gt;
&lt;br /&gt;
Note: be sure to require_relative 'point2'.&lt;br /&gt;
&lt;br /&gt;
Note: min and max should be instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: You may wish to use Ruby's convenient [https://ruby-doc.org/core-2.4.2/Struct.html Struct] construct.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Transform==&lt;br /&gt;
{{RubyToEvolve|transform|drawings|Transform|Object|Ø|move(direction,amount)&amp;lt;br/&amp;gt;bounds()|Ø}}&lt;br /&gt;
===move===&lt;br /&gt;
the move method will accept two parameters: direction and amount and change the x,y position as appropriate.&lt;br /&gt;
&lt;br /&gt;
direction can be one of four [https://ruby-doc.org/core-2.5.0/Symbol.html symbols]&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;:left&lt;br /&gt;
:right&lt;br /&gt;
:up&lt;br /&gt;
:down&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:left corresponds to translating along the negative x axis&lt;br /&gt;
&lt;br /&gt;
:right corresponds to translating along the positive x axis&lt;br /&gt;
&lt;br /&gt;
:down corresponds to translating along the negative y axis&lt;br /&gt;
&lt;br /&gt;
:up corresponds to translating along the positive y axis&lt;br /&gt;
&lt;br /&gt;
any other value for direction should raise an [https://ruby-doc.org/core-2.5.0/ArgumentError.html ArgumentError].&lt;br /&gt;
&lt;br /&gt;
Note: do NOT call glTranslate here.  simply update your instance fields so that later when you are rendering, you will glTranslate the updated amounts.&lt;br /&gt;
&lt;br /&gt;
===bounds===&lt;br /&gt;
invoke &amp;lt;code&amp;gt;untransformed_bounds&amp;lt;/code&amp;gt; and transform the returned bounds by x and y.&lt;br /&gt;
&lt;br /&gt;
NOTE: &amp;lt;code&amp;gt;untransformed_bounds&amp;lt;/code&amp;gt; is abstract.  it must be defined by the subclasses.&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToEvolve|rectangle|drawings|Rectangle|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of BoundingBox specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Rectangle_bounds}}&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToEvolve|ellipse|drawings|Ellipse|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of BoundingBox specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Ellipse bounds}}&lt;br /&gt;
&lt;br /&gt;
==EquilateralTriangle==&lt;br /&gt;
{{RubyToEvolve|equilateral_triangle|drawings|EquilateralTriangle|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of BoundingBox specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Equilateral triangle bounds}}&lt;br /&gt;
&lt;br /&gt;
==BezierCurve==&lt;br /&gt;
{{RubyToEvolve|bezier_curve|drawings|BezierCurve|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToEvolve|text|drawings|Text|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToEvolve|circular_segment|drawings|CircularSegment|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToEvolve|image|drawings|Image|Transform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CompositeTransform==&lt;br /&gt;
{{RubyToEvolve|composite_transform|drawings|CompositeTransform|Transform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of Bounds specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
NOTE: when computing the bounds of multiple objects, recall that the [https://en.wikipedia.org/wiki/Identity_element#Examples identity element of minimum and the maximum] is not 0.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Composite transform bounds}}&lt;br /&gt;
&lt;br /&gt;
==Scene==&lt;br /&gt;
{{RubyToEvolve|scene|drawings|Scene|Object|bounds()|Ø|Ø}}&lt;br /&gt;
===bounds===&lt;br /&gt;
NOTE: this method must be public.&lt;br /&gt;
&lt;br /&gt;
NOTE: when computing the bounds of multiple objects, recall that the [https://en.wikipedia.org/wiki/Identity_element#Examples identity element of minimum and the maximum] is not 0.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Scene bounds}}&lt;br /&gt;
&lt;br /&gt;
==ConvexPolygon==&lt;br /&gt;
{{RubyToImplement|convex_polygon|drawings|ConvexPolygon|ColorTransform|initialize(points, x: 0, y: 0, color: nil)&amp;lt;br/&amp;gt;untransformed_render()&amp;lt;br/&amp;gt;untransformed_bounds()}}&lt;br /&gt;
&lt;br /&gt;
===initialize===&lt;br /&gt;
Accept a required parameter points which is an array of Point2s.&lt;br /&gt;
&lt;br /&gt;
Accept keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render. Implement the render_transformed method instead.&lt;br /&gt;
&lt;br /&gt;
===untransformed_render===&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
NOTE: when computing the bounds of multiple objects, recall that the [https://en.wikipedia.org/wiki/Identity_element#Examples identity element of minimum and the maximum] is not 0.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Convex polygon bounds}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|convex_polygon|drawings|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render convex polygon.png]]&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_c}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_c}}&lt;br /&gt;
&lt;br /&gt;
===Backwards Compatibility===&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_b}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_c_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_C_Assignment&amp;diff=2394</id>
		<title>Render Part C Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_C_Assignment&amp;diff=2394"/>
		<updated>2025-11-18T22:06:44Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Point2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this studio we will evolve our code from [[Render_Part_B_Assignment]] to add new methods and a new class.&lt;br /&gt;
&lt;br /&gt;
[[File:Diagram_part_c.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Continue editing files in the drawings directory.&lt;br /&gt;
&lt;br /&gt;
=Background=&lt;br /&gt;
==Bounds Calculation==&lt;br /&gt;
We will add support for calculating a bounding box for each of our drawable objects.&lt;br /&gt;
&lt;br /&gt;
We will implement a BoundingBox class (via [https://ruby-doc.org/core-2.5.0/Struct.html Struct], if desired) to store the min and max points of a box which bounds the object.&lt;br /&gt;
&lt;br /&gt;
Transformable objects will split the responsibility into two methods, untransformed_bounds and bounds.  On the subclasses the untransformed_bounds method will return its object's bounds in the same untransformed space that untransformed_render acts: that is, about its origin.  On the Transform superclass, the bounds method will transform the untransformed_bounds by the x and y location (akin to how render transforms the affine matrix via glTranslate to transform the space untransformed_render operates in).  The bounds method will not be able to rely on glTranslate.  It will need to create a new transformed BoundingBox.&lt;br /&gt;
&lt;br /&gt;
For example, an Ellipse created with an x_radius of 0.3, a y_radius of 0.4, an x location of 0.1, and a y location of 0.2 would produce an untransformed_bounds with a min of (-0.3, -0.4) and a max of (0.3, 0.4).  The bounds calculation inherited from Transform would transform the untransformed bounds with the x and y locations, producing a bounding box with a min of (-0.2, -0.2) and a max of (0.4, 0.6).&lt;br /&gt;
&lt;br /&gt;
=Code To Use=&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]==&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Point2.html Point2]==&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/BoundingBox.html BoundingBox]==&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/BoundingBox.html#max-instance_method max]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/BoundingBox.html#min-instance_method min]&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==BoundingBox==&lt;br /&gt;
{{RubyToImplement|bounding_box|drawings|BoundingBox|Object|initialize(min,max)&amp;lt;br/&amp;gt;min()&amp;lt;br/&amp;gt;min&amp;amp;#61;(min)&amp;lt;br/&amp;gt;max()&amp;lt;br/&amp;gt;max&amp;amp;#61;(max)}}&lt;br /&gt;
&lt;br /&gt;
Note: be sure to require_relative 'point2'.&lt;br /&gt;
&lt;br /&gt;
Note: min and max should be instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: You may wish to use Ruby's convenient [https://ruby-doc.org/core-2.4.2/Struct.html Struct] construct.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Transform==&lt;br /&gt;
{{RubyToEvolve|transform|drawings|Transform|Object|Ø|move(direction,amount)&amp;lt;br/&amp;gt;bounds()|Ø}}&lt;br /&gt;
===move===&lt;br /&gt;
the move method will accept two parameters: direction and amount and change the x,y position as appropriate.&lt;br /&gt;
&lt;br /&gt;
direction can be one of four [https://ruby-doc.org/core-2.5.0/Symbol.html symbols]&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;:left&lt;br /&gt;
:right&lt;br /&gt;
:up&lt;br /&gt;
:down&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:left corresponds to translating along the negative x axis&lt;br /&gt;
&lt;br /&gt;
:right corresponds to translating along the positive x axis&lt;br /&gt;
&lt;br /&gt;
:down corresponds to translating along the negative y axis&lt;br /&gt;
&lt;br /&gt;
:up corresponds to translating along the positive y axis&lt;br /&gt;
&lt;br /&gt;
any other value for direction should raise an [https://ruby-doc.org/core-2.5.0/ArgumentError.html ArgumentError].&lt;br /&gt;
&lt;br /&gt;
Note: do NOT call glTranslate here.  simply update your instance fields so that later when you are rendering, you will glTranslate the updated amounts.&lt;br /&gt;
&lt;br /&gt;
===bounds===&lt;br /&gt;
invoke &amp;lt;code&amp;gt;untransformed_bounds&amp;lt;/code&amp;gt; and transform the returned bounds by x and y.&lt;br /&gt;
&lt;br /&gt;
NOTE: &amp;lt;code&amp;gt;untransformed_bounds&amp;lt;/code&amp;gt; is abstract.  it must be defined by the subclasses.&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToEvolve|rectangle|drawings|Rectangle|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of BoundingBox specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Rectangle_bounds}}&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToEvolve|ellipse|drawings|Ellipse|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of BoundingBox specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Ellipse bounds}}&lt;br /&gt;
&lt;br /&gt;
==EquilateralTriangle==&lt;br /&gt;
{{RubyToEvolve|equilateral_triangle|drawings|EquilateralTriangle|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of BoundingBox specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Equilateral triangle bounds}}&lt;br /&gt;
&lt;br /&gt;
==BezierCurve==&lt;br /&gt;
{{RubyToEvolve|bezier_curve|drawings|BezierCurve|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToEvolve|text|drawings|Text|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToEvolve|circular_segment|drawings|CircularSegment|ColorTransform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToEvolve|image|drawings|Image|Transform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Contemplate for a moment how you would build this method and then raise an error and move on.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  def untransformed_bounds&lt;br /&gt;
    raise StandardError.new(&amp;quot;not yet implemented&amp;quot;)&lt;br /&gt;
  end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CompositeTransform==&lt;br /&gt;
{{RubyToEvolve|composite_transform|drawings|CompositeTransform|Transform|Ø|untransformed_bounds|Ø}}&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
Returns an instance of Bounds specified by min and max instances of &amp;lt;code&amp;gt;Point2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
NOTE: when computing the bounds of multiple objects, recall that the [https://en.wikipedia.org/wiki/Identity_element#Examples identity element of minimum and the maximum] is not 0.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Composite transform bounds}}&lt;br /&gt;
&lt;br /&gt;
==Scene==&lt;br /&gt;
{{RubyToEvolve|scene|drawings|Scene|Object|bounds()|Ø|Ø}}&lt;br /&gt;
===bounds===&lt;br /&gt;
NOTE: this method must be public.&lt;br /&gt;
&lt;br /&gt;
NOTE: when computing the bounds of multiple objects, recall that the [https://en.wikipedia.org/wiki/Identity_element#Examples identity element of minimum and the maximum] is not 0.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Scene bounds}}&lt;br /&gt;
&lt;br /&gt;
==ConvexPolygon==&lt;br /&gt;
{{RubyToImplement|convex_polygon|drawings|ConvexPolygon|ColorTransform|initialize(points, x: 0, y: 0, color: nil)&amp;lt;br/&amp;gt;untransformed_render()&amp;lt;br/&amp;gt;untransformed_bounds()}}&lt;br /&gt;
&lt;br /&gt;
===initialize===&lt;br /&gt;
Accept a required parameter points which is an array of Point2s.&lt;br /&gt;
&lt;br /&gt;
Accept keyword parameters for x: 0, y: 0, and color: nil to the constructor and pass them to the superclass.&lt;br /&gt;
&lt;br /&gt;
NOTE: Be sure to not override render. Implement the render_transformed method instead.&lt;br /&gt;
&lt;br /&gt;
===untransformed_render===&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
===untransformed_bounds===&lt;br /&gt;
NOTE: this method must be private.&lt;br /&gt;
&lt;br /&gt;
NOTE: when computing the bounds of multiple objects, recall that the [https://en.wikipedia.org/wiki/Identity_element#Examples identity element of minimum and the maximum] is not 0.&lt;br /&gt;
&lt;br /&gt;
{{BoundingBoxRendering|Convex polygon bounds}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|convex_polygon|drawings|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render convex polygon.png]]&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_c}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_c}}&lt;br /&gt;
&lt;br /&gt;
===Backwards Compatibility===&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_b}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_c_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2393</id>
		<title>Render Part A Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Render_Part_A_Assignment&amp;diff=2393"/>
		<updated>2025-11-18T22:05:50Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Point2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Diagram=&lt;br /&gt;
[[File:Diagram_part_a.png|600px]]&lt;br /&gt;
&lt;br /&gt;
=Code to Use=&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics]==&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_convex_polygon-instance_method draw_convex_polygon]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_curve-instance_method draw_curve]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_image-instance_method draw_image]&lt;br /&gt;
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_string-instance_method draw_string]&lt;br /&gt;
&lt;br /&gt;
==[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Point2.html Point2]==&lt;br /&gt;
&lt;br /&gt;
==[https://ruby-doc.org/core-2.6/Math.html Math]==&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-cos Math.cos(radians)]&lt;br /&gt;
: [https://ruby-doc.org/core-2.6/Math.html#method-c-sin Math.sin(radians)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=Code to Investigate=&lt;br /&gt;
==Cavalcade of Graphics==&lt;br /&gt;
{{RubyToRun|cavalcade_of_graphics|cavalcade_of_graphics|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Cavalcade of graphics.png]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Code to Implement=&lt;br /&gt;
Each of the renderable components has its own file in the &amp;lt;code&amp;gt;src/main/ruby/drawings/core&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
Be sure to add accessors for all constructor parameters.&lt;br /&gt;
&lt;br /&gt;
[https://www.rubyguides.com/2018/11/attr_accessor/ How to use attr_accessor]&lt;br /&gt;
&lt;br /&gt;
==Equilateral Triangle==&lt;br /&gt;
{{RubyToImplement|equilateral_triangle|drawings/core|EquilateralTriangle|Object|initialize(half_side_length)&amp;lt;br/&amp;gt;half_side_length()&amp;lt;br&amp;gt;half_side_length&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
[[File:Equilateral Triangle Render Studio.svg]]&lt;br /&gt;
&lt;br /&gt;
[https://en.wikipedia.org/wiki/Equilateral_triangle wikipedia]&lt;br /&gt;
&lt;br /&gt;
'''WARNING:''' Ruby division of two integers results in an integer.  For example: 1/3 == 0&lt;br /&gt;
&lt;br /&gt;
The triangle should be equilateral, rendered with its the origin at the center of mass.&lt;br /&gt;
&lt;br /&gt;
Your constructor should accept a &amp;lt;code&amp;gt;half_side_length&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessor] for half_side_length.&lt;br /&gt;
&lt;br /&gt;
The height of the triangle should be side_length * sqrt(3)/2&lt;br /&gt;
&lt;br /&gt;
The center of mass is one third from the bottom.&lt;br /&gt;
&lt;br /&gt;
So, the bottom left point A's x coordinate should be &amp;lt;code&amp;gt;-half_side_length&amp;lt;/code&amp;gt; and its y coordinate should be &amp;lt;code&amp;gt;-1/3 height&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|equilateral_triangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_equilateral_triangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Rectangle==&lt;br /&gt;
{{RubyToImplement|rectangle|drawings/core|Rectangle|Object|initialize(half_width, half_height)&amp;lt;br/&amp;gt;half_width()&amp;lt;br&amp;gt;half_width&amp;amp;#61;()&amp;lt;br/&amp;gt;half_height()&amp;lt;br&amp;gt;half_height&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for half_width and half_height.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|rectangle|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_rectangle.png]]&lt;br /&gt;
&lt;br /&gt;
==Ellipse==&lt;br /&gt;
{{RubyToImplement|ellipse|drawings/core|Ellipse|Object|initialize(x_radius, y_radius)&amp;lt;br/&amp;gt;x_radius()&amp;lt;br&amp;gt;x_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;y_radius()&amp;lt;br&amp;gt;y_radius&amp;amp;#61;()&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
Add an [https://www.rubyguides.com/2018/11/attr_accessor/ accessors] for x_radius and y_radius.&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (2*Math::PI) /slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|ellipse|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_ellipse.png]]&lt;br /&gt;
&lt;br /&gt;
==CircularSegment==&lt;br /&gt;
{{RubyToImplement|circular_segment|drawings/core|CircularSegment|Object|initialize(x_radius, y_radius, theta_a, theta_z)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
In geometry a [https://en.wikipedia.org/wiki/Chord_(geometry) chord] is a line segment which joins two points on a curve.  We will define a &amp;lt;code&amp;gt;class CircularSegment&amp;lt;/code&amp;gt; which renders a filled shape of an ellipse cut at the chord between theta_a and theta_z.&lt;br /&gt;
&lt;br /&gt;
[[File:Chord_theta_a_z.png]]&lt;br /&gt;
&lt;br /&gt;
Note: to produce the reference image the code below was used:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;    slice_count = 32&lt;br /&gt;
    delta_theta = (@theta_z-@theta_a) / slice_count&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: a Chord with 32 slices will have 33 points.&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|circular_segment|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_chord.png]]&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
{{RubyToImplement|image|drawings/core|Image|Object|initialize(path)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
should draw the pixels from (0,0)&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|image|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_image.png]]&lt;br /&gt;
&lt;br /&gt;
==Text==&lt;br /&gt;
{{RubyToImplement|text|drawings/core|Text|Object|initialize(text, font)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|text|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_text.png]]&lt;br /&gt;
&lt;br /&gt;
==Bézier Curve==&lt;br /&gt;
{{RubyToImplement|bezier_curve|drawings/core|BezierCurve|Object|initialize(control_points)&amp;lt;br/&amp;gt;render(g)}}&lt;br /&gt;
&lt;br /&gt;
NOTE: you need not implement the interpolation yourself.  Use the [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html#draw_curve-instance_method draw_curve] method on [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse425s/current/doc/Graphics.html Graphics].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: right; &amp;quot;&lt;br /&gt;
| Quadratic (Second Order) Curve:&lt;br /&gt;
| [[File:Bézier_2_big.svg]] &lt;br /&gt;
| [[File:Bézier_2_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Quadratic (Third Order) Curve:&lt;br /&gt;
| [[File:Bézier_3_big.svg]] &lt;br /&gt;
| [[File:Bézier_3_big.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| Fourth Order Curve:&lt;br /&gt;
| [[File:Bézier_4_big.svg]] &lt;br /&gt;
| [[File:Bézier_4_big.gif]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|bezier_curve|drawings/core|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Render_bezier_curve.png]]&lt;br /&gt;
&lt;br /&gt;
=Testing Your Solution=&lt;br /&gt;
==Unit Test==&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_fast/part_a}}&lt;br /&gt;
&lt;br /&gt;
{{RubyUnitTest|*|drawings/core/relatively_slow/part_a}}&lt;br /&gt;
&lt;br /&gt;
==Visual Comparison==&lt;br /&gt;
{{RubyToRun|part_a_snapshots_web_page_generator|drawings/core/snapshots|test}}&lt;br /&gt;
&lt;br /&gt;
==Somewhat Outdated Testing Demo==&lt;br /&gt;
&amp;lt;youtube&amp;gt;utK0TewIRjc&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Ruby_Setup&amp;diff=2392</id>
		<title>Ruby Setup</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Ruby_Setup&amp;diff=2392"/>
		<updated>2025-11-06T14:44:43Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Language==&lt;br /&gt;
===Mac OSX===&lt;br /&gt;
Note: depending on how the permissions are set up on your machine you may need to prefix a command with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; or perhaps you may have to omit &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====[https://brew.sh/ Homebrew]====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/bin/bash -c &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)&amp;quot; &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
====Standard Ruby====&lt;br /&gt;
Nicely, Ruby ships with the Mac standard installation.  While it may not be the most up to date version, it may be the best option to simply use your default version: /usr/bin/ruby.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
====Install Ruby====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;brew install ruby&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Add Ruby To Path====&lt;br /&gt;
if Mac OSX 10.15 Catalina or greater&lt;br /&gt;
&lt;br /&gt;
    ~/.zshrc&lt;br /&gt;
&lt;br /&gt;
else&lt;br /&gt;
&lt;br /&gt;
    ~/.bash_profile&lt;br /&gt;
&lt;br /&gt;
Add this line:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;export PATH=&amp;quot;/usr/local/opt/ruby/bin:$PATH&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====check ruby====&lt;br /&gt;
You can either &lt;br /&gt;
&lt;br /&gt;
1) restart your terminal &lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
2) source the appropriate configuration file based on your shell (which is often dependent on the OSX version)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;source .zshrc&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;source .bash_profile&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ruby --version&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which should report version &amp;lt;code&amp;gt;2.7.2&amp;lt;/code&amp;gt; as of Fall 2020.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
====Ruby====&lt;br /&gt;
Download and Install [https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.2-1/rubyinstaller-devkit-3.1.2-1-x64.exe Ruby+Devkit 3.1.2-1 (x64)]&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
====Ruby Language====&lt;br /&gt;
&lt;br /&gt;
=====Fedora=====&lt;br /&gt;
[https://developer.fedoraproject.org/tech/languages/ruby/ruby-installation.html install ruby]&lt;br /&gt;
&lt;br /&gt;
=====Ubuntu=====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo apt-get install ruby-full&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Gems==&lt;br /&gt;
 gem install bundler&lt;br /&gt;
&lt;br /&gt;
 bundler install&lt;br /&gt;
&lt;br /&gt;
==IDE==&lt;br /&gt;
* [https://www.jetbrains.com/student/ Apply for student status with JetBrains]&lt;br /&gt;
* [https://www.jetbrains.com/ruby/download/ Download and Install RubyMine]&lt;br /&gt;
* Ensure that the Ruby SDK and Gems setting is correctly configured&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Check Installation==&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
'''NOTE: CSE 425s no longer uses tk so there is no longer a tk_check.rb to run.'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;7KN7NJ7VvNE&amp;lt;/youtube&amp;gt;&lt;br /&gt;
===Tk===&lt;br /&gt;
{{RubyToRun|tk_check|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Tk installation check.png]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===OpenGL===&lt;br /&gt;
&lt;br /&gt;
Mac users- run this:&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|mac_osx_glfw_downloader_and_extractor|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
Everyone, including Mac users, run this:&lt;br /&gt;
&lt;br /&gt;
{{RubyToRun|opengl_check|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Opengl  installation check.png]]&lt;br /&gt;
&lt;br /&gt;
===OpenGL Texture===&lt;br /&gt;
{{RubyToRun|opengl_texture_check|installation_check|main}}&lt;br /&gt;
&lt;br /&gt;
[[File:Opengl texture installation check.png]]&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Dynamic_Spreadsheet_Assignment&amp;diff=2391</id>
		<title>Dynamic Spreadsheet Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Dynamic_Spreadsheet_Assignment&amp;diff=2391"/>
		<updated>2025-11-04T18:59:18Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* string-&amp;gt;cell */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Motivation=&lt;br /&gt;
&lt;br /&gt;
=Code To Use=&lt;br /&gt;
==general==&lt;br /&gt;
* [https://docs.racket-lang.org/reference/eval.html#%28def._%28%28quote._~23~25kernel%29._eval%29%29 eval]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/lambda.html#%28form._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._lambda%29%29 lambda]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/if.html#%28form._%28%28quote._~23~25kernel%29._if%29%29 if]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/if.html#%28form._%28%28lib._racket%2Fprivate%2Fletstx-scheme..rkt%29._and%29%29 and]&lt;br /&gt;
==void==&lt;br /&gt;
* [https://docs.racket-lang.org/reference/void.html#%28def._%28%28quote._~23~25kernel%29._void%29%29 void]&lt;br /&gt;
==number==&lt;br /&gt;
* [https://docs.racket-lang.org/reference/number-types.html#%28def._%28%28quote._~23~25kernel%29._zero~3f%29%29 zero?]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/generic-numbers.html#%28def._%28%28quote._~23~25kernel%29._string-~3enumber%29%29 string-&amp;gt;number]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/number-types.html#%28def._%28%28quote._~23~25kernel%29._number~3f%29%29 number?]&lt;br /&gt;
==string==&lt;br /&gt;
* [https://docs.racket-lang.org/reference/strings.html#%28def._%28%28quote._~23~25kernel%29._string-length%29%29 string-length]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/strings.html#%28def._%28%28lib._racket%2Fstring..rkt%29._string-prefix~3f%29%29 string-prefix?]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/strings.html#%28def._%28%28lib._racket%2Fstring..rkt%29._string-suffix~3f%29%29 string-suffix?]&lt;br /&gt;
==list==&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._list-ref%29%29 list-ref] returns element of list at position&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html?q=cons#%28def._%28%28quote._~23~25kernel%29._cons%29%29 cons]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28lib._racket%2Fprivate%2Fmap..rkt%29._map%29%29 map]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28lib._racket%2Fprivate%2Flist..rkt%29._foldl%29%29 foldl]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28lib._racket%2Fprivate%2Flist..rkt%29._foldr%29%29 foldr]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28lib._racket%2Fprivate%2Flist..rkt%29._reverse%29%29 reverse]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._length%29%29 length]&lt;br /&gt;
&lt;br /&gt;
=Code To Implement=&lt;br /&gt;
{{RacketToImplement|spreadsheet|string-&amp;gt;cell&amp;lt;br&amp;gt;csv-&amp;gt;spreadsheet&amp;lt;br&amp;gt;row-count&amp;lt;br&amp;gt;row-at sheet&amp;lt;br&amp;gt;sum-row|spreadsheet}}&lt;br /&gt;
==string-&amp;gt;cell==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
; credit: https://stackoverflow.com/a/10399415&lt;br /&gt;
(define (to-evalable s)&lt;br /&gt;
  (call-with-input-string s read))&lt;br /&gt;
&lt;br /&gt;
(define (string-&amp;gt;cell s)&lt;br /&gt;
  (error 'not-yet-implemented))&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* if s is the empty string, evaluate to void&lt;br /&gt;
* if s represents a number, evaluate to that number&lt;br /&gt;
* if s starts with &amp;quot;(&amp;quot; and ends with &amp;quot;)&amp;quot;, evaluate to a form suited for eval (use the provided to-evalable function&lt;br /&gt;
* otherwise, evaluate to s&lt;br /&gt;
&lt;br /&gt;
==csv-&amp;gt;spreadsheet==&lt;br /&gt;
 (define (csv-&amp;gt;spreadsheet matrix)&lt;br /&gt;
        (error 'not-yet-implemented))&lt;br /&gt;
&lt;br /&gt;
given a list of lists of strings, evaluate to a list of list of cells using [[#string-&amp;gt;cell]] and a couple of list higher order functions.&lt;br /&gt;
&lt;br /&gt;
==row-count==&lt;br /&gt;
 (define (row-count sheet)&lt;br /&gt;
        (error 'not-yet-implemented))&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;hockey-spreadsheet&amp;lt;/code&amp;gt;:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|Name&lt;br /&gt;
|Uniform Number&lt;br /&gt;
|Birth Year&lt;br /&gt;
|Games Played&lt;br /&gt;
|Goals&lt;br /&gt;
|Assists&lt;br /&gt;
|-&lt;br /&gt;
|Bobby Orr&lt;br /&gt;
|4&lt;br /&gt;
|1948&lt;br /&gt;
|657&lt;br /&gt;
|270&lt;br /&gt;
|645&lt;br /&gt;
|-&lt;br /&gt;
|Wayne Gretzky&lt;br /&gt;
|99&lt;br /&gt;
|1961&lt;br /&gt;
|1487&lt;br /&gt;
|894&lt;br /&gt;
|1963&lt;br /&gt;
|-&lt;br /&gt;
|Mario Lemieux&lt;br /&gt;
|66&lt;br /&gt;
|1965&lt;br /&gt;
|915&lt;br /&gt;
|690&lt;br /&gt;
|1033&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;('''row-count''' hockey-spreadsheet)&amp;lt;/code&amp;gt; evaluates to &amp;lt;code&amp;gt;'''4'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==row-at==&lt;br /&gt;
 (define (row-at sheet row-index)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;('''row-at''' hockey-spreadsheet 1)&amp;lt;/code&amp;gt; evaluates to &amp;lt;code&amp;gt;'''(list &amp;quot;Bobby Orr&amp;quot; 4 1948 657 270 645)'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==sum-row==&lt;br /&gt;
 (define (sum-row sheet row-index)&lt;br /&gt;
        (error 'not-yet-implemented))&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;('''sum-row''' hockey-spreadsheet 1)&amp;lt;/code&amp;gt; evaluates to &amp;lt;code&amp;gt;'''3524'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;function-spreadsheet&amp;lt;/code&amp;gt;:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&amp;lt;code&amp;gt;(+ 1 2)&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;(+ 3 4)&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;(/ 10 2)&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;(sqrt (/ 1 4))&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;(sin (/ 3.14159 4))&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;10&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;('''sum-row''' function-spreadsheet 0)&amp;lt;/code&amp;gt; evaluates to &amp;lt;code&amp;gt;'''10'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;('''sum-row''' function-spreadsheet 1)&amp;lt;/code&amp;gt; evaluates to &amp;lt;code&amp;gt;'''5 1/2'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;('''sum-row''' function-spreadsheet 2)&amp;lt;/code&amp;gt; evaluates to &amp;lt;code&amp;gt;'''10.707106312093558'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{RacketUnitTest|spreadsheet_test|spreadsheet}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2390</id>
		<title>Itty Bitty Programming Language List Converter Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2390"/>
		<updated>2025-10-28T19:00:53Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* IBPL AST Functions To Use */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a series of assignments, we will build the Itty Bitty Programming Language (IBPL).  The inspiration for these assignments is MUPL by Dan Grossman and his team at UW.&lt;br /&gt;
&lt;br /&gt;
One can build an IBPL Abstract Syntax Tree (AST) with the following expressions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IdentifierExp (name)                                           #:transparent)&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
(struct AddExp        (left_exp right_exp)                             #:transparent)&lt;br /&gt;
(struct IfGreaterExp  (left_exp right_exp then_body_exp else_body_exp) #:transparent)&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
(struct IsNilExp      (exp)                                            #:transparent)&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
(struct CarOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct CdrOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct LetExp        (binding_name binding_exp body_exp)              #:transparent)&lt;br /&gt;
(struct FunctionExp   (name_option parameter_name body_exp)            #:transparent)&lt;br /&gt;
(struct CallExp       (function_exp argument_exp)                      #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=IBPL AST Functions To Use=&lt;br /&gt;
For this exercise, we will use on [[#struct_IntExp|IntExp]], [[#struct_NilExp|NilExp]], and [[#struct_ConsExp|ConsExp]].&lt;br /&gt;
&lt;br /&gt;
As with all Racket [https://docs.racket-lang.org/reference/define-struct.html structs] you will automatically get a constructor, a predicate, and accessors for each field in the struct.&lt;br /&gt;
&lt;br /&gt;
==struct IntExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(IntExp v)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;IntExp&amp;lt;/code&amp;gt; out of a &amp;lt;code&amp;gt;v&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(IntExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;IntExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(IntExp-value exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;IntExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
==struct NilExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(NilExp)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;NilExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(NilExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;NilExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==struct ConsExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(ConsExp car_exp cdr_exp)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt; out of a &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp-car_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
===(ConsExp-cdr_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=Racket Utilities To Use=&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null%29%29 null]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null~3f%29%29 null?]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cons%29%29 cons]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._car%29%29 car]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cdr%29%29 cdr]&lt;br /&gt;
&lt;br /&gt;
=Code To Implement=&lt;br /&gt;
{{RacketToImplement|list_converter|racket-integers-&amp;gt;ib-IntExps&amp;lt;br&amp;gt;ib-IntExps-&amp;gt;racket-integers|ibpl/list_converter}}&lt;br /&gt;
==racket-integers-&amp;gt;ib-IntExps==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (racket-integers-&amp;gt;ib-IntExps xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided list of ints in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to an IBPL AST which matches its structure.&lt;br /&gt;
&lt;br /&gt;
==ib-IntExps-&amp;gt;racket-integers==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (ib-IntExps-&amp;gt;racket-integers xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided IBPL AST consisting of ConsExps, IntExps, and NilExp in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to a list of ints.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{RacketUnitTest|test_list_converter|ibpl/list_converter}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2389</id>
		<title>Itty Bitty Programming Language List Converter Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2389"/>
		<updated>2025-10-28T19:00:08Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* IBPL AST Functions To Use */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a series of assignments, we will build the Itty Bitty Programming Language (IBPL).  The inspiration for these assignments is MUPL by Dan Grossman and his team at UW.&lt;br /&gt;
&lt;br /&gt;
One can build an IBPL Abstract Syntax Tree (AST) with the following expressions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IdentifierExp (name)                                           #:transparent)&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
(struct AddExp        (left_exp right_exp)                             #:transparent)&lt;br /&gt;
(struct IfGreaterExp  (left_exp right_exp then_body_exp else_body_exp) #:transparent)&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
(struct IsNilExp      (exp)                                            #:transparent)&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
(struct CarOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct CdrOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct LetExp        (binding_name binding_exp body_exp)              #:transparent)&lt;br /&gt;
(struct FunctionExp   (name_option parameter_name body_exp)            #:transparent)&lt;br /&gt;
(struct CallExp       (function_exp argument_exp)                      #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=IBPL AST Functions To Use=&lt;br /&gt;
For this exercise, we will use on [[#struct_IntExp|IntExp]], [[#struct_NilExp|NilExp]], and [[#struct_ConsExp|ConsExp]].&lt;br /&gt;
&lt;br /&gt;
As with all Racket [https://docs.racket-lang.org/reference/define-struct.html structs] you will automatically get a constructor, a predicate, and accessors for each field in the struct.&lt;br /&gt;
&lt;br /&gt;
==struct IntExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(IntExp v)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;IntExp&amp;lt;/code&amp;gt; out of a &amp;lt;code&amp;gt;v&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(IntExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;IntExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(IntExp-value exp)===&lt;br /&gt;
&lt;br /&gt;
==struct NilExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(NilExp)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;NilExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(NilExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;NilExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==struct ConsExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(ConsExp car_exp cdr_exp)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt; out of a &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp-car_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
===(ConsExp-cdr_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=Racket Utilities To Use=&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null%29%29 null]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null~3f%29%29 null?]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cons%29%29 cons]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._car%29%29 car]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cdr%29%29 cdr]&lt;br /&gt;
&lt;br /&gt;
=Code To Implement=&lt;br /&gt;
{{RacketToImplement|list_converter|racket-integers-&amp;gt;ib-IntExps&amp;lt;br&amp;gt;ib-IntExps-&amp;gt;racket-integers|ibpl/list_converter}}&lt;br /&gt;
==racket-integers-&amp;gt;ib-IntExps==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (racket-integers-&amp;gt;ib-IntExps xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided list of ints in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to an IBPL AST which matches its structure.&lt;br /&gt;
&lt;br /&gt;
==ib-IntExps-&amp;gt;racket-integers==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (ib-IntExps-&amp;gt;racket-integers xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided IBPL AST consisting of ConsExps, IntExps, and NilExp in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to a list of ints.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{RacketUnitTest|test_list_converter|ibpl/list_converter}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2388</id>
		<title>Itty Bitty Programming Language List Converter Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2388"/>
		<updated>2025-10-28T18:58:32Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* IBPL AST Functions To Use */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a series of assignments, we will build the Itty Bitty Programming Language (IBPL).  The inspiration for these assignments is MUPL by Dan Grossman and his team at UW.&lt;br /&gt;
&lt;br /&gt;
One can build an IBPL Abstract Syntax Tree (AST) with the following expressions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IdentifierExp (name)                                           #:transparent)&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
(struct AddExp        (left_exp right_exp)                             #:transparent)&lt;br /&gt;
(struct IfGreaterExp  (left_exp right_exp then_body_exp else_body_exp) #:transparent)&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
(struct IsNilExp      (exp)                                            #:transparent)&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
(struct CarOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct CdrOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct LetExp        (binding_name binding_exp body_exp)              #:transparent)&lt;br /&gt;
(struct FunctionExp   (name_option parameter_name body_exp)            #:transparent)&lt;br /&gt;
(struct CallExp       (function_exp argument_exp)                      #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=IBPL AST Functions To Use=&lt;br /&gt;
For this exercise, we will use on [[#struct_IntExp|IntExp]], [[#struct_NilExp|NilExp]], and [[#struct_ConsExp|ConsExp]].&lt;br /&gt;
&lt;br /&gt;
As with all Racket [https://docs.racket-lang.org/reference/define-struct.html structs] you will automatically get a constructor, a predicate, and accessors for each field in the struct.&lt;br /&gt;
&lt;br /&gt;
==struct IntExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(IntExp v)===&lt;br /&gt;
===(IntExp? exp)===&lt;br /&gt;
===(IntExp-value exp)===&lt;br /&gt;
&lt;br /&gt;
==struct NilExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(NilExp)===&lt;br /&gt;
===(NilExp? exp)===&lt;br /&gt;
&lt;br /&gt;
==struct ConsExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(ConsExp car_exp cdr_exp)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt; out of a &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp-car_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
===(ConsExp-cdr_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=Racket Utilities To Use=&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null%29%29 null]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null~3f%29%29 null?]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cons%29%29 cons]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._car%29%29 car]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cdr%29%29 cdr]&lt;br /&gt;
&lt;br /&gt;
=Code To Implement=&lt;br /&gt;
{{RacketToImplement|list_converter|racket-integers-&amp;gt;ib-IntExps&amp;lt;br&amp;gt;ib-IntExps-&amp;gt;racket-integers|ibpl/list_converter}}&lt;br /&gt;
==racket-integers-&amp;gt;ib-IntExps==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (racket-integers-&amp;gt;ib-IntExps xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided list of ints in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to an IBPL AST which matches its structure.&lt;br /&gt;
&lt;br /&gt;
==ib-IntExps-&amp;gt;racket-integers==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (ib-IntExps-&amp;gt;racket-integers xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided IBPL AST consisting of ConsExps, IntExps, and NilExp in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to a list of ints.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{RacketUnitTest|test_list_converter|ibpl/list_converter}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2387</id>
		<title>Itty Bitty Programming Language List Converter Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2387"/>
		<updated>2025-10-28T18:57:27Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* IBPL AST Functions To Use */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a series of assignments, we will build the Itty Bitty Programming Language (IBPL).  The inspiration for these assignments is MUPL by Dan Grossman and his team at UW.&lt;br /&gt;
&lt;br /&gt;
One can build an IBPL Abstract Syntax Tree (AST) with the following expressions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IdentifierExp (name)                                           #:transparent)&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
(struct AddExp        (left_exp right_exp)                             #:transparent)&lt;br /&gt;
(struct IfGreaterExp  (left_exp right_exp then_body_exp else_body_exp) #:transparent)&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
(struct IsNilExp      (exp)                                            #:transparent)&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
(struct CarOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct CdrOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct LetExp        (binding_name binding_exp body_exp)              #:transparent)&lt;br /&gt;
(struct FunctionExp   (name_option parameter_name body_exp)            #:transparent)&lt;br /&gt;
(struct CallExp       (function_exp argument_exp)                      #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=IBPL AST Functions To Use=&lt;br /&gt;
For this exercise, we will use on [[struct IntExp|IntExp]], [[struct NilExp|NilExp]], and [[struct ConsExp|ConsExp]].&lt;br /&gt;
&lt;br /&gt;
As with all Racket [https://docs.racket-lang.org/reference/define-struct.html structs] you will automatically get a constructor, a predicate, and accessors for each field in the struct.&lt;br /&gt;
&lt;br /&gt;
==struct IntExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(IntExp v)===&lt;br /&gt;
===(IntExp? exp)===&lt;br /&gt;
===(IntExp-value exp)===&lt;br /&gt;
&lt;br /&gt;
==struct NilExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(NilExp)===&lt;br /&gt;
===(NilExp? exp)===&lt;br /&gt;
&lt;br /&gt;
==struct ConsExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(ConsExp car_exp cdr_exp)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt; out of a &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp-car_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
===(ConsExp-cdr_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=Racket Utilities To Use=&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null%29%29 null]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null~3f%29%29 null?]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cons%29%29 cons]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._car%29%29 car]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cdr%29%29 cdr]&lt;br /&gt;
&lt;br /&gt;
=Code To Implement=&lt;br /&gt;
{{RacketToImplement|list_converter|racket-integers-&amp;gt;ib-IntExps&amp;lt;br&amp;gt;ib-IntExps-&amp;gt;racket-integers|ibpl/list_converter}}&lt;br /&gt;
==racket-integers-&amp;gt;ib-IntExps==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (racket-integers-&amp;gt;ib-IntExps xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided list of ints in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to an IBPL AST which matches its structure.&lt;br /&gt;
&lt;br /&gt;
==ib-IntExps-&amp;gt;racket-integers==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (ib-IntExps-&amp;gt;racket-integers xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided IBPL AST consisting of ConsExps, IntExps, and NilExp in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to a list of ints.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{RacketUnitTest|test_list_converter|ibpl/list_converter}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2386</id>
		<title>Itty Bitty Programming Language List Converter Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2386"/>
		<updated>2025-10-28T18:55:36Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* IBPL AST Functions To Use */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a series of assignments, we will build the Itty Bitty Programming Language (IBPL).  The inspiration for these assignments is MUPL by Dan Grossman and his team at UW.&lt;br /&gt;
&lt;br /&gt;
One can build an IBPL Abstract Syntax Tree (AST) with the following expressions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IdentifierExp (name)                                           #:transparent)&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
(struct AddExp        (left_exp right_exp)                             #:transparent)&lt;br /&gt;
(struct IfGreaterExp  (left_exp right_exp then_body_exp else_body_exp) #:transparent)&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
(struct IsNilExp      (exp)                                            #:transparent)&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
(struct CarOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct CdrOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct LetExp        (binding_name binding_exp body_exp)              #:transparent)&lt;br /&gt;
(struct FunctionExp   (name_option parameter_name body_exp)            #:transparent)&lt;br /&gt;
(struct CallExp       (function_exp argument_exp)                      #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=IBPL AST Functions To Use=&lt;br /&gt;
For this exercise, we will use on IntExp, NilExp, and ConsExp.&lt;br /&gt;
&lt;br /&gt;
As with all Racket [https://docs.racket-lang.org/reference/define-struct.html structs] you will automatically get a constructor, a predicate, and accessors for each field in the struct.&lt;br /&gt;
&lt;br /&gt;
==struct IntExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(IntExp v)===&lt;br /&gt;
===(IntExp? exp)===&lt;br /&gt;
===(IntExp-value exp)===&lt;br /&gt;
&lt;br /&gt;
==struct NilExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(NilExp)===&lt;br /&gt;
===(NilExp? exp)===&lt;br /&gt;
&lt;br /&gt;
==struct ConsExp==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===(ConsExp car_exp cdr_exp)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt; out of a &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp-car_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
===(ConsExp-cdr_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=Racket Utilities To Use=&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null%29%29 null]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null~3f%29%29 null?]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cons%29%29 cons]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._car%29%29 car]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cdr%29%29 cdr]&lt;br /&gt;
&lt;br /&gt;
=Code To Implement=&lt;br /&gt;
{{RacketToImplement|list_converter|racket-integers-&amp;gt;ib-IntExps&amp;lt;br&amp;gt;ib-IntExps-&amp;gt;racket-integers|ibpl/list_converter}}&lt;br /&gt;
==racket-integers-&amp;gt;ib-IntExps==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (racket-integers-&amp;gt;ib-IntExps xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided list of ints in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to an IBPL AST which matches its structure.&lt;br /&gt;
&lt;br /&gt;
==ib-IntExps-&amp;gt;racket-integers==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (ib-IntExps-&amp;gt;racket-integers xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided IBPL AST consisting of ConsExps, IntExps, and NilExp in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to a list of ints.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{RacketUnitTest|test_list_converter|ibpl/list_converter}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2385</id>
		<title>Itty Bitty Programming Language List Converter Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2385"/>
		<updated>2025-10-28T18:51:51Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* struct ConsExp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a series of assignments, we will build the Itty Bitty Programming Language (IBPL).  The inspiration for these assignments is MUPL by Dan Grossman and his team at UW.&lt;br /&gt;
&lt;br /&gt;
One can build an IBPL Abstract Syntax Tree (AST) with the following expressions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IdentifierExp (name)                                           #:transparent)&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
(struct AddExp        (left_exp right_exp)                             #:transparent)&lt;br /&gt;
(struct IfGreaterExp  (left_exp right_exp then_body_exp else_body_exp) #:transparent)&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
(struct IsNilExp      (exp)                                            #:transparent)&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
(struct CarOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct CdrOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct LetExp        (binding_name binding_exp body_exp)              #:transparent)&lt;br /&gt;
(struct FunctionExp   (name_option parameter_name body_exp)            #:transparent)&lt;br /&gt;
(struct CallExp       (function_exp argument_exp)                      #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=IBPL AST Functions To Use=&lt;br /&gt;
For this exercise, we will use on IntExp, NilExp, and ConsExp.&lt;br /&gt;
==struct IntExp==&lt;br /&gt;
===(IntExp v)===&lt;br /&gt;
===(IntExp? exp)===&lt;br /&gt;
===(IntExp-value exp)===&lt;br /&gt;
&lt;br /&gt;
==struct NilExp==&lt;br /&gt;
===(NilExp)===&lt;br /&gt;
===(NilExp? exp)===&lt;br /&gt;
&lt;br /&gt;
==struct ConsExp==&lt;br /&gt;
As with all Racket [https://docs.racket-lang.org/reference/define-struct.html structs] you will automatically get constructors, a predicate, and accessors for each field in the struct.&lt;br /&gt;
===(ConsExp car_exp cdr_exp)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt; out of a &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp-car_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
===(ConsExp-cdr_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=Racket Utilities To Use=&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null%29%29 null]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null~3f%29%29 null?]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cons%29%29 cons]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._car%29%29 car]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cdr%29%29 cdr]&lt;br /&gt;
&lt;br /&gt;
=Code To Implement=&lt;br /&gt;
{{RacketToImplement|list_converter|racket-integers-&amp;gt;ib-IntExps&amp;lt;br&amp;gt;ib-IntExps-&amp;gt;racket-integers|ibpl/list_converter}}&lt;br /&gt;
==racket-integers-&amp;gt;ib-IntExps==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (racket-integers-&amp;gt;ib-IntExps xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided list of ints in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to an IBPL AST which matches its structure.&lt;br /&gt;
&lt;br /&gt;
==ib-IntExps-&amp;gt;racket-integers==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (ib-IntExps-&amp;gt;racket-integers xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided IBPL AST consisting of ConsExps, IntExps, and NilExp in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to a list of ints.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{RacketUnitTest|test_list_converter|ibpl/list_converter}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2384</id>
		<title>Itty Bitty Programming Language List Converter Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2384"/>
		<updated>2025-10-28T18:51:35Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* struct ConsExp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a series of assignments, we will build the Itty Bitty Programming Language (IBPL).  The inspiration for these assignments is MUPL by Dan Grossman and his team at UW.&lt;br /&gt;
&lt;br /&gt;
One can build an IBPL Abstract Syntax Tree (AST) with the following expressions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IdentifierExp (name)                                           #:transparent)&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
(struct AddExp        (left_exp right_exp)                             #:transparent)&lt;br /&gt;
(struct IfGreaterExp  (left_exp right_exp then_body_exp else_body_exp) #:transparent)&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
(struct IsNilExp      (exp)                                            #:transparent)&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
(struct CarOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct CdrOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct LetExp        (binding_name binding_exp body_exp)              #:transparent)&lt;br /&gt;
(struct FunctionExp   (name_option parameter_name body_exp)            #:transparent)&lt;br /&gt;
(struct CallExp       (function_exp argument_exp)                      #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=IBPL AST Functions To Use=&lt;br /&gt;
For this exercise, we will use on IntExp, NilExp, and ConsExp.&lt;br /&gt;
==struct IntExp==&lt;br /&gt;
===(IntExp v)===&lt;br /&gt;
===(IntExp? exp)===&lt;br /&gt;
===(IntExp-value exp)===&lt;br /&gt;
&lt;br /&gt;
==struct NilExp==&lt;br /&gt;
===(NilExp)===&lt;br /&gt;
===(NilExp? exp)===&lt;br /&gt;
&lt;br /&gt;
==struct ConsExp==&lt;br /&gt;
As with all Racket [https://docs.racket-lang.org/reference/define-struct.html structs] you will automatically get a constructor, a predicate, and accessors for each field in the struct.&lt;br /&gt;
===(ConsExp car_exp cdr_exp)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt; out of a &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp-car_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
===(ConsExp-cdr_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=Racket Utilities To Use=&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null%29%29 null]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null~3f%29%29 null?]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cons%29%29 cons]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._car%29%29 car]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cdr%29%29 cdr]&lt;br /&gt;
&lt;br /&gt;
=Code To Implement=&lt;br /&gt;
{{RacketToImplement|list_converter|racket-integers-&amp;gt;ib-IntExps&amp;lt;br&amp;gt;ib-IntExps-&amp;gt;racket-integers|ibpl/list_converter}}&lt;br /&gt;
==racket-integers-&amp;gt;ib-IntExps==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (racket-integers-&amp;gt;ib-IntExps xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided list of ints in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to an IBPL AST which matches its structure.&lt;br /&gt;
&lt;br /&gt;
==ib-IntExps-&amp;gt;racket-integers==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (ib-IntExps-&amp;gt;racket-integers xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided IBPL AST consisting of ConsExps, IntExps, and NilExp in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to a list of ints.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{RacketUnitTest|test_list_converter|ibpl/list_converter}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2383</id>
		<title>Itty Bitty Programming Language List Converter Assignment</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Itty_Bitty_Programming_Language_List_Converter_Assignment&amp;diff=2383"/>
		<updated>2025-10-28T18:50:11Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* struct ConsExp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a series of assignments, we will build the Itty Bitty Programming Language (IBPL).  The inspiration for these assignments is MUPL by Dan Grossman and his team at UW.&lt;br /&gt;
&lt;br /&gt;
One can build an IBPL Abstract Syntax Tree (AST) with the following expressions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(struct IdentifierExp (name)                                           #:transparent)&lt;br /&gt;
(struct IntExp        (value)                                          #:transparent)&lt;br /&gt;
(struct AddExp        (left_exp right_exp)                             #:transparent)&lt;br /&gt;
(struct IfGreaterExp  (left_exp right_exp then_body_exp else_body_exp) #:transparent)&lt;br /&gt;
(struct NilExp        ()                                               #:transparent)&lt;br /&gt;
(struct IsNilExp      (exp)                                            #:transparent)&lt;br /&gt;
(struct ConsExp       (car_exp cdr_exp)                                #:transparent)&lt;br /&gt;
(struct CarOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct CdrOfConsExp  (cons_exp)                                       #:transparent)&lt;br /&gt;
(struct LetExp        (binding_name binding_exp body_exp)              #:transparent)&lt;br /&gt;
(struct FunctionExp   (name_option parameter_name body_exp)            #:transparent)&lt;br /&gt;
(struct CallExp       (function_exp argument_exp)                      #:transparent)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=IBPL AST Functions To Use=&lt;br /&gt;
For this exercise, we will use on IntExp, NilExp, and ConsExp.&lt;br /&gt;
==struct IntExp==&lt;br /&gt;
===(IntExp v)===&lt;br /&gt;
===(IntExp? exp)===&lt;br /&gt;
===(IntExp-value exp)===&lt;br /&gt;
&lt;br /&gt;
==struct NilExp==&lt;br /&gt;
===(NilExp)===&lt;br /&gt;
===(NilExp? exp)===&lt;br /&gt;
&lt;br /&gt;
==struct ConsExp==&lt;br /&gt;
As with all Racket [https://docs.racket-lang.org/reference/define-struct.html structs] you will automatically get constructors, a predicate, and accessors for each field in the struct.&lt;br /&gt;
===(ConsExp car_exp cdr_exp)===&lt;br /&gt;
Constructs a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt; out of a &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp? exp)===&lt;br /&gt;
Predicate which tests whether or not &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;.&lt;br /&gt;
===(ConsExp-car_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;car_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
===(ConsExp-cdr_exp exp)===&lt;br /&gt;
Accesses the value of the &amp;lt;code&amp;gt;cdr_exp&amp;lt;/code&amp;gt; field of &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt; (if it is a &amp;lt;code&amp;gt;ConsExp&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=Racket Utilities To Use=&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null%29%29 null]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._null~3f%29%29 null?]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cons%29%29 cons]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._car%29%29 car]&lt;br /&gt;
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._cdr%29%29 cdr]&lt;br /&gt;
&lt;br /&gt;
=Code To Implement=&lt;br /&gt;
{{RacketToImplement|list_converter|racket-integers-&amp;gt;ib-IntExps&amp;lt;br&amp;gt;ib-IntExps-&amp;gt;racket-integers|ibpl/list_converter}}&lt;br /&gt;
==racket-integers-&amp;gt;ib-IntExps==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (racket-integers-&amp;gt;ib-IntExps xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided list of ints in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to an IBPL AST which matches its structure.&lt;br /&gt;
&lt;br /&gt;
==ib-IntExps-&amp;gt;racket-integers==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;racket&amp;quot;&amp;gt;&lt;br /&gt;
(define (ib-IntExps-&amp;gt;racket-integers xs)&lt;br /&gt;
        (error 'not-yet-implemented)) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert the provided IBPL AST consisting of ConsExps, IntExps, and NilExp in &amp;lt;code&amp;gt;xs&amp;lt;/code&amp;gt; to a list of ints.&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
{{RacketUnitTest|test_list_converter|ibpl/list_converter}}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2382</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2382"/>
		<updated>2025-10-15T20:28:20Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|99450146695|MNs8hpP14LSKOUAZBjPQCrF5Grot3r.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|99450146695|MNs8hpP14LSKOUAZBjPQCrF5Grot3r.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|99450146695|MNs8hpP14LSKOUAZBjPQCrF5Grot3r.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|99450146695|MNs8hpP14LSKOUAZBjPQCrF5Grot3r.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|99450146695|MNs8hpP14LSKOUAZBjPQCrF5Grot3r.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  || {{OfficeHourWithPassword|Katherine Feng|99450146695|MNs8hpP14LSKOUAZBjPQCrF5Grot3r.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  || {{OfficeHourWithPassword|Katherine Feng|95200512433|KE2NnNjBel4trKYjIvoZFjp03U0be9.1}} ||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  || {{OfficeHourWithPassword|Katherine Feng|95200512433|KE2NnNjBel4trKYjIvoZFjp03U0be9.1}} ||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|95200512433|KE2NnNjBel4trKYjIvoZFjp03U0be9.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|95200512433|KE2NnNjBel4trKYjIvoZFjp03U0be9.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|95200512433|KE2NnNjBel4trKYjIvoZFjp03U0be9.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|95200512433|KE2NnNjBel4trKYjIvoZFjp03U0be9.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang|McDonnell 362}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang|McDonnell 362}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang|McDonnell 362}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang|McDonnell 362}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2381</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2381"/>
		<updated>2025-09-25T13:28:36Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang|McDonnell 362}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang|McDonnell 362}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang|McDonnell 362}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang|McDonnell 362}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2380</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2380"/>
		<updated>2025-09-25T02:13:52Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourInPerson|Ryan Zhang|Urbauer 214}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{OfficeHourInPerson|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2379</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2379"/>
		<updated>2025-09-25T02:13:07Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|Urbauer 214}} || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|Urbauer 214}} || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|Urbauer 214}} || {{OfficeHourCheckPiazza|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|Urbauer 214}} || {{OfficeHourCheckPiazza|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  || {{OfficeHourWithPassword|Sherlock Zhang|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2378</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2378"/>
		<updated>2025-09-25T02:11:09Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{ClassSession|Eads 016}} || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourWithPassword|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} ||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|Urbauer 214}} || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|Urbauer 214}} || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|Urbauer 214}} || {{OfficeHourCheckPiazza|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHour|Dzenan Zecevic|96589511122}} ||  || {{OfficeHourWithPassword|Katherine Feng|96468674520|Lbcbnb86CqajKVukZQN57br3MaEMr7.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|Urbauer 214}} || {{OfficeHourCheckPiazza|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  || {{OfficeHourWithPassword|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  || {{OfficeHourWithPassword|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} || {{OfficeHourCheckPiazza|Ryan Zhang|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  || {{OfficeHourWithPassword|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  || {{OfficeHourWithPassword|2782920408|FfvCPO6vuB9p7ciGHi4OnUUQHNbnAT.1}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Template:OfficeHourCheckPiazza&amp;diff=2377</id>
		<title>Template:OfficeHourCheckPiazza</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Template:OfficeHourCheckPiazza&amp;diff=2377"/>
		<updated>2025-09-23T02:47:08Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: Created page with &amp;quot;style=&amp;quot;background-color:#ffffcc;&amp;quot; | ''' {{{msg|{{{1|}}}}}} ''' check [https://piazza.com/class/memxlsmn3dr5gk piazza]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;style=&amp;quot;background-color:#ffffcc;&amp;quot; | ''' {{{msg|{{{1|}}}}}} ''' check [https://piazza.com/class/memxlsmn3dr5gk piazza]&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2376</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2376"/>
		<updated>2025-09-23T02:45:56Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|Eads 016}} ||  || {{ClassSession|Eads 016}} || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourCheckPiazza|Sherlock Zhang|check piazza}} || {{ClassSession|Eads 016}} || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|Eads 016}} || {{OfficeHourCheckPiazza|Sherlock Zhang|check piazza}} || {{ClassSession|Eads 016}} || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourCheckPiazza|Sherlock Zhang|check piazza}} ||  || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} ||  || {{OfficeHourCheckPiazza|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} ||  || {{OfficeHourCheckPiazza|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHourCheckPiazza|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} || {{OfficeHourCheckPiazza|Ryan Zhang|check piazza}} || {{OfficeHourCheckPiazza|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHourCheckPiazza|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} || {{OfficeHourCheckPiazza|Ryan Zhang|check piazza}} || {{OfficeHourCheckPiazza|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHourCheckPiazza|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} || {{OfficeHourCheckPiazza|Ryan Zhang|check piazza}} || {{OfficeHourCheckPiazza|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHourCheckPiazza|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourCheckPiazza|Katherine Feng|check piazza}} || {{OfficeHourCheckPiazza|Ryan Zhang|check piazza}} || {{OfficeHourCheckPiazza|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  || {{OfficeHourCheckPiazza|Sherlock Zhang|check piazza}} || {{OfficeHourCheckPiazza|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  || {{OfficeHourCheckPiazza|Sherlock Zhang|check piazza}} || {{OfficeHourCheckPiazza|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  || {{OfficeHourCheckPiazza|Sherlock Zhang|check piazza}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  || {{OfficeHourCheckPiazza|Sherlock Zhang|check piazza}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2375</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2375"/>
		<updated>2025-09-18T13:37:27Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  || {{OfficeHour|Prof. Cosgrove|6088142021}} || &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  || {{OfficeHour|Prof. Cosgrove|6088142021}} || &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  || {{OfficeHour|Prof. Cosgrove|6088142021}} || &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  || {{OfficeHour|Prof. Cosgrove|6088142021}} || &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2374</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2374"/>
		<updated>2025-09-17T18:24:58Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2373</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2373"/>
		<updated>2025-09-17T18:24:30Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2372</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2372"/>
		<updated>2025-09-17T18:07:15Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Prof. Cosgrove|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourInPerson|Sherlock Zhang Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} ||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHourInPerson|Dzenan Zecevic|check piazza}} ||  || {{OfficeHourInPerson|Katherine Feng|check piazza}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} || {{OfficeHourInPerson|Ryan Zhang|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Ryan Zhang|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Ryan Zhang|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2371</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2371"/>
		<updated>2025-09-16T12:54:02Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Prof. Cosgrove|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|TBD}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|TBD}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|TBD}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|TBD}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|TBD}} || {{ClassSession|January 110}} || {{OfficeHourInPerson|Katherine Feng|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  || {{OfficeHourInPerson|Katherine Feng|TBD}} ||  || {{OfficeHourInPerson|Katherine Feng|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Dzenan Zecevic|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Dzenan Zecevic|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  || {{OfficeHourInPerson|Dzenan Zecevic|TBD}} ||  ||  ||  || {{OfficeHourInPerson|Dzenan Zecevic|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  || {{OfficeHourInPerson|Dzenan Zecevic|TBD}} ||  ||  ||  || {{OfficeHourInPerson|Dzenan Zecevic|TBD}} ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  || {{OfficeHourInPerson|Dzenan Zecevic|TBD}} ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  || {{OfficeHourInPerson|Dzenan Zecevic|TBD}} ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Main_Page&amp;diff=2370</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Main_Page&amp;diff=2370"/>
		<updated>2025-09-13T23:39:00Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: /* Fall 2024 Extensions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the wiki for CSE 425s Programming Languages at Washington University in St. Louis.&lt;br /&gt;
&lt;br /&gt;
=Calendar=&lt;br /&gt;
&lt;br /&gt;
Click [http://www.cse.wustl.edu/~cosgroved/courses/cse425s/current/calendar.html here] to visit the course calendar.&lt;br /&gt;
&lt;br /&gt;
=Office Hours=&lt;br /&gt;
{{:Office hours}}&lt;br /&gt;
&lt;br /&gt;
=Class Policies=&lt;br /&gt;
==Academic Integrity==&lt;br /&gt;
This is not a group project course.  You are expected to complete all assignments independently.&lt;br /&gt;
&lt;br /&gt;
Any act of dishonesty (e.g. cheating, lying) will be referred to the Dean's office in Engineering Student Services.&lt;br /&gt;
&lt;br /&gt;
If found in violation, the student will receive an F in the course and a permanent mark on his or her record.&lt;br /&gt;
&lt;br /&gt;
There is no statute of limitations for academic integrity violations.  If a violation is later discovered after the completion of the course or even graduation, an F will be retroactively applied (even if it means that the offending student's degree would be revoked).&lt;br /&gt;
&lt;br /&gt;
See the [https://wustl.edu/about/compliance-policies/academic-policies/undergraduate-student-academic-integrity-policy/ Undergraduate Student Academic Integrity Policy] for a non-exhaustive list.  If in doubt ask the Professor for clarification.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''Withdrawing from the course will not prevent the academic integrity officer or hearing panel from adjudicating the case, imposing sanctions, or recommending grade penalties, including a failing grade in the course.''&lt;br /&gt;
&lt;br /&gt;
While it's policies may or may not be different, CSE 131 has some [http://www.cse.wustl.edu/~cytron/cse131/Info/collaboration.shtml general advice on academic integrity].&lt;br /&gt;
&lt;br /&gt;
===Honor Pledge===&lt;br /&gt;
You will be required to fill out a pledge, acknowledgements, and citations file for each assignment.  To be clear: failure to fill out this pledge will not save you from an academic integrity violation.&lt;br /&gt;
&lt;br /&gt;
Example Pledge (which you are free to use):&lt;br /&gt;
:''On my honor as a student, the work I am submitting is mine own.  It was created within the acceptable bounds of this course.''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Attendance==&lt;br /&gt;
You are expected to either synchronously join the live online class session or asynchronously watch the recording later.  Either way, you a required complete the &amp;quot;in-class&amp;quot; quiz for credit for the class session.  On Canvas, these &amp;quot;in-class&amp;quot; quizzes will report to be due by the end of the synchronous session.  This is obviously unreasonable for those taking the course asynchronously.  Everyone will have as long as the quiz is available on Canvas to complete the quiz without penalty.  Further students are granted 3 free misses of &amp;quot;in-class&amp;quot; quizzes.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
You are expected to attend class (on both Fridays) and you will lose points if you fail to show up more than three times. We take attendance.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
If you are caught trying to sign in or pick up a quiz for an absent friend, we will consider this an academic integrity violation and treat it as such. If your friends ask you to do this for them, tell them you do not want an F in the course and academic integrity violation on your record.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==S&amp;amp;Q Forms==&lt;br /&gt;
&lt;br /&gt;
There will usually be a Synthesis and Question form due before every class.  We expect you to complete these before class begins. Like attendance, you will only be penalized after missing more than three S&amp;amp;Q forms.  If you fail to turn these in on time for class, you can still receive 70% credit by turning them in as long as they are available on Canvas.  During a typical semester, preps are available for late submission until Saturday 11:59PM Central of the week they are due.&lt;br /&gt;
&lt;br /&gt;
==UW Exercises==&lt;br /&gt;
The UW exercises come with a bare minimum of tests.  You can get a score estimate by submitting your work to the Coursera grader.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Passing these tests does not guarantee anything when it comes to a grade on the assignment.  Labs are read by the instructors.  Students are provided feedback and given an initial grade.  Students then have a week from that feedback to turn in revisions which will then be reviewed and given a final grade.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WashU Exercises==&lt;br /&gt;
WashU exercises are usually but not always graded automatically by if they pass all of the tests within their suite.  &lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Studios can receive up to 70% credit up to a week after they are due.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
It should go without saying that any dishonest effort to pass the tests without solving the problem would be an academic integrity violation.&lt;br /&gt;
&lt;br /&gt;
==Fall 2025 Extensions==&lt;br /&gt;
For the Fall 2025 semester: All Exercises will have a one week, no penalty extension.&lt;br /&gt;
&lt;br /&gt;
To be clear, the due dates are asserted to be reasonable.  The bonus week is intended to account for extreme circumstances.&lt;br /&gt;
&lt;br /&gt;
=Grading breakdown=&lt;br /&gt;
*'''Participation/Attendance (In-Class Worksheets) (3%)'''&lt;br /&gt;
*'''Prep Q&amp;amp;S Forms (10%)''' submit on [https://wustl.instructure.com/courses/80136 Canvas]&lt;br /&gt;
*'''WashU Exercises (75%)''' commit and push to git repo on [https://bitbucket.org bitbucket]&lt;br /&gt;
*'''UW Exercises (12%)''' commit and push to git repo on [https://bitbucket.org bitbucket]&lt;br /&gt;
**[[Calendar Date Assignment]]&lt;br /&gt;
**[[Card Game Assignment]]&lt;br /&gt;
**[[Pattern Matching Assignment]]&lt;br /&gt;
**[[Streams Assignment]]&lt;br /&gt;
**[[MUPL Assignment]]&lt;br /&gt;
**[[Tetris Assignment]]&lt;br /&gt;
**[[Geometry Language Assignment]] (Split Assignment: 30% SML, 70% Ruby)&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Template:ClassSession&amp;diff=2369</id>
		<title>Template:ClassSession</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Template:ClassSession&amp;diff=2369"/>
		<updated>2025-09-12T02:54:15Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;style=&amp;quot;background-color:#aaffaa;&amp;quot; | Class Session '''Eads 016'''&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
	<entry>
		<id>http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2368</id>
		<title>Office hours</title>
		<link rel="alternate" type="text/html" href="http://classes.engineering.wustl.edu/cse425s/index.php?title=Office_hours&amp;diff=2368"/>
		<updated>2025-09-12T02:44:43Z</updated>

		<summary type="html">&lt;p&gt;Dennis.cosgrove: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+nowrap|Schedule&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} || {{OfficeHourInPerson|Prof. Cosgrove|January 110}} ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|12:30 -  1:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:00 -  1:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 1:30 -  2:00|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:00 -  2:30|||  ||  || {{ClassSession|January 110}} ||  || {{ClassSession|January 110}} ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 2:30 -  3:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:00 -  3:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 3:30 -  4:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:00 -  4:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 4:30 -  5:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:00 -  5:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 5:30 -  6:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:00 -  6:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 6:30 -  7:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:00 -  7:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 7:30 -  8:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:00 -  8:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 8:30 -  9:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:00 -  9:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
| 9:30 - 10:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00|||  ||  ||  ||  ||  ||  ||  &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
Be sure to commit and push your code to [https://bitbucket.org BitBucket] before initiating a request on [https://piazza.com/ Piazza] or during Office Hours.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! !! Sunday !! Monday !! Tuesday !! Wednesday !! Thursday !! Friday !! Saturday&lt;br /&gt;
|-&lt;br /&gt;
|9:00 - 9:30 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|9:30 - 10:00 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00 || || || {{ClassSession}} || || {{ClassSession}} || || &lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30 || || || {{ClassSession}} || || {{ClassSession}} || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || &lt;br /&gt;
|-&lt;br /&gt;
|12:30 - 1:00 || || || {{ClassSession}} || || {{ClassSession}} || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || &lt;br /&gt;
|-&lt;br /&gt;
|1:00 - 1:30 || || || {{ClassSession}} || || {{ClassSession}} || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || &lt;br /&gt;
|-&lt;br /&gt;
|1:30 - 2:00 || || || {{ClassSession}} || || {{ClassSession}} || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || &lt;br /&gt;
|-&lt;br /&gt;
|2:00 - 2:30 || || || {{ClassSession}} || || {{ClassSession}} || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || &lt;br /&gt;
|-&lt;br /&gt;
|2:30 - 3:00 || || || || || || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} ||&lt;br /&gt;
|-&lt;br /&gt;
|3:00 - 3:30 || || || || || || {{OfficeHourInPerson|Nich Cochran|???}} ||&lt;br /&gt;
|-&lt;br /&gt;
|3:30 - 4:00 || || || || || || {{OfficeHourInPerson|Nich Cochran|???}} ||&lt;br /&gt;
|-&lt;br /&gt;
|4:00 - 4:30 || || {{OfficeHourInPerson|Andrew Ocampo|Urbauer 2??}} || {{OfficeHourInPerson|Nevin Ndonwi|Urbauer 2??}} || {{OfficeHourInPerson|Andrew Ocampo|Urbauer 2??}} || || ||&lt;br /&gt;
|-&lt;br /&gt;
|4:30 - 5:00 || || {{OfficeHourInPerson|Andrew Ocampo|Urbauer 2??}} || {{OfficeHourInPerson|Nevin Ndonwi|Urbauer 2??}} || {{OfficeHourInPerson|Andrew Ocampo|Urbauer 2??}} || || ||&lt;br /&gt;
|-&lt;br /&gt;
|5:00 - 5:30 || || {{OfficeHourInPerson|Andrew Ocampo|Urbauer 2??}} || {{OfficeHourInPerson|Nevin Ndonwi|Urbauer 2??}} || {{OfficeHourInPerson|Andrew Ocampo|Urbauer 2??}} || || ||&lt;br /&gt;
|-&lt;br /&gt;
|5:30 - 6:00 || || || {{OfficeHourInPerson|Nevin Ndonwi|Urbauer 2??}} || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|6:00 - 6:30 || || || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || ||&lt;br /&gt;
|-&lt;br /&gt;
|6:30 - 7:00 || || || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || ||&lt;br /&gt;
|-&lt;br /&gt;
|7:00 - 7:30 || || || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || ||&lt;br /&gt;
|-&lt;br /&gt;
|7:30 - 8:00 || || || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || || {{OfficeHourInPerson|Vicky Prisco|Urbauer 2??}} || ||&lt;br /&gt;
|-&lt;br /&gt;
|8:00 - 8:30 || || || || || {{OfficeHour|Prof. Cosgrove|6088142021}} || ||&lt;br /&gt;
|-&lt;br /&gt;
|8:30 - 9:00 || || || || || {{OfficeHour|Prof. Cosgrove|6088142021}} || ||&lt;br /&gt;
|-&lt;br /&gt;
|9:00 - 9:30 || || || || || {{OfficeHour|Prof. Cosgrove|6088142021}} || ||&lt;br /&gt;
|-&lt;br /&gt;
|9:30 - 10:00 || || || || || {{OfficeHour|Prof. Cosgrove|6088142021}} || ||&lt;br /&gt;
|-&lt;br /&gt;
|10:00 - 10:30 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|10:30 - 11:00 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|11:00 - 11:30 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|11:30 - 12:00 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|12:00 - 12:30 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dennis.cosgrove</name></author>
		
	</entry>
</feed>