Starter Complete the Word Search. CG3.7 Algorithms (The Insertion Sort (Chapter 46) & Algorithm Testing)

Slides:



Advertisements
Similar presentations
GCSE Computing Lesson 5.
Advertisements

Algorithmic Foundations COMP108 COMP108 Algorithmic Foundations Searching Prudence Wong
1 CS101 Introduction to Computing Lecture 17 Algorithms II.
GCSE PROJECT GUIDELINES Use this presentation to make sure you have the correct content for you project - click on.
Creating an interactive product Introduction and Success Criteria
CSE115/ENGR160 Discrete Mathematics 02/24/11 Ming-Hsuan Yang UC Merced 1.
Text Chapters 1, 2. Sorting ä Sorting Problem: ä Input: A sequence of n numbers ä Output: A permutation (reordering) of the input sequence such that:
Lecture 14 Go over midterm results Algorithms Efficiency More on prime numbers.
Searches & Sorts V Deena Engel’s class Adapted from W. Savitch’s text An Introduction to Computers & Programming.
Main task -write me a program
Computer Programming.  Analysis  User requirements  Feasibility and costs  Success criteria  Design and Planning  Classes  Data structures and.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To understand the basic concepts and uses of arrays ❏ To be able to define C.
The Impact of Climate Change in the Andes Learning objective: To be able to explain the causes and impacts of global warming on the Andes people.
Introduction CSE 1310 – Introduction to Computers and Programming
Objective 2.01 Test Review Name: Class Period:.
WHAT IS THIS? OBJECTIVE AND OUTCOMES Candidates should be able to: Describe and explain the CPU as fetching, decoding and executing of instructions and.
Effectiveness of different designs of input and out put.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Algorithms In general algorithms is a name given to a defined set of steps used to complete a task. For example to make a cup of tea you would fill the.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Chapter 3 Sec 3.3 With Question/Answer Animations 1.
Introduction to Algorithms By Mr. Venkatadri. M. Two Phases of Programming A typical programming task can be divided into two phases: Problem solving.
CLASS OPENER: Is the given sequence arithmetic, if so what is the common difference? 1.1,4,9,16… 2.-21, -18, -15, -12… 3.97, 86, 75, 64… 4.0, 1, 3, 6,
EXERCISE IN CLASS CHAPTER 2. PART 1 SEQUENCE SCENARIO 1 Write an algorithm for a C program, that prompts user to enter total number of umbrellas he/she.
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.
GET ONLINE…. Get logged in Access: Moodle Computing Year 9 Mobile App development.
The Software Development Process
Starter Matching Activity Match the equation with its correct description in words whilst discussing the method with your partner. Then solve the equations.
Exceptions Chapter 16 This chapter explains: What as exception is Why they are useful Java exception facilities.
ALGORITHMS.
Testing.
Progress check Learning Objective: Success Criteria : Can identify various input and output devices - Level 4 – 5 Can identify all the major items of hardware.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
Progression in KS3/4 Algorithms MONDAY 30 TH NOVEMBER SUE SENTANCE.
Starter To complement our notes and learning from last lesson (Topic 10 Introducing Large ICT Systems: Features of Large ICT Systems), fold your piece.
Starter – Think…Pair…Share Explain how ICT can be used to support the following tasks: Payroll Personnel Independently think of a suitable response (2.
Starter Using the mini whiteboards record your answers: 1) Name 2 different Character Sets 2) Convert the Hex number 9E into denary 3) Convert the binary.
Video Why am I showing you this clip?. What do you think today’s lesson is all about?
Chapter 10 Understanding and Planning Reports and Proposals 10-1.
Starter 1)Name as many training methods as you can. 2)Name as many support options available to organisations to support them with their ICT systems. 3)What.
INFO 3: Use of ICT In The Digital World Topic 8: Development Methods (Stages of the SDLC) Electronic Chapter: 9.
Starter Using the mini whiteboards record your answers: 1)Convert 8F to Denary 2)Convert 23 to Hex 3)Convert -17 to binary using sign & magnitude 4)Convert.
Data Structures, Algorithms, & Applications
PYTHON PROGRAMMING Year 9. Objective and Outcome Teaching Objective Today we will look at conditional statements in order to understand how programs can.
7 - Programming 7J, K, L, M, N, O – Handling Data.
Component 1.6.
Component 1.6.
Component 1.6.
Revision Units Exam date 16th May 2017 Summer 1.
Starter Components in computer systems may be classed as one of the following: Input Output Storage Processing Find the Starter Activity on the RLP and.
3.1 Algorithms (and real programming examples).
LO: To reflect on assessment results and areas for improvement
Teaching Computing to GCSE
Fill the screen challenge!
Databases Lesson 2.
Chapter 8 Arrays Objectives
G063 - Testing.
Computer Science 2 Review the Bubble Sort
Computer Science 2 Getting an unknown # of …. Into an array.
Lesson Objectives By the end of the lesson you will:
Software Development Process
Computer Science Sorting Pre-Test Discussion/program
PYTHON: BUILDING BLOCKS Sequencing & Selection
Chapter 8 Arrays Objectives
Sorting Develop a sorting algorithm
Introduction to Python
Insertion Sort.
WJEC GCSE Computer Science
Starter Which of these inventions is: Used most by people in Britain
Programming Techniques
Presentation transcript:

Starter Complete the Word Search

CG3.7 Algorithms (The Insertion Sort (Chapter 46) & Algorithm Testing)

Objectives 1.Understand and be able to describe the Insertion sort in terms of description and pseudo code. 2.Understand how algorithms can be tested using suitable test data.

Assessment Target Grade Grade A –B: Be able to fully explain the Insertion Sort, carry out the Insertion sort on a set of data, explain it to others and demonstrate understanding using pseudo code. Be able to demonstrate how an algorithms can be tested. Grade C-D : Be able to explain the Insertion Sort, carry out the insertion sort on a set of data and be able to attempt creating the pseudo code for it. Be able to test algorithms using suitable data. Grade E: Know what the Insertion sort is and be able to attempt to implement it on some data and be able to test algorithms.

The Insertion Sort Activity 1) Reciprocal Teaching Activity – Read and highlight keywords / phrases from the notes. Come up with as many questions as you can that you could ask other students based upon the text you read. (15 Minutes) 2) Judge, Questioner, Answerer (15 Minutes)

The Insertion Sort Continue sorting this list after the 4th pass (starting from 19)

What is Algorithm Testing? Computer Systems need to be reliable. To make sure of this, testing is undertaken at many different stages of software development. Algorithms can be tested by checking the outputs for selected input data values, to make sure they are as expected.

Selection of Test Data When testing an algorithm, you need to run a sequence of tests. If one test works, that does not mean the program will work every time. You must select data which is: 1) Normal 2) Extreme 3) Incompatible e.g. data of the wrong type (Erroneous) 4) Non-Existence e.g. zero or null

Test Data Activity Type of testDefinitionExample used in a scenario Normal Extreme Incompatible Non-Existence

Test Data Activity For a student to be eligible to be in secondary school they have to be aged between 11 and 19. If we had a field called Age. Give examples of test data that could be used to test the data. NormalExtremeIncompatibleNon-Existence

Insertion Sort Stretch & Challenge Activity 1)Create the Pseudo Code for the Insertion Sort 2)Create the animation using PowerPoint to demonstrate the Insertion Sort Activity 3)Perform an insertion sort on the following data list

1) An algorithm is written for a bubble sort in one particular application. The input to the algorithm is a set of 6 positive integers. One set of data which would test this algorithm is: Write down two other sets of data which will more fully test the algorithm. [2] Exam Questions Progress Scale?

Plenary m.socrative.com Room No

Assessment Target Grade Grade A –B: Be able to fully explain the Insertion Sort, carry out the Insertion sort on a set of data, explain it to others and demonstrate understanding using pseudo code. Be able to demonstrate how an algorithms can be tested. Grade C-D : Be able to explain the Insertion Sort, carry out the insertion sort on a set of data and be able to attempt creating the pseudo code for it. Be able to test algorithms using suitable data. Grade E: Know what the Insertion sort is and be able to attempt to implement it on some data and be able to test algorithms.

Plenary