CSC140-5 2014: Foundations of Computer Science
Section outline
-
-
Download into your "Downloads" folder
Move into your NetBeansProjects folder by typing "cd", then "cd NetBeansProjects", and then "mv ~/Downloads/greatcircle.tar.gz ."
Extract files by typing "tar xzvf greatcircle.tar.gz"
Open in NetBeans
-
-
Complete and modify this program.
Extract files by typing: tar xzvf surfingsafari.tar.gz
-
Here is the program that you will find on page 139 in the textbook. To make this run you will have to right click on the name of your project, click on "properties" in the menu, then click on "libraries" in the next menu, remove the reference to "sedgewick-wayne.jar" and then "Add Jar file" and specify where your copy of "sedgewick-wayne.jar" is.
-
Download and unpackage by typing tar xzvf pdf2cdf.tar.gz
-
Download and unpackage by typing zip pdf2cdf.zip
-
Download, then extract files by typing: tar xzvf flag.tar.gz
-
Download, then extract files by typing unzip flag.zip
-
Download and then extract files by typing tar xzvf markov.tar.gz
-
For Examination 2:
Create a NetBeans project named "rational." Copy the contents of this file into the project. Reorder the lines of code. If NetBeans does not put it there for you automatically, you will have to add a package statement at the top of the Rational.java file: "package rational;"
-
-
Here is a program to get you started with the GridWorld exercises.
Download, then extract files by typing: tar xzvf bugrunner.tar.gz
-
Here is a program to get you started on the GridWorld exercises.
Download, then extract files by typing: unzip bugrunner.zip
-
Download, then extract files by typing: tar xzvf examination3.tar.gz
-
Download, then extract files by typing: unzip examination3.zip
-
-
Download, then extract files by typing: tar xzvf mandelbrot.tar.gz
-
Download, then extract files by typing: unzip mandelbrot.zip
-
Download, then extract files by typing: tar xzvf examination4.tar.gz
Change directory to examination4/src/resources.
Write your answers in qa140-04feb2015.tex.
Create a PDF file by typing: pdflatex qa140-04feb2015.tex
View your PDF by typing: evince qa140-04feb2015.pdf &
Upload your PDF file on Moodle.
-
Download, then extract files by typing: unzip examination4.zip
Change directory to examination4/src/resources.
Write your answers in qa140-04feb2015.tex.
Create a PDF file by typing: pdflatex qa140-04feb2015.tex
View your PDF by typing: evince qa140-04feb2015.pdf &
Upload your PDF file on Moodle.
-