Administrative Notes January 19, 2017

Size: px
Start display at page:

Download "Administrative Notes January 19, 2017"

Transcription

1 Administrative Notes January 19, 2017 Reminder: In the News due on Friday Reminder: Reading Quizzes due next Monday Anne will be away next Monday and Tuesday and will not have office hours on Monday Jessica will teach Tuesday s class on the Internet

2 How do programs work? Part 2 Snap! code for Sorting 2

3 Learning goals [CT Building Block] Explain what a variable is in computer programming. [CT Building Block] Be able to trace through code using sequences of instructions, variables, loops, and conditional statements in short programs specified in a visual programming language such as Snap, or in other clearly expressed processes (which may or may not be computer related) 3

4 Programs, data and lists You ve seen programs that do simple things with data (your age, shoe size, the mouse position, text, etc.) Sorting typically involves lists of data items. We can create lists in Snap! For now, we'll create a short list of five items manually, But a list containing hundreds or more items could imported to Snap from a file

5 We can give our list a name

6 We can give our list a name

7 Why give a name to a list? Names enable us write programs that do useful things with lists, like sort them We ll first use some clicker questions to see how to query what s in a list, compare two items in the list, and more Note that the items in our list are indexed consecutively, starting from 1

8 Snap! operations on lists What will the sprite say, when this code is run? A. 5 B. 7 C. 22 8

9 Snap! operations on lists Clicker question Suppose we make a new variable, current. What does the sprite say now? A. 3 B. 4 C. 5 D. 7 9

10 Snap! operations on lists Clicker question And now? A. 2 B. 3 C. 5 D. 7 10

11 Snap! operations on lists Clicker question Suppose we make yet another new variable, called marked and run the following code fragment Does the following inequality hold? (True or False) A. True B. False 11

12 Testing if a list is sorted Suppose we have a mystery list with five different positive numbers. How could we test whether it is sorted in increasing order? In groups, develop an algorithm to do this. Write down your algorithm in English. (Imagine that you have a list of cards.)

13 Testing if a list is sorted What are your algorithms?

14 Testing if a list is sorted Code for the step of comparing items 1 and 2:

15 Testing if a list is sorted Code for the step of comparing items 1 and 2: How would you change this code to do the right thing for items 2 and 3?

16 Testing if a list is sorted For a list with five items, how many if blocks would we need?

17 Testing if a list is sorted For a list with five items, how many if blocks would we need? And for a list with a million items? Writing all that code would be tedious! Is there a better way to code repetitive tasks?

18 Testing if a list is sorted: using a repeat loop Set a counter i to be 1 Repeat the following 4 times: Compare items i and i+1; if item i is greater than item i+1, then report The list is not sorted and stop Increment i by 1 Report The list is sorted

19 Testing if a list is sorted: using a repeat loop First try: make variable i, set it to 1, and compare items i and i+1

20 Testing if a list is sorted: using a repeat loop Second try: add the repeat loop:

21 How many variables are in this code? Clicker question A. 1 C. 3 B. 2 D. 4

22 Finding the smallest item in a list Recall how we did this with cards

23 Finding the smallest item in a list Recall how we did this with cards We ll use a variable called marker to store the index of the smallest item found in the list so far We ll use another variable called current to help us work through the other items in the list and compare them with the marked item

24 Finding the smallest item in a list How to initially set marker and current?

25 Finding the smallest item in a list How many times should we repeat?

26 Finding the smallest item in a list

27 What if we want to change a list?

28 What if we want to change a list? We can add and delete things from lists

29 What if we want to change a list? We can add and delete things from lists

30 What if we want to change a list? What will the list look like after the following code? A. B.

31 What if we want to change a list? What will the list look like after the following code? A. B.

32 We re ready to sort!

33 We re ready to sort! First, create a new list, called sorted-list, which initially has no items in it

34 We re ready to sort! Then repeat the following: Find the smallest item in the unsorted list Add it to (the end of) the sorted list Delete it from the unsorted list

35 We re ready to sort!

36 Learning Goals Revisited [CT Building Block] Explain what a variable is in computer programming. [CT Building Block] Be able to trace through code using sequences of instructions, variables, loops, and conditional statements in short programs specified in a visual programming language such as Snap, or in other clearly expressed processes (which may or may not be computer related) 36

Administrative Notes January 19, 2017

Administrative Notes January 19, 2017 Administrative Notes January 19, 2017 Reminder: In the News due on Friday Reminder: Reading Quizzes due next Monday Anne will be away next Monday and Tuesday and will not have office hours on Monday Jessica

More information

Definition: A data structure is a way of organizing data in a computer so that it can be used efficiently.

Definition: A data structure is a way of organizing data in a computer so that it can be used efficiently. The Science of Computing I Lesson 4: Introduction to Data Structures Living with Cyber Pillar: Data Structures The need for data structures The algorithms we design to solve problems rarely do so without

More information

Lippincott Procedures General User Training Video

Lippincott Procedures General User Training Video Lippincott Procedures General User Training Video Welcome to Lippincott Procedures! Slide 1 Welcome to Lippincott Procedures! This video will guide you through functionality for General users, including

More information

CLICKERS: A TOUCH OF CLASS

CLICKERS: A TOUCH OF CLASS CLICKERS: A TOUCH OF CLASS Part 1 of 4: Installing CPS (Clicker Software) 1. Insert the CPS Installation CD into your CD-ROM drive or download the file from: http://cid.vcc.ca/p1-dl/instructions/clickers/cps.5.40.1143.0.exe.

More information

SORTING AND SEARCHING

SORTING AND SEARCHING SORTING AND SEARCHING Today Last time we considered a simple approach to sorting a list of objects. This lecture will look at another approach to sorting. We will also consider how one searches through

More information

Comp 151. Control structures.

Comp 151. Control structures. Comp 151 Control structures. admin quiz this week believe it or not only 2 weeks from exam. one a week each week after that. idle debugger Debugger: program that will let you look at the program as it

More information

Repetition Algorithms

Repetition Algorithms Repetition Algorithms Repetition Allows a program to execute a set of instructions over and over. The term loop is a synonym for a repetition statement. A Repetition Example Suppose that you have been

More information

CS110D: PROGRAMMING LANGUAGE I

CS110D: PROGRAMMING LANGUAGE I CS110D: PROGRAMMING LANGUAGE I Computer Science department Lecture 5&6: Loops Lecture Contents Why loops?? While loops for loops do while loops Nested control structures Motivation Suppose that you need

More information

Algorithms. Chapter 8. Objectives After studying this chapter, students should be able to:

Algorithms. Chapter 8. Objectives After studying this chapter, students should be able to: Objectives After studying this chapter, students should be able to: Chapter 8 Algorithms Define an algorithm and relate it to problem solving. Define three construct and describe their use in algorithms.

More information

Chapter 4 Loops. Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved.

Chapter 4 Loops. Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. Chapter 4 Loops 1 Motivations Suppose that you need to print a string (e.g., "Welcome to Java!") a hundred times. It would be tedious to have to write the following statement a hundred times: So, how do

More information

8 Algorithms 8.1. Foundations of Computer Science Cengage Learning

8 Algorithms 8.1. Foundations of Computer Science Cengage Learning 8 Algorithms 8.1 Foundations of Computer Science Cengage Learning 8.2 Objectives After studying this chapter, the student should be able to: Define an algorithm and relate it to problem solving. Define

More information

Comp 151. Control structures.

Comp 151. Control structures. Comp 151 Control structures. admin For these slides read chapter 7 Yes out of order. Simple Decisions So far, we ve viewed programs as sequences of instructions that are followed one after the other. While

More information

A DarkBasic DataBase By:

A DarkBasic DataBase By: A DarkBasic DataBase By: Phaelax(Phaelax@hotmail.com) So you want to create a database program in DarkBasic. It s easier than you may think. Nothing more to say in this introduction, so let s get started.

More information

Why study algorithms? CS 561, Lecture 1. Today s Outline. Why study algorithms? (II)

Why study algorithms? CS 561, Lecture 1. Today s Outline. Why study algorithms? (II) Why study algorithms? CS 561, Lecture 1 Jared Saia University of New Mexico Seven years of College down the toilet - John Belushi in Animal House Q: Can I get a programming job without knowing something

More information

COMP 250. Lecture 7. Sorting a List: bubble sort selection sort insertion sort. Sept. 22, 2017

COMP 250. Lecture 7. Sorting a List: bubble sort selection sort insertion sort. Sept. 22, 2017 COMP 250 Lecture 7 Sorting a List: bubble sort selection sort insertion sort Sept. 22, 20 1 Sorting BEFORE AFTER 2 2 2 Example: sorting exams by last name Sorting Algorithms Bubble sort Selection sort

More information

Sorting. Chapter 12. Objectives. Upon completion you will be able to:

Sorting. Chapter 12. Objectives. Upon completion you will be able to: Chapter 12 Sorting Objectives Upon completion you will be able to: Understand the basic concepts of internal sorts Discuss the relative efficiency of different sorts Recognize and discuss selection, insertion

More information

CS 137 Part 8. Merge Sort, Quick Sort, Binary Search. November 20th, 2017

CS 137 Part 8. Merge Sort, Quick Sort, Binary Search. November 20th, 2017 CS 137 Part 8 Merge Sort, Quick Sort, Binary Search November 20th, 2017 This Week We re going to see two more complicated sorting algorithms that will be our first introduction to O(n log n) sorting algorithms.

