ch01_ppt.pdf - Objectives In this chapter you will learn...

This preview shows page 1 - 3 out of 7 pages.

1 Programming Logic and Design Sixth Edition Chapter 1 An Overview of Computers and Programming Objectives In this chapter, you will learn about: Computer systems Simple program logic The steps involved in the program development cycle Pseudocode statements and flowchart symbols Using a sentinel value to end a program Programming and user environments The evolution of programming models Programming Logic & Design, Sixth Edition 2 Understanding Computer Systems Computer system Combination of all the components required to process and store data using a computer Hardware Equipment associated with a computer Software Computer instructions Tell the hardware what to do Programs Instructions written by programmers Programming Logic & Design, Sixth Edition 3 Understanding Computer Systems (continued) Programming Writing software instructions Computer hardware and software accomplish three major operations Input Data items enter computer Processing By central processing unit (CPU ) Output Programming Logic & Design, Sixth Edition 4 Understanding Computer Systems (continued) Programming language Use to write computer instructions Examples Visual Basic, C#, C++, or Java Syntax Rules governing its word usage and punctuation Computer memory Computer’s temporary, internal storage Volatile Programming Logic & Design, Sixth Edition 5 Understanding Computer Systems (continued) Permanent storage devices Nonvolatile Compiler or an interpreter Translates program code into machine language ( binary language ) Checks for syntax errors Program executes or runs Input will be accepted, some processing will occur, and results will be output Programming Logic & Design, Sixth Edition 6