Download presentation
Presentation is loading. Please wait.
1
COMP 110 Designing Programs Tabitha Peck M.S. January 16, 2008 MWF 3-3:50 pm Philips 367 1
2
Announcements Office Hours After Class Today Come if you don’t have jGRASP working Textbook 2
3
Questions? Why 8 bits in a byte? Any other questions? 3
4
Today in COMP 110 Writing Algorithms in pseudocode Encapsulation, polymorphism, and inheritance Variables, arguments, statements, and syntax 4
5
Algorithm A set of instructions for solving a problem 5
6
Pseudocode combination of code and English used to express an algorithm before writing algorithm into code 6
7
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
8
Encapsulation (Information Hiding) packing things up, only seeing part of what is going on 8
9
Polymorphism “many forms” Same instruction to mean same thing in different contexts. 9
10
Inheritance way of organizing classes. At each level classification becomes more specialized. 10 Sandwich Bread Sub PB&J Turkey Meatball Salami
11
Homework Program 1 is on the web page We will look at code in recitation that will help you
12
Friday Recitation (bring charged laptop) Lab 1 Programming help for Program 1 12
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.