Recitation Activities
The Recitation/Lab sessions will involve hands-on exercises designed to familiarize you with our Linux programming environment, the tools available within it (since that is the environment, and those are the tools, that you are encouraged and expected to use), as well as the Java programming language and its use for problem solving, including the problems that need to be solved for the submissions.
Here are some things which you will be using throughout the course:
uxx account, how it is set up, its
subdirectories, and how to access it from a PC or Mac using
PuTTY, KiTTY, ssh,
WinSCP, Cyberduck, and possibly other programs.
bash shell and its configuration file
.bashrc, some basic Linux commands (passwd,
ls, cd, cp, mv,
cat, more, less, pwd,
rm, mkdir, rmdir,
head, tail,
grep, find, diff,
sort,
echo, man, touch), and keyboard
shortcuts for command-line editing (Ctrl+A,
Ctrl+E, Ctrl+U, Ctrl+K,
Alt+D, Ctrl+L)
getinfo, ll,
cl, fjc, jcr, jcru,
jru, rmc, rmo, rmco,
find_tabs, and find_long_lines as well as the
$pub00 abbreviation for the public directory in
the u00 account (the location of all the sample files you
will need to access), and the $jex abbreviation for the
examples_java subdirectory of that public
directory (the even more specific location of all the Java code examples
you will need to access), and finally $jexz for the subdirectory
containing the zyBook subdirectories with the code from the zybook
vim editor and its use for Java programming,
including its configuration file (.vimrc on Linux and
the Mac, or _vimrc on Windows) [It's very important to
understand that Vim is a modal editor, and very
confusing if you don't understand this. Not knowing or understanding this
is why many folks give up early on Vim.] So ... it's critical to know
what mode you are in when using Vim, and how to get into
and out of any particular mode: normal mode (also called
command mode), insert mode, visual
mode, search mode, or ex
mode (also called
command-line mode or colon mode).]
tmux terminal multiplexer, which allows multiple
terminal sessions to be accessed simultaneously in a single window
jshell, which is very convenient for
Java testing and experimentation, especially the jshell
PRINTING variation, which allows us to use print,
println, and printf without having to use
the System.out prefix all the time
Sample Java Code | jxtra | docs
for the documentation for these classes but you will use the server
copies of these classes.]
General rules for the weekly hands-on exercises
Description to follow ...