CSE 113 - PowerPoint PPT Presentation

About This Presentation
Title:

CSE 113

Description:

If you do not have a syllabus, please come get one. ... Come down and get one. Make sure to turn in signed last page of syllabus ... – PowerPoint PPT presentation

Number of Views:50
Avg rating:3.0/5.0
Slides: 12
Provided by: cseBu
Learn more at: https://cse.buffalo.edu
Category:
Tags: cse | comedown

less

Transcript and Presenter's Notes

Title: CSE 113


1
CSE 113
  • Week 1
  • January 14 18, 2008

2
Monday
  • Syllabus
  • Course Policies

3
Wednesday Announcements
  • If you do not have a syllabus, please come get
    one.
  • If you have not signed and turned in the last
    page of the syllabus, please do so.
  • If you are having registration issues, please
    come and see me.

4
Wednesday Game Plan
  • Questions about course/policies
  • Recitation Change Form
  • Introduce themes of course

5
Wednesday
  • How does a computer work?
  • What does it really understand?
  • How do we speak to a computer?

6
Friday Announcements
  • Need syllabus? Come down and get one.
  • Make sure to turn in signed last page of syllabus
  • Lab change form fill out and return if needed
  • No class Monday

7
Friday Game Plan
  • Introduction to DrJava environment
  • Expressions
  • Statements

8
Friday
  • DrJava is broken up into three panes files,
    definitions, interactions
  • We will spend the first part of the semester
    working in the interactions pane
  • There we can type Java code and have DrJava
    evaluate it for us

9
Friday
  • Expressions are code that can be evaluated to
    produce a result
  • Arithmetic expressions
  • 3 4
  • Hit enter, and DrJava reports 7 as the result of
    evaluating that expression

10
Friday
  • Putting a at the end of an expression turns it
    into a statement
  • DrJava does not return the value that results
  • You can use a special statement,
    System.out.println(Text)
  • To print the word Text to the screen.

11
Friday
  • The types of things are very important to Java
  • Numbers that are whole numbers (integers) are
    treated differently than those with a fractional
    part (real numbers)
  • Typing in ½ gives a result that may be surprising
Write a Comment
User Comments (0)
About PowerShow.com