More information

MATH 1131Q - Calculus 1.

MATH 1131Q - Calculus 1. MATH 1131Q - Calculus 1. Álvaro Lozano-Robledo Department of Mathematics University of Connecticut Day 2 Álvaro Lozano-Robledo (UConn) MATH 1131Q - Calculus 1 2 / 30 An Example: A Very Surprising Rate

More information

About this sample exam:

About this sample exam: About this sample exam: You may and SHOULD work through this exam yourself and discuss you answers with others. To find out the right answers to questions, type in the code to a compiler and run it. You

More information

Lecture 02. The "Moves" and Quiz 0

Lecture 02. The Moves and Quiz 0 Lecture 02 The "Moves" and Quiz 0 Things to know about autograding You can resubmit to the autograder without penalty before the due date After your 2 nd commit there is a small waiting period enforced

More information

Computer Architecture 2/26/01 Lecture #

Computer Architecture 2/26/01 Lecture # Computer Architecture 2/26/01 Lecture #9 16.070 On a previous lecture, we discussed the software development process and in particular, the development of a software architecture Recall the output of the

More information

1 CSE 100: HASH TABLES

1 CSE 100: HASH TABLES CSE 100: HASH TABLES 1 2 Looking ahead.. Watch out for those deadlines Where we ve been and where we are going Our goal so far: We want to store and retrieve data (keys) fast 3 Tree structures BSTs: simple,

More information

Simple Graph. General Graph

Simple Graph. General Graph Graph Theory A graph is a collection of points (also called vertices) and lines (also called edges), with each edge ending at a vertex In general, it is allowed for more than one edge to have the same

More information

Lesson Share TEACHER'S NOTES LESSON SHARE. ing by Olya Sergeeva. Overview. Preparation. Procedure

Lesson Share TEACHER'S NOTES LESSON SHARE.  ing by Olya Sergeeva. Overview. Preparation. Procedure Lesson Share TEACHER'S NOTES Age: Adults Level: Intermediate + Time: 1 hour 40 minutes Objective: to practise writing work-related emails Key skills: writing Materials: one copy of the worksheet per student;

More information

public static <E extends Comparable<? super E>>void BubbleSort(E[] array )

public static <E extends Comparable<? super E>>void BubbleSort(E[] array ) Sorting Algorithms The 3 sorting methods discussed here all have wild signatures. For example, public static

More information

Lecture Transcript While and Do While Statements in C++

Lecture Transcript While and Do While Statements in C++ Lecture Transcript While and Do While Statements in C++ Hello and welcome back. In this lecture we are going to look at the while and do...while iteration statements in C++. Here is a quick recap of some

More information

Chapter 8 Algorithms 1

Chapter 8 Algorithms 1 Chapter 8 Algorithms 1 Objectives After studying this chapter, the student should be able to: Define an algorithm and relate it to problem solving. Define three construct and describe their use in algorithms.

More information

Tutorial 9. SOLUTION Since the number of supported interfaces is different for each subnet, this is a Variable- Length Subnet Masking (VLSM) problem.

Tutorial 9. SOLUTION Since the number of supported interfaces is different for each subnet, this is a Variable- Length Subnet Masking (VLSM) problem. Tutorial 9 1 Router Architecture Consider a router with a switch fabric, 2 input ports (A and B) and 2 output ports (C and D). Suppose the switch fabric operates at 1.5 times the line speed. a. If, for

More information

Tutorial 1 Creating a Personal Call Flow

Tutorial 1 Creating a Personal Call Flow Call Director Tutorial 1 Creating a Personal Call Flow This tutorial walks you through the creation of a personal call flow for John, a technician at ACME Widgets. John's requirements are typical of most

More information

APPOINTMENTS AND EVENTS

APPOINTMENTS AND EVENTS In APPOINTMENTS AND EVENTS FOCUS WPL_O717 Outlook Calendar is a scheduling tool that helps you manage appointments, events and meetings with other people. Appointments, events, and meetings are collectively

More information

0.1 Welcome. 0.2 Insertion sort. Jessica Su (some portions copied from CLRS)

0.1 Welcome. 0.2 Insertion sort. Jessica Su (some portions copied from CLRS) 0.1 Welcome http://cs161.stanford.edu My contact info: Jessica Su, jtysu at stanford dot edu, office hours Monday 3-5 pm in Huang basement TA office hours: Monday, Tuesday, Wednesday 7-9 pm in Huang basement

More information

CPSC 311: Analysis of Algorithms (Honors) Exam 1 October 11, 2002

CPSC 311: Analysis of Algorithms (Honors) Exam 1 October 11, 2002 CPSC 311: Analysis of Algorithms (Honors) Exam 1 October 11, 2002 Name: Instructions: 1. This is a closed book exam. Do not use any notes or books, other than your 8.5-by-11 inch review sheet. Do not confer

