Programming Techniques

Slides:



Advertisements
Similar presentations
Software Development Life Cycle. Why Do We need Software Development Models Helps to make sure that we cover all bases during planning and implementation.
Advertisements

A Level Computing#BristolMet Session Objectives#U2 S2 MUST describe the steps of an algorithm using a program flowchart SHOULD explain the data types and.
17-Apr-15Created by Mr. Lafferty Maths Dept Ordering integers Integers Add / Sub Mathematically Letters and Numbers Multiplying Integers.
3.1.3 Program Flow control_1 Understand the need for structure Breaking things down.
Reference :Understanding Computers
Programming Logic and System Analysis
Fundamentals of C programming
Lesson Plan - APP Area and Perimeter
Introduction: Definition Introduction: Definition A flowchart is a diagram that describes a process or operation. It includes multiple steps, which the.
1 Lesson Finding Complex Areas. 2 Lesson Finding Complex Areas California Standards: Algebra and Functions 3.1 Use variables in expressions.
Solving Equations Medina1 with Multiplication and Division.
Geometry Formulas: Surface Area & Volume. CCS: 6.G.4. Represent three-dimensional figures using nets made up of rectangles and triangles, and use the.
PROGRAM DEVELOPMENT CYCLE. Problem Statement: Problem Statement help diagnose the situation so that your focus is on the problem, helpful tools at this.
Starters designed to get students ‘Talking Maths’.
Shape Sorter Click here for 3D Shapes Click on a Cube Q.1.
ORDER OF OPERATIONS Making Sense of Math.
Solving Equations. GOAL: To Be Able To Solve Equations in a systematic manner Solving Equations: – The goal is to get one of the variables (the one we’re.
How do I multiply a triple digit number by a double digit? 145 x 67 = ? 267 x 19 = ? I’m sure that you’ll agree that there are many methods that we can.
Area & Perimeter Learning Objectives: 1.Learn to find perimeter and area of simple & compound/composite shapes. 2.Practice solving problems involving area.
How Computers Solve Problems Computers also use Algorithms to solve problems, and change data into information Computers can only perform one simple step.
 Problem Analysis  Coding  Debugging  Testing.
Algorithms and Flowcharts
Warmup 11/2/16 Objective Tonight’s Homework
AP CSP: Creating Functions & Top-Down Design
Q1: Draw a simple flowchart to show a decision.
Learning outcomes 5 Developing Code – Using Flowcharts
3.3 Fundamentals of data representation
Here you can learn all about 2-D shapes
Be A programmer in Steps
Area Model Multiplication
Solving EQUATIONS Lesson #2 created by: ms. Guarnieri
Lecture 2 Introduction to Programming
Algorithm Algorithm is a step-by-step procedure or formula or set of instruction for solving a problem Its written in English language or natural language.
Name the shape below. rectangle rhombus square triangle A B C D
Area – Perimeter - Volume
Review Slides for Final on May 30th
Roadmap to Programming work, right, fast KISS
Creating Flowcharts AIM:
Unit# 9: Computer Program Development
Objective: Be able to add and subtract directed numbers.
exa.im/stempy16.files - Session 12 Python Camp
Solving Quadratic Equations using the Quadratic Formula
Lattice Multiplication
Computers & Programming Languages
Warm Up September 6, 2017 Warm-Up Recall from 6th grade…
Here you can learn all about 2-D shapes
Starter question – to be done on the mini-whiteboard.
Unit 6 Assignment 2 Chris Boardley.
Solving Radical Equations
Surface Area.
PYTHON: BUILDING BLOCKS Sequencing & Selection
Lecture 7 Algorithm Design & Implementation. All problems can be solved by employing any one of the following building blocks or their combinations 1.
COMPUTATIONAL THINKING COMPUTATIONAL THINKING IN PROGRAMMING
Created by Mr. Lafferty Maths Dept.
Created by Mr. Lafferty Maths Dept.
Created by Mr. Lafferty Maths Dept.
Index Laws Learning Objectives:
Using Inverse Operations
Objective The student will be able to:
Warm Up – Complete in math section of your 5-subject notebook
Learning Objective Solving equations with single brackets
Objective: Be able to add and subtract directed numbers.
Modules, Subroutines, Procedures, Functions, or Methods
Solving Quadratic Equations by Factorisation
Solving for the Area of Composite Figures (Rectangles and Triangles)
2D Shapes Rectangle Circle Triangle Rectangle. What shape is the door? Rectangle.
Programming Techniques
Programming Techniques
Programming Techniques
Presentation transcript:

Programming Techniques Keywords Sequence/algorithm, Instructions, Efficiency, Structured Programming Techniques Sequence

What is sequencing? Objectives BEGINNER: Be able to break a complex task into a sequence of simple steps. ADVANCED: Understand that the order of steps in algorithms matters. EXPERT: Make use of flowcharts and pseudo codes to solve sequencing problems. Sequencing allows a programmer to solve complex tasks through a number of simple steps. The order of steps in most tasks matters – similarly, we use brackets in maths to make sure that certain operations are done before others (sometimes we need to add before we do multiplication and division). Starter activity 1. Read the article. 2. Try out the simulator. 3. How has sequencing applied here?

Task Create a set of steps to draw the following shapes: Objectives BEGINNER: Be able to break a complex task into a sequence of simple steps. ADVANCED: Understand that the order of steps in algorithms matters. EXPERT: Make use of flowcharts and pseudo codes to solve sequencing problems. Create a set of steps to draw the following shapes: Square of 50 x 50 Rectangle of 50 x 100 Triangle with sides of 60, 60, 60 Triangle with side 60 x 80 x 100 How efficient is it just using a sequence of steps? Starter activity What the advantages and disadvantages of sequencing?

Answers Advantages Disadvantages Objectives BEGINNER: Be able to break a complex task into a sequence of simple steps. ADVANCED: Understand that the order of steps in algorithms matters. EXPERT: Make use of flowcharts and pseudo codes to solve sequencing problems. Advantages Disadvantages Each line follows the next, Create simple programs very quickly, Easy to follow for a small program, Fundamental principal of a program, Starts at the top, finishes at the bottom! Not at all efficient, Becomes very difficult to follow with large programs, Extremely hard to maintain Starter activity

Complex Task A=(45-23*12)/(78*(56-89+23)) Objectives BEGINNER: Be able to break a complex task into a sequence of simple steps. ADVANCED: Understand that the order of steps in algorithms matters. EXPERT: Make use of flowcharts and pseudo codes to solve sequencing problems. A=(45-23*12)/(78*(56-89+23)) Given this mathematical expression, how can we break it a sequence of simple steps? Remember: Brackets, Multiplication/Division, Addition/Subtraction Starter activity