Central Processing Unit Main Memory Monitor Disk Keyboard mouse What's a Computer? Network CPU: (stupid) brain of the computer can do very simple tasks.

Slides:



Advertisements
Similar presentations
Chapter 1 An Overview of Computers and Programming Languages.
Advertisements

ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
Overview of Programming and Problem Solving ROBERT REAVES.
CSCI 1412 Tutorial 1 Introduction to Hardware, Software Parminder Kang Home:
Changes in Technology Microsoft vs. GM Jason C. H. Chen, Ph.D. Professor of MIS Gonzaga University Spokane, WA 99258, USA Source: Profit.
Wednesday, 9/4/02, Slide #1 1 CS 106 Intro to CS 1 Wednesday, 9/4/02  Today: Introduction, course information, and basic ideas of computers and programming.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Chapter 1 Introduction to Object- Oriented Programming and Problem Solving.
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.
1 Programming & Programming Languages Overview l Machine operations and machine language. l Example of machine language. l Different types of processor.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
Programming. Software is made by programmers Computers need all kinds of software, from operating systems to applications People learn how to tell the.
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
Introduction to Programming (in C++) Introduction Jordi Cortadella, Ricard Gavaldà, Fernando Orejas Dept. of Computer Science, UPC.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
1 I.Introduction to Algorithm and Programming Algoritma dan Pemrograman – Teknik Informatika UK Petra 2009.
CS102 Introduction to Computer Programming
 2003 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Introduction to Computer Programming Computer Programming I Introduction to Aerospace Created by The North Carolina School of Science and Math.The North.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
CSC 110 A 1 CSC 110 Introduction to Python [Reading: chapter 1]
Bill Gates vs GM  If Cars Were Computers.  Bill Gates supposedly said: " If General Motors had kept up with technology like the computer industry has,
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
High level & Low level language High level programming languages are more structured, are closer to spoken language and are more intuitive than low level.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
1 Overview of Programming and Problem Solving Chapter 1.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
110-A1 Central Processing Unit Main Memory Monitor Disk Keyboard mouse What's a Computer? Network CPU: (stupid) brain of the computer can do very simple.
12/4/20151 Introduction To Computer Science Bina Ramamurthy.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Introduction to Computers Rabie A. Ramadan, PhD. 2 Class Information Website ses/2011/summer/intro/
Computer and Programming. Computer Basics: Outline Hardware and Memory Programs Programming Languages and Compilers.
How a Computer Processes Data. With today’s technology a little knowledge about what’s inside a computer can make you a more effective user and help you.
Basic Concepts – Cost, profit, profit margin, direct and indirect costs, sunk cost, learning curve theory Estimating costs – Rough Order of Magnitude,
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 2 Computer Organization.
Georgia Institute of Technology Introduction to Programming Part 1 Barb Ericson Georgia Institute of Technology Aug 2005.
Chapter 11  Getting ready to program  Hardware Model  Software Model  Programming Languages  Facts about C++  Program Development Process  The Hello-world.
Chapter 1 An Overview of Computers and Programming Languages.
Introduction to Computer Programming using Fortran 77.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Introduction to Computer Programming By: Mr. Baha Hanene Chapter 1.
Software Engineering Algorithms, Compilers, & Lifecycle.
Mike Bright From Software Safety to Licensing Software Engineers presentation to Pittsburgh Society of Professional Engineers March 2003.
Java Programming: From the Ground Up
 2001 Prentice Hall, Inc. All rights reserved.
Chapter 1 – Introduction to Computers, the Internet, and the Web
CSCI-235 Micro-Computer Applications
Lecture 1: Introduction to JAVA
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Introduction to Computers and Java
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
CS190/295 Programming in Python for Life Sciences: Lecture 1
Introduction to Programming Part 1
Computer Science I CSC 135.
Changes in Technology Microsoft vs. GM
Programming.
Tonga Institute of Higher Education IT 141: Information Systems
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
Tonga Institute of Higher Education IT 141: Information Systems
Presentation transcript:

Central Processing Unit Main Memory Monitor Disk Keyboard mouse What's a Computer? Network CPU: (stupid) brain of the computer can do very simple tasks VERY FAST add, write in memory... Goal: Perform elaborate tasks by putting together many simple tasks HOW ? 142 A-1

To solve a specific problem: weather forecast, payroll, word processing, traffic lights A-2 But A computer only understands instructions written as a series of 0’s and 1’s Need a compiler to translate our program into 0’s and 1’s High level language close (but  ) to plain English BETTER What MSVC does for us MACHINE LANGUAGE Could write as such, TIME CONSUMING... Write a program!

142 A-3 Examples of High level languages: What we will use WIDESPREAD A NECESSARY STEP TOWARDS C++, Java... BUT You will learn programming C is not the point A useful skill valid for any language Which language? FORTRAN, LISP… 50’s (scientific) COBOL… 60’s (business) BASIC, PASCAL, C… 70’s (multipurpose) C++…80’s (OOP) Java, Java++… 90’s (platform independent)

142 A-4 Clearly specify the problem Analyze the problem Find an algorithm to solve the problem Logical series of tasks Example: Managing a traffic light Long enough? Change the light Check the time How long has it been since the light has changed? Yes No Write the program (use C). DOCUMENTATION Test and Debug (correct mistakes) Maintain and Update How to write a program

142 A-5 Computers have improved dramatically Still Advancing Pentium has 7.5 millions of transistors 300 millions in 10 years Should level off (?) in 20 years Atom is the limit (insulators are a few atoms thick) A little bit of history a Cadillac would cost $ to 60 mph in 3 milliseconds Go to the moon and back on a tank of gas Could put the Cadillac in your pocket Moore’s Law: every 18 months, double the number of components on a chip... for the same price If the same had happened to cars:

142 A-6 Programming is FUN * * and sometimes frustrating Read the book Come to class Get a lot of practice on the computers And... DO NOT FALL BEHIND Rewards: plenty Open doors in Education: Engineering, Computer Science, Physics, Bio technologies... Employment: e.g. from ADOBE What to Expect? _ Education: None _ Experience: 3 years C++ _ Salary: $96,000

142 A-7 What Car makers say if cars were like computers For no reason whatsoever your car would crash twice a day. Every time they repainted the lines on the road you would have to buy a new car. Occasionally your car would die on the freeway for no reason, and you would just accept this, restart and drive on. Occasionally for no reason whatsoever, your car would lock you out and refuse to let you in until you simultaneously lifted the door handle, turned the key, and grabbed hold of the radio antenna The airbag system would say "Are you sure?" before going off.