cpts121-1-2 - CptS 121 Fall 09 Lecture 1-2 HK Chapter 1:...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CptS 121 L1-2 – 8/28/09 Prof. Chris Hundhausen CptS 121 Fall ‘09 Lecture 1-2 HK Chapter 1: Computer Software & The Software Development Process Lecture Outline I. Computer Software (revisited) II. Programming Languages III. Software Development Method IV. Example Application
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 CptS 121 L1-2 – 8/28/09 Prof. Chris Hundhausen The Continuum of Programming Languages
Background image of page 2
3 CptS 121 L1-2 – 8/28/09 Prof. Chris Hundhausen High-Level Programming Languages Developed for Many Application Areas Scientific programming: FORTRAN Business data processing: COBOL Artificial Intelligence: LISP, PROLOG Systems programming: C (this course) Real-time distributed systems: Ada GUIs, object-oriented programming: SmallTalk Object-oriented programming: C++, Java, C#
Background image of page 3

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

View Full DocumentRight Arrow Icon
4 CptS 121 L1-2 – 8/28/09 Prof. Chris Hundhausen High-Level languages Must Be Translated Problem: Computers can’t understand high-level programming languages Solution: They must be translated Programmer uses a text editor to write a text- based source file in a programming language Compiler translates source file - Checks to make sure that program is syntactically correct - If so, the compiler translates the program into an object file with machine language instructions
Background image of page 4
5 CptS 121 L1-2 – 8/28/09 Prof. Chris Hundhausen Object File Translated by Compiler Willll NOT Execute High-level programs often make use of software libraries containing predefined pieces of code, including Math functions Input/output functions In order to execute, object file must be linked to object files containing these predefined pieces of code A Linker program performs this operation A Loader program loads the linked program into memory so that it can be executed
Background image of page 5

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

View Full DocumentRight Arrow Icon
6 CptS 121 L1-2 – 8/28/09 Prof. Chris Hundhausen Executing Programs Results in Interactive Program In this class, programs will execute in a text-based window called a console Input data can be entered at command- line prompts Output results will be displayed in the console window In the real world, most programs have a graphical user interface GUI programming is, however, beyond the scope of this course
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 22

cpts121-1-2 - CptS 121 Fall 09 Lecture 1-2 HK Chapter 1:...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online