More information

Course contents. Overview: Goodbye, calculator. Lesson 1: Get started. Lesson 2: Use cell references. Lesson 3: Simplify formulas by using functions

Course contents. Overview: Goodbye, calculator. Lesson 1: Get started. Lesson 2: Use cell references. Lesson 3: Simplify formulas by using functions Course contents Overview: Goodbye, calculator Lesson 1: Get started Lesson 2: Use cell references Lesson 3: Simplify formulas by using functions Overview: Goodbye, calculator Excel is great for working

More information

17 February Given an algorithm, compute its running time in terms of O, Ω, and Θ (if any). Usually the big-oh running time is enough.

17 February Given an algorithm, compute its running time in terms of O, Ω, and Θ (if any). Usually the big-oh running time is enough. Midterm Review CSE 2011 Winter 2011 17 February 2011 1 Algorithm Analysis Given an algorithm, compute its running time in terms of O, Ω, and Θ (if any). Usually the big-oh running time is enough. Given

More information

Pseudocode. ARITHMETIC OPERATORS: In pseudocode arithmetic operators are used to perform arithmetic operations. These operators are listed below:

Pseudocode. ARITHMETIC OPERATORS: In pseudocode arithmetic operators are used to perform arithmetic operations. These operators are listed below: Pseudocode There are 3 programming/pseudocode constructs: 1. Sequence: It refers that instructions should be executed one after another. 2. Selection: This construct is used to make a decision in choosing

More information

Practice Midterm Examination #1

Practice Midterm Examination #1 Eric Roberts Handout #35 CS106A May 2, 2012 Practice Midterm Examination #1 Review session: Sunday, May 6, 7:00 9:00 P.M., Hewlett 200 Midterm exams: Tuesday, May 8, 9:00 11:00 A.M., CEMEX Auditorium Tuesday,

More information

CPSC 259 admin notes

CPSC 259 admin notes CPSC 9 admin notes! TAs Office hours next week! Monday during LA 9 - Pearl! Monday during LB Andrew! Monday during LF Marika! Monday during LE Angad! Tuesday during LH 9 Giorgio! Tuesday during LG - Pearl!

More information

COS 116 The Computational Universe Laboratory 8: Digital Logic II

COS 116 The Computational Universe Laboratory 8: Digital Logic II COS 116 The Computational Universe Laboratory 8: Digital Logic II In this lab you ll learn that, using only AND, OR, and NOT gates, you can build a circuit that can add two numbers. If you get stuck at

More information

2.3 Algebraic properties of set operations

2.3 Algebraic properties of set operations CHAPTER 2. SETS 38 2.3 Algebraic properties of set operations When a mathematician thinks of algebraic properties what they mean is this: we have two things and we combine them to make a third; what sorts

More information

Logic & Algorithms Foundations of Computer Science Behrouz A. Forouzan, Brooks/Cole Thomson Learning, Pacific Grove, USA, 2003.

Logic & Algorithms Foundations of Computer Science Behrouz A. Forouzan, Brooks/Cole Thomson Learning, Pacific Grove, USA, 2003. OVERVIEW Logic & Algorithms Foundations of Computer Science Behrouz A. Forouzan, Brooks/Cole Thomson Learning, Pacific Grove, USA, 2003. OBJECTIVES After reading this chapter, the reader should be able

More information

Chapter 3: Mirrors and Lenses

Chapter 3: Mirrors and Lenses Chapter 3: Mirrors and Lenses Chapter 3: Mirrors and Lenses Lenses Refraction Converging rays Diverging rays Converging Lens Ray tracing rules Image formation Diverging Lens Ray tracing Image formation

More information

Differentiability and Tangent Planes October 2013

Differentiability and Tangent Planes October 2013 Differentiability and Tangent Planes 14.4 04 October 2013 Differentiability in one variable. Recall for a function of one variable, f is differentiable at a f (a + h) f (a) lim exists and = f (a) h 0 h

More information

Lines and Planes in 3D

Lines and Planes in 3D Lines and Planes in 3D Philippe B. Laval KSU January 28, 2013 Philippe B. Laval (KSU) Lines and Planes in 3D January 28, 2013 1 / 20 Introduction Recall that given a point P = (a, b, c), one can draw a

More information

Searching Algorithms/Time Analysis

Searching Algorithms/Time Analysis Searching Algorithms/Time Analysis CSE21 Fall 2017, Day 8 Oct 16, 2017 https://sites.google.com/a/eng.ucsd.edu/cse21-fall-2017-miles-jones/ (MinSort) loop invariant induction Loop invariant: After the

More information

Microsoft Excel Pivot Tables & Pivot Table Charts

