review - CS 177 Week 15 Recitation Slides Review 1...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS 177 Week 15 Recitation Slides Review
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Announcements Final Exam on Sat. May 8th PHY 112 from 8-10 AM Complete your online review of your classes. Your opinion matters!!! Project 6 due … Just kidding 2
Background image of page 2
How to Study Know every detail of previous exams you have taken. If there is something you DON’T understand, look it up, Google it and ask questions! Review the slides. Recitation slides are a summary of each week’s lecture. Good to review both; they will compliment one another. Understand your labs and projects as though you had to re-program them from scratch. Re-program key parts and ** learn how to trace a program… ** Use the book to fill in any question areas. DO NOT ONLY RELY ON THE EXAMPLE FINAL!!!!! 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Remember the Good Ole’ Days Compile and run a program called Program.java: javac Program.java java Program Difference between System.out.println() and System.out.print() ? println() adds a new line at the end of the printed statement Java is case sensitive: VarName is different from varName . 4
Background image of page 4
Primitive Data Types: 5 Type Kind of values Sample Literals int Integers -5 0 900031 double Floating-point Numbers 3.14 -0.6 6.02e23 boolean Boolean values true false char Single characters ‘A’ ‘Z’ ‘&’ String Sequences of charaters “Hello World” “Goodbye”
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
From example exam: 6
Background image of page 6
Conditionals if statements use a boolean expression and execute a set of statements if the expression is true.
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/23/2012 for the course CS 177 taught by Professor Staff during the Spring '08 term at Purdue University-West Lafayette.

Page1 / 30

review - CS 177 Week 15 Recitation Slides Review 1...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online