{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

CS161_Topic#2

# CS161_Topic#2 - CS161 CS161 Introduction to Computer...

This preview shows pages 1–9. Sign up to view the full content.

CS161 Topic #2 1 CS161 CS161 Introduction to Introduction to Computer Science Computer Science Topic #2

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
CS161 Topic #2 2 Today in CS161 Lecture Handouts you should have Solving Problems with Computers Write a short Algorithm Assignments Walk through Program #1 -- step by step Question Session
CS161 Topic #2 3 CS161 Handouts: From the web site, make sure to look at: ( www.cs.pdx.edu/~karlaf ) Syllabus Course Outline Style Sheet C++ Style Requirements Program Cover Sheet

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
CS161 Topic #2 4 Solving Problems w/ Computers Programs are... an expression of a series of instructions that the computer must perform written in precise languages, called programming languages Programming languages... translate your ideas into specific language that the computer will understand C, C++, Java, Pascal, Visual Basic, Cobol, Fortran
CS161 Topic #2 5 Solving Problems w/ Computers The most difficult part of programming is figuring out how to design a method to solve a problem Only then do we translate this into C++! Therefore, start by writing an algorithm once you understand the problem

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
CS161 Topic #2 6 Solving Problems w/ Computers An algorithm is a sequence of step by step instructions for performing some task -- usually for computation An algorithm must... accomplish the task be clear and easy to understand define the sequence of steps needed to accomplish the task in the order specified
CS161 Topic #2 7 Algorithms It is best to ignore the details of your programming language (C++) when trying to solve a problem Instead, figure out the steps you need to go thru to solve the problem Write these steps down in English These steps are called the algorithm !

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
CS161 Topic #2 8 Algorithms
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 30

CS161_Topic#2 - CS161 CS161 Introduction to Computer...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online