Class Examples - This is the code that I have played with in each class. Obviously it is only the final version of the code that resulted from all the things that were tried in class. The newest examples will be at the top of the list.
CSE 1310 Spring 2019 class examples:
Test3Array2DCheck.java
- this is code for answers to Test3 that we went over in class
posted 6 May 2019
FinalRevPrep2S19.java
- this is the code that corrects one thing from the code below [putting values into a two-dimensional ArrayList] and adds two other ways of solving the quotes word replacement question.
FinalRevPrep1S19.java
- this is the code we did in the two review sessions on May 3
Most of this code relates to various questions from the Fall 18 Final and practice tests but there are a few other topics such as two dimensional ArrayLists, differences in ways to compare strings with equals vs. compareTo, the conditional operator ( ? : ), ASCII values and parsing digits.
PrepTest2May19.java
- this is the code we did in class on May 2
SelectionSort.java
- this is an example I did with someone who asked about selection sort after class
posted 5 May 2019
****
CSE1310TiernanTest3Spring19v2Key.docx
posted 30 Apr 2019
Code25Apr19.java
namesDatesErr25Apr.txt
Code23Apr19.java
inputWords23Apr
posted 25 Apr 2019
Code16April19.java
posted 16 Apr 2019
Code11Apr19.java
Code9Apr19Multi.java
Code9Apr19.java
Lab4T1Part1aDone.java
posted 13 Apr 2019
Code4Apr19.java
Code21Mar19.java
Code21Mar19extra.java
namesDatesErr21Mar.txt
posted 4 Apr 2019
****
CSE1310Test2v2Key.docx
Test2S19Gas.java
posted 4 Apr 2019
Code19Mar19.java
namesDates19Mar.txt
Code19Mar19Extra.java
namesDatesErr19Mar.txt
posted 19 Mar 2019
Code7Mar19.java
namesDates7Mar.txt
Code5Mar19.java
posted 15 Mar 2019
****
CSE1310Test1Spring19altKEY2.docx
Test1S19CoinsPuzzle.java
posted 6 Mar 2019
Code27Feb19arrayNames.java
namesDates
Code19Feb19extras.java
Code19Feb19.java
gradeInputErrEst.txt
gradeInputErrEst2.txt
posted 28 Feb 2019
Code14Feb19.java
Code12Feb19.java
posted 14 Feb 2019
Code5Feb19Input.java
gradeInput.txt
gradeInput2.txt
The following Java file is something I worked on in response to some questions
after class and then added a couple of other things. This Java code
handles certain types of errors in the input data from the file.
Check the lines in the code with the label # for new/interesting topics.
Run this code with the data file gradeInputErr to see some examples of
bad input data.
Code7Feb19extras.java
gradeInputErr.txt
posted 8 Feb 2019
Code5Feb19.java
Code5Feb19quiz.java
posted 5 Feb 2019
Code31Jan19ifaltchoices.java
Code31Jan19ifelsebinary.java
Code31Jan19ifonly.java
Code31Jan19.java
Code31Jan19operators.java
posted 1 Feb 2019
Code29Jan19.java
Code24Jan19.java
posted 31 Jan 2019
Code22Jan19.java
Code17Jan19.java
posted 24 Jan 2019
Day 1 was syllabus and ethics statement info