MT262 Block 2

You are here:  Catzwhiskerz Home | Open Uni | MT262 | Block 2

Structures.

This is getting down to the nitty gritty now. You'll learn all about data structures in C++; records, arrays, tables. The examples provided are based on real life and so easily comprehended.

The Warehouse problem takes over as the major coding challenge. The Units go into detail explaining how each step is tackled and you should make sure you understand what is going on as this is central to understanding putting a working program together. Functions are extremely important, so devote plenty of time to practising these. Reading/writing to files is also explored.

You should be feeling more confident writing code and entering it into Borland Builder by now, and some of the initial mistakes you were making will hopefully have been overcome. Still, there is plenty more to learn and as coding becomes more involved, so the chance of making semantic errors increases. Check whether a function is doing its job separately if possible, before integrating it into the main program. Remember, if you want to use a library in your program you must include it in the SAME folder as the rest of your code. Otherwise Builder won't find it and will report an error.

TMA preparation.

TMA 02 consisted of 4 questions, all involving designing and writing code fragments or programs to do specific tasks. The material tested is covered in the course Units, you just need to read them carefully to get the hints you need. As ever, the First Class conferences provide a wealth of information and help if you need it. Or perhaps you'll find you can help someone else - a very worthwhile feeling, indeed!

If you don't have a colour printer you may wish you did, as the keywords are printed in different colours (you can select which to use) and this makes reading the code easier. Be sure to use sufficient comments in your coding to make it clear to your tutor what a particular piece of code, variable, etc is doing - you may lose marks otherwise.

Once again, give yourself plenty of time to tackle the questions. Do each one as you finish the relevant Unit. Make sure you include the requested files in any printouts required. Ask in the conferences or tutorials if you're not sure.

TOP

On to Block 3