04-jan28

04-jan28 - Errors,Strings,andReview TabithaPeckM.S....

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

View Full Document Right Arrow Icon
COMP 110 Errors, Strings, and Review Tabitha Peck M.S. January 28, 2007 MWF 3-3:50 pm Philips 367 1
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 Project 1 Due Wednesday Lab 1 Grades Resubmit Lab2 if you want 2
Background image of page 2
Pixar: Techical challenges in the production pipeline Susan Fisher Pixar Animation Studios 12:30 pm Tuesday, January 29, 2008 Sitterson Hall 011
Background image of page 3

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

View Full DocumentRight Arrow Icon
Questions? 4
Background image of page 4
Today in COMP 110 Errors Strings Review 5
Background image of page 5

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

View Full DocumentRight Arrow Icon
Errors Syntax error - grammatical mistake in your program Run-time error - error that is detected when your program is run Logic error - the output of your program is incorrect
Background image of page 6
String Indices U N C i s G r e a t 0 1 2 3 4 5 6 7 8 9 10 11 String output = myString.substring(1, 7); 7
Background image of page 7

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

View Full DocumentRight Arrow Icon
Escape Characters System.out.println(“How do I put \“quotes\” in my string?”); \” Double quote \’ Single quote \\ Backslash \n New line \r Carriage return \t Tab 8
Background image of page 8
I/O (Input/Output) System.out.print(“this is a string”); System.out.println(“this is a string”); What is the difference?
Background image of page 9

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

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

This note was uploaded on 02/02/2009 for the course COMP 110 taught by Professor Stotts during the Spring '08 term at UNC.

Page1 / 17

04-jan28 - Errors,Strings,andReview TabithaPeckM.S....

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

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