Wednesday, May 2, 2012
Till Next Time
If you are a visitor to this site and want to take a free intro to Java class, simply watch the 62 Java tutorial videos (or, watch them without ads at udemy.com) and do the 25 Lab assignments (2-hour programming projects) and 10 homework assignments (longer programming projects) to get some practice. You can then the tests to see how much you have learned. Have fun!
Also, if you want to leave any advise to future students, you can do so in the comments to this post.
Wednesday, April 11, 2012
CodingBat Bonus
Also remember to study all of Chapters 9--12, as they cover material that is not in the codingbat questions but will be on the test. Do the programming problems from the back of these chapters.
Monday, March 19, 2012
Test 2 Points Distribution
Tuesday, February 28, 2012
Practice Condingbat Bonus Points
Remember to add jmvidal@gmail.com as your 'teacher share', click on the 'prefs' link in the top of the page to set your 'teacher share'.
Wednesday, February 8, 2012
Test 1 Distribution
Saturday, February 4, 2012
Test Grading Rubric
- If it works for all inputs and has the student's name and email and is reasonable code, then 100.
- If the program works but does it in a very silly way, like hard-coding gigantic Strings and printing them out instead of using a
forloop to generate the String, then it will get at most 50. - If it works for almost all inputs, or is almost perfect: 90:
- If it works for some inputs, or mostly works for all inputs: 80
- It if works for at least 1 input, or does something reminiscent of what we asked for: 70
- If it does not compile then it will get at most 50.
- If the program consists only of a
mainand the usualScannerlines: 10.
For the in-class test (handwritten) the rubric is similar except that I will not be taking points off for missing details like: missing imports, semicolons, closing braces, etc. Still, you should try to make your code as close to compilable as possible to ensure it is not ambiguous (thus, wrong).
Friday, February 3, 2012
Lab Solutions
- Lab 4: Distances
- Lab 5: Roommate Decision Tree
- Lab 6: Hot or Cold
- Lab 7: Flower
- Homework 2: MasterMindz
Remember, the only way to learn to program is by programming. Practice, practice, practice. I recommend:
- Do the exercises in the textbook.
- Do codingbat.com
- Look at my answers and the ones in the textbook: compare with yours.
- If confused, try watching one of my screencasts on the topic.
Tuesday, January 24, 2012
Test Practice and Bonus Points: Codingbat
Pretty much all the questions they have in the their Java sections Warmup-1, String-1, String-2, Logic-1, and Logic-2 are candidates for a Test 1 question. You can view your progress by clicking on "done" at the top of the screen. You can also share this page with the world (these are my results) to demo your l33t cod3rz skillz.
If you want, you can create an account there and then click on "prefs" (at the top) and in there set "Share to" to jmvidal@gmail.com. That way I will be able to see what problems you have done. I will then give you 1 extra test point (for Test 1) for each one of the 5 sections above that you finish before Monday Feb. 6 @noon.
Wednesday, January 18, 2012
Homework Grading Rubric
- If it works for all inputs, and has the student(s)' names on a comment, has at least a couple short comments explaining what it does, and is properly indented then 10 points.
- If it works for all inputs but is missing one of the other requirements then 9 points.
- If it does not work for some inputs or in some cases but works in others, then 8 points.
- If it does not compile then it will get a maximum of 7 points, maybe less depending on how much working code is there.
Tuesday, January 17, 2012
Remote Access to your Network Drive
Wednesday, January 11, 2012
Pair Programming
- Pair up with whomever you want. Try to pair up with a few different other students during the semester. Try to pair up with someone who has about the same level of experience as you.
- When you turn in your lab or homework remember to put both of your names at the top of the file.
- It is not required that you pair up. You can work by yourself if you want to, but note that studies have shown that students who pair up do better in introduction to programming classes.
- One of you will be the driver who types in the code, while the other is the navigator who looks on, spotting errors and thinking higher-level thoughts. You should switch roles every 30 minutes or so.
- It is hard for two people to see one laptop screen. So, if you are working on your laptops for the homeworks consider using the screen sharing (macs) or remote desktop (windows and linux) that is built into your Operating System. You can turn these on and allow one laptop to see what the other one is doing.
Monday, January 9, 2012
Online Resources for Learning Programming
- Our textbook has a website which you can log in using the code written inside the textbook. Once logged in you can watch the videos they provide.
- The New Boston has a long list of Java screencasts similar to mine, but with a Boston accent.
- The Khan Academy, of course, has a bunch of computer science videos. He uses Python.
- Hacker CS has videos on Java and data structures. Most of what they have right now is too advanced for 145 (but perfect for CSCE 146).
- Harvard's CS 50 is the fourth largest class at Harvard. It covers C, PHP, and JavaScript plus SQL, CSS, and HTML. You can view the lectures online. They are awesome.
- MIT's 6.00 is their intro to programming class. They have their lectures online. They use Python.
- Stanford has CS 101, which you can sign up for free. It starts on February 2012.
- Codeacademy has a really cool webapp for teaching JavaScript. They are also hosting codeyear.
Tuesday, November 8, 2011
Spring 2012: Getting Ready
The textbook will be Java: An Introduction to Problem Solving and Programming (6th Edition).
You will also want to download and install eclipse. Pick the one titled "Eclipse IDE for Java Developers" or the "Eclipse IDE for Java EE Developers" if you want even more plugins. If you don't already have Java installed in your machine (unlikely) then you will also need to download and install Java.
Optionally, you might also want to install dropbox in your laptop. It automatically backs up your and syncs your data, so you don't have to worry about losing homework programs.
Tuesday, November 30, 2010
Test 3 Averages
The averages for test 3 are shown below. As always, we will discuss about this and the final in class.
Thursday, November 11, 2010
More Lectures by Better Lecturers
If you think that listening to a better lecturer will help you learn the material better then, you are in luck! As you probably know, all major Universities have their CS101-type courses online. I highly recommend MIT's 6.00: Introduction to Computer Science lectures. Another good one is Harvard's CS50.
Below is their video for binary search (using recursion, of course), which I will be talking about today.
Thursday, November 4, 2010
Java 4-Ever!
Already nominated for a Developers' Choice award:
Wednesday, November 3, 2010
The Java Posse
These guys have had a podcast for five years. I'm a fan.
Thursday, October 28, 2010
Wednesday, October 27, 2010
Celebrity Interview
Below is an interview with Jeff Atwood, creator of stackoverflow.
See all 3 videos here. He talks about HTML5 issues, which we will be covering in my CSCE 242 class next semester.