Just wanted to let you know, The lab was of no use. The TA's didn't help at all in the lab. I couldn't complete the lab in the given time and there were only two TA's and we were divided into 2 labs so we couldn't get enough time. If it keeps going the way it is then I won't learn much sir.
Sorry to hear that! I stopped by the lab and thought the TA was working very hard to answer questions.
The lab is there for you guys to learn. So what's the general impression of the lab? Good, bad? What suggestions do you have for improvement?
UPDATE: People are having issues with Eclipse. Fair enough, Eclipse is confusing and I personally don't use it. When I do examples in class, I do everything on the command line, which is much easier in my opinion.
Here's how to write, compile, and run Java from the command line:
Step 1: Make a directory for your project, e.g. myproject, and change to that directory (this step is optional, but makes things cleaner for you):
(omit the mkdir command if the directory already exists)mkdir myprojectcd myproject
Step 2: Write your java class, e.g. MyClass.java, using a text editor. In class I use nano (there are lots of alternatives if you don't like nano):
Repeat Step 2 for each class you need to write. Make sure all your classes are in the same directory (e.g., myproject).nano MyClass.java
Step 3: Compile your java classes, e.g., for MyClass.java:
Repeat Step 3 for each class you wrote, although if you compile the right class java will figure out the dependencies and compile everything for you. Go back to step 2 if you need to fix errors.javac -cp . MyClass.java
The "-cp ." option tells the java compiler to look in the current directory for all needed class files.
Step 4: Run the java class containing the "main" method, e.g., for MyClass:
java -cp . MyClassSome more useful Unix commands: ls (list files), rm (remove i.e. delete), cp (copy).
He does help us if you ask a question.
ReplyDeleteAre we suppose to use Eclipse?
The TA has sheets that teaches how to use Eclipse, but he only gave it to a few students.
It would be helpful for the future if the TA's would maybe give us a little general explanation on how to go about the lab exercise before we start. I thought you had mentioned in class that this is the way the labs would be organized but this did not happen in the first lab on Wednesday.
ReplyDeleteWoody: You don't need to use eclipse if you don't want to.
ReplyDeleteNicholas: That was supposed to happen. I'll follow up with the TAs.
Thanks for the useful update. I personally don't like Eclipse as well. In CSE1020, they made us use jEdit, which I rather like now.
ReplyDeleteWhat about the package stuff? In the first lab instructions, it said to put the classes in the package pex01, but I had no clue how to do that.
I played around with my java files, but adding the package command didn't make the compiler very happy.
I think what it means when it says put the classes in package pex01, it just means to put them in a folder named pex01.
ReplyDeleteWhen your ready to submit, you just go to the folder which contains pex01 (if pex01 is located on ./example/pex01, you would be in ./example when you run the submit command) and the submit command just seems to submit everything located within pex01. Seemed to work for me atleast.
Would it be possible for an admin to install the open-source editor SciTe on the lab computers? ("yum install scite")
ReplyDeleteI am rather attached to that editor.
If you're using Eclipse, I found these pages that can help.
ReplyDeleteI found this:
http://www.cse.yorku.ca/~lesperan/courses/1030F10/labNotes/PEx00.pdf
http://www.cse.yorku.ca/~lesperan/courses/1030F10/labNotes/PEx01.pdf
I personally loved the idea that the labs are mandatory to attend because I need to learn more java and I need to practice as well, but my first experience at the lab on Thursday last week was disappointing because I thought the TA will give a bit of a good explanation at the beginning of the lab on how to do it or if he could give some reviews or some fundamental stuff to help us with the lab but that didn't happen and I found myself learning nothing it was all on my own and I had to ask a friend for help, I asked the TA about how to include the classes in one package as it was required by the lab but I didn't know how to do that so I was forced to use eclipse to submit the work under one package because the TA didn't know how to answer me!!!
ReplyDeleteI would really love to learn new practices that's what I liked about our lecture today when you gave us good practices.
thank you
sorry I meant the lab on Thursday of this week
ReplyDeleteI'm a little late for posting about last week's lab, but I felt that the students could have gotten much more out of the lab if the TAs had addressed any FAQs for the entire class instead of answering them over and over privately for each student.
ReplyDeleteOne example was the tags for creating the java API, which we did not have any information on previous to starting the lab. I watched as the TAs went around and typed them in for several students individually instead of having some method for showing the entire class beforehand.