Download presentation
Presentation is loading. Please wait.
Published byMadlyn Davidson Modified over 8 years ago
1
Introduction to Computer Science - Python CSc 2010 Spring 2011 Marco Valero
2
Overview What is Computer Science Programming Languages Python
3
“Computer science is no more about computers than astronomy is about telescopes” – Edsger W. Dijkstra
4
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
5
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
6
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
7
More examples washHair: ▫Wet hair ▫Take shampoo and squirt into hand ▫Lather hair with shampoo ▫Rinse hair ▫repeat
8
Programming Languages Machine and assembly Level Higher level ▫Imperative, object oriented ▫Declarative, functional Implementation ▫Compiled ▫Interpreted ▫Hybrid
9
Python High level, object oriented, imperative language Hybrid implementation, CPython Similar functionality / Code organized into modules ▫Myro module
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.