structured problem solving using
play

Structured Problem-Solving Using the Computer ITK 168 Fall, 2012 - PowerPoint PPT Presentation

Structured Problem-Solving Using the Computer ITK 168 Fall, 2012 First Questions What is this course all about? Why am I taking it? How much computer experience do I need? Why Java (and what is Java anyway)? Syllabus Assignment


  1. Structured Problem-Solving Using the Computer ITK 168 Fall, 2012

  2. First Questions • What is this course all about? • Why am I taking it? • How much computer experience do I need? • Why Java (and what is Java anyway)?

  3. Syllabus

  4. Assignment for Thursday • Read chapter 1 of your text • Prepare for an in-class quiz over the syllabus and chapter 1

  5. By Next Tuesday • Turn in completed student questionnaire • Send email to mecaliff@ilstu.edu from your preferred email address. Include your name, ITK 168, and your lecture section.

  6. Your Questions

  7. What is a computer?

  8. Parts of a Computer

  9. Parts of a Computer • CPU (Central Processing Unit) • Main Memory (often called RAM) • Secondary Storage • Input • Output

  10. Computer Memory • Sequence of addresses • Important memory terms: – bit – byte – word • Addressing the computer – What’s the difference between 32-bit and 64-bit?

  11. What can a computer do?

  12. What can a computer do? • Simple arithmetic • Move data • Compare two numbers (and move data based on the result of the comparison)

  13. How do we do cool stuff?

  14. Software • System software • Application software

  15. The Process 1. Understand the problem 2. Figure out the interface (input and output) 3. Make a plan 4. Check the plan 5. Translate the plan into Java (or other) 6. Fix compile-time errors 7. Run the program 8. Fix run-time errors 9. Make sure it works correctly

  16. Errors • Syntax or compile-time • Run-time • Logic or intent

  17. Making the Plan • Algorithms • Pseudocode – English – Formatted like computer program code

  18. Terminology • Algorithm ≠ Pseudocode • Algorithms are often written in pseudocode, but your Java program is also a representation of an algorithm. • On the other hand, when I ask you to submit an algorithm, it MUST be written in pseudocode.

  19. Precision/Detail • How precise and detailed does an algorithm have to be? • Just exactly how dumb is a computer?

  20. Writing for an Audience • When you write a computer program, you have two audiences. • What are they?

  21. Demo • Let’s look at an actual computer program in Java.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend