Sunday, 23 January 2011

Arrays & ArrayLists Multiple Choice

How did you do on the multiple choice questions?
I got most of them, generally better than all of the Recursion problems.

Did you understand your errors?
Most of them, but I'm almost sure the book has some errors. I will ask them in class. 

What do you not understand?
Nothing much. I understood the material.

Can you envisage 2D arrays as arrays of arrays?
 Yes, it is like an array where each index of the array contains an array of objects. Although that doesn't necessarily make sense in the notation, because in that sense, if I wanted to access the collumn 1 row 1 object I would notate it as:

arr[1 [1]];

instead of the real notation:
arr[1] [1];

I guess this is purely syntax, but it goes around my logic a bit.

Monday, 17 January 2011

Multiple Choice: Sorting and Searching

How did you do on the multiple choice questions?
Again I got only about 50% of the questions... I feel like were moving along important concepts a little too fast.

Did you understand your errors?
Some, but most of them I don't. That includes finding the maximum number of loops for the binary search to find a random number in a given number.

What do you not understand?
I do not understand the concept of QuickSort, and many of the other sorts are extremely fuzzy in my mind.

To what extent did you succeed in implementing the sorting and searching algorithm exercises?
I succeeded in implementing them iteratively, yet I didn't have as much luck with recursive implementation.

Sunday, 9 January 2011

Multiple Choice + Javabat: Recursion

I could only confidently answer 11 of the 21 multiple choice questions. Recursion is still very fresh to me, and I have many doubts and concerns.

This is in part because I can't understand most of my errors. Many of my errors seem to defeat my prior computer knowledge when I check the answers. I'm hoping we will review the answers, so that I'll see where I'm lacking in knowledge.

I used run-time stacks where I saw fit, but I doubt that my errors had to do with the recursion concept. Although in many cases their run-time stacks were different from mine.

I've done 9 of the 10 required recursion codingBats because I have some serious syntax errors when string problems kick in. So far the recursion problems from the book have only confused me more than I already was...

As for what I don't understand... well- I could spell out a list...?
1. How do strings work with recursion (syntactually)
2. When a print call is made in the same body as a recursive call, why does the print method ignore the recursive call (that's what I observed from the book)? Or rather, how do they work together? *URGENT*
3. Run-time stacks- how to keep them neat when you come across a huge tree of stacks?
4. There is more, but much of it is uncertainty. Going over recursion in class will help LOADS.