Comp1202: Conclusions Revision Session.

Slides:



Advertisements
Similar presentations
CS 177 Recitation Week 8 – Methods. Questions? Announcements  Project 3 milestone due next Thursday 10/22 9pm  Turn in with: turnin –c cs177=xxxx –p.
Advertisements

COMP 110 Introduction to Programming Jingdan Zhang June 20, 2007 MTWRF 9:45-11:15 am Sitterson Hall 014.
Slide 1. Slide 2 Administrivia Nate's office hours are Wed, 2-4, in 329 Soda! TA Clint will be handing out a paper survey in class sometime this week.
1 C++ for beginners Lecture 0 © 2008 Richèl Bilderbeek.
Object-Oriented Programming Dr. Napoleon H. Reyes, Ph.D. Computer Science Institute of Information and Mathematical Sciences Rm QA, IIMS, Albany.
Comp1004: Introduction I Welcome!. Welcome to Programming Principles Dr. David Millard Dr. Julian Rathke Dr.
Dr. Ken Hoganson, © August 2014 Programming in R STAT8030 Programming in R COURSE NOTES 1: Hoganson Programming Languages.
Peter Andreae Computer Science Victoria University of Wellington Copyright: Peter Andreae, Victoria University of Wellington Summary and Exam COMP 102.
Instructor: Tina Tian. About me Office: RLC 203A Office Hours: Wednesday 1:30 - 4:30 PM or .
Object Oriented Programming Elhanan Borenstein copyrights © Elhanan Borenstein.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Guided Notes Ch. 9 ADT and Modules Ch. 10 Object-Oriented Programming PHP support for OOP and Assignment 4 Term project proposal C++ and Java Designer.
Session 4: PREPARE FOR TESTS Year 7 Life Skills Student Wall Planner and Study Guide.
Fundamental Programming: Fundamental Programming K.Chinnasarn, Ph.D.
Programming in Java Dr. M. Ahmadzadeh. Course Outline (subject to tiny changes) I will cover the following but not necessarily in this order. –Strings.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
June 19, Liang-Jun Zhang MTWRF 9:45-11:15 am Sitterson Hall 011 Comp 110 Introduction to Programming.
Spring 2008 Mark Fontenot CSE 1341 – Honors Principles of Computer Science I Note Set 1 1.
A High Flying Overview CS139 – Fall 2010 How far we have come.
Comp1202: Conclusions Revision Session. Coming up Key Concepts - The Pillars HashMaps Exceptions The Exam Some Last Words.
BIT116: Scripting Lecture 05
UMBC CMSC 104 – Section 01, Fall 2016
CSC207 Fall 2016.
INTERMEDIATE PROGRAMMING WITH JAVA
CSc 1302 Principles of Computer Science II
Exam 3 Information George Koutsogiannakis
CSc 020: Programming Concepts and Methodology II
Lecture 1 Introduction Richard Gesick.
CSE 332 Overview and Structure
Single Sample Registration
Eclipse Navigation & Usage.
CMSC202 Computer Science II for Majors Lecture 08 – Overloaded Constructors Dr. Katherine Gibson Based on slides by Chris Marron at UMBC.
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP) & CONCEPTS
CompSci 230 Software Construction
Using MyMathLab Features
C++ History C++ was designed at AT&T Bell Labs by Bjarne Stroustrup in the early 80's Based on the ‘C’ programming language C++ language standardised in.
CSE 332 Overview and Structure
CS Programming I Jim Williams, PhD.
Session 8 Exam techniques
CSE 341: Programming Languages Section 1
CS139 – Fall 2010 How far we have come
Cache Memories September 30, 2008
CSE 332 Overview and Structure
CS 1302 Programming Principles II
EECE 310 Software Engineering
Quiz 2 Information George Koutsogiannakis
Comp1202: Introduction III
Coding Concepts (Basics)
Java Programming Course
Unit 3 Test: Friday.
Polymorphism Professor Hugh C. Lauer CS-2303, System Programming Concepts (Slides include materials from The C Programming Language, 2nd edition, by Kernighan.
CS139 October 11, 2004.
Test Next Week Summer 3, 2016 Midterm Exam
Comp1202: Introduction I Welcome!.
CS 2530 Intermediate Computing Dr. Schafer
Tonga Institute of Higher Education IT 141: Information Systems
Midterm Review CSE116A,B.
Tonga Institute of Higher Education IT 141: Information Systems
Review of Previous Lesson
Introduction to Computer Science I.
EECE.2160 ECE Application Programming
Understanding Standards Biology (Advanced Higher)
Lecture 1 Introduction to Software Construction
Lecture 3 More on Flow Control, More on Functions,
Software Development Techniques
CSE 303 Concepts and Tools for Software Development
Week 1 - Friday COMP 1600.
Agenda for Unit 3: Functions
Introduction to Computer Science and Object-Oriented Programming
Presentation transcript:

Comp1202: Conclusions Revision Session

Coming up Key Concepts The Exam Feedback Some Last Words The Pillars Revising Onwards to Programming 2 The Exam Topics Feedback Some Last Words

Coming up Key Concepts The Exam Feedback Some Last Words The Pillars Revising Onwards to Programming 2 The Exam Topics Feedback Some Last Words This is our last session! No lecture or ground controllers tomorrow No labs on Wednesday Space Cadets look out for an announcement from Nawful

The Three Pillars of OOP Encapsulation Inheritance Polymorphism

Revising Remember the online resources Go back over the labs Videos + Powerpoints Go back over the labs Check out other online exercises Codingbat.com Example Questions Online Accessed via the wiki Past Papers are for a different type of exam

Programming 2 Graphical User Interface Programming Control Flow and the Java Virtual Machine Exceptions Recursion Multi-threading Storage and Files in Java Validation and Verification (Testing Strategies) The C programming language Patterns Dr. Seb Stein

Exam

Why Do it This Way? The Labs and Coursework test your practical skills The exam is designed to test your intellectual skills It is worth 40% of your overall mark

Rubric You can go backwards and forwards Only hit submit at the end! as much as you like Only hit submit at the end!

Time You have 2.5 hours Experience shows that in MCQ exams there is a big difference in completion times Don’t be put off if people seem to leave early! Don’t worry if it takes you to the end of the time

Choose the best answer Most questions are multiple choice You choose the best answer out of the selection Which of the following is the most accurate statement. Java programmers indent lines in their code because… [1 mark]: It helps an IDE run the debug process It makes the code easier to read The compiler requires statements within control sequences to be indented The compiler uses whitespace, including tabs, to help identify statements It makes it easier to cut and paste sections of code

No negative marks Some questions are multiple response. There are no negative marks! When overloading a method which of the following statements are the most accurate (select up to two answers) [2 marks]: The methods must be next to one another in the class The methods should have similar functionality The methods should not call one another The methods cannot have the same name The methods cannot have the same return type The methods cannot have the same number of parameters The methods cannot use the same types of parameters The methods cannot have the same number and type of parameters

Selection Questions Some questions will require you to select from a list. Consider the following code [4 marks]: 1 void sumArray(int[] values) { 2 int total = 0; 3 foreach(int entry : values) { 4 total += entry; 5 } 6 return total; 7 } sumArray on line 1 is an example of values on line 1 is an example of total on line 2 is an example of int on line 3 is an example of Options: Class Local variable Member variable Method Primitive Type Parameter Argument

Split Questions Some questions will repeat a previous stimulus. There are no trick questions. Consider the following code [1 mark]: 1 void sumArray(int[] values) { 2 int total = 0; 3 foreach(int entry : values) { 4 total += entry; 5 } 6 return total; 7 } Assuming an int array containing {1,2,3,4,5} is passed in, what will be the outcome? The code will return 5 The code will return 0 The code will return 15 The code will not compile The code will cause a runtime error

Some advice The exam is designed so that you can start at the beginning. There is no need to read all of the questions before you begin, although you may want to have a quick scan ahead. You can navigate backwards and forwards and change your answers at any point before hitting submit. You can use paper for workings if needed, but no other books, notes or revision aids Turn up on time If you finish early. Do the exam again.

What Topics to Revise?

How was it for you? An online questionnaire (now live) will allow you to give anonymous feedback We read and take notice of what you say! Please be specific where you can But are their any comments you want to make now on: Lectures Online videos Courseworks Labs Space cadets or ground controllers Dojo What the best and worst things about the course?

Some Last Words

Advice: On Mistakes “Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live.” – Rick Osborne

Advice: On Mistakes “Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live.” – Rick Osborne “A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila.” – Mitch Ratcliffe

Advice: On Java “There are only two kinds of languages: the ones people complain about and the ones nobody uses” — Bjarne Stroustrup

Advice: On Java “There are only two kinds of languages: the ones people complain about and the ones nobody uses” — Bjarne Stroustrup “C++: an octopus made by nailing extra legs onto a dog.” - Steve Taylor

Advice: On Java “There are only two kinds of languages: the ones people complain about and the ones nobody uses” — Bjarne Stroustrup “C++: an octopus made by nailing extra legs onto a dog.” - Steve Taylor “C++ is history repeated as tragedy. Java is history repeated as farce.” – Scott McKay

Advice: On Java http://harmful.cat-v.org/software/java

Advice: On Context “It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require them to write a DestroyCity procedure, to which Baghdad could be given as a parameter.” Nathaniel Borenstein

A Dirty Secret No matter how we teach you will mainly learn through practice! Programming is the single most important skill for a computing professional Systematic thinking and problem solving Abstraction and data modeling Did we mention that you need to practice?

Advice: On Context “It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Nathaniel Borenstein

Advice: On Context “It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require them to write a DestroyCity procedure, to which Baghdad could be given as a parameter.” Nathaniel Borenstein

PRACTICE! “I've often thought that sucking less every year is how humble programmers improve. You should be unhappy with code you wrote a year ago.” - Jeff Atwood, http://www.codinghorror.com/ “I have no talent. What I do have is a lot of practice. And I am not talking about occasionally dabbling in Ruby on the weekends. I am talking about the kind of practice where I beat code that isn’t working into submission (though often times the code wins).” - John Nunemaker, http://railstips.org/

Best of Luck and Have Fun!