Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _includes/CS1331-mcdaniel.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ At least one of:
* Official textbook: Introduction to Java Programming, Comprehensive Version, 10th Edition by Y. Daniel Liang, ISBN-10: 0133761312, ISBN-13: 978-0133761313
* Course websites: all course materials will be on the public web site at [http://cs1331.org](http://cs1331.org). All student grade information will be on the course's T-Square site.

* Textbook: The textbook is not required, but examples from it will be used frequently in class, therefore it is strongly recommended.
* Textbook: The textbook is not required, but examples from it will be used frequently in class, therefore it is strongly recommended.

## Non-Discrimination

Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

</head>
<body>

<!-- Fixed navbar -->
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
Expand Down
16 changes: 8 additions & 8 deletions assignments/hw-linked-list-iterator/hw.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
</a>

<div class="trigger">






</div>
</nav>

Expand Down Expand Up @@ -178,9 +178,9 @@ <h2 class="footer-heading">CS 1331 Spring 2016 - Extra Credit Homework</h2>

<div class="footer-col footer-col-2">
<ul class="social-media-list">





</ul>
</div>

Expand Down
4 changes: 2 additions & 2 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ h1, h2, h3, h4, h5, h6 {
font-size: 100%; }

h1 {
margin-bottom: 1em;
margin-bottom: 1em;
}
p { margin: 1em 0; }

Expand Down Expand Up @@ -196,7 +196,7 @@ a:hover { color: #000; }
font-size: 1.2em;

/* Summer: */
display: block;
display: block;

/* Fall/Spring */
/*display: none;*/
Expand Down
10 changes: 5 additions & 5 deletions evan/histogram.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ <h3>Result</h3>
44 - 38 | [][][][]
37 - 31 | [][][]
30 - 24 | [][]
23 - 17 |
16 - 10 |
23 - 17 |
16 - 10 |
9 - 3 | []
2 - 0 | []

</pre>
Number of Grades: <span id="grade-num">270</span>,
Number of Buckets: <span id="bucket-num">15</span>,
Number of Grades: <span id="grade-num">270</span>,
Number of Buckets: <span id="bucket-num">15</span>,
Width of Last Bucket: <span id="last-bucket">3</span>
</section>
<script type="text/javascript">
var g="";var ra=parseInt(document.getElementById("range").value);var r=document.getElementById("result");var i=document.getElementById("grade-num");var s=document.getElementById("bucket-num");var o=document.getElementById("last-bucket");var ge=function(){var e=Math.ceil(101/ra);var t=ra*e-101;var n=new Array(e);for(var u=0;u<g.length;u++){var a=Math.floor((parseInt(g[u])+t)/ra);if(!n[a])n[a]=0;n[a]++}var f=100;var l=f-ra+1;var c="Grades loaded!\nWhat bucket size would you like?\n>>> "+ra+"\n\n";for(var u=e-1;u>=0;u--){var h=f.toString();var p=(new Array(4-h.length)).join(" ");var d=l>0?l.toString():"0";var v=(new Array(4-d.length)).join(" ");var m=n[u]?(new Array(n[u]+1)).join("[]"):"";c+=p+h+" - "+v+d+" | "+m+"\n";f-=ra;l-=ra}r.innerHTML=c+"\n";i.innerHTML=g.length;s.innerHTML=e;o.innerHTML=ra-t};document.getElementById("input").onchange=function(){g=this.value.trim().split(/[\s,]+/);ge()};document.getElementById("range").onchange=function(){ra=parseInt(this.value);ge()};ge()
</script>


</body></html>
8 changes: 4 additions & 4 deletions javadoc.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: CS 1331 - Writing Javadocs
title: CS 1331 - Writing Javadocs
---

# Javadocs
Expand All @@ -26,7 +26,7 @@ Take note of:
## Class Headers
All public classes should be commented in the following format:

```java
```java
/**
* Represents a canine animal
* @author Thomas Shields
Expand All @@ -49,9 +49,9 @@ Method headers should be commented as follows:

```java
/**
* Calculates the speed an object was travelling given the distance and time
* Calculates the speed an object was travelling given the distance and time
* @param time How long the object is moving for
* @param distance How far the object moved
* @param distance How far the object moved
* @throws ArithmeticException If the time is zero.
* @return a double representing the speed at which the object was travelling.
*/
Expand Down
Loading