index.php Palmyra Area High School 1.

Slides:



Advertisements
Similar presentations
Introduction to Macromedia Director 8.5 – Lingo
Advertisements

Introduction to Programming using Matlab Session 2 P DuffourJan 2008.
Programming for GCSE Topic 3.1: If Statements in Python T eaching L ondon C omputing William Marsh School of Electronic Engineering and Computer Science.
Franklin Township Elementary School Career Day: Computer Science
Making Decisions in Python Sec 9-10 Web Design. Objectives The student will: Understand how to make a decision in Python Understand the structure of an.
PIIT Computer Science Summer Camp - Alice July 10, 2012 Brenda Parker Computer Science Department MTSU.
CHAPTER 5: Repetition Control Structure. Objectives  To develop algorithms that use DOWHILE and REPEAT.. UNTIL structures  Introduce a pseudocode for.
Top-Down Design CSC 161: The Art of Programming Prof. Henry Kautz 9/16/2009.
Intro to Programming Algebra-Geometry. Computer Programming? What is programming? The process of writing, testing, and maintaining the source code of.
Programming Logic and Design Fourth Edition, Introductory
CS001 Introduction to Programming Day 3 Sujana Jyothi
Program Design and Development
1 Chapter 4 The Fundamentals of VBA, Macros, and Command Bars.
Chapter 8: Introduction to High-level Language Programming Invitation to Computer Science, C++ Version, Third Edition.
Introduction to a Programming Environment
Understanding the Mainline Logical Flow Through a Program (continued)
Pseudocode.
Chapter 1 Program Design
Chapter 8: Introduction to High-Level Language Programming Invitation to Computer Science, C++ Version, Fourth Edition.
Pseudocode.
INTRODUCTION TO SCRATCH. About Me Resources Scratch Website Learn Scratch Washington-Lee Computer.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
Python quick start guide
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
V Avon High School Tech Club Agenda Old Business –Delete Files New Business –Week 16 Topics: Intro to HTML/CSS –Questions? Tech Club Forums.
CC0002NI – Computer Programming Computer Programming Er. Saroj Sharan Regmi Week 7.
Simple Program Design Third Edition A Step-by-Step Approach
Introduction to Python
General Computer Science for Engineers CISC 106 Lecture 02 Dr. John Cavazos Computer and Information Sciences 09/03/2010.
Flow of Control. 2 Control Structures Control structure: An instruction that determines the order in which other instructions in a program are executed.
Programming & Scratch. Programming Learning to program is ultimately about learning to think logically and to approach problems methodically. The building.
PYTHON: PART 2 Catherine and Annie. VARIABLES  That last program was a little simple. You probably want something a little more challenging.  Let’s.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 11 Conditional.
Summer Computing Workshop. Introduction  Boolean Expressions – In programming, a Boolean expression is an expression that is either true or false. In.
Games Development 2 Concurrent Programming CO3301 Week 9.
Pseudocode. Simple Program Design, Fourth Edition Chapter 2 2 Objectives In this chapter you will be able to: Introduce common words, keywords, and meaningful.
Pseudocode Simple Program Design Third Edition A Step-by-Step Approach 2.
Variables When programming it is often necessary to store a value for use later on in the program. A variable is a label given to a location in memory.
Introduction to Programming G50PRO University of Nottingham Unit 2 : Introduction To Scratch Paul Tennent
Conditional Expression One of the most useful tools for processing information in an event procedure is a conditional expression. A conditional expression.
Algorithms Writing instructions in the order they should execute.
Software Development. Software Development Loop Design  Programmers need a solid foundation before they start coding anything  Understand the task.
CENTRAL PROCESSING UNIT. CPU Does the actual processing in the computer. A single chip called a microprocessor. Composed of an arithmetic and logic unit.
Introduction to Python Dr. José M. Reyes Álamo. 2 Three Rules of Programming Rule 1: Think before you program Rule 2: A program is a human-readable set.
Variables and Expressions CMSC 201. Today we start Python! Two ways to use python: You can write a program, as a series of instructions in a file, and.
More Python!. Lists, Variables with more than one value Variables can point to more than one value at a time. The simplest way to do this is with a List.
Scratch Creative Computing. INTRODUCTION TO SCRATCH Section 1.
Repetition Intro to Computer Science CS1510 Dr. Sarah Diesburg.
Today's Ninja Challenge: Write Your First Computer Game!
Flow Control in Imperative Languages. Activity 1 What does the word: ‘Imperative’ mean? 5mins …having CONTROL and ORDER!
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
Getting Started With Scratch Brendan Routledge
Instructor: Chris Trenkov Hands-on Course Python for Absolute Beginners (Spring 2015) Class #003 (February 14, 2015)
Software Development.
Programming & Scratch.
Lesson 1 An Introduction
IF statements.
CS190/295 Programming in Python for Life Sciences: Lecture 1
Lesson 4: Controlling Memory with Variables
Scratch: selection / branching/ if / If…else / compound conditionals / error trapping by Mr. Clausen.
Lesson 15: Processing Arrays
Design and Implementation
Intro to Computer Science CS1510 Dr. Sarah Diesburg
Computer Science Core Concepts
Franklin Township Elementary School Career Day: Computer Science
ICT Gaming Lesson 3.
Understand the interaction between computer hardware and software
Flow of Control.
Introduction to Python
Problem Solving and Computer Programming
Presentation transcript:

