As part of our course-work, our lecturer is making us do some presentations, whereby the students are cheap slave-labour. Each of us gets a portion of the book to lecture on.
Today, I had the pleasure of lecturing my Java Application Programming class on Chapter 3: Objects, Arrays and Strings. Apart from that being an oddly selected group of topics for once chapter, it seemed like a walk in the park.
Yeah, right.
I prepared a few slides — PowerPoint — and went to class. We have a rather casual setting, with one of the smaller labs, and about 10 students in the class (of which only 9 showed up today). About 9 o’clock I walk in and start my presentation. I finish up on Objects, and ask if there are any questions. The silence was scary. I started to get a sinking feeling as I typed out a couple of simple object questions for them. Fourty minutes later, we finished simple objects in Java. How simple? Here’s a rought estimate of what I asked of them:
Create a simple class to represent a person. Include name and age at least.
Next, write a running programme, and create a new object using the class declared earlier. Assign values to the data fields within it and print them to screen.
Out of the 10, 3 were able to complete this competently. Had the tenth student been there, 4 would’ve completed the excercise.
Next we went on to arrays. Same story. Single dimensional arrays were difficult enough that the remaining hour was spent demonstrating how they were declared and used.
*Sigh* I admit that not everyone out there has programming talent, ability, or whatever, I’d expect people who supposedly passed C programming to be able to create an array and populate it. At the very least, a single dimensional array. Nothing fancy, an int array perhaps.
Tomorrow, I have to present on Strings. I can feel it now. They’re going to confuse character arrays from C with strings in Java.