Microsoft Excel Pivot Tables & Pivot Table Charts Microsoft Excel 2013 Pivot Tables & Pivot Table Charts A pivot table report allows you to analyze and summarize a million rows of data in Excel 2013 without entering a single formula. Pivot Tables let

More information

CSC258: Computer Organization. Memory Systems

CSC258: Computer Organization. Memory Systems CSC258: Computer Organization Memory Systems 1 Summer Independent Studies I m looking for a few students who will be working on campus this summer. In addition to the paid positions posted earlier, I have

More information

Escher s Tessellations: The Symmetry of Wallpaper Patterns II. Symmetry II

Escher s Tessellations: The Symmetry of Wallpaper Patterns II. Symmetry II Escher s Tessellations: The Symmetry of Wallpaper Patterns II Symmetry II 1/38 Brief Review of the Last Class Last time we started to talk about the symmetry of wallpaper patterns. Recall that these are

More information

Data Structures and Algorithms Key to Homework 1

Data Structures and Algorithms Key to Homework 1 Data Structures and Algorithms Key to Homework 1 January 31, 2005 15 Define an ADT for a set of integers (remember that a set may not contain duplicates) Your ADT should consist of the functions that can

More information

Sets: Efficient Searching and Insertion

Sets: Efficient Searching and Insertion Sets: Efficient Searching and Insertion PIC 10B May 18, 2016 PIC 10B Sets: Efficient Searching and Insertion May 18, 2016 1 / 9 Overview of Lecture 1 Searching and Inserting 2 Sets 3 Questions PIC 10B

More information

Arrays Structured data Arrays What is an array?

Arrays Structured data Arrays What is an array? The contents of this Supporting Material document have been prepared from the Eight units of study texts for the course M150: Date, Computing and Information, produced by The Open University, UK. Copyright

More information

Organizing Data The Power of Structure...

Organizing Data The Power of Structure... Organizing Data The Power of Structure... Notes for CSC 100 - The Beauty and Joy of Computing The University of North Carolina at Greensboro Reminders Lab this Friday: Lists! Remember Pre-lab work. Blown

More information

COSC 311: ALGORITHMS HW1: SORTING

COSC 311: ALGORITHMS HW1: SORTING COSC 311: ALGORITHMS HW1: SORTIG Solutions 1) Theoretical predictions. Solution: On randomly ordered data, we expect the following ordering: Heapsort = Mergesort = Quicksort (deterministic or randomized)

More information

CS 137 Part 7. Big-Oh Notation, Linear Searching and Basic Sorting Algorithms. November 10th, 2017

CS 137 Part 7. Big-Oh Notation, Linear Searching and Basic Sorting Algorithms. November 10th, 2017 CS 137 Part 7 Big-Oh Notation, Linear Searching and Basic Sorting Algorithms November 10th, 2017 Big-Oh Notation Up to this point, we ve been writing code without any consideration for optimization. There

More information

Control Structures II. Repetition (Loops)

Control Structures II. Repetition (Loops) Control Structures II Repetition (Loops) Why Is Repetition Needed? How can you solve the following problem: What is the sum of all the numbers from 1 to 100 The answer will be 1 + 2 + 3 + 4 + 5 + 6 + +

More information

COMMERCIAL BANKING. ChAsE COMMERCIAL ONLINE sm ALERTs ACTIvATE ALERTs. Step. Step 2. From the My Accounts page, click "Manage Account Alerts.

COMMERCIAL BANKING. ChAsE COMMERCIAL ONLINE sm ALERTs ACTIvATE ALERTs. Step. Step 2. From the My Accounts page, click Manage Account Alerts. ChAsE COMMERCIAL ONLINE sm ALERTs ACTIvATE ALERTs You can enroll in Account Alerts through Chase Commercial Online. Alerts provide you with notifications through email messages or push notifications to

More information

Physics 2660: Fundamentals of Scientific Computing. Lecture 5 Instructor: Prof. Chris Neu

Physics 2660: Fundamentals of Scientific Computing. Lecture 5 Instructor: Prof. Chris Neu Physics 2660: Fundamentals of Scientific Computing Lecture 5 Instructor: Prof. Chris Neu (chris.neu@virginia.edu) Reminder I am back! HW04 due Thursday 22 Feb electronically by noon HW grades are coming.

More information

Introduction to C Final Review Chapters 1-6 & 13

Introduction to C Final Review Chapters 1-6 & 13 Introduction to C Final Review Chapters 1-6 & 13 Variables (Lecture Notes 2) Identifiers You must always define an identifier for a variable Declare and define variables before they are called in an expression

More information

High Dimensional Indexing by Clustering

High Dimensional Indexing by Clustering Yufei Tao ITEE University of Queensland Recall that, our discussion so far has assumed that the dimensionality d is moderately high, such that it can be regarded as a constant. This means that d should