index.php Palmyra Area High School 1

Why Teach Programming? Some folks believe that every student should learn to program – Computational thinking is an essential capability for just about everyone. – Programming is an incredibly useful skill: fields from anthropology to zoology students who code will have an advantage over those who can’t. – It is predicted that 71 percent of all new jobs in STEM fields during the next decade will be in computer science. 2

What I Find True About Coding It teaches students about logic and patterns Empowers some, frustrates others It takes some time to really develop this beyond simplicity Scratch is written for simplicity but can become as complex as needed 3

The ability to talk to a computer in a language it can understand The computer will read your programming code and execute your instructions The code must be correct and unambiguous 4

5

6

Why do we have programming languages? A way of thinking A way of effectively expressing instructions What is a language for? Tell the hardware what you want it to do Not necessary to make physical hardware changes 7

Programming in Scratch Visual based programing Commands are in the form of pieces Pieces are then linked together sort of like Legos Simplifies programming less intensive on learning the language and more on the application Based off of Python Should be used to introduce the idea of coding elementary & middle school HS should move into actual programming languages –but we are not there yet! It can be used to develop apps for Android OS 8

Statements Boolean Expression Conditions Loops Variables Threads Events Sprite 9

2D image or animation Costume 1 Costume 2 Costume 3 Costume 4 Animated Sprite 10

Tell the computer what to do It is an instruction to follow SCRATCH EXAMPLE: 11

An expression that is either TRUE or FALSE SCRATCH EXAMPLE: With Boolean expressions we can create conditions! PYTHON Boolean = bool(input( “Enter a Boolean Value: “)) 12

TRUE Must be TRUE to occur If, When & Until are condition labels SCRATCH EXAMPLE: If Construct 13

If- Else Construct PYTHON Value = input (“Press a Key”) If value == SPACE: Print “Hello!” Else: Print “Goodbye!” 14

A loop executes multiple statements SCRATCH EXAMPLE: 15

A changeable value recorded in memory Used whenever a value must be stored SCRATCH EXAMPLE: 16

A mini-program within a program You can have multiple threads in your program SCRATCH EXAMPLE: It is helpful to use separate threads for conceptually distinct tasks 17

Threads and sprites can communicate through the use of EVENTS SCRATCH EXAMPLE: 18

Today’s Assignments Interactive Virtual Card If time create a video game – Probably not, but maybe a simple game! 19