skip to main
|
skip to sidebar
Introduction to Java Programming using eclipse
CSCE 145: Algorithmic Design I
Friday, February 17, 2012
More Fun with Arrays:2D, Sorting, Tic-Tac-Toe
Next week we will do a lot of array examples. First, we have multi-dimensional arrays:
Here is an example of how to implement the insertion sort algorithm.
Finally, an example of how to build a tic-tac-toe board using arrays.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
CSCE 145
Syllabus
Grading
Calendar
Java Documentation
Videos
Videos without Ads
Code from Lectures
Textbook Website
Twitter Feed
Computer Department
Need Help Now?
IM:
jmvidal@gmail.com
Email:
jmvidal@gmail.com
SMS Text: (803) 572-4116
Or,
drop by
during my
office hours
.
Subscribe To
Posts
Atom
Posts
Comments
Atom
Comments
Upcoming
Labels
fun
(7)
homework
(47)
info
(31)
lab
(88)
lab test
(34)
lecture
(56)
solution
(47)
test
(14)
Search this Website
Posts Archive
▼
2012
(103)
►
May
(1)
►
April
(16)
►
March
(18)
▼
February
(34)
Lab 15: Comparable
Practice Condingbat Bonus Points
Homework Solutions
Lab 14: Undead
Homework 7: Camelot
Interfaces and Abstract Classes
Some Lab Solutions
More Array Examples
Lab 13: Connect Four
Insertion Sort
Inheritance and Polymorphism
Volunteer VM Testers Needed
Lab 12: Random Cyphers
Homework 6: Frequency Stability
More Fun with Arrays:2D, Sorting, Tic-Tac-Toe
Wrapper Classes and Arrays
Building an Immutable Class, Unit testing, Packages
Lab 11: Temperature
Lab 10: Grade Distribution
Homework 5: Family Tree
Static Properties and Methods
Equals and Constructors
Classes, Object, and Methods
Lab Test Solutions
Lab 9: Medical Records
Test 1 Distribution
Java Classes, Properties and Methods
Test 1 Solutions
Homework 4: Moire
Test Grading Rubric
The Hacker Way
Lab Solutions
Girls in a Tech World
Lab 8: Words and Vowels
►
January
(34)
►
2011
(1)
►
November
(1)
►
2010
(126)
►
December
(3)
►
November
(29)
►
October
(46)
►
September
(31)
►
August
(15)
►
July
(1)
►
April
(1)
►
2009
(75)
►
December
(9)
►
November
(12)
►
October
(22)
►
September
(25)
►
August
(7)
Popular Posts in the Last 7 Days
Test 3 Points Distribution
The points distribution for Test 3 is below. These are points, not grades. I will talk about grades in class.
Final Test Point Distribution
The final test point distribution is below, these are points not grades. You will receive the actual grade along with your class grade in an...
LabTest#2 -- Section 6 -- Driver Class ( You can use this to test your program )
public class Driver { public static void main(String[] args) { Shirt shirt1 = new Shirt("blue shirt", 100, Shir...
LabTest#2: Revised Solution -- Section 5 -- Class: Monster
public class Monster { private String name; public enum MonsterType { GOBLIN, ZOMBIE, GHOST }; public MonsterType type; public enum ...
Lab 02
Question 9 on Textbook Page 117. Good luck. =)
LabTest#2: Revised Solution -- Section 5 -- Class: Goblin
public class Goblin extends Monster { private int x; private int y; public Goblin(String n, MonsterType m, int x, int y, Dungeon the...
LabTest#2: Revised Solution -- Section 5 -- Class: Ghost
public class Ghost extends Monster { private int x; private int y; public Ghost(String n, MonsterType m, int x, int y, Dungeon theD)...
LabTest#2: Revised Solution -- Section 6 -- Class: Item
I had forgotton to include this before public class Item { private String name; private int Price; public Item() { name = "...
TextBook
About Me
jmvidal
View my complete profile
No comments:
Post a Comment