Computer Programming for Engineers CMPSC 201C Fall 2000.

Slides:



Advertisements
Similar presentations
Syllabus Instructor: Dr. Wesam Ashour
Advertisements

BT 1005 Managing Information Lecture 2 Data Representation, Storage and Transmission.
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
Introduction to Computer Hardware and Software. Definition of a Computer “A computer is an electronic device, operating under the control of instructions.
CMSC 104, Section 301, Fall Lecture 01, 8/28/02 CMSC 104 Course Information Instructor: Dr. Li-Chuan Chen Emai: Work Phone:
1-1 Welcome to: CSC225 Introduction to Computer Organization Paul Hatalsky.
CS150 Introduction to Computer Science 1 Professor: Chadd Williams.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Introduction to Computers
CS101- Lecture 11 CS101 Fall 2004 Course Introduction Professor Douglas Moody –Monday – 12:00-1:40 – – –Web Site: websupport1.citytech.cuny.edu.
CSE1301 Computer Programming: Lecture 1 Computer Systems Overview.
Introduction to C++ Programming CS 117 Section 2 and KNET Sections Spring 2001 MWF 1:40-2:30.
1 CS150 Introduction to Computer Science 1 Professor: Chadd Williams
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
ICS 101 – Introduction to Computer Programming I Putu Danu Raharja Information & Computer Science Department CCSE - King Fahd University.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
Introduction to C++ Penn State University
Why Program? Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
BLOCK DIAGRAM OF COMPUTER
INTRODUCTION TO COMPUTER PROGRAMMING itc-314 LECTURE 01.
CS 1 •This is Computer Science 1. •Who is Professor Adams?
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
INTRODUCTION TO COMPUTING
Chapter 1: Introduction to Computers and Programming.
CPS120: Introduction to Computer Science Fall: 2002 Instructor: Paul J. Millis.
Introduction to Computers
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
1 Introduction to Computers Lect 1 Won’t tell you much you don’t know. (Misleading– the course gets more conceptual as we create webpages.) Will go into.
Introduction to the Computer System. What is a computer ? A computer is an electronic device that can accept data and instruction, process them or store.
1 Agenda Administration Background Our first C program Working environment Exercise Memory and Variables.
Computer Basics By: Nicole Hayes. Purposes of Computers Business – Track inventory. – Calculate payroll. – Maintain databases. Personal – Surf the web.
1 8/29/05CS150 Introduction to Computer Science 1 Professor: Shereen Khoja
CMPSC 16 Problem Solving with Computers I Spring 2014 Instructor: Lucas Bang Lecture 1: Introduction.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
CPS120: Introduction to Computer Science Winter 2002 Instructor: Paul J. Millis.
MIS001 A1 Computer Hardware Windows ’98 and Internet Explorer Chapter 1 Components of Your Computer.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
CEC 220 Digital Circuit Design Wednesday, January 7 CEC 220 Digital Circuit Design Slide 1 of 12.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Introduction to Computers Lecture 1.1 Doug Hogan, Penn State University CMPSC 100 – Computer Fundamentals and Applications.
Introduction To Computers
CMPT 238 Data Structures Instructor: Tina Tian. General Information Office: RLC 203A Office Hour: Tue and Fri 12:30 - 2:00PM.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Computer Science 2 What’s this course all about?
Microsoft Imagine All KU students currently enrolled in a CS class are eligible to receive Microsoft software, including Operating Systems development.
Computer Fundamentals 1
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Computer Architecture
C++ Programming: From Problem Analysis to Program Design
CMPSC 201- Spring 2017 Lecture 1 January 9, 2017.
Introduction to Computers
CS190/295 Programming in Python for Life Sciences: Lecture 1
Computer Electronic device Accepts data - input
Computer Electronic device Accepts data - input
Computer Basics Hardware and Software.
Introduction to Computers
Computer Electronic device Accepts data - input
Computer Basics Hardware and Software.
Computer Electronic device Accepts data - input
ICS103 Programming in C 1: Overview of Computers And Programming
Presentation transcript:

Computer Programming for Engineers CMPSC 201C Fall 2000

Instructor Dr. Susan Quick Office: 125 Pond Lab Phone: Office Hrs: Mon., Wed., 9:30 – 11:30 a.m. Thurs. 1:30 – 3:00 p.m. Tues. and Fri. by appointment (24 hours notice)

Teaching Assistants Susteric Nidhi Agrawal Narasimhamuthy

Instructor  Will be honest and direct with you and expect the same in return from you.  Will try to be consistent and fair to all students.

Course Objectives  Introductory course in computer programming.  Assumes no computer science background.  Solving problems of a general nature using C++.  Understand algorithms and be able to write programs of moderate complexity

Textbooks  Essential C++ for Engineers and Scientists, Jeri R. Hanly  Introduction to Matlab, Delores M. Etter and David C. Kunicky

Computer Use  Use the Visual C++ compiler on the IBM PCs in CAC Labs  Access UserID and password  At least 2 3.5” diskettes

Grades  Two midterm examinations points each  Exam 1Tuesday 9/26 at 6:30 P.M.  Exam 2Monday 11/6 at 8:15 P.M.  Final examination 250 points  Time and date will be announced by University  Homework Assignments 250 points  Recitation 100 points  Total 1000 points

Large Class ßLectures ßAttend! ßAsk questions ßMore responsibility on student ßBe courteous to neighbor ßRecitations ßAttend ßMore one to one

General Information  Lectures will not follow texts exactly  Expected to attend class  Responsible for material covered in class, announcements, assignments  Exam grades will not be individually curved!

General Information (Cont.)  Copies of handouts will be on shelves outside my office  Assignments should be done using C++ compiler on PCs in CAC labs  Some exam questions may be based on these computers

General Information (Cont.)  Assignments and files placed on Network I drive  Class web page

Questions?

What is a computer  Electronic device  Tool  Not a “magic” black box

Advantages  Fast  Reliable  Does not get tired  Does what you tell it

Disadvantages  Does what you tell it  Is only as good as the programs and data that are entered ===> GIGO  Has no intuitive skill

What can a computer do?  Simple arithmetic  Comparisons/decision making  Communication

Block diagram of a computer Input Units Output Units Arithmetic Logic Unit Control Unit Memory Primary Storage Central Processing Unit Secondary Storage

Primary Storage Unit  Read Only Memory  Random Access Memory  Basic Input/Output System

Memory Organization  Two circuit states correspond to 0 and 1.  Bit (short for binary digit) refers to a single 0 or 1. Bit patterns represent both the computer instructions and computer data.  1 byte = 8 bits  1 KB = 1024 bytes  1 MB = 1024 x 1024 = 1,048,576 bytes  Word = amount of memory that computer views as a single unit

Memory

Operating system Your Program data

Input Devices  Keyboard  Mouse  Disk(s)  Tape drives  Touch screen  etc.

Output Devices  Monitor/Cathode Ray Tube  Disks  CDs  Printers  etc.

Secondary (Auxiliary) Storage Disk Drives  Hard/fixed/internal  Floppy  CD  Removable Media

Remember  Memory (primary storage) is different from disk space (secondary storage)!

Hardware vs Software Hardware  Physical Components  Anything you can touch! Software  Anything that is not hardware  programs

Various types of software  Operating Systems  Application Software  Games  Utilities

Algorithm vs Program  Algorithm: Step-by-step process for solving a problem in a finite time.  Program: Algorithm translated into a language

Remember! ßAll programs are algorithms, but not all algorithms are programs!

Questions  ????