Comp 110 designing programs
Download
1 / 12

COMP 110 Designing Programs - PowerPoint PPT Presentation


  • 74 Views
  • Uploaded on

COMP 110 Designing Programs. Tabitha Peck M.S. January 16, 2008 MWF 3-3:50 pm Philips 367. 1. Announcements. Office Hours After Class Today Come if you don’t have jGRASP working Textbook. 2. Questions?. Why 8 bits in a byte? Any other questions?. 3. Writing Algorithms in pseudocode

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'COMP 110 Designing Programs' - willow


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Comp 110 designing programs

COMP 110Designing Programs

Tabitha Peck M.S.

January 16, 2008

MWF 3-3:50 pm

Philips 367

1


Announcements
Announcements

  • Office Hours

    • After Class Today

    • Come if you don’t have jGRASP working

  • Textbook

2


Questions
Questions?

  • Why 8 bits in a byte?

  • Any other questions?

3


Today in comp 110

Writing Algorithms in pseudocode

Encapsulation, polymorphism, and inheritance

Variables, arguments, statements, and syntax

Today in COMP 110

4


Algorithm
Algorithm

  • A set of instructions for solving a problem

5


Pseudocode
Pseudocode

  • combination of code and English used to express an algorithm before writing algorithm into code

6


Vocabulary
Vocabulary

  • Variables - store a piece of data

  • Statements - instructions to the computer

  • Syntax - grammar rules for a language

  • Arguments - information methods need to carry out its action

7


Encapsulation information hiding
Encapsulation (Information Hiding)

  • packing things up, only seeing part of what is going on

8


Polymorphism
Polymorphism

  • “many forms”

  • Same instruction to mean same thing in different contexts.

9


Inheritance
Inheritance

  • way of organizing classes.

  • At each level classification becomes more specialized.

Sandwich

Bread

Sub

Salami

Meatball

PB&J

Turkey

10


Homework
Homework

  • Program 1 is on the web page

  • We will look at code in recitation that will help you


Friday
Friday

  • Recitation (bring charged laptop)

  • Lab 1

  • Programming help for Program 1

12