More information

Hot X: Algebra Exposed

Hot X: Algebra Exposed Hot X: Algebra Exposed Solution Guide for Chapter 11 Here are the solutions for the Doing the Math exercises in Hot X: Algebra Exposed! DTM from p.149 2. Since m = 2, our equation will look like this:

More information

CS4961 Parallel Programming. Lecture 12: Advanced Synchronization (Pthreads) 10/4/11. Administrative. Mary Hall October 4, 2011

CS4961 Parallel Programming. Lecture 12: Advanced Synchronization (Pthreads) 10/4/11. Administrative. Mary Hall October 4, 2011 CS4961 Parallel Programming Lecture 12: Advanced Synchronization (Pthreads) Mary Hall October 4, 2011 Administrative Thursday s class Meet in WEB L130 to go over programming assignment Midterm on Thursday

More information

Repetition and Loop Statements Chapter 5

Repetition and Loop Statements Chapter 5 Repetition and Loop Statements Chapter 5 1 Chapter Objectives To understand why repetition is an important control structure in programming To learn about loop control variables and the three steps needed

More information

Solving Minesweeper Using CSP

Solving Minesweeper Using CSP Solving Minesweeper Using CSP AI Course Final Project Gil & Chai Usage (After using Makefile) java player/aiplayer

More information

Moodle Quick Start Guide: Scheduling Student Appointments Using the Scheduler

Moodle Quick Start Guide: Scheduling Student Appointments Using the Scheduler Moodle Quick Start Guide: Scheduling Student Appointments Using the Scheduler As part of our integration with Banner, we have created a Faculty Advisor course for all faculty members listed in Banner,

More information

What s New in Spotfire DXP 1.1. Spotfire Product Management January 2007

What s New in Spotfire DXP 1.1. Spotfire Product Management January 2007 What s New in Spotfire DXP 1.1 Spotfire Product Management January 2007 Spotfire DXP Version 1.1 This document highlights the new capabilities planned for release in version 1.1 of Spotfire DXP. In this

More information

Pearson Edexcel Award

Pearson Edexcel Award Pearson Edexcel Award January 2018 Examination Timetable FINAL For more information on Edexcel qualifications please visit http://qualifications.pearson.com Pearson Edexcel Award January 2018 Examination

More information

CPSC 121: Models of Computation. Module 5: Predicate Logic

CPSC 121: Models of Computation. Module 5: Predicate Logic CPSC 121: Models of Computation Module 5: Predicate Logic Module 5: Predicate Logic Midterm 1: Friday February 9 th, 17:00 to 18:15 A to C (by last name): room DMP 310 D to K: room MATH 100 L to P: room

More information

Lecture 10. Finding strongly connected components

Lecture 10. Finding strongly connected components Lecture 10 Finding strongly connected components Announcements HW4 due Friday Nothing assigned Friday because MIDTERM in class, Monday 10/30. Please show up. During class, 1:30-2:50 If your last name is

More information

Lineup. Introduction. What you will need. Import your costumes. What you will make. What you will learn. Hardware. Software

Lineup. Introduction. What you will need. Import your costumes. What you will make. What you will learn. Hardware. Software Raspberry Pi Projects Lineup Introduction In this project you will be making a game using Scratch 2.0. The game will involve nding a stamped sprite on the stage, hidden amongst a huge group of other stamps.

More information

Intro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming

Intro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming Intro to Programming Unit 7 Intro to Programming 1 What is Programming? 1. Programming Languages 2. Markup vs. Programming 1. Introduction 2. Print Statement 3. Strings 4. Types and Values 5. Math Externals

More information

The Beauty and Joy of Computing 1 Lab Exercise 4: Starting a simple math tutor program and more interaction

The Beauty and Joy of Computing 1 Lab Exercise 4: Starting a simple math tutor program and more interaction The Beauty and Joy of Computing 1 Lab Exercise 4: Starting a simple math tutor program and more interaction Objectives By completing this lab exercise, you should learn to Create your own reporter and

More information

Moodle Quick Start Guide: Scheduling Student Appointments Using the Scheduler

Moodle Quick Start Guide: Scheduling Student Appointments Using the Scheduler Moodle Quick Start Guide: Scheduling Student Appointments Using the Scheduler As part of our integration with Banner, we have created a Faculty Advisor course for all faculty members listed in Banner,

More information

Lab Two Using Wireshark to Discover IP NAME:

Lab Two Using Wireshark to Discover IP NAME: Lab Two Using Wireshark to Discover IP NAME: In this lab, we ll investigate the IP protocol, focusing on the IP datagram. We ll do so by analyzing a trace of IP datagrams sent and received by an execution

More information

Class 8 - September 13 Indirect Truth Tables for Invalidity and Inconsistency ( 6.5)

Class 8 - September 13 Indirect Truth Tables for Invalidity and Inconsistency ( 6.5) Philosophy 240: Symbolic Logic Fall 2010 Mondays, Wednesdays, Fridays: 9am - 9:50am Hamilton College Russell Marcus rmarcus1@hamilton.edu Class 8 - September 13 Indirect Truth Tables for Invalidity and

More information

Researcher information

Researcher information Researcher information Starting January 1, 2014 researchers can be registered and orders can be submitted to Budapest City Archives online via the Digital Archives Portal (www.eleveltar.hu). You have to

More information

PROGRAMMING CONCEPTS

PROGRAMMING CONCEPTS ch01.qxd 9/19/02 9:17 AM Page 1 C H A P T E R 1 PROGRAMMING CONCEPTS CHAPTER OBJECTIVES In this Chapter, you will learn about: The Nature of a Computer Program and Programming Languages Page 2 Good Programming

More information

Maximizing the Power of Excel With Macros and Modules

Maximizing the Power of Excel With Macros and Modules Maximizing the Power of Excel With Macros and Modules Produced by SkillPath Seminars The Smart Choice 6900 Squibb Road P.O. Box 2768 Mission, KS 66201-2768 1-800-873-7545 www.skillpath.com Maximizing the

More information

Chapter 5 Loops Liang, Introduction to Java Programming, Tenth Edition, Global Edition. Pearson Education Limited

Chapter 5 Loops Liang, Introduction to Java Programming, Tenth Edition, Global Edition. Pearson Education Limited Chapter 5 Loops Liang, Introduction to Java Programming, Tenth Edition, Global Edition. Pearson Education Limited 2015 1 Motivations Suppose that you need to print a string (e.g., "Welcome to Java!") a

More information

What are the most likely declarations of "month" in the old and new versions of the program?

What are the most likely declarations of month in the old and new versions of the program? All multiple choice questions are equally weighted. You can generally assume that code shown in the questions is syntactically correct, unless something in the question or one of the answers suggests otherwise.

More information

Database Management System

Database Management System Database Management System Lecture Join * Some materials adapted from R. Ramakrishnan, J. Gehrke and Shawn Bowers Today s Agenda Join Algorithm Database Management System Join Algorithms Database Management

More information

Getting Started with Mathematica

Getting Started with Mathematica G563 Quantitative Paleontology Department of Geological Sciences P. David Polly Getting Started with Mathematica Mathematica has a unique interface that takes a while to get used to. You open to a blank

More information

COMP-202: Foundations of Programming. Lecture 4: Flow Control Loops Sandeep Manjanna, Summer 2015

COMP-202: Foundations of Programming. Lecture 4: Flow Control Loops Sandeep Manjanna, Summer 2015 COMP-202: Foundations of Programming Lecture 4: Flow Control Loops Sandeep Manjanna, Summer 2015 Announcements Check the calendar on the course webpage regularly for updates on tutorials and office hours.

More information

CPSC 421 Database Management Systems. Lecture 11: Storage and File Organization

CPSC 421 Database Management Systems. Lecture 11: Storage and File Organization CPSC 421 Database Management Systems Lecture 11: Storage and File Organization * Some material adapted from R. Ramakrishnan, L. Delcambre, and B. Ludaescher Today s Agenda Start on Database Internals:

More information

Administrativia. CS107 Introduction to Computer Science. Readings. Algorithms. Expressing algorithms

Administrativia. CS107 Introduction to Computer Science. Readings. Algorithms. Expressing algorithms CS107 Introduction to Computer Science Lecture 2 An Introduction to Algorithms: and Conditionals Administrativia Lab access Searles 128: Mon-Friday 8-5pm (unless class in progress) and 6-10pm Sat, Sun

More information

EXCEL Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development

EXCEL Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development Information Technology MS Office Excel 2007 Users Guide EXCEL 2007 Using Excel for Data Query & Management IT Training & Development (818) 677-1700 Training@csun.edu TABLE OF CONTENTS Introduction... 1

More information

To become familiar with array manipulation, searching, and sorting.

To become familiar with array manipulation, searching, and sorting. ELECTRICAL AND COMPUTER ENGINEERING 06-88-211: COMPUTER AIDED ANALYSIS LABORATORY EXPERIMENT #2: INTRODUCTION TO ARRAYS SID: OBJECTIVE: SECTIONS: Total Mark (out of 20): To become familiar with array manipulation,

More information

Expressions and Control Statements

Expressions and Control Statements Expressions and Control Statements Announcements Programming Assignment #1 Out: Karel the Robot: Due Friday, January 18 at 3:15 PM. Email: Due Sunday, January 20 at 11:59PM. Need help? Stop by the LaIR!

More information

COGS 119/219 MATLAB for Experimental Research. Fall 2017 Cell Arrays Structs

COGS 119/219 MATLAB for Experimental Research. Fall 2017 Cell Arrays Structs COGS 119/219 MATLAB for Experimental Research Fall 2017 Cell Arrays Structs Cell array Recall: Vectors and matrices hold elements of a single data type. Cell array is a data structure in MATLAB that holds

More information

CMPSCI 250: Introduction to Computation. Lecture #14: Induction and Recursion (Still More Induction) David Mix Barrington 14 March 2013

CMPSCI 250: Introduction to Computation. Lecture #14: Induction and Recursion (Still More Induction) David Mix Barrington 14 March 2013 CMPSCI 250: Introduction to Computation Lecture #14: Induction and Recursion (Still More Induction) David Mix Barrington 14 March 2013 Induction and Recursion Three Rules for Recursive Algorithms Proving

More information

ECE 2035 A Programming HW/SW Systems Spring problems, 5 pages Exam Three 13 April Your Name (please print clearly)

ECE 2035 A Programming HW/SW Systems Spring problems, 5 pages Exam Three 13 April Your Name (please print clearly) Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have a question, raise your hand; do not leave your seat. Please work the exam in pencil and do not separate

More information

CSE 143 Sample Midterm Exam #8 (12wi)

CSE 143 Sample Midterm Exam #8 (12wi) 1. ArrayList Mystery Consider the following method: CSE 143 Sample Midterm Exam #8 (12wi) public static void mystery(arraylist list) { for (int index = 0; index < list.size(); index++) { int elementvalue

More information

Introduction to Functional Programming. Slides by Koen Claessen and Emil Axelsson

Introduction to Functional Programming. Slides by Koen Claessen and Emil Axelsson Introduction to Functional Programming Slides by Koen Claessen and Emil Axelsson Goal of the Course Start from the basics Learn to write small-to-medium sized programs in Haskell Introduce basic concepts

More information

Problem Solving through Programming In C Prof. Anupam Basu Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Problem Solving through Programming In C Prof. Anupam Basu Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Problem Solving through Programming In C Prof. Anupam Basu Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 18 Switch Statement (Contd.) And Introduction to

More information

Moodle Quick Start Guide: Scheduling Student Appointments Using the Scheduler

Moodle Quick Start Guide: Scheduling Student Appointments Using the Scheduler Moodle Quick Start Guide: Scheduling Student Appointments Using the Scheduler As part of our integration with Banner, we have created a Faculty Advisor course for all faculty members listed in Banner,

More information

Topic 4 Randomized algorithms, II

Topic 4 Randomized algorithms, II CSE 103: Probability and statistics Winter 2010 Topic 4 Randomized algorithms, II 4.1 Karger s minimum cut algorithm 4.1.1 Clustering via graph cuts Suppose a mail order company has the resources to prepare

More information

Chapter 4: Programming with MATLAB

Chapter 4: Programming with MATLAB Chapter 4: Programming with MATLAB Topics Covered: Programming Overview Relational Operators and Logical Variables Logical Operators and Functions Conditional Statements For Loops While Loops Debugging

More information

Remember to also pactice: Homework, quizzes, class examples, slides, reading materials.

Remember to also pactice: Homework, quizzes, class examples, slides, reading materials. Exam 1 practice problems Remember to also pactice: Homework, quizzes, class examples, slides, reading materials. P1 (MC) For all the questions below (except for the True or False questions), the answer

More information

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

More information

Cardinality of Sets MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Cardinality of Sets Fall / 15

Cardinality of Sets MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Cardinality of Sets Fall / 15 Cardinality of Sets MAT Transition to Higher Mathematics Fall 0 MAT (Transition to Higher Math) Cardinality of Sets Fall 0 / Outline Sets with Equal Cardinality Countable and Uncountable Sets MAT (Transition

More information

1. What is Excel? Page 2 of 17

1. What is Excel? Page 2 of 17 Data Analysis & Business Intelligence Made Easy with Excel Power Tools Excel Data Analysis Basics = E-DAB Notes for Video: E-DAB-02: Data, Proper Data Sets, Excel Tables, Sort, Filter, Logical Tests Objectives

More information

CSE115 / CSE503 Introduction to Computer Science I. Dr. Carl Alphonce 343 Davis Hall Office hours:

CSE115 / CSE503 Introduction to Computer Science I. Dr. Carl Alphonce 343 Davis Hall Office hours: CSE115 / CSE503 Introduction to Computer Science I Dr. Carl Alphonce 343 Davis Hall alphonce@buffalo.edu Office hours: Thursday 12:00 PM 2:00 PM Friday 8:30 AM 10:30 AM OR request appointment via e-mail

More information