Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 (1 point) Which of the command-line options were used to produce the following output output for Is? Select all that apply. Not sure?
Question 1 (1 point) Which of the command-line options were used to produce the following output output for Is? Select all that apply. Not sure? Try it on Odin! total 16 drwxr-xr-x 2 mec grad 4096 Jan 8 14:56 drwxr-xr-x 3 mec grad 4096 Jan 8 14:56 -rw-r--r-- 1 mec grad 11 Jan 8 14:56 README.txt -rw-r--r-- 1 mec grad 0 Jan 8 14:56 Rickroll.mp3 -rw-r--r-- 1 mec grad 16 Jan 8 14:56 TODO.txt -1 -a -h M Question 2 (1 point) Which of the following could be used to gain further insight into a command or command options that you are unfamiliar with? Select all that apply. Use cd to order a compact disc or vinyl copy of someone dictating the command. Use rel to list potentially related commands. Use man to read the related manual page. Try using --help as a command-line argument. Question 3 (1 point) Which of the following can be used to open filel.txt and file2.txt in the Emacs text editor at the same time? Select all that apply. Unsure? Again, try it on Odin! Launch Emacs, then type the following set of commands: 1. C-x C-f filel.txt 2. C-x 3 3. C-xo 4. C-x C-f file2.txt Type the following command: $ EMACS file2.txt filel.txt Type the following command: $ emacs filel.txt file2.txt Launch Emacs, then type the following set of commands: 1. C-x C-f filel.txt 2. C-x 2 3. C-xo 4. C-x C-f file2.txt Question 4 (1 point) Consider the class edu.uga.cs.Math and the following directory structure: project Lsrc Ledu Luga CS L Math.java What is the relative path of the default package for source code from inside the project directory? project/src src/uga/cs src Question 5 (1 point) Consider the class edu.uga.cs.Fun and the following directory structure: project F-- dist 1 L-- bin L-- L-- L-- L-- Fun.class edu uga CS src L-- edu L- uga L-CS L- Fun.java What is the compilation command used to reproduce the directory structure under dist if typed from inside the project directory? You may assume that the dist directory itself already exists and contains bin. Remember, you can recreate this directory structure on Odin to test the responses below. Just make sure you type the command from within the project directory. $ javac Fun.java $ java -d bin src/edu/uga/cs/Fun. java $ javac -cp dist/bin src/edu/uga/cs/Fun. java $ javac -d dist/bin src/edu/uga/cs/Fun. java
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started