120 likes | 314 Views
Introduction to Programming Peter King peter.king@mun.ca www.engr.mun.ca/~peter Winter 2010. Engineering 1020. ENGI 1020: Outline. Lectures Peter King (me) IIC-2001 Mon, Wed and Fri, 1100-1150 Labs M Raju Hossain Sect 1 Tuesday, 900-1050 Sect 2 Tuesday, 1100-1250
E N D
Introduction to Programming Peter King peter.king@mun.ca www.engr.mun.ca/~peter Winter 2010 Engineering 1020
ENGI 1020: Outline • Lectures • Peter King (me) • IIC-2001 • Mon, Wed and Fri, 1100-1150 • Labs • M Raju Hossain • Sect 1 Tuesday, 900-1050 • Sect 2 Tuesday, 1100-1250 • Sect 3 Thursday, 900-1050 • EN-3029-3000
ENGI 1020: Outline • Help Centre • Wed 1400-1630 • EN-3076 • Office Hours • Thursdays 1100-1200 • Or by appointment • Location TBD • Course Website • www.engr.mun.ca/~peter/1020
ENGI 1020: Outline • Text • C++ Without Fear, Brian Overland, Prentice-Hall, ISBN 0-321-24695-0. • Notes • Online notes created by MPBL • Interactive online, as well as printable versions • Notes WILL change over the course • Supplemented with lecture notes • Will be made available on course website
ENGI 1020: Outline • Lab Assignments • Availible online • 1 pre-assignment • 8 weekly assignments • Due 0859 on Following Monday • Evaluation • Assignments (best 7) 12% • Midterm 30% • Final 58% • You must pass the final or pass the final and midterm combined. • Otherwise, assignments will not be counted and your mark will be the combination of the midterm and final in the above proportions. • The Bottom Line: You must pass the exams to pass the course.
ENGI 1020: Outline • Dates • Midterm Feb 17 • Final TBD • Winter Break Feb 22 to Feb 25 • Labs • Assignment 0 Jan 18 • Assignment 1 Jan 25 • Assignment 2 Feb 1 • Assignment 3 Feb 8 • Assignment 4 Feb 15 • Assignment 5 Mar 1 • Assignment 6 Mar 8 • Assignment 7 Mar 15 • Assignment 8 Mar 22
ENGI 1020: Introduction • Why? • All engineers today will use computers in some way • Engineers are responsible for the output produced by the programs they use • Can't blame the machine • It's likely that you will have to write some programs some time • Believe it or not • Programming skills come up in other courses
ENGI 1020: Introduction • Why? • Being able to program is a valuable job skill • Programming skills from this course can be applied to other areas • Problem solving • System approach • Fundamental ideas underpin our digital world • Your world is filled with computers and software
ENGI 1020: The Basics • The Computer * • input devices • output devices • Memory devices • volatile memory (RAM) which loses data when the power is off • non-volatile memory (disks of various kinds) which hold data when power is off. • The CPU (Central Processing Unit) • The Data Bus
ENGI 1020: The Basics • Terms • Read • Write • Data • Computers process in sequence • Instructions and data are read from memory • Data is processed by CPU • Results are written back to memory
ENGI 1020: The Basics • Programs are sets of instructions used to accomplish some task • Calculating interest • Flying airplanes • Streaming videos • Programs are stored in memory just like data • They are fetched and executed by the CPU • Or CPUs, but we won't worry about that for now
ENGI 1020: Next Time ... • Complexity • Structure • Organization • How Engineers and computers solve problems