Rocky K. C. Chang September 11, 2018

Slides:



Advertisements
Similar presentations
CS Section 600 CS Section 002 Dr. Angela Guercio Spring 2010.
Advertisements

Lecture 14 Go over midterm results Algorithms Efficiency More on prime numbers.
1 times table 2 times table 3 times table 4 times table 5 times table
Three Types of Depth-First Search Alyce Brady CS 470: Data Structures CS 510: Computer Algorithms.
Presented by Robin Seldin
Partial Sums An Addition Algorithm.
Parallel Algorithms Sorting and more. Keep hardware in mind When considering ‘parallel’ algorithms, – We have to have an understanding of the hardware.
Overview of Computing. Computer Science What is computer science? The systematic study of computing systems and computation. Contains theories for understanding.
A Multiplication Algorithm
Adding and Subtracting Whole Numbers
1. The Role of the Algorithms in Computer Algorithms – 1/2 Algorithm: Any well-defined computation procedure that takes some value, or set of values,
Chapter Algorithms 3.2 The Growth of Functions 3.3 Complexity of Algorithms 3.4 The Integers and Division 3.5 Primes and Greatest Common Divisors.
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.
Let’s learn about it. 10.
WHAT IS COMPUTATION? Rocky K. C. Chang August 31, 2015.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Divisibility.
Tables Learning Support
Add 2-digit numbers with regrouping. Add 2-digit numbers with regrouping
MULTIPLYING DECIMALS EQ: What is the standard algorithm for multiplying decimals? MCC6.NS.3 ---Fluently multiply multi-digit decimals using the standard.
Solving Systems of Equations The Elimination Method.
In your groups Complete subtraction problems with positive and negative numbers.
What Do Computers Do? A computer system is
Solving Systems of Equations
Completing the Square 8
7 Big Ideas of Computing:
Times Tables and Top Tips! The 2 times table
Solving Systems of Equations
Pseudocode Upsorn Praphamontripong CS 1110 Introduction to Programming
September 25, 2017 Multiple Digit Multiplication Day Warm Up
5Th Class Maths Additon & Subtraction.
Lecturer CS & IT Department UOS MBDIN
Times Tables.
Roadmap to Programming work, right, fast KISS
Insertion Sort Sorted Unsorted
Building Java Programs
Solve: 1. 4<
Algorithms September 28, 2017.
2-Digit Subtraction.
Dynamic Programming 2 Neil Tang 4/22/2010
Introduction to Algorithms
Computation in Other Bases
CS Chapter 3 (3A and ) Part 3 of 8
Computer Programming.
Global Challenge Walking for Water Lesson 2.
Rocky K. C. Chang September 11, 2018
Solving Systems of Equations
Global Challenge Walking for Water Lesson 2.
Solving Systems of Equations
Global Challenge Walking for Water Lesson 2.
Slope  4 Ways: Graph Formula Ordered Pairs Table.
Dynamic Programming 2 Neil Tang 4/22/2008
Solving Systems of Equations
Global Challenge Walking for Water Lesson 2.
System Development Methodology
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
Computational Thinking
Global Challenge Walking for Water Lesson 2.
Sorted Binary Trees.
Do Now Simplify. 1. 5(7) – (18 – 11)  (40 – 35) (12 – 4)
Solving Systems of Equations
CS3220 Web and Internet Programming About Data Models
3 times tables.
6 times tables.
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Presentation transcript:

Rocky K. C. Chang September 11, 2018 What is computation? Rocky K. C. Chang September 11, 2018

Goals Understand how complex procedures can be developed from simple procedures. Understand three different ways of defining computations. Understand that problem solving involves (1) abstraction, (2) algorithm design, and (3) implementation.

A simple example: What is 53357 + 1897 + 764274 + …?

Let’s take a CS approach.

0. How to add 2 digits?

We start with an addition table.

PROC0 If we are given two digits (0, 1, …, 9), we look up the addition table to get the result which consists of two digits. The left digit is 0 if the result is less than 10.

1. How to add 3 digits?

Pseudocode

2. How to add two multidigit numbers?

Pseudocode

3. How to add any list of numbers?

Pseudocode

To be continued