CSC 110 A 1 CSC 110 Introduction to Python [Reading: chapter 1]

Slides:



Advertisements
Similar presentations
What is a Computer Program? For a computer to be able to do anything (multiply, play a song, run a word processor), it must be given the instructions.
Advertisements

EC-111 Algorithms & Computing Lecture #1 Instructor: Jahan Zeb Department of Computer Engineering (DCE) College of E&ME NUST.
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
Copyright © 2002 W. A. Tucker1 Chapter 1 Lecture Notes Bill Tucker Austin Community College COSC 1315.
Chapter 5 Operating Systems. 5 The Operating System When working with multimedia, the operating system is perhaps the most important, the most complex,
Software. What Is Software? software –Also called Computer programs –Are a list of instructions –Instructions are called code –CPU performs the instructions.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Python Jordan Miller and Lauren Winkleman CS 311 Fall 2011.
1 Introduction to computers Overview l · Grading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings »Quizzes »Homework Assignments.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
 2000 Prentice Hall, Inc. All rights reserved. 1 Introduction to Computers and C Programming Outline Introduction What Is a Computer? Computer Organization.
COMP Computer Basics Yi Hong May 13, 2015.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
Introduction COMP104: Fundamentals and Methodology.
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Topics Introduction Hardware and Software How Computers Store Data
C# A 1 CSC 298 Introduction to C#. C# A 2 What to expect in this class  Background: knowledge of an object oriented language of the C++, Java, … family.
High-level Languages.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 1 Introduction to Computers and Programming.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Visual C++ Programming: Concepts and Projects
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
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.
Software Basics. Some Pioneers Charles Babbage Analytical Engine Countess Ada Lovelace First Programmer ? John Von Neumann storing instructions in memory.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
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.
J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program Design, Second Edition Second Edition D.S. Malik D.S. Malik.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
CS-303 Introduction to Programming
8 January 2016Birkbeck College, U. London1 Introduction to Programming Lecturer: Steve Maybank Department of Computer Science and Information Systems
1. COMPUTERS AND PROGRAMS Rocky K. C. Chang September 6, 2015 (Adapted from John Zelle’s slides)
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Introduction to Computer Programming using Fortran 77.
Computer Programming - Key Concepts and Terms Computer Program – A computer program is a set of instructions for computer, arranged in logical order, using.
Chapter 5 Operating Systems.
Software Development Environment
Introduction to Programming
CSC235 Computer Organization & Assembly Language
 2001 Prentice Hall, Inc. All rights reserved.
Lecture 1b- Introduction
Development Environment
Topics Introduction Hardware and Software How Computers Store Data
LESSON 1 Introduction to Programming Language
Introduction
Introduction to Programming
Introduction to Programming
Introduction to Programming
Programming COMP104: Fundamentals and Methodology Introduction.
CS190/295 Programming in Python for Life Sciences: Lecture 1
Computer Science I CSC 135.
Computers: Hardware and Software
Topics Introduction Hardware and Software How Computers Store Data
Introduction CSC 111.
Introduction to Programming
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
Introduction to Computer Science
Presentation transcript:

CSC 110 A 1 CSC 110 Introduction to Python [Reading: chapter 1]

CSC 110 A 2 What to expect in this class  Outcome: how to program in Python (algorithms, semantics/syntax, using objects, python modules, …)  Class organization:  Lectures, practice with sample code, homework assignments, tests and quizzes  class web site seattlecentral.edu/~flepeint/pyclass

CSC 110 A 3 What is a computer? (1)  Programmer's viewpoint  CPU (central processing unit): the "brain" of the computer. It can perform simple tasks very fast (e.g. adding…)  Memory: where the microprocessor stores data (results of computations,…). Memory comes in many types (RAM, ROM, …)  Input/Output devices: e.g. keyboard, screen, … They allow the user to interact with the computer.  Our goal: Make the computer perform complex tasks for us.  How: Write programs.

CSC 110 A 4 What is a computer? (2) CPU Memory Network Welcome to Python!

CSC 110 A 5 Programming  Machine language  The CPU set of instructions: coded as a series of 0's and 1's  Fast  Machine dependent (two different CPU don't use the same machine language)  Time consuming to write programs  Instead, use a high level language  Closer to plain English. Programming is easier. (this doesn't mean easy!)  Machine independent  Can't be understood by the CPU. A translation program is required (compiler, interpreter, …)

CSC 110 A 6 Programming languages  Thousands of programming languages (many are just for research purposes)  Historically (with many omissions!)  FORTRAN (scientific) (50's)  COBOL (business) (60's)  PASCAL, BASIC, C (multi purposes) (70's)  C++ (OOP) (80's), Java (90’s)  Python (90’s, started by Guido Van Rossum, community-backed development process, the catchy name is a reference to Monty Python)

CSC 110 A 7 Why are we learning Python?  A modern language  object oriented  dynamic semantics  built-in data structures  extensive libraries  available on all major platforms  A good language to learn programming

CSC 110 A 8 The present Python  Python 3.3 (2012)  Python 3: cleaned up version of Python 2  not compatible with Python 2  Software: many free products for all platforms (Unix, Mac, Windows…)  available at python.org  comes with a development environment (IDLE)  other IDE's available (e.g. PyDev in Eclipse)

CSC 110 A 9 Resources  Text: “Python Programming" by J. Zelle  x.html  Another text: “How to think like a computer scientist”  Spy.pdf  Huge amount of resources on the web  check python.org