revising cs m41
play

Revising CS-M41 The exam How to prepare for the exam Topics - PowerPoint PPT Presentation

Revising CS-M41 How to prepare for the exam Oliver Kullmann Generalities Revising CS-M41 The exam How to prepare for the exam Topics Oliver Kullmann Computer Science Department Swansea University Robert Recorde Room Swansea, December


  1. Revising CS-M41 How to prepare for the exam Oliver Kullmann Generalities Revising CS-M41 The exam How to prepare for the exam Topics Oliver Kullmann Computer Science Department Swansea University Robert Recorde Room Swansea, December 12, 2010

  2. Revising CS-M41 How to use the revision lecture How to prepare for the exam Oliver Kullmann Generalities The exam The purpose of this lecture (and the slides) is to Topics 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.

  3. Revising CS-M41 Lectures and the book How to prepare for the exam Oliver Kullmann Generalities Simply go through all lectures, and through the first 3 The exam chapters of the book. Topics 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.

  4. Revising CS-M41 The lab sessions How to prepare for the exam Oliver Kullmann Generalities Programming is, especially in the beginning, mainly The exam doing . Topics So going through all lab exercises (in the support and in the exercise lab classes) 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.

  5. Revising CS-M41 On the exam in general How to prepare for the exam Oliver Kullmann Generalities The exam Topics 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.

  6. Revising CS-M41 Typical parts of possible exam questions I How to prepare for the exam Oliver Kullmann Generalities The exam Specific programming questions: Topics Write a function which takes two integer parameters 1 and returns their minimum. Compute the sum of N numbers. 2 Writing either isolated functions, or complete 3 programs. Using arrays and strings. 4

  7. Revising CS-M41 Typical parts of possible exam questions II How to prepare for the exam Oliver Kullmann General programming questions: Generalities The exam Explain how to define a function in general. 1 Topics Explain what is a “Java program”. 2 Equality issues. 3 Differentiate between static and non-static functions. 4 Understanding variables in their various guises 5 (function parameters, local variables, static variables, instance variables). Technical effects of private -declarations. 6 Explain constructors. 7 Explain new . 8

  8. Revising CS-M41 Typical parts of possible exam questions III How to prepare for the exam Oliver Kullmann Generalities The exam Topics General questions on how to do (good) programming: Discuss which members of a class should be private 1 and which public. Give some examples. Explain the notion of a “data type”, and give some 2 examples. Reflect on “pointers” in Java. 3

  9. Revising CS-M41 Basic topics How to prepare for the exam Oliver Kullmann Generalities variables The exam build-in data types Topics expressions conditionals loops arrays programs and the main-function local variables command-line arguments standard input and output

  10. Revising CS-M41 Intermediate topics How to prepare for the exam Oliver Kullmann Generalities The exam Topics static functions function parameters overloading modules data types

  11. Revising CS-M41 Higher topics How to prepare for the exam Oliver Kullmann Generalities classes The exam Topics static variables instance variables non-static functions (methods) constructors creating objects equality private and public members of a class data types

  12. Revising CS-M41 Final remarks on the exam How to prepare for the exam Oliver Kullmann Generalities The exam Be as elaborate as possible Topics (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.

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