AP Computer Science Principles

Slides:



Advertisements
Similar presentations
Introduction to Computer Programming in C
Advertisements

Georgia Department of Education. Information Technology Pathways.
Lecture 14 Go over midterm results Algorithms Efficiency More on prime numbers.
Lecture Notes 1/21/04 Program Design & Intro to Algorithms.
Introduction to Computers
Analysis of algorithms Analysis of algorithms is the branch of computer science that studies the performance of algorithms, especially their run time.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
What does C store? >>A = [1 2 3] >>B = [1 1] >>[C,D]=meshgrid(A,B) c) a) d) b)
Algorithms & Flowchart
Program Design. The design process How do you go about writing a program? –It’s like many other things in life Understand the problem to be solved Develop.
UNIT-I INTRODUCTION ANALYSIS AND DESIGN OF ALGORITHMS CHAPTER 1:
8.1 8 Algorithms Foundations of Computer Science  Cengage Learning.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
Computer Systems Architecture Edited by Original lecture by Ian Sunley Areas: Computer users Basic topics What is a computer?
Michael Emerton
1 Sections 3.1 – 3.2a Basic Syntax and Semantics Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
AP CSP: Creating Functions & Top-Down Design
The Need for Algorithms
Creativity of Algorithms & Simple JavaScript Commands
JavaScript/ App Lab Programming:
Canvas and Arrays in Apps
Computer Programming.
AP CSP: The Need for Programming Languages and Algorithms
Vocabulary Algorithm - A precise sequence of instructions for processes that can be executed by a computer Low level programming language: A programming.
Topic: Programming Languages and their Evolution + Intro to Scratch
Every Day We're PROGRAMMING
Do it now activity Last lesson we used Flowol to create a solution to a problem a computer could solve. Identify what each symbol does:
Integrating Coding into the General Education Classroom
Unit 3 Lesson 4 & 5- Programming With Simple Commands / Creating Functions Day 26.
Functions and Top-Down Design
Lesson 5-2 AP Computer Science Principles
Engineering and Debugging an App Chapter 15
Data Structures and Algorithms
Unit 3 lesson 2&3 The Need For Algorithms- Creativity in Algorithms
Creativity in Algorithms
Lesson 5-15 AP Computer Science Principles
The Need for Programming Languages
The Need for Algorithms 2 days
Vocabulary Algorithm - A precise sequence of instructions for processes that can be executed by a computer.
Computational Thinking in the Classroom
Foundations of Programming: Introduction to Programming
Programming Lab 2 Robot Basic Lessons 1 and 2
CMIS 102 Competitive Success-- snaptutorial.com
CMIS 102 Education for Service-- snaptutorial.com
CMIS 102 Teaching Effectively-- snaptutorial.com
Overview of Computers & Programming Languages
Foundations of Computer Science
Creativity in Algorithms
Introduction to pseudocode
Lesson 15: Processing Arrays
UNIT 3 CHAPTER 1 LESSON 4 Using Simple Commands.
Algorithms Key Revision Points.
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
Unit 3 lesson 2-5 The Need For Algorithms- Creativity in Algorithms – Simple Commands - Functions Day 18.
Lecture 6 Architecture Algorithm Defin ition. Algorithm 1stDefinition: Sequence of steps that can be taken to solve a problem 2ndDefinition: The step.
U3L1 The Need For Programming
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
Introduction to Algorithms
Type Topic in here! Created by Educational Technology Network
U3L2 The Need For Algorithms
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
U3L4 Using Simple Commands
Introduction to Computers
Presentation transcript:

AP Computer Science Principles 9-26-17

Algorithms The past few days we’ve been using pseudocode to write algorithms to solve puzzles What do you anticipate will be the same about those activities vs. the 'real' thing?

Computers are machines. Programming Computers are machines. So if we invent an instruction or command for a computer to execute, then it should be unambiguous how the computer will interpret or attempt to execute that instruction. At the very least we can expect that the machine’s behavior is repeatable, so we can run some tests until we understand what the computer is doing and why. So then the challenge - and fun - of programming at its core, is understanding how to use and combine those machine instructions to make the computer do what you want, or to solve a problem.

Programming To learn about programming we are going to solve problems with only a few primitive commands. You will learn how you can build up very complex computer programs from only a few simple elements.

Turtle Programming A classic method for learning programming with commands to control movement and drawing of an on-screen robot called a "turtle". The turtle hearkens back to early implementations in which children programmed a physical robot whose dome-like shape was reminiscent of a turtle.

Please log into code.Org App Lab App Lab is the programming environment we’re going to use for the rest of the course to write programs and apps. App Lab is embedded into Code Studio for many lessons and usually presents you with a series of problems to solve to learn the basic concepts. As you get better and better at coding, App Lab will show you more and more things you can do. Please log into code.Org

code.org Unit 3 - Intro to Programming Chapter 1 - Programming Languages and Algorithms Lesson 4 Activities 3, 4, & 5

Sloppy vs Efficient Anyone think they had the most efficient solution? Efficiency in programming saves us time, money and space. Why only 4 commands?

Please complete Check Your Understanding questions 6,7,&8 Homework Please complete Check Your Understanding questions 6,7,&8