comp 110 designing programs
Download
Skip this Video
Download Presentation
COMP 110 Designing Programs

Loading in 2 Seconds...

play fullscreen
1 / 12

COMP 110 Designing Programs - PowerPoint PPT Presentation


  • 73 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

ad