01-fundamentals[1] - ENG 1D04 Fall 2010 01 Fundamentals of...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ENG 1D04 Fall 2010 01 Fundamentals of Programming Languages Dr. William M. Farmer and Dr. Spencer Smith Faculty of Engineering, McMaster University 27 September 2010 Outline 1. Administrative details. 2. Review. 3. Fundamentals of programming languages. 4. Software development process. 5. Demo. 6. Advice. 7. Work plan for next week. W. M. Farmer and S. Smith ENG 1D04 Fall 2010: 01 Fundamentals of Programming Languages 2/18 Administrative Details 1. Use only normal e-mail (not Avenue mail) to communicate with the instruction staff. 2. All Questions Answered next week during the labs. W. M. Farmer and S. Smith ENG 1D04 Fall 2010: 01 Fundamentals of Programming Languages 3/18 Review 1. What computing is. 2. Why engineers need to understand computing. 3. Why Python is the ENG 1D04 programming language. W. M. Farmer and S. Smith ENG 1D04 Fall 2010: 01 Fundamentals of Programming Languages 4/18 Values Values are the information (called data ) stored and manipulated by computer programs. Examples : I Booleans that represent the truth values true and false. I Machine integers that represent small integers. I Floating point numbers that represent rational numbers in scientific notation. I Strings that represent sequences of characters. I Lists that represent sequences of values. I Functions that represent mathematical functions. Theme 2: There are various ways that common mathematical objects and other data are represented in programming languages. W. M. Farmer and S. Smith ENG 1D04 Fall 2010: 01 Fundamentals of Programming Languages 5/18 Expressions An expression is a syntactic entity that denotes a value. Examples : I 2 + x I "abc" I a == b An atomic expression is an identifier (e.g., x or True ) or a literal (e.g., 2.3 or "cat" )....
View Full Document

This note was uploaded on 12/14/2010 for the course ENGINEERIN 1d04 taught by Professor Smith during the Spring '10 term at McMaster University.

Page1 / 18

01-fundamentals[1] - ENG 1D04 Fall 2010 01 Fundamentals of...

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