Programming Fundamentals. Thinking about Programming Robots are made to perform useful tasks. Each robot is designed to solve a specific problem, in a.

Slides:



Advertisements
Similar presentations
08/2012Tanya Mishra1 EASYC for VEX Cortex Llano Estacado RoboRaiders FRC Team 1817.
Advertisements

COMPUTER PROGRAMMING I Understand Problem Solving Tools to Design Programming Solutions.
3.1.3 Program Flow control_1 Understand the need for structure Breaking things down.
PSEUDOCODE & FLOW CHART
Programming TBE 540 Farah Fisher. Objectives After viewing this presentation, the learner will be able to… Given a task, create pseudocode Given pseudocode,
Chapter 1 - An Introduction to Computers and Problem Solving
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Chapter 2 - Problem Solving
Robot Programming. Programming Behaviors Behaviors describe the actions and decisions of your robot.
10-1 Programming Remember: –programming language –how to program (conceptually) –intro to programming the “ROBOT” computer In this lecture: –programming.
Leadership & Team Building
Order of Operations. Learning Goals Understand that an expression is a mathematical statement with numbers and operations. (x, +, -, ÷) Use the correct.
What is RobotC?!?! Team 2425 Hydra. Overview What is RobotC What is RobotC used for What you need to program a robot How a robot program works Framework.
CSCI-100 Introduction to Computing Algorithms Part I.
Abstraction IS 101Y/CMSC 101 Computational Thinking and Design Tuesday, September 17, 2013 Carolyn Seaman University of Maryland, Baltimore County.
GENERAL CONCEPTS OF OOPS INTRODUCTION With rapidly changing world and highly competitive and versatile nature of industry, the operations are becoming.
Simple Program Design Third Edition A Step-by-Step Approach
X = 11 X 2 = 9 X = 3 Check: X = 3 x 3 +2 = 11 We can solve this equation by:
Computer Programming TCP1224 Chapter 2 Beginning the Problem-Solving Process.
TMF1013 : Introduction To Computing Lecture 1 : Fundamental of Computer ComputerFoudamentals.
Introduction Algorithms and Conventions The design and analysis of algorithms is the core subject matter of Computer Science. Given a problem, we want.
Abstraction IS 101Y/CMSC 101 Computational Thinking and Design Tuesday, September 17, 2013 Marie desJardins University of Maryland, Baltimore County.
CS 1308 Computer Literacy and The Internet Software.
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Flowcharts.
Problem Solving using the Science of Computing MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way.
The Programming Process Define the problem* Make or buy software? Design the program * Code (write) the program Test (debug) the program Document the.
Definition of Terms Software/Programs Programs that directs the operation of a computer system Set of instructions Codes Programming Process of planning,
Cs413_design04.ppt Design and Software Development Design : to create a functional interface that has high usability Development : an organized approach.
CS221 Algorithm Basics. What is an algorithm? An algorithm is a list of instructions that transform input information into a desired output. Each instruction.
Review, Pseudocode, Flow Charting, and Storyboarding.
8-1 Compilers Compiler A program that translates a high-level language program into machine code High-level languages provide a richer set of instructions.
The Beauty and Joy of Computing Lecture #6 Algorithms I UC Berkeley EECS Sr Lecturer SOE Dan Garcia.
Robot Programming. Programming Behaviors Behaviors describe the actions and decisions of your robot.
Structured Programming (4 Credits)
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
Problem-solving with Computers. 2Outline  Computer System  5 Steps for producing a computer program  Structured program and programming  3 types of.
Expressing Algorithms as Flowcharts and Pseudocode
Algorithms and Pseudocode
ARTIFICIAL INTELLIGENCE include people, procedures, hardware, software, data and knowledge needed to develop computer systems and machines that demonstrated.
Programming. In your own words, explain what an algorithm is, and give an example of how people use algorithms every day.
Introduction to Computer Programming using Fortran 77.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
Programming Basics - RobotC Introduction to Robotics.
Algorithms and Flowcharts
The Beauty and Joy of Computing Lecture #6 Algorithms I Jon Kotker UC Berkeley EECS 2010, 2013 Microsoft
Pseudocode Upsorn Praphamontripong CS 1110 Introduction to Programming
Understand the Programming Process
An Introduction to Visual Basic .NET and Program Design
Introduction To Robot Decision Making
Developing Applications
Computer Programming.
exa.im/stempy16.files - Session 12 Python Camp
Computers & Programming Languages
Problem Solving and Algorithm Design
Programming Basics - RobotC
Title Slide for Data Driven Decision Making Precision Problem solving
Title Slide for Data Driven Decision Making Precision Problem solving
Programming Fundamentals
The Programming Process
Understand the Programming Process
Communication Problem Solving Decision Making Team Working.
ICT Programming Lesson 3:
PYTHON: BUILDING BLOCKS Sequencing & Selection
Click to add Text Computers & Instructions. Computers are given instructions in the form of computer programs that are created through the development.
Unit 3 lesson 2-5 The Need For Algorithms- Creativity in Algorithms – Simple Commands - Functions Day 18.
ICT Programming Lesson 1:
ICT Gaming Lesson 2.
Solve the equation: 6 x - 2 = 7 x + 7 Select the correct answer.
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Chapter 6 Study Guide Task
Presentation transcript:

Programming Fundamentals

Thinking about Programming Robots are made to perform useful tasks. Each robot is designed to solve a specific problem, in a specific way. Creating a successful robot takes a team effort between humans and machines.

The human is responsible for identifying the task and planning out a solution and then explaining to the robot what it needs to do to reach the goal. The machine is responsible for following the instructions it is given and thereby carrying out the plan.

The human to robot languages are called “programming” languages and instructions created in them are called ”programs”. The human who creates the program is called the programmer.

As a programmer, your primary responsibilities are: –Formulate a plan for the robot to reach the goal. –Translate that plan into a program that the robot can follow. Remember the robot only follows the program, it does not think for itself.

Planning and Behaviors To find a solution: –Examine the problem. –Try to see what the robot needs to do to accomplish the goal. –Break the behavior down into smaller parts, writing them down in the correct sequence. –Continue to break them down into smaller and smaller behaviors until you reach commands that you can express directly in the programming language.

The hybrid language, halfway between English and a programming language is called pseudo-code.

Robot Decision Making Robots see the world using their sensors. Feedback provided by the sensors comes in number form or yes and no questions

By coupling the number values provided by the sensors with the robot’s ability to answer questions. As a programmer you can give the robot its decision making capability. When you ask the questions you’ll need to use Boolean comparison operators

Boolean Comparison Example

Conditional Statements The parts of a program where the robot chooses an action depending on certain conditions. Allow the robot to act differently depending on certain conditions