Introduction to Computer Science - Python CSc 2010 Spring 2011 Marco Valero.

Slides:



Advertisements
Similar presentations
Announcements The Algorithmic Model Programming Languages Data Assignment Arithmetic.
Advertisements

CSci 107 Introduction to Computer Science Lecture 1.
Component 4: Introduction to Information and Computer Science Unit 5: Overview of Programming Languages, Including Basic Programming Concepts Lecture 1.
Chapter 1 An Overview of Computers and Programming Languages.
System Programming Mr. M. V. Nikum (B.E.I.T). Introduction What is System? System is the collection of various components Ex:- College is a system What.
Csci 107 Introduction to Computer Science. Administrativia See class webpage for –Office hours –Grading policy –Syllabus –Lab assignments –Readings.
SDP Languages and Environments. Types of Languages and Environments There are 4 main types of language that you must be able to describe at Higher level.
CS 1400 Course Reader Introduction. What is Programming? Designing an appropriate algorithm Coding that algorithm in a computer language.
Chapter 1: An Introduction to Computer Science Invitation to Computer Science, C++ Version, Third Edition.
Overview of Programming Paradigms
CMPUT101 Introduction to Computing(c) Yngvi Bjornsson1 An Introduction to Computer Science Chapter 1 Topics: The Definition of Computer Science Algorithms.
Data Structures Introduction. What is data? (Latin) Plural of datum = something given.
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
ALGORITHMS CSC 171 LECTURE 1. What is “Computer Science”? What is “Science”? What is a “Computer”? What is “Computation”?
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Third Edition.
Python Mini-Course University of Oklahoma Department of Psychology Day 1 – Lesson 2 Fundamentals of Programming Languages 4/5/09 Python Mini-Course: Day.
Introduction to Programming Lecture Number:. What is Programming Programming is to instruct the computer on what it has to do in a language that the computer.
1 Intro to Computer Science I Chapter 1 Introduction to Computation Algorithms, Processors, and Programs.
The Role of Programming Languages Chapter 1: Programming Languages: Concepts and Constructs by Ravi Sethi.
Algorithms In general algorithms is a name given to a defined set of steps used to complete a task. For example to make a cup of tea you would fill the.
Python Programming, 2/e1 Python Programming: An Introduction to Computer Science Chapter 1 Computers and Programs.
COSC 235: Programming and Problem Solving Chapter 1: The magic of Python Instructor: Dr. X 1.
Chapter 1 Introduction. Goal to learn about computers and programming to compile and run your first Java program to recognize compile-time and run-time.
PROGRAMMING. Objectives Define the term program List and explain the steps involved in developing a program.
The Algorithmic Model. What is Computer Science What is Programming Algorithms –Definition –Properties of Good Algorithms –Describing Algorithms –Examples.
Introduction to Information and Computer Science Computer Programming Lecture b This material (Comp4_Unit5b), was developed by Oregon Health and Science.
What is Computer Science? “Computer Science is no more about computers than astronomy is about telescopes.” - Edsger Dijkstra “Computer Science is no more.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
Wrapping it Up Administrative: Final Projects… Quiz Tech Demo: Nadine A Bit of CS and Programming What We Didn’t Cover… Evals Next Time: Panel Discussion.
Software Basics. Some Pioneers Charles Babbage Analytical Engine Countess Ada Lovelace First Programmer ? John Von Neumann storing instructions in memory.
Lecture 11: 10/1/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Chapter 1: An Introduction to Control Structures Introduction to Programming with C++ Fourth Edition.
Component 4: Introduction to Information and Computer Science Unit 5: Overview of Programming Languages, Including Basic Programming Concepts Lecture 2.
Computer Science 210 Computer Organization Course Introduction.
CSE:141 Introduction to Programming Faculty of Computer Science, IBA BS-I (Spring 2010) Lecture 2.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
Welcome COSC 145: Algorithmic Thinking Dr. Donald Simon
Analysis of Programming Languages (2). 2 LANGUAGE DESIGN CONSTRAINTS  Computer architecture  Technical setting  Standards  Legacy systems.
Programming Languages
Chapter 1: Introduction to Alice and Objects
Wrapping it Up Administrative: Final Projects… A Bit of CS and Programming What We Didn’t Cover… Evals Next Tuesday: Six Student Presentations Next Thursday:
Flow Control in Imperative Languages. Activity 1 What does the word: ‘Imperative’ mean? 5mins …having CONTROL and ORDER!
Programming Languages CSE 340 – Principles of Programming Languages Spring 2016 Adam Doupé Arizona State University
Software. Introduction n A computer can’t do anything without a program of instructions. n A program is a set of instructions a computer carries out.
CPS Today’s topics l Algorithms and pseudocode l Notes adapted from Marti Hearst at UC Berkeley and David Smith at Georgia Tech Upcoming ä Beginning.
Machine Language Computer languages cannot be directly interpreted by the computer – they are not in binary. All commands need to be translated into binary.
Programming Languages Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Introduction to Jeroo a small object oriented programming language.
Topic: Programming Languages and their Evolution + Intro to Scratch
Problem Identification
Computational Thinking, Problem-solving and Programming: General Principals IB Computer Science.
Algorithm and Ambiguity
Transition to Code Upsorn Praphamontripong CS 1110
Entry Ticket: High and Low Level Languages
a small object oriented programming language.
Nate Brunelle Today: Repetition, A Trip To The Moon
Programming Languages
Programming Fundamentals (750113) Ch1. Problem Solving
The Programming Process
Low Level Programming Languages
Programming Fundamentals (750113) Ch1. Problem Solving
An Introduction to Programming with C++ Fifth Edition
Programming Fundamentals (750113) Ch1. Problem Solving
Algorithms vs. Programming
Type Topic in here! Created by Educational Technology Network
CMPT 120 Lecture 2 - Introduction to Computing Science – Problem Solving, Algorithm and Programming.
Nate Brunelle Today: Pseudo-Code
The Role of Programming Languages
Algorithms vs. Programming
Introduction to Computer Science
Presentation transcript:

Introduction to Computer Science - Python CSc 2010 Spring 2011 Marco Valero

Overview What is Computer Science Programming Languages Python

“Computer science is no more about computers than astronomy is about telescopes” – Edsger W. Dijkstra

Computer Science Study of information and computation ▫What does it mean to be computable How can we describe computation ▫Algorithms How can we describe algorithms ▫Languages

Algorithms Finite set of unambiguous instructions performed in a sequence to achieve a goal makeCoffee: ▫Place filter in coffee machine ▫Scoop 4 teaspoons of coffee into filter ▫Take coffee pot and fill with 4 cups water ▫Fill coffee machine with water from pot ▫Place pot under percolator ▫Turn on

makeCoffee pt 2 makeCoffee(n): ▫Place filter in coffee machine ▫Scoop n teaspoons of coffee into filter ▫Take coffee pot and fill with n cups water ▫Fill coffee machine with water from pot ▫Place pot under percolator ▫Turn on

More examples washHair: ▫Wet hair ▫Take shampoo and squirt into hand ▫Lather hair with shampoo ▫Rinse hair ▫repeat

Programming Languages Machine and assembly Level Higher level ▫Imperative, object oriented ▫Declarative, functional Implementation ▫Compiled ▫Interpreted ▫Hybrid

Python High level, object oriented, imperative language Hybrid implementation, CPython Similar functionality / Code organized into modules ▫Myro module