CSIS110 - Introduction to Computer Science

Slides:



Advertisements
Similar presentations
Speed CS A109. Big speed differences Many of the techniques we’ve learned take no time at all in other applications Select a figure in Word. –It’s automatically.
Advertisements

1 RTL Example: Video Compression – Sum of Absolute Differences Video is a series of frames (e.g., 30 per second) Most frames similar to previous frame.
Student Name: Rochelle Jenkins Date: April 11 th, 2011.
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
Programming in Python Turtle Graphics Dr. Kristine Nagel Genie Yang Raquel Lawrence Dr. Kristine Nagel Genie Yang Raquel Lawrence Georgia Gwinnett College.
March 2006Taner Erig - EMU2-1 Metamorphosis of Information How is information represented and how do computers store information?
Ch 1 Intro to Graphics page 1CS 367 First Day Agenda Best course you have ever had (survey) Info Cards Name, , Nickname C / C++ experience, EOS experience.
How Images are Represented Bitmap images (Dots used to draw the image) Monochrome images 8 bit grey scale images 24 bit colour Colour lookup tables Vector.
Hexadecimal Number System
TERMS TO KNOW. Programming Language A vocabulary and set of grammatical rules for instructing a computer to perform specific tasks. Each language has.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
CS 102 Computers In Context (Multimedia)‏ 01 / 28 / 2009 Instructor: Michael Eckmann.
Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved. 1 Chapter 1 Introduction to Computer Science.
Georgia Institute of Technology Introduction to Media Computation Barb Ericson Georgia Institute of Technology May 2006.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
CS1315: Introduction to Media Computation Picture encoding and manipulation.
CS1315: Introduction to Media Computation Picture encoding and manipulation.
CS 102 Computers In Context (Multimedia)‏ 01 / 23 / 2009 Instructor: Michael Eckmann.
Media Computing Instructor Byung Kim Olsen 231 Office hours – MWF 9:00-10:00 AM or by appointment.
Introduction to Programming Peggy Batchelor.
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
Computer Science 111 Fundamentals of Programming I Introduction to Graphics.
Python programming Introduction to the JES environment and basics of Python Reading: Chapters 1, 2 from “Introduction to Computing and Programming in Python”
Logical Circuit Design Week 2,3: Fundamental Concepts in Computer Science, Binary Logic, Number Systems Mentor Hamiti, MSc Office: ,
CSC Computing with Images
CS- 375 Graphics and Human Computer Interaction Lecture 1: 12/4/1435 Fundamental Techniques in Graphics Lecturer: Kawther Abas.
Do Now: Do Not Log In. Take out your notebook and a pen. Good morning! Do Now: Do Not Log In. Take out your notebook and a pen. Good morning! Aim: Review.
CS1315: Introduction to Media Computation Picture encoding and manipulation.
Chapter 1: Introduction to Computer Science and Media Computation.
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
DATA REPRESENTATION CHAPTER DATA TYPES Different types of data (Fig. 2.1) The computer industry uses the term “MULTIMEDIA” to define information.
CSC 1010 Programming for All Lecture 2 Introduction to Python Some material based on material from Marty Stepp, Instructor, University of Washington.
A Media Computation Cookbook Manipulating Images and Sounds for Use in Alice Part 1: Image Manipulations Part 2: Changing colors in an area Part 3: Chromakey.
CS1315 Introduction to Media Computation Introduction: Why study computer science at all?!?
Data Representation. How is data stored on a computer? Registers, main memory, etc. consists of grids of transistors Transistors are in one of two states,
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Python programming Introduction to the JES environment and basics of Python.
1 Sections 5.1 – 5.2 Digital Image Processing Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Chapter 1: Introduction to Computer Science and Media Computation.
AP CSP: Pixelation – B&W/Color Images
Additive & Subtractive Digital Color
Dr. Cynthia Furse University of Utah
Image Processing Objectives To understand pixel based image processing
Binary Notation and Intro to Computer Graphics
Vocabulary byte - The technical term for 8 bits of data.
Computer Science Higher
Multimedia Summer Camp
Chapter 1: Introduction to Computer Science and Media Computation
Vocabulary byte - The technical term for 8 bits of data.
CS1315 Introduction to Media Computation
Introduction to the JES environment and basics of Python
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
LET’S LEARN ABOUT GRAPHICS!
Images Presentation Name Course Name Unit # – Lesson #.# – Lesson Name
Chapter 1: Introduction to Computer Science and Media Computation
CS1315 Introduction to Media Computation
Introduction to Media Computation
A Media Computation Cookbook
How Computers Store Data
Images Presentation Name Course Name Unit # – Lesson #.# – Lesson Name
Follow the Data Data (and information) move from place to place in computer systems and networks. As it moves it changes form frequently. This story.
CS 177 Week 3 Recitation Slides
CSIS110 - Introduction to Computer Science
Do it now activity Use the coloured pencils to complete the do it now activity. Stick in your book.
Multimedia Summer Camp
Chapter 1: Introduction to Computer Science and Media Computation
CSIS110 - Introduction to Computer Science
Presentation transcript:

CSIS110 - Introduction to Computer Science Dr. MaryAnne Egan

Agenda Disaster recovery activity Python intro Layers of CS cell phone policy… total number of check marks divide by 7 and will add to final exam.

Python Python is a popular programing language, which is designed to be easy to read. Used by many companies. Also used to make application software flexible and expendable. For example, can be used to program GIMP or Blender

A word about Jython Jython is Python Python is a language implemented in C. Jython is the same language implemented in Java. Is the pizza different if a different company makes the flour? If so, not by much.

Python The programming language we will be using is called Python http://www.python.org It’s used by companies like Google, Industrial Light & Magic, Pixar, Nextel, and others The kind of Python we’re using is called Jython It’s Java-based Python http://www.jython.org URL to look at what companies use Python is in the book.

Much of programming is about naming We name our data Data: The “numbers” we manipulate We call our names for data variables A variable is a named location in main memory whose contents can vary Naming conventions Enough words to describe what you need to describe Understandable Python names must start with a letter Case matters Don’t use Python reserve words as names Use camelCase if multiword variable name 6

Python understands commands We can name data with = This is called _____________, and it puts a value into the variable (the memory location it names) The following commands all have the same result: A = 5 B = 10 A = B / 2 A = round (4.7) 7

Do it again !!! If we have some code that we think we want to use over and over again, we create a function A function is a named algorithm (recipe) Example: to average 3 numbers: def avg (num1, num2, num3): Now we can use that function over and over by simply invoking its name and giving it 3 numbers.

Colors An image is a 2-dimensional grid of ________ A pixel is a single dot of a specific color That color has 3 components: Red (0..255) Green (0..255) Blue (0..255) Examples: R = 255, G = 0, B = 0 R = 128, G = 92, B = 192

Pixels Pixels are picture elements Each pixel object knows its color It also knows where it is in the picture When we zoom the picture to 500%, we can see individual pixels.

RGB In RGB, each color has three component colors: Amount of redness Amount of greenness Amount of blueness Each does appear as a separate dot on most devices, but our eye blends them. In most computer-based models of RGB, a single byte (8 bits) is used for each So a complete RGB color is 24 bits, 8 bits of each

Demo JES

Layers of a Computing System