CS 100Lecture 231 Announcements Check your grades on the door of 5141 Upson More review tomorrow Review session Sunday night w/Alan FINAL EXAM: Tuesday.

Slides:



Advertisements
Similar presentations
Written by: Dr. JJ Shepherd
Advertisements

CS 211 Inheritance AAA.
Lecture 3 Feb 4 summary of last week’s topics and review questions (handout) Today’s goals: Chapter 1 overview (sections 1.4 to 1.6) c++ classes constructors,
George Blank University Lecturer. CS 602 Java and the Web Object Oriented Software Development Using Java Chapter 4.
Introduction to Computers and Programming Midterm Review Sana Odeh.
Lecture 3: Topics If-then-else Operator precedence While loops Static methods Recursion.
COMP171 Data Structure & Algorithm Tutorial 1 TA: M.Y.Chan.
Cse321, Programming Languages and Compilers 1 6/12/2015 Lecture #17, March 12, 2007 Procedure Abstraction, Name Spaces, Scoping Rules, Activation Records,
Course Introduction CS 1037 Fundamentals of Computer Science II.
Recommendation: Play the game and attempt to answer the questions yourself without looking at the answers. You’ll learn much less if you just look at the.
CS 536 Spring Code Generation II Lecture 21.
CS180 RECURSION March 28,2008. Announcements Project 7 : Recursive Expression Evaluators Milestone Due : 4/2/2008 Project Due : 4/9/2008 Exam 2 to be.
CS102--Object Oriented Programming Review 1: Chapter 1 – Chapter 7 Copyright © 2008 Xiaoyan Li.
Cmp Sci 187: Midterm Review Based on Lecture Notes.
COMP1170 Midterm Preparation (March 17 th 2009) Acknowledgment The notes are adapted from those provided by Deitel & Associates, Inc. and Pearson Education.
CS 106 Introduction to Computer Science I 10 / 16 / 2006 Instructor: Michael Eckmann.
Lecture From Chapter 6 & /8/10 1 Method of Classes.
CS 1110 Final Exam: Review Session 2 Part 1 : Inheriting classes 1. Inheritance Facts 2. Constructors in Subclasses BREAK : 10 sec. Part 2 : Working with.
C FAQ’S Collected from the students who attended technical round in TCS recruitment.
Principles of Computer Programming (using Java) Review Haidong Xue Summer 2011, at GSU.
Programming Languages and Paradigms Object-Oriented Programming.
CISC6795: Spring Object-Oriented Programming: Polymorphism.
Operator Precedence First the contents of all parentheses are evaluated beginning with the innermost set of parenthesis. Second all multiplications, divisions,
CS125 Exam Review Winter Some Exam Info Tuesday (22nd) at 4:00-6:30pm in the PAC CHECK YOUR SEAT!!! Read Final Exam Information on website –Practice.
Algorithm Programming Bar-Ilan University תשס"ח by Moshe Fresko.
1 Biggest issue!!! You can’t do questions on this topic correctly unless you draw variables, draw objects when they are created, and draw frames for method.
Basic Java Syntax CSE301 University of Sunderland Harry R Erwin, PhD.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
CS1101: Programming Methodology Aaron Tan.
APCS Java AB 2004 Review of CS1 and CS2 Review for AP test #1 Sources: 2003 Workshop notes from Chris Nevison (Colgate University) AP Study Guide to go.
COSC1030 DATA STRUCTURES IN JAVA. Important Notes Final drop date – July 13 Web site is our information center Check web site before raising questions.
1 Java: AP Curriculum Focus and Java Subset Alyce Brady.
Question of the Day  On a game show you’re given the choice of three doors: Behind one door is a car; behind the others, goats. After you pick a door,
CS 112 Department of Computer Science George Mason University CS 112 Department of Computer Science George Mason University Final Review Lecture 14.
1 CS Programming Languages Class 15 October 17, 2000.
Java™ How to Program, 9/e Presented by: Dr. José M. Reyes Álamo © Copyright by Pearson Education, Inc. All Rights Reserved.
More on Hierarchies 1. When an object of a subclass is instantiated, is memory allocated for only the data members of the subclass or also for the members.
CS 100Lecture 131 Announcements Exam stats P3 due on Thursday.
Exam Format  90 Total Points  60 Points Writing Programs  25 Points Tracing Code/Algorithms and determining results  5 Points Short Answer  Similar.
Types in programming languages1 What are types, and why do we need them?
Lecture 3 Classes, Structs, Enums Passing by reference and value Arrays.
CS1020 Data Structures and Algorithms I Lecture Note #14
Chapter 7: Class Inheritance F Superclasses and Subclasses F Keywords: super and this F Overriding methods F The Object Class F Modifiers: protected, final.
CS1101 Group1 Discussion 10 Lek Hsiang Hui comp.nus.edu.sg
JAVA INTRODUCTION. What is Java? 1. Java is a Pure Object – Oriented language 2. Java is developing by existing languages like C and C++. How Java Differs.
CS 106 Introduction to Computer Science I 03 / 02 / 2007 Instructor: Michael Eckmann.
Inheritance and Subclasses CS 21a. 6/28/2004 Copyright 2004, by the authors of these slides, and Ateneo de Manila University. All rights reserved L16:
Written by: Dr. JJ Shepherd
CSC 205 Java Programming II Introduction. Topics Syllabus Course goals and approach Review I Java language fundamentals.
Data Structures and Algorithms in Java AlaaEddin 2012.
A High Flying Overview CS139 – Fall 2006 How far we have come.
CS Prelim Review – 10/15/09  First prelim is TOMORROW at 7:30 PM  Review session – Tonight 7:30 PM, Phillips 101  Things you should do:  Review every.
YG - CS Concept of Encapsulation What is encapsulation? - data and functions/methods are packaged together in the class normally.
Terms and Rules II Professor Evan Korth New York University (All rights reserved)
CS 100Lecture 221 Announcements P5 due Thursday Final Exam: Tuesday August 10, 8AM - 10AM, Olin 155 Want references? Remember to drop off a picture and.
CSE 310 Object Oriented Programming Summer 2016 Suraiya Tairin.
A High Flying Overview CS139 – Fall 2010 How far we have come.
CS 100Lecture 201 Announcements P5 due Thursday Final exam: Tuesday August 10th, 8AM, Olin 155, 2 hours Tomorrow, Wednesday: C, pointers Thursday, Friday:
The Object-Oriented Thought Process Chapter 03
INTERMEDIATE PROGRAMMING WITH JAVA
CS 215 Final Review Ismail abumuhfouz Fall 2014.
Midterm Review.
Java Programming Language
CS139 – Fall 2010 How far we have come
Method of Classes Chapter 7, page 155 Lecture /4/6.
1.4 ทบทวน JAVA OO Programming Concepts Declaring and Creating Objects
1-6 Midterm Review.
Review of Previous Lesson
Review for Midterm 3.
CS 2308 Final Exam Review.
Presentation transcript:

CS 100Lecture 231 Announcements Check your grades on the door of 5141 Upson More review tomorrow Review session Sunday night w/Alan FINAL EXAM: Tuesday August 10, 8 AM (IN THE MORNING) Olin 155 Review sheet has been handed out -- you should know all the material on this sheet, but do not assume it includes everything you need to know Bring me pictures and a short note if you want a letter of reference...

CS 100Lecture 232 Review... Know the prelim! Know the material on the quizzes! Go over your assignments and make sure you understand where you made mistakes and how you’d fix them.

CS 100Lecture 233 Control structures if if/else while for

CS 100Lecture 234 Classes and subclasses What’s a class? What’s an object? What’s a class hierarchy? What’s inheritance? How does it work? What are constructors? What’s super?

CS 100Lecture 235 More on classes public vs. private fields and methods What does it mean to override a method? –Give an example What does it mean to overload a method? –Give an example

CS 100Lecture 236 Scope of variables? What’s scope? What’s the scope of a parameter? A local variable? A field of a class? public class Coordinate { public int x; public int y; public Coordinate(int xx, int yy) { x = xx; y = yy; } public void swapFields() { int tmp; tmp = x; x = y; y = tmp; }

CS 100Lecture 237 Static Static variables in a class Static methods -- give an example? Why use static variables and methods?

CS 100Lecture 238 Methods What are the infamous FOUR STEPS? What’s a frame? How/when is a frame created? Know how to draw and label a frame correctly Call-by-value Parameter passing (primitive types vs. object references) return

CS 100Lecture 239 Operators and statements The ternary operator in Java ++, --, -=, += break; continue

CS 100Lecture 2310 Arrays How to declare an array? How to initialize an array? Arrays as parameters in C? Arrays of objects

CS 100Lecture 2311 Search algorithms Binary vs. linear search Write linear search Sketch binary search

CS 100Lecture 2312 Sorting algorithms Describe each, including bubble sort Be able to read and debug search algorithms Understand the partition algorithm

CS 100Lecture 2313 Efficiency How is the efficiency of an algorithm measured? What’s linear -- O(n)? What’s logarithmic -- O(log n)? What’s the n refer to here?

CS 100Lecture 2314 Matlab What’s the fundamental data structure in Matlab? Linspace? What’s that? Know the colon/semicolon notation How do you access the row of a matrix? How do you access the column of a matrix?

CS 100Lecture 2315 More Matlab What’s the transpose of a matrix? What does f(x) do in Matlab if x is an array? What do the control structures look like in Matlab? Be able to read Matlab code and generate some yourself.

CS 100Lecture 2316 Recursion What’s recursion? Give examples of recursive algorithms Be able to write a small recursive algorithm (something like factorial, for example)

CS 100Lecture 2317 Advanced Topics What are threads? What’s the abstract modifier all about? What are interfaces? When would you use one? What are exceptions?

CS 100Lecture 2318 C What are the advantages and disadvantages of C vs. Java? What are pointers? Be able to read C code (small examples as presented in class) and understand it

CS 100Lecture 2319 Final thoughts In 1995, One of the inventors of Java, Bill Joy, said: “Java is just a small, simple, safe, object- oriented, interpreted or dynamically optimized, byte-coded, architecture-neutral, garbage-collected, multithreaded programming language with a strongly typed exception- handling mechanism for writing distributed, dynamically extensible programs.” Remember: You never finish a program, you just stop working on it... Fun book: Snow Crash by Neal Stephenson