cs m41 programming in java week 11 friday 11 12 2009
play

CS M41 Programming in Java Week 11, Friday, 11/12/2009 Oliver - PDF document

CS M41 Programming in Java Week 11, Friday, 11/12/2009 Oliver Kullmann Computer Science Department Swansea University Swansea, SA2 8PP, UK e-mail: O.Kullmann@Swansea.ac.uk http://cs.swan.ac.uk/~csoliver December 11, 2009 Lecture held on


  1. CS M41 Programming in Java Week 11, Friday, 11/12/2009 Oliver Kullmann Computer Science Department Swansea University Swansea, SA2 8PP, UK e-mail: O.Kullmann@Swansea.ac.uk http://cs.swan.ac.uk/~csoliver December 11, 2009 Lecture held on Friday, November 11, 2009, in the Faraday Building, Robert Recorde Room, from 11:00 - 12:00. I Revision lecture (examination preparation) CS M41 c � OK 2009/10

  2. Introduction into Programming Michaelmas Term 2009/10, Tb One, Week 11 How to use the revision lecture • The purpose of this lecture (and the slides) is to emphasise the main topics of this course, and to help you structuring your revision of the module over the Christmas break. • Hopefully, when revising the lectures, the courseworks and the lab exercises, you will have many “aha!”-experiences, where things become clear. • Sure, exam marks exist, but please don’t forget that the main purpose of studying is to learn. CS M41 c � OK 2009/10 1

  3. Introduction into Programming Michaelmas Term 2009/10, Tb One, Week 11 Lectures and the book Simply go through all lectures, and through the first 3 chapters of the book. • It would be great if you could consider all the things in the book we didn’t cover. • Obviously, the additional examples won’t show up in the exam, but they will help you. • Perhaps for the three case studies (at the ends of the first three chapters) there is not enough time now — perhaps over the summer you consider one of them, to refresh programming, and learn something about the three themes considered. CS M41 c � OK 2009/10 2

  4. Introduction into Programming Michaelmas Term 2009/10, Tb One, Week 11 The lab sessions • Programming is, especially in the beginning, mainly doing . • So going through all lab exercises is a good exercise. • Likely you didn’t do all of them. • If you actually did, now reworking them with your enhanced understanding will further deepen your understanding. • Finally, the book and the book’s webpage contain a wealth of additional exercises. At the end of next week, answers will be provided for all lab exercises. CS M41 c � OK 2009/10 3

  5. Introduction into Programming Michaelmas Term 2009/10, Tb One, Week 11 On the exam in general • Three question, where you choose and answer two of them. • Spend one hour for each of them — don’t overrun! • Give yourself enough space. • Don’t get stuck. CS M41 c � OK 2009/10 4

  6. Introduction into Programming Michaelmas Term 2009/10, Tb One, Week 11 Typical parts of possible exam questions Specific programming questions: 1. Write a function which takes two integer parameters and returns their minimum. 2. Explain how to define a function in general. General questions on how to do (good) programming: 1. Discuss which members of a class should be private and which public. Give some examples. 2. Explain the notion of a “data type”, and give some examples. CS M41 c � OK 2009/10 5

  7. Introduction into Programming Michaelmas Term 2009/10, Tb One, Week 11 General themes • variables • loops • conditionals • arrays • build-in data types • functions (static and non-static ones) • overloading • local variables, instance variables, and static variables • classes • programs and the main-function • command-line arguments, and standard input and output • modules • constructors • creating objects • equality • data types • private and public members of a class CS M41 c � OK 2009/10 6

  8. Introduction into Programming Michaelmas Term 2009/10, Tb One, Week 11 Final remarks on the exam Be as elaborate as possible (give me a chance to give you some marks(!)). Study the courseworks (and the solutions) well. Good luck! (Even better, if you don’t need it.) Merry Christmas and a Happy New Year! The End. CS M41 c � OK 2009/10 7

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend