Tips and tools for creating and presenting wide format slides

Slides:



Advertisements
Similar presentations
Widescreen Presentation This template is formatted with a 16:9 widescreen aspect ratio. Its a great way to take advantage of laptops, televisions.
Advertisements

College of Information Technology & Design
QuickSort Example 13, 21, 15, 3, 12, 9, 14, 7, 6 3, 3, 9, 3, 9, 7, 3, 9, 7, 6, First we use the number in the centre of the list as a ‘pivot’. We then.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
Chapter 9: Searching, Sorting, and Algorithm Analysis
WIDESCREEN PRESENTATION Tips and tools for creating and presenting wide format slides.
CMPS1371 Introduction to Computing for Engineers SORTING.
Search algorithm In computer science, a search algorithm is an algorithm that takes a problem as input and returns a solution to the problem, usually after.
Objectives Learn how to implement the sequential search algorithm Explore how to sort an array using the selection sort algorithm Learn how to implement.
CS 104 Introduction to Computer Science and Graphics Problems Data Structure & Algorithms (3) Recurrence Relation 11/11 ~ 11/14/2008 Yang Song.
Searching and Sorting Arrays
© 2006 Pearson Addison-Wesley. All rights reserved10 A-1 Chapter 10 Algorithm Efficiency and Sorting.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 9 Searching.
Sorting and Searching Arrays CSC 1401: Introduction to Programming with Java Week 12 – Lectures 1 & 2 Wanda M. Kunkle.
CHAPTER 7: SORTING & SEARCHING Introduction to Computer Science Using Ruby (c) Ophir Frieder at al 2012.
Chapter 3: The Fundamentals: Algorithms, the Integers, and Matrices
CHAPTER 09 Compiled by: Dr. Mohammad Omar Alhawarat Sorting & Searching.
Computer Science Searching & Sorting.
Merge Sort. What Is Sorting? To arrange a collection of items in some specified order. Numerical order Lexicographical order Input: sequence of numbers.
C++ Programming: From Problem Analysis to Program Design, Second Edition Chapter 19: Searching and Sorting.
STUDENT ACADEMIC PLAN BY TEAM NETINFOTECH April 28, 2013.
Adapted from instructor resource slides Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All.
Starting Out with C++ Early Objects Seventh Edition by Tony Gaddis, Judy Walters, and Godfrey Muganda Modified for use by MSU Dept. of Computer Science.
CS 361 – Chapters 8-9 Sorting algorithms –Selection, insertion, bubble, “swap” –Merge, quick, stooge –Counting, bucket, radix How to select the n-th largest/smallest.
Searching & Sorting Programming 2. Searching Searching is the process of determining if a target item is present in a list of items, and locating it A.
Sorting and Searching. Selection Sort  “Search-and-Swap” algorithm 1) Find the smallest element in the array and exchange it with a[0], the first element.
Review 1 Selection Sort Selection Sort Algorithm Time Complexity Best case Average case Worst case Examples.
ALGORITHMS.
Chapter 9 Sorting. The efficiency of data handling can often be increased if the data are sorted according to some criteria of order. The first step is.
Data Structures - CSCI 102 Selection Sort Keep the list separated into sorted and unsorted sections Start by finding the minimum & put it at the front.
Use cases for video conferencing solution
Course Code #IDCGRF001-A 5.1: Searching and sorting concepts Programming Techniques.
8.1 8 Algorithms Foundations of Computer Science  Cengage Learning.
©Brooks/Cole, 2003 Chapter 8 Algorithms. ©Brooks/Cole, 2003 CONCEPTCONCEPT 8.1.
Sorting Algorithms Written by J.J. Shepherd. Sorting Review For each one of these sorting problems we are assuming ascending order so smallest to largest.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Seventh Edition by Tony Gaddis, Judy.
INTRO2CS Tirgul 8 1. Searching and Sorting  Tips for debugging  Binary search  Sorting algorithms:  Bogo sort  Bubble sort  Quick sort and maybe.
Sort Algorithm.
19 Searching and Sorting.
Searching and Sorting Algorithms
Widescreen Presentation
Widescreen Presentation
Ensuring maternity protection for all women at national level
Introduction to Search Algorithms
Sorting Algorithms.
Lesson Objectives Aims Understand the following “standard algorithms”:
3.1 Algorithms (and real programming examples).
Teach A level Computing: Algorithms and Data Structures
Bubble Sort Bubble sort is one way to sort an array of numbers. Adjacent values are swapped until the array is completely sorted. This algorithm gets its.
Binary Search Back in the days when phone numbers weren’t stored in cell phones, you might have actually had to look them up in a phonebook. How did you.
Bubble, Selection & Insertion sort
Widescreen Presentation
Sorting Algorithms Ellysa N. Kosinaya.
8/04/2009 Many thanks to David Sun for some of the included slides!
Search,Sort,Recursion.
Algorithms Key Revision Points.
Principles of Computing – UFCFA3-30-1
Divide and Conquer Algorithms Part I
Sorting "There's nothing in your head the sorting hat can't see. So try me on and I will tell you where you ought to be." -The Sorting Hat, Harry Potter.
Chapter 4.
Search,Sort,Recursion.
Algorithm Efficiency and Sorting
ENTER YOUR PRESENTATION TITLE
Widescreen Presentation
Heaps By JJ Shepherd.
Unit 2: Computational Thinking, Algorithms & Programming
Career Exploration Week 2-4
Principles of Computing – UFCFA3-30-1
Algorithm Efficiency and Sorting
Presentation transcript:

Tips and tools for creating and presenting wide format slides Algorithms Tips and tools for creating and presenting wide format slides

What is an algorithm? How can we represent an algorithm? - pseudocode - flowcharts

What is an algorithm? A series of steps that can followed to solve a problem An algorithm should include actions to be performed, and the order in which they are done. How can we represent an algorithm? - pseudocode - flowcharts

How can we represent an algorithm? - pseudocode - flowcharts

Flowcharts START Flowcharts begin with START and finish with an END. These are called terminators. A parallelogram indicates an INPUT or OUTPUT. A rectangle is used to show a PROCESS to be carried out. A diamond indicates a DECISION between two or more possible pathways. INPUT PROCESS DECISION NO YES OUTPUT END

The BBQ TOMATO SAUCE NO YES START GET BREAD SAUCE? GET PATTIE ONIONS? NO GET TOMATO SAUCE GET BBQ SAUCE YES EAT HAMBURGER GET ONIONS END

Some classic algorithms Search algorithms e.g. Linear (sequential) Bozo Binary Sort algorithms e.g. Selection Insertion Bubble Merge Quicksort

Linear search (sequential search) Check if the first item in a list is the item you are searching for, if it is the one you are looking for, you are done. If it isn’t the item you are searching for move on and check the next item. Continue checking items until you find the one you are searching for.

Bozo Select an item at random. If it is the one you are looking for, then finish. Otherwise continue checking items until you find the one you are searching for Note: Even worse than linear! (Could end up checking the same item repeatedly!)

Binary Search Look at the item in the centre of the list and compare it to what you are searching for If it is what you are looking for then you are done. If it is larger than the item you are looking for then you can ignore all the items in the list which are larger than that item (if the list is from smallest to largest this means you can ignore all the items to the right of the centre item). If it is smaller then you can ignore all the items in the list which are smaller than that centre item. Now repeat the algorithm on the remaining half of the list, checking the middle of the list and choosing one of the halves, until you find the item you are searching for.

Selection Find the smallest item in the list and place it to one side. This will be your sorted list. Next find the smallest item in the remaining list, remove it and place it into your sorted list beside the item you previously put to the side. Repeat this process until all items have been selected and moved into their correct position in the sorted list.

Bubble sort Compare the first two items, swap them if they’re in the wrong order. Repeat this for each (overlapping) pair of items until the end of the list is reached. Repeat the entire process until the list is sorted (i.e. no more swaps are necessary)

Merge sort If the list has one item, finish. Otherwise, divide the list at random into two equal size (or nearly equal if there’s an odd number of items) Sort each of the half-lists (using merge sort...) Merge the sorted lists by repeatedly removing the smaller of the smallest item from each list.

Insertion Take an item from your unsorted list and place it to the side, this will be your sorted list. One by one, take each item from the unsorted list and insert it into the correct position in the sorted list. Do this until all items have been sorted.

Quicksort Choose an item from the list and compare every other item in the list to this (this item is often called the pivot). Place all the items that are greater than it into one subgroup and all the items that are smaller into another subgroup. Place the pivot item in between these two subgroups. Choose a subgroup and repeat this process. Eventually each subgroup will contain only one item and at this stage the items will be in sorted order.

References http://www.csfieldguide.org.nz/Algorithms.html http://www.sorting-algorithms.com/

Widescreen Pictures Pictures can also be presented more dramatically in widescreen.

Creating 16:9 Presentations To setup a widescreen presentation, do one of the following: Start with this template. Simply delete the example slides and add your own content. Or, on the Themes tab, under Page Setup, click Slide Size, and then click Widescreen (16:9). (Note: we also support 16:10, which is a common widescreen laptop resolution. ) Important: Always start with your slide size set to the aspect ratio you intend to use. If you change the slide size after you’ve created some slides, your pictures and other graphics will be resized. This could potentially distort their appearance.

Slide Show Tips To present in true widescreen, you’ll need a computer and, optionally, a projector or flat panel that can output widescreen resolutions. Common computer widescreen resolutions are 1280 x 800 and 1440 x 900. (These are 16:10 aspect ratio, but will work well with 16:9 projectors and screens.) Standard high definition televisions resolutions are1280 x 720 and 1920 x 1080. Use the Test Pattern on the next slide to verify your slide show settings.

Widescreen Test Pattern (16:9) Aspect Ratio Test (Should appear circular) 4x3 16x9