Unit 2 Smarter Programming.

Slides:



Advertisements
Similar presentations
PROBLEM SOLVING TECHNIQUES
Advertisements

PSEUDOCODE & FLOW CHART
Program Design and Development
Lecture Notes 1/21/04 Program Design & Intro to Algorithms.
16/27/ :53 PM6/27/ :53 PM6/27/ :53 PMLogic Control Structures Arithmetic Expressions Used to do arithmetic. Operations consist of +,
Chapter 1 Program Design
Pseudocode.
DCT 1123 Problem Solving & Algorithms
CIS Computer Programming Logic
ALGORITHM CHAPTER 8. Chapter Outlines and Objectives  Define an algorithm and relate it to problem solving.  Define three construct and describe their.
Property of Jack Wilson, Cerritos College1 CIS Computer Programming Logic Programming Concepts Overview prepared by Jack Wilson Cerritos College.
Pseudocode. Simple Program Design, Fourth Edition Chapter 2 2 Objectives In this chapter you will be able to: Introduce common words, keywords, and meaningful.
Variables Damian Gordon. Variables We know what a variable is from maths. We’ve all seen this sort of thing in algebra: 2x – 10 = 0 2x = 10 X = 5.
 Variables can store data of different types, and different data types can do different things.  PHP supports the following data types:  String  Integer.
1 Overview of Programming Principles of Computers.
DATA TYPES, VARIABLES AND CONSTANTS. LEARNING OBJECTIVES  Be able to identify and explain the difference between data and information  Be able to identify,
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
Algorithms and Pseudocode CS Principles Lesson Developed for CS4 Alabama Project Jim Morse.
All materials copyright UMBC unless otherwise noted CMSC201 Computer Science I for Majors Lecture 02 – Algorithmic Thinking.
7 - Programming 7J, K, L, M, N, O – Handling Data.
Programming – Algorithms (Flowcharts)
Egyptian Language School Computer Department
CMSC201 Computer Science I for Majors Lecture 02 – Algorithmic Thinking Prof. Katherine Gibson Based on slides by Shawn Lupoli and Max Morawski at UMBC.
Review Materials I (T) Subject : T0016 – ALGORITHM AND PROGRAMMING
Chapter 2: Input, Processing, and Output
Welcome to Computer Science Jeopardy
Introduction to Computing
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Computing Year 7 - Unit 2 Programming Basics Types of Software.
Algorithm and Ambiguity
Learning to Program in Python
Control Structure Senior Lecturer
Program Design Introduction to Computer Programming By:
Introduction to pseudocode
Algorithms & Pseudocode
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Introduction to Algorithms
Escape sequences: Practice using the escape sequences on the code below to see what happens. Try this next code to help you understand the last two sequences.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
` Structured Programming & Flowchart
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Night Sensor Lesson 2.
Flowcharting & Algorithms
Global Challenge Night Sensor Lesson 2.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Fitness Friend Lesson 2.
Software Development Process
Global Challenge Night Sensor Lesson 2.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Night Sensor Lesson 2.
Click to add Text Computers & Instructions. Computers are given instructions in the form of computer programs that are created through the development.
Global Challenge Fitness Friend Lesson 2.
Flowcharts and Pseudo Code
Lecture 7 Algorithm Design & Implementation. All problems can be solved by employing any one of the following building blocks or their combinations 1.
ICT Gaming Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Fitness Friend Lesson 2.
Variables Here we go.
Chapter 2: Input, Processing, and Output
C# Revision Cards Data types
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Fitness Friend Lesson 2.
Data Types Every variable has a given data type. The most common data types are: String - Text made up of numbers, letters and characters. Integer - Whole.
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
2 Making Blocks with INPUTS.
Presentation transcript:

Unit 2 Smarter Programming

Today’s Aims 1 Remind ourselves why programs are running our digital world! 2 Review key concepts for programming from last year 3 Start to grasp the technical terms that we need to use this year Please start lesson by going through objectives to establish context 4 Later, start to see how to apply those key concepts in Scratch

Programs run our digital world!

Recap We’ll actually start this new unit by reviewing what we did last year. That will remind us about some basic ideas and some continuing themes…

Homework Subject Work Set Due Done  Computing Copy and learn 1 Review of Key Concepts 

Algorithm An algorithm is a sequence of ordered steps to solve a problem 1 2 3

Pseudocode Pseudo-code is a plan for you program written in structured English INPUT Effort Grade IF Effort Grade > 3 Display ‘Well done!’ ELSE Display ‘Try harder!’

Flowcharts A flowchart is a plan for you program shown in a diagram with special symbols

Program A program is a set of instructions in a coding language that has its own rules called syntax

Big Three Order Repeat Choices

Variables Variables store values in computer programs. Variables need meaningful names and can store different types of data. String (characters) Integer (whole number) Decimal (decimal point) Date (dd/mm/yy) Boolean (true or false)

Homework Subject Work Set Due Done  Computing Copy and learn 1 Review of Key Concepts into book 