Interfaces and APIs CSSE 221 Fundamentals of Software Development - - PowerPoint PPT Presentation

interfaces and apis
SMART_READER_LITE
LIVE PREVIEW

Interfaces and APIs CSSE 221 Fundamentals of Software Development - - PowerPoint PPT Presentation

Interfaces and APIs CSSE 221 Fundamentals of Software Development Honors Rose-Hulman Institute of Technology Announcements Homework 1 due now Any problems committing JavaEyes to Subversion? Tuesday is Neck Tie Tuesday Day"


slide-1
SLIDE 1

Interfaces and APIs

CSSE 221 Fundamentals of Software Development Honors Rose-Hulman Institute of Technology

slide-2
SLIDE 2

Announcements

  • Homework 1 due now
  • Any problems committing JavaEyes to

Subversion?

  • Tuesday is ”Neck Tie Tuesday Day"
  • Roll call: for pronunciation
  • Last class: Eclipse and SVN
  • Any questions?

– Course mechanics? Syllabus? Moodle? Piazza? – Homework?

slide-3
SLIDE 3

Student-led research and presentation: Capsules

  • Opportunity for Honors students

– Deeper understanding

  • Three total per student:

– Weeks 2-3: Research, summarize, and create a short quiz and answer key – Weeks 4-6: & create a demo & activity – Weeks 7-8: & present it to your classmates

slide-4
SLIDE 4

Capsule topics

  • We will work in teams of 3 or 4.
  • Choose ones you want to learn most about.

Research & Summary

n Inheritance n Polymorphism n 1D and 2DArrays and

ArrayLists

n GUI using Swing n EventListeners n Shape classes

+ Demo & Activity

n Lists & Iterators n Stacks & Queues n Sets & Maps n Recursion n File IO n Threads

+ Presentation

n Insertion and

Selection Sorts

n Advanced GUIs n MergeSort n Animation n Searching

algorithms

n Function objects

and Comparators

slide-5
SLIDE 5

This week: BigRational assignment

  • Today

– API (Application Programming Interface) – Interfaces: writing to a contract

  • Wednesday

– Unit Testing: searching for logic errors – Introduction to efficiency analysis: “big-Oh”

  • Friday

– Exceptions: throwing and catching

slide-6
SLIDE 6

Two views of interfaces

  • 1. As a user

– Application Programming Interface (API)

  • 2. As an implementer

– Obligation to implement certain methods

A contract Interface = Method signatures Doesn't include fields

slide-7
SLIDE 7

Onto the assignment

  • See Homework 2 and its link to

BigRational