Measuring lateness. Definition of Measurement (Fenton)

Size: px
Start display at page:

Download "Measuring lateness. Definition of Measurement (Fenton)"

Transcription

1 When you can measure what you are speaking about, and express it in numbers, you know something about it; but when you cannot measure it, when you cannot express it in numbers, your knowledge is of a meagre kind. Lord Kelvin 1 Measuring lateness To measure time on an absolute scale we can measure the elapsed minutes since the start of the lecture. If a student arrives after more than 5 minutes have elapsed then their picture is taken and added to the slides The next few slides are late comers from this lecture. 2

2 Measuring lateness JUST JOKING! 3 Definition of Measurement (Fenton) Measurement is the process of empirical objective assignment of numbers to entities, in order to characterise a specific attribute. Entity: an object or event Attribute: a feature or property of an entity Objective: the measurement process must be based on a well-defined rule whose results are repeatable 4

3 Example Measures ENTITY ATTRIBUTE MEASURE Person Age Years at last birthday Person Age Months since birth Source code Length # Lines of Code (LOC) Source code Length # Executable statements Testing process duration Time in hours from start to finish Tester efficiency Number of faults found per KLOC Testing process fault frequency Number of faults found per KLOC Source code quality Number of faults found per KLOC Operating system reliability Mean Time to failure rate of occurrence of failures 5 Avoiding Mistakes in Measurement Common mistakes in software measurement can be avoided simply by adhering to the definition of measurement. In particular: You must specify both entity and attribute The entity must be defined precisely You must have a reasonable intuitive understanding of the attribute before you propose a measure The theory of measurement formalises these ideas 6

4 Don t be Wilde s Cynic Estimation based on measurement is often used to work out project effort Do not confuse this with the price you should charge to the customer There is a difference between cost and value A cynic is one who knows the cost of everything and the value of nothing [Oscar Wilde] 7 Cost and Value Build cost: The cost to you This can be assessed by estimation.. Based on measurements Price: The value to the customer is different Price (p) has to reflect value not build cost (b) This can be a (huge) advantage to you p>>b or a warning p<b 8

5 Example Use of Measurement Suppose you set up a maintenance project You goal is to ensure nothing goes wrong How do you know that you are saving money? How do you fight for more resources for your project? How do you avoid being the first to be chopped or outsourced? 9 Be Clear of Your Attribute It is a mistake to propose a measure if there is no consensus on what attribute it characterises. o Results of an IQ test intelligence? or verbal ability? or problem solving skills? o # defects found / KLOC quality of code? quality of testing? 10

6 A Cautionary Note We must not re-define an attribute to fit in with an existing measure. His IQ rating is zero - he didn t manage a single answer Well I know he can t write yet, but I ve always regarded him as a rather intelligent dog 11 Types and uses of measurement Two distinct types of measurement: direct measurement indirect measurement Two distinct uses of measurement: for assessment for prediction 12

7 Some Direct Software Measures Length of source code (measured by LOC) Duration of testing process (measured by elapsed time in hours) Number of defects discovered during the testing process (measured by counting defects) Effort of a programmer on a project (measured by person months worked) 13 Some Indirect Software Measures Programmer productivity Module defect density Defect detection efficiency Requirements stability Test effectiveness ratio System spoilage LOC produced person months of effort number of defects module size number of defects detected total number of defects numb of initial requirements total number of requirements number of items covered total number of items effort spent fixing faults total project effort 14

8 Measurement Theory Objectives Measurement theory is the scientific basis for all types of measurement. It is used to determine formally: When we have really defined a measure Which statements involving measurement are meaningful What the appropriate scale type is What types of statistical operations can be applied to measurement data 15 Measurement Theory: Key Components Empirical relation system the relations which are observed on entities in the real world which characterise our understanding of the attribute in question, e.g. Fred taller than Joe (for height of people) Representation condition real world entities are mapped to number (the measurement mapping) in such a way that all empirical relations are preserved in numerical relations and no new relations are created e.g. M(Fred) > M(Joe) precisely when Fred is taller than Joe 16

9 Representation Condition Real World Number System Joe M Fred Joe taller than Fred M(Joe) > M(Fred) Empirical relation preserved under M as Numerical relation 17 Meaningfulness in Measurement Some statements involving measurement appear more meaningful than others: Fred is twice as tall as Jane The temperature in Tokyo today is twice that in London The difference in temperature between Tokyo and London today is twice what it was yesterday Formally a statement involving measurement is meaningful if its truth value is invariant of transformations of allowable scales 18

10 Measurement Scale Types Some measures seem to be of a different type to others, depending on what kind of statements are meaningful. The 5 most important scale types of measurement are: Nominal Ordinal Interval Ratio Absolute Increasing order of sophistication 19 Scales Nominal scale: (classification) eg. blood groups, program language, colour Ordinal scale: (ordering) eg. {Excellent, Very Good, Good, Satisfactory} Interval Scale: (quantifying differences) eg. Date Ratio scale: (ratios and zero are meaningful) eg. Length Absolute scale: (counting) 20

11 Nominal Scales Egs. A classification No Order, No Size Blood Groups: O+, A, AB, AB- Multiple choice answers Which of the following is makes Cornflakes the best for you each morning? A. High in Vitamins B. Delicious Hot or Cold C. Full of Natural Sunshine Note: ordering of letters is not important. What programming language is this program written in? What is the project name to which piece of code belongs? 21 Ordinal Scales as above plus: order meaningful No size, no comparison of differences This country would be better off without the monarchy. Do you: A. Strongly Agree B. Agree C. Neither Agree nor disagree D. Disagree E. Strongly disagree This program is more cohesive than that one 22

12 A-level results A, B, C, D, E Ordinal Scales (II) Order important, but can you compare difference A-B with B-C? Assigning points to grades and totalling is trying to do this. A= 12, B= 9, C=5 etc. This is a common mistake in use of measurement in computing (as elsewhere) 23 Interval Scale Measurement Powerful, but rare in practice Distances between entities matter, but not ratios Mapping must preserve order and intervals Examples: Timing of events occurrence, e.g. could measure these in units of years, days, hours etc, all relative to different fixed events. Thus it is meaningless to say Project X started twice as early as project Y, but meaningful to say the time between project X starting and now is twice the time between project Y starting and now Heat measured on Fahrenheit or Centigrade scale 24

13 Ratio Scales As above plus: zero meaningful; ratios meaningful length, mass, temperature (but in Kelvin not centigrade) price: Two for the price of one. 25 Absolute Scales Used for counting Number of students in class Number of lines of code Number of faults Number of programmers Number of 26

14 Scale Types Summary Scale Types Nominal Ordinal Interval Ratio Absolute Characteristics Entities are classified. No arithmetic meaningful. Entities are classified and ordered. Cannot use + or -. Entities classified, ordered, and differences between them understood ( units ). No zero, but can use ordinary arithmetic on intervals. Zeros, units, ratios between entities. All arithmetic. Counting; only one possible measure. All arithmetic. 27 Natural Evolution of Measures As our understanding of an attribute grows, it is possible to define more sophisticated measures; e.g. temperature : 200BC - rankings, hotter than first thermometer preserving hotter than Fahrenheit scale Centigrade scale Absolute zero, Kelvin scale 28

15 Example: The Mean Suppose we have a set of values {a 1,a 2,...,a n } and wish to compute the average The mean is a 1 +a a n n The mean is not a meaningful average for a set of ordinal scale data 29 Alternative Measures of Average Median: The midpoint of the data when it is arranged in increasing order. It divides the data into two equal parts Suitable for ordinal data. Not suitable for nominal data since it relies on order having meaning. Mode: The commonest value Suitable for nominal data 30

16 Summary of Meaningful Statistics Scale Type Nominal Ordinal Interval Ratio Absolute Average Mode Median Arithmetic mean Geometric mean Any Spread Frequency Percentile Standard deviation Coefficient of variation Any 31 Arithmetic mean? Geometic mean? Standard deviation? Definition: The coefficient of variation is an attribute of a distribution: its standard deviation divided by its mean. 32

17 Permissible changes of Units Nominal scale: Any 1-1 mapping from M to M (a renaming) M (a) = M (b) iff M(a)=M(b) Ordinal scale: Any monotonic mapping from M to M M (a) > M (b) if M(a) > M(b) 33 Permissible changes of Units (II) Interval Scale: Any affine transformation M (v) = a.m(v) + b (a>0) Ratio scale: Any linear transformation M (v) = a.m(v) (a>0) Absolute scale No transformations 34

18 Measuring Software 3 Dimensions Length Functionality Complexity Industrial Practise # lines for code # pages for specifications 35 Horses for Courses usefulness of a measure depends on the purpose for which it is used! Roughly speaking: Length and complexity are most useful as a measure of cost of code Functionality and complexity are most useful as a measure of cost of (implementing) a spec. 36

19 The LOC Measure is Widely used LOC: Number of Lines Of Code The simplest and most widely used measure of program size. Easy to compute and automate Used (as normalising measure) for effort/cost estimation (Effort = f(loc)) quality assessment/estimation (defects/loc)) productivity assessment (LOC/effort) Alternative (similar) measures KLOC: Thousands of Lines Of Code KDSI: Thousands of Delivered Source Instructions NCLOC: Non-Comment Lines of Code Number of Characters or Number of Bytes 37 how many LOC here? with TEXT_IO; use TEXT_IO; procedure Main is --This program copies characters from an input --file to an output file. Termination occurs --either when all characters are copied or --when a NULL character is input Nullchar, Eof: exception ; Char: CHARACTER; Input_file, Output_file, Console: FILE_TYPE; Begin loop Open (FILE => Input_file, MODE => IN_FILE, NAME => CharsIn ); Open (FILE => Output_file, MODE =>OUT_FILE, NAME => CharOut ); Get (Input_file, Char); if END_OF_FILE (Input_file) then raise Eof; elseif Char = ASCII.NUL then raise Nullchar; else Put(Output_file, Char); end if ; end loop ; exception when Eof => Put (Console, no null characters ); when Nullchar => Put (Console, null terminator ); end Main 38

20 Problems with LOC No standard definition Measures length of programs rather than size Wrongly used as a surrogate for: effort complexity functionality Fails to take account of redundancy and reuse Cannot be used comparatively for different types of programming languages Only available at the end of the development lifecycle 39 Problems with What counts Do declarations count? Do comments count? Do import lists count? Do compiler directives count? What about side effects? if (x++, y--, z=k=0, j-- == 0) Blank lines? Procedure headings, debugging code, keywords on their own? 40

21 Structural measures Can define a measure on code by its structure control flow structure data flow structure data structure These can then be the basis of measures of length complexity test coverage Control Flow Structure We will consider a (standard) simple language of: Atomic statements (assignment) (A) conditional (C) loops (L) sequencing (S) 42

22 Control Flowgraphs Atomic Loop Conditional Sequence Start or Stop node 43 Start Node In degree = 0 Stop Node Out degree = 0 Procedure nodes Out degree = 1 Predicate Nodes Out Degree = 2 Four Types of Node 44

23 Nesting If P then A else (while P do A) ; A Replace a procedure node and its edge by a flowgraph S C A A L A 45 Structural Measures Define measure in terms of four functions A nullary function for atomic statements M(A) = FA Two binary function for conds and seqs M(C(P1,P2)) = FC(M(P1),M(P2)) M(S(P1,P2)) = Fs(M(P1),M(P2)) A unary function for loops M(L(P1)) = FL(M(P1)) 46

24 Example Hierarchical Measures Number of Nodes: FA() = 2 Fs(m1,m2) = m1 + m2-1 FC(m1,m2) = m1 + m2 FL(m1) = m Example Hierarchical Measures Number of Edges: FA() = 1 Fs(m1,m2) = m1 + m2 FC(m1,m2) = m1 + m2 + 2 FL(m1) = m

25 Example Hierarchical Measures Number of Assignments: FA() = 1 Fs(m1,m2) = m1 + m2 FC(m1,m2) = m1 + m2 FL(m1) = m1 49

SE 3S03 - Tutorial 5. Alicia Marinache. Week of Feb 09, 2015

SE 3S03 - Tutorial 5. Alicia Marinache. Week of Feb 09, 2015 SE 3S03 - Tutorial 5 Department of Computer Science McMaster University Week of Feb 09, 2015 Acknowledgments: The material of these slides is based on [1] (chapter 2) 1/16 Outline 2/16 I I I I 3/16 Definition

More information

Measurement Theory for Software Engineers

Measurement Theory for Software Engineers Measurement Theory for Software Engineers Although mathematics might be considered the ultimate abstract science, it has always been motivated by concerns in the real, physical world. Thus it is not surprising

More information

Quality Management of Software and

Quality Management of Software and Quality Management of Software and Systems Software Measurement Prof. Dr. Liggesmeyer, 1 Motivation Measurement When you can measure what you are speaking about, and express it in numbers, you know something

More information

SFWR ENG 3S03: Software Testing

SFWR ENG 3S03: Software Testing (Slide 1 of 64) Dr. Ridha Khedri Department of Computing and Software, McMaster University Canada L8S 4L7, Hamilton, Ontario and Acknowledgments: Material based on [FP97, Chapter 2] and [Zus97, Chapter

More information

1. Types of Biological Data 2. Summary Descriptive Statistics

1. Types of Biological Data 2. Summary Descriptive Statistics Lecture 1: Basic Descriptive Statistics 1. Types of Biological Data 2. Summary Descriptive Statistics Measures of Central Tendency Measures of Dispersion 3. Assignments 1. Types of Biological Data Scales

More information

Introduction to Basic Statistics Version 2

Introduction to Basic Statistics Version 2 Introduction to Basic Statistics Version 2 Pat Hammett, Ph.D. University of Michigan 2014 Instructor Comments: This document contains a brief overview of basic statistics and core terminology/concepts

More information

Part III: Unstructured Data. Lecture timetable. Analysis of data. Data Retrieval: III.1 Unstructured data and data retrieval

Part III: Unstructured Data. Lecture timetable. Analysis of data. Data Retrieval: III.1 Unstructured data and data retrieval Inf1-DA 2010 20 III: 28 / 89 Part III Unstructured Data Data Retrieval: III.1 Unstructured data and data retrieval Statistical Analysis of Data: III.2 Data scales and summary statistics III.3 Hypothesis

More information

MTAT Software Engineering Management

MTAT Software Engineering Management MTAT.03.243 Software Engineering Management Lecture 07: SPI & Measurement Part A Dietmar Pfahl Spring 2015 email: dietmar.pfahl@ut.ee Announcement ATI Career Day Friday Announcement Industry Guest Lecture

More information

Lexical Analysis: DFA Minimization & Wrap Up

Lexical Analysis: DFA Minimization & Wrap Up Lexical Analysis: DFA Minimization & Wrap Up Automating Scanner Construction PREVIOUSLY RE NFA (Thompson s construction) Build an NFA for each term Combine them with -moves NFA DFA (subset construction)

More information

MTAT Software Engineering

MTAT Software Engineering MTAT.03.094 Software Engineering Lecture 14: Measurement Dietmar Pfahl Fall 2015 email: dietmar.pfahl@ut.ee Schedule of Lectures Week 01: Introduction to SE Week 02: Requirements Engineering I Week 03:

More information

Lexical Analysis Part II: Constructing a Scanner from Regular Expressions

Lexical Analysis Part II: Constructing a Scanner from Regular Expressions Lexical Analysis Part II: Constructing a Scanner from Regular Expressions CS434 Spring 2005 Department of Computer Science University of Alabama Joel Jones Copyright 2003, Keith D. Cooper, Ken Kennedy

More information

STA Module 4 Probability Concepts. Rev.F08 1

STA Module 4 Probability Concepts. Rev.F08 1 STA 2023 Module 4 Probability Concepts Rev.F08 1 Learning Objectives Upon completing this module, you should be able to: 1. Compute probabilities for experiments having equally likely outcomes. 2. Interpret

More information

LC OL - Statistics. Types of Data

LC OL - Statistics. Types of Data LC OL - Statistics Types of Data Question 1 Characterise each of the following variables as numerical or categorical. In each case, list any three possible values for the variable. (i) Eye colours in a

More information

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational 1 The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational model. We'll remind you what a Turing machine is --- you

More information

An Intuitive Introduction to Motivic Homotopy Theory Vladimir Voevodsky

An Intuitive Introduction to Motivic Homotopy Theory Vladimir Voevodsky What follows is Vladimir Voevodsky s snapshot of his Fields Medal work on motivic homotopy, plus a little philosophy and from my point of view the main fun of doing mathematics Voevodsky (2002). Voevodsky

More information

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 41 Pulse Code Modulation (PCM) So, if you remember we have been talking

More information

F78SC2 Notes 2 RJRC. If the interest rate is 5%, we substitute x = 0.05 in the formula. This gives

F78SC2 Notes 2 RJRC. If the interest rate is 5%, we substitute x = 0.05 in the formula. This gives F78SC2 Notes 2 RJRC Algebra It is useful to use letters to represent numbers. We can use the rules of arithmetic to manipulate the formula and just substitute in the numbers at the end. Example: 100 invested

More information

Chapter 15. Probability Rules! Copyright 2012, 2008, 2005 Pearson Education, Inc.

Chapter 15. Probability Rules! Copyright 2012, 2008, 2005 Pearson Education, Inc. Chapter 15 Probability Rules! Copyright 2012, 2008, 2005 Pearson Education, Inc. The General Addition Rule When two events A and B are disjoint, we can use the addition rule for disjoint events from Chapter

More information

CHAPTER 2 BASIC MATHEMATICAL AND MEASUREMENT CONCEPTS

CHAPTER 2 BASIC MATHEMATICAL AND MEASUREMENT CONCEPTS CHAPTER 2 BASIC MATHEMATICAL AD MEASUREMET COCEPTS LEARIG OBJECTIVES After completing Chapter 2, students should be able to: 1. Assign subscripts using the X variable to a set of numbers. 2 Do the operations

More information

Why have so many measurement scales?

Why have so many measurement scales? Why have so many measurement scales? Blair Hall Measurement Standards Laboratory of New Zealand Industrial Research Ltd., PO Box 31-310, Lower Hutt, New Zealand. b.hall@irl.cri.nz Notes Presented (via

More information

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning. 3: Logic Why logic? Logic about inference or argument Start from assumptions or axioms Make deductions according to rules of reasoning Logic 3-1 Why logic? (continued) If I don t buy a lottery ticket on

More information

Grade 4 supplement. Set D8 Measurement: Temperature. Includes. Skills & Concepts

Grade 4 supplement. Set D8 Measurement: Temperature. Includes. Skills & Concepts Grade 4 supplement Set D8 Measurement: Temperature Includes Activity 1: What s the Temperature? D8.1 Activity 2: How Does the Temperature Change During the Day? D8.5 Activity 3: Forecast & Actual Temperatures

More information

Adam Blank Spring 2017 CSE 311. Foundations of Computing I

Adam Blank Spring 2017 CSE 311. Foundations of Computing I Adam Blank Spring 2017 CSE 311 Foundations of Computing I Pre-Lecture Problem Suppose that p, and p (q r) are true. Is q true? Can you prove it with equivalences? CSE 311: Foundations of Computing Lecture

More information

Section 2.1 ~ Data Types and Levels of Measurement. Introduction to Probability and Statistics Spring 2017

Section 2.1 ~ Data Types and Levels of Measurement. Introduction to Probability and Statistics Spring 2017 Section 2.1 ~ Data Types and Levels of Measurement Introduction to Probability and Statistics Spring 2017 Objective To be able to classify data as qualitative or quantitative, to identify quantitative

More information

Curriculum Scope & Sequence Subject/Grade Level: MATHEMATICS/GRADE 7 Course: MATH 7

Curriculum Scope & Sequence Subject/Grade Level: MATHEMATICS/GRADE 7 Course: MATH 7 BOE APPROVED 3/12/13 Curriculum Scope & Sequence Subject/Grade Level: MATHEMATICS/GRADE 7 Course: MATH 7 Unit Duration NJCCCS / Unit Goals Transfer Goal(s) Enduring Review of 10 Days Unit Goals: There

More information

8. TRANSFORMING TOOL #1 (the Addition Property of Equality)

8. TRANSFORMING TOOL #1 (the Addition Property of Equality) 8 TRANSFORMING TOOL #1 (the Addition Property of Equality) sentences that look different, but always have the same truth values What can you DO to a sentence that will make it LOOK different, but not change

More information

Basic Statistics for Astrologers

Basic Statistics for Astrologers Page 1 of 5 Basic Statistics for Astrologers Written by Sergey Tarassov The statistics is the most tricky science I have ever dealt with. A decent person from the street who is not a statistician might

More information

The Purpose of Hypothesis Testing

The Purpose of Hypothesis Testing Section 8 1A:! An Introduction to Hypothesis Testing The Purpose of Hypothesis Testing See s Candy states that a box of it s candy weighs 16 oz. They do not mean that every single box weights exactly 16

More information

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

More information

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER 2 2017/2018 DR. ANTHONY BROWN 5.1. Introduction to Probability. 5. Probability You are probably familiar with the elementary

More information

E23: Hotel Management System Wen Yunlu Hu Xing Chen Ke Tang Haoyuan Module: EEE 101

E23: Hotel Management System Wen Yunlu Hu Xing Chen Ke Tang Haoyuan Module: EEE 101 E23: Hotel Management System Author: 1302509 Zhao Ruimin 1301478 Wen Yunlu 1302575 Hu Xing 1301911 Chen Ke 1302599 Tang Haoyuan Module: EEE 101 Lecturer: Date: Dr.Lin December/22/2014 Contents Contents

More information

Last Time. Inference Rules

Last Time. Inference Rules Last Time When program S executes it switches to a different state We need to express assertions on the states of the program S before and after its execution We can do it using a Hoare triple written

More information

Factoring. there exists some 1 i < j l such that x i x j (mod p). (1) p gcd(x i x j, n).

Factoring. there exists some 1 i < j l such that x i x j (mod p). (1) p gcd(x i x j, n). 18.310 lecture notes April 22, 2015 Factoring Lecturer: Michel Goemans We ve seen that it s possible to efficiently check whether an integer n is prime or not. What about factoring a number? If this could

More information

Introduction to Axiomatic Semantics

Introduction to Axiomatic Semantics Introduction to Axiomatic Semantics Meeting 9, CSCI 5535, Spring 2009 Announcements Homework 3 is out, due Mon Feb 16 No domain theory! Homework 1 is graded Feedback attached 14.2 (mean), 13 (median),

More information

Introducing Proof 1. hsn.uk.net. Contents

Introducing Proof 1. hsn.uk.net. Contents Contents 1 1 Introduction 1 What is proof? 1 Statements, Definitions and Euler Diagrams 1 Statements 1 Definitions Our first proof Euler diagrams 4 3 Logical Connectives 5 Negation 6 Conjunction 7 Disjunction

More information

LECTURE 15: SIMPLE LINEAR REGRESSION I

LECTURE 15: SIMPLE LINEAR REGRESSION I David Youngberg BSAD 20 Montgomery College LECTURE 5: SIMPLE LINEAR REGRESSION I I. From Correlation to Regression a. Recall last class when we discussed two basic types of correlation (positive and negative).

More information

Special Theory Of Relativity Prof. Shiva Prasad Department of Physics Indian Institute of Technology, Bombay

Special Theory Of Relativity Prof. Shiva Prasad Department of Physics Indian Institute of Technology, Bombay Special Theory Of Relativity Prof. Shiva Prasad Department of Physics Indian Institute of Technology, Bombay Lecture - 6 Length Contraction and Time Dilation (Refer Slide Time: 00:29) In our last lecture,

More information

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur Lecture 02 Groups: Subgroups and homomorphism (Refer Slide Time: 00:13) We looked

More information

Econ Spring Review Set 1 - Answers ELEMENTS OF LOGIC. NECESSARY AND SUFFICIENT. SET THE-

Econ Spring Review Set 1 - Answers ELEMENTS OF LOGIC. NECESSARY AND SUFFICIENT. SET THE- Econ 4808 - Spring 2008 Review Set 1 - Answers ORY ELEMENTS OF LOGIC. NECESSARY AND SUFFICIENT. SET THE- 1. De ne a thing or action in words. Refer to this thing or action as A. Then de ne a condition

More information

INTRODUCTION TO LOGIC

INTRODUCTION TO LOGIC INTRODUCTION TO LOGIC L. MARIZZA A. BAILEY 1. The beginning of Modern Mathematics Before Euclid, there were many mathematicians that made great progress in the knowledge of numbers, algebra and geometry.

More information

2.6 Complexity Theory for Map-Reduce. Star Joins 2.6. COMPLEXITY THEORY FOR MAP-REDUCE 51

2.6 Complexity Theory for Map-Reduce. Star Joins 2.6. COMPLEXITY THEORY FOR MAP-REDUCE 51 2.6. COMPLEXITY THEORY FOR MAP-REDUCE 51 Star Joins A common structure for data mining of commercial data is the star join. For example, a chain store like Walmart keeps a fact table whose tuples each

More information

Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras

Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras Module No. # 07 Lecture No. # 04 Ordinary Differential Equations (Initial Value

More information

The Basics COPYRIGHTED MATERIAL. chapter. Algebra is a very logical way to solve

The Basics COPYRIGHTED MATERIAL. chapter. Algebra is a very logical way to solve chapter 1 The Basics Algebra is a very logical way to solve problems both theoretically and practically. You need to know a number of things. You already know arithmetic of whole numbers. You will review

More information

The Euler Method for the Initial Value Problem

The Euler Method for the Initial Value Problem The Euler Method for the Initial Value Problem http://people.sc.fsu.edu/ jburkardt/isc/week10 lecture 18.pdf... ISC3313: Introduction to Scientific Computing with C++ Summer Semester 2011... John Burkardt

More information

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 4.1-1

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 4.1-1 Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by Mario F. Triola 4.1-1 4-1 Review and Preview Chapter 4 Probability 4-2 Basic Concepts of Probability 4-3 Addition

More information

MATHEMATICS. Perform a series of transformations and/or dilations to a figure. A FAMILY GUIDE FOR STUDENT SUCCESS 17

MATHEMATICS. Perform a series of transformations and/or dilations to a figure. A FAMILY GUIDE FOR STUDENT SUCCESS 17 MATHEMATICS In grade 8, your child will focus on three critical areas. The first is formulating and reasoning about expressions and equations, including modeling an association in bivariate data with a

More information

Chapter 2: Tools for Exploring Univariate Data

Chapter 2: Tools for Exploring Univariate Data Stats 11 (Fall 2004) Lecture Note Introduction to Statistical Methods for Business and Economics Instructor: Hongquan Xu Chapter 2: Tools for Exploring Univariate Data Section 2.1: Introduction What is

More information

A GUI FOR EVOLVE ZAMS

A GUI FOR EVOLVE ZAMS A GUI FOR EVOLVE ZAMS D. R. Schlegel Computer Science Department Here the early work on a new user interface for the Evolve ZAMS stellar evolution code is presented. The initial goal of this project is

More information

Lecturer: Giuseppe Santucci

Lecturer: Giuseppe Santucci Introduction to the theory of measure and some concepts of descriptive statistics and inferential statistics Lecturer: Giuseppe Santucci (Some slides taken from slideshare.net) 1 Why do we measure? We

More information

QUADRATICS 3.2 Breaking Symmetry: Factoring

QUADRATICS 3.2 Breaking Symmetry: Factoring QUADRATICS 3. Breaking Symmetry: Factoring James Tanton SETTING THE SCENE Recall that we started our story of symmetry with a rectangle of area 36. Then you would say that the picture is wrong and that

More information

Introduction to Semantics. The Formalization of Meaning 1

Introduction to Semantics. The Formalization of Meaning 1 The Formalization of Meaning 1 1. Obtaining a System That Derives Truth Conditions (1) The Goal of Our Enterprise To develop a system that, for every sentence S of English, derives the truth-conditions

More information

Probability Distribution

Probability Distribution Economic Risk and Decision Analysis for Oil and Gas Industry CE81.98 School of Engineering and Technology Asian Institute of Technology January Semester Presented by Dr. Thitisak Boonpramote Department

More information

CS4026 Formal Models of Computation

CS4026 Formal Models of Computation CS4026 Formal Models of Computation Turing Machines Turing Machines Abstract but accurate model of computers Proposed by Alan Turing in 1936 There weren t computers back then! Turing s motivation: find

More information

Signs in the Sky. by Michelle August

Signs in the Sky. by Michelle August Read the science passages. Then answer the questions that follow. Signs in the Sky by Michelle August 1 Today, every news channel has a weather person. They can predict the weather for days, even weeks

More information

Section 5.1 Supplement Number Problems

Section 5.1 Supplement Number Problems Number Problems Why do we need to learn math and how is the math that we learn useful to us? Chapter 5 will begin to answer these concerns. To resolve any real world problem with math, one must first be

More information

8. Reductio ad absurdum

8. Reductio ad absurdum 8. Reductio ad absurdum 8.1 A historical example In his book, The Two New Sciences, 10 Galileo Galilea (1564-1642) gives several arguments meant to demonstrate that there can be no such thing as actual

More information

Numbers, proof and all that jazz.

Numbers, proof and all that jazz. CHAPTER 1 Numbers, proof and all that jazz. There is a fundamental difference between mathematics and other sciences. In most sciences, one does experiments to determine laws. A law will remain a law,

More information

Chapter 0: Some basic preliminaries

Chapter 0: Some basic preliminaries Chapter 0: Some basic preliminaries 0.1 Introduction Unfortunately, I will tend to use some simple common and interchangeable terms that you ll all have heard of but perhaps you don t really know or cannot

More information

Lecture Slides. Elementary Statistics Twelfth Edition. by Mario F. Triola. and the Triola Statistics Series. Section 3.1- #

Lecture Slides. Elementary Statistics Twelfth Edition. by Mario F. Triola. and the Triola Statistics Series. Section 3.1- # Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series by Mario F. Triola Chapter 3 Statistics for Describing, Exploring, and Comparing Data 3-1 Review and Preview 3-2 Measures

More information

Basic Thermodynamics. Prof. S. K. Som. Department of Mechanical Engineering. Indian Institute of Technology, Kharagpur.

Basic Thermodynamics. Prof. S. K. Som. Department of Mechanical Engineering. Indian Institute of Technology, Kharagpur. Basic Thermodynamics Prof. S. K. Som Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Lecture - 06 Second Law and its Corollaries I Good afternoon, I welcome you all to this

More information

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.] Math 43 Review Notes [Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty Dot Product If v (v, v, v 3 and w (w, w, w 3, then the

More information

Further Mathematics 2018 CORE: Data analysis Chapter 2 Summarising numerical data

Further Mathematics 2018 CORE: Data analysis Chapter 2 Summarising numerical data Chapter 2: Summarising numerical data Further Mathematics 2018 CORE: Data analysis Chapter 2 Summarising numerical data Extract from Study Design Key knowledge Types of data: categorical (nominal and ordinal)

More information

Mathematics I. Quarter 2 : ALGEBRAIC EXPRESSIONS AND FIRST-DEGREE EQUATIONS AND INEQUALITIES IN ONE VARIABLE

Mathematics I. Quarter 2 : ALGEBRAIC EXPRESSIONS AND FIRST-DEGREE EQUATIONS AND INEQUALITIES IN ONE VARIABLE Mathematics I Quarter : ALGEBRAIC EXPRESSIONS AND FIRST-DEGREE EQUATIONS AND INEQUALITIES IN ONE VARIABLE Hello guys!!! Let s have a great time learning Mathematics. It s time for you to discover the language

More information

Scales & Measurements. Joe Celko copyright 2015

Scales & Measurements. Joe Celko copyright 2015 Scales & Measurements Joe Celko copyright 2015 Potrzebie System of Weights &SS Measures Terms - 2 Range - how much is covered (A bigger target has a wider range) Granularity - divisions within a unit of

More information

MATH 10 INTRODUCTORY STATISTICS

MATH 10 INTRODUCTORY STATISTICS MATH 10 INTRODUCTORY STATISTICS Tommy Khoo Your friendly neighbourhood graduate student. Week 1 Chapter 1 Introduction What is Statistics? Why do you need to know Statistics? Technical lingo and concepts:

More information

30. TRANSFORMING TOOL #1 (the Addition Property of Equality)

30. TRANSFORMING TOOL #1 (the Addition Property of Equality) 30 TRANSFORMING TOOL #1 (the Addition Property of Equality) sentences that look different, but always have the same truth values What can you DO to a sentence that will make it LOOK different, but not

More information

Introduction to Logic

Introduction to Logic Introduction to Logic L. Marizza A. Bailey June 21, 2014 The beginning of Modern Mathematics Before Euclid, there were many mathematicians that made great progress in the knowledge of numbers, algebra

More information

Unit 2: Functions and Patterns

Unit 2: Functions and Patterns For Teacher Use Packet Score: Name: Period: Algebra 1 Unit 2: Functions and Patterns Note Packet Date Topic/Assignment Page Due Date Score (For Teacher Use Only) Warm-Ups 2-A Intro to Functions 2-B Tile

More information

ASTRO 114 Lecture Okay. What we re going to discuss today are what we call radiation laws. We ve

ASTRO 114 Lecture Okay. What we re going to discuss today are what we call radiation laws. We ve ASTRO 114 Lecture 15 1 Okay. What we re going to discuss today are what we call radiation laws. We ve been spending a lot of time talking about laws. We ve talked about gravitational laws, we ve talked

More information

Lecture Notes in Quantitative Biology

Lecture Notes in Quantitative Biology Lecture Notes in Quantitative Biology Numerical Methods L30a L30b Chapter 22.1 Revised 29 November 1996 ReCap Numerical methods Definition Examples p-values--h o true p-values--h A true modal frequency

More information

Ø Set of mutually exclusive categories. Ø Classify or categorize subject. Ø No meaningful order to categorization.

Ø Set of mutually exclusive categories. Ø Classify or categorize subject. Ø No meaningful order to categorization. Statistical Tools in Evaluation HPS 41 Fall 213 Dr. Joe G. Schmalfeldt Types of Scores Continuous Scores scores with a potentially infinite number of values. Discrete Scores scores limited to a specific

More information

Math 308 Spring Midterm Answers May 6, 2013

Math 308 Spring Midterm Answers May 6, 2013 Math 38 Spring Midterm Answers May 6, 23 Instructions. Part A consists of questions that require a short answer. There is no partial credit and no need to show your work. In Part A you get 2 points per

More information

Computational Models Lecture 11, Spring 2009

Computational Models Lecture 11, Spring 2009 Slides modified by Benny Chor, based on original slides by Maurice Herlihy, Brown University. p. 1 Computational Models Lecture 11, Spring 2009 Deterministic Time Classes NonDeterministic Time Classes

More information

Lecture 1 : Basic Statistical Measures

Lecture 1 : Basic Statistical Measures Lecture 1 : Basic Statistical Measures Jonathan Marchini October 11, 2004 In this lecture we will learn about different types of data encountered in practice different ways of plotting data to explore

More information

Introduction to Algebra: The First Week

Introduction to Algebra: The First Week Introduction to Algebra: The First Week Background: According to the thermostat on the wall, the temperature in the classroom right now is 72 degrees Fahrenheit. I want to write to my friend in Europe,

More information

Presuppositions (introductory comments)

Presuppositions (introductory comments) 1 Presuppositions (introductory comments) Some examples (1) a. The person who broke the typewriter was Sam. b. It was Sam who broke the typewriter. c. John screwed up again. d. John likes Mary, too. e.

More information

where Q is a finite set of states

where Q is a finite set of states Space Complexity So far most of our theoretical investigation on the performances of the various algorithms considered has focused on time. Another important dynamic complexity measure that can be associated

More information

Program Analysis Part I : Sequential Programs

Program Analysis Part I : Sequential Programs Program Analysis Part I : Sequential Programs IN5170/IN9170 Models of concurrency Program Analysis, lecture 5 Fall 2018 26. 9. 2018 2 / 44 Program correctness Is my program correct? Central question for

More information

Basic Thermodynamics Prof. S. K. Som Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Basic Thermodynamics Prof. S. K. Som Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Basic Thermodynamics Prof. S. K. Som Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Lecture - 09 Second Law and its Corollaries-IV Good afternoon to all of you to this session

More information

California 3 rd Grade Standards / Excel Math Correlation by Lesson Number

California 3 rd Grade Standards / Excel Math Correlation by Lesson Number California 3 rd Grade Standards / Lesson (Activity) L1 L2 L3 L4 L5 L6 L7 L8 Excel Math Lesson Objective Learning about the tens place and the ones place; adding and subtracting two-digit numbers; learning

More information

St. Ann s Academy - Mathematics

St. Ann s Academy - Mathematics St. Ann s Academy - Mathematics Students at St. Ann s Academy will be able to reason abstractly and quantitatively. Students will define, explain, and understand different types of word problems (simple

More information

Statistics 3 WEDNESDAY 21 MAY 2008

Statistics 3 WEDNESDAY 21 MAY 2008 ADVANCED GCE 4768/01 MATHEMATICS (MEI) Statistics 3 WEDNESDAY 1 MAY 008 Additional materials: Answer Booklet (8 pages) Graph paper MEI Examination Formulae and Tables (MF) Afternoon Time: 1 hour 30 minutes

More information

GAP CLOSING. Algebraic Expressions. Intermediate / Senior Facilitator s Guide

GAP CLOSING. Algebraic Expressions. Intermediate / Senior Facilitator s Guide GAP CLOSING Algebraic Expressions Intermediate / Senior Facilitator s Guide Topic 6 Algebraic Expressions Diagnostic...5 Administer the diagnostic...5 Using diagnostic results to personalize interventions...5

More information

Physics Motion Math. (Read objectives on screen.)

Physics Motion Math. (Read objectives on screen.) Physics 302 - Motion Math (Read objectives on screen.) Welcome back. When we ended the last program, your teacher gave you some motion graphs to interpret. For each section, you were to describe the motion

More information

CSE 21 Practice Exam for Midterm 2 Fall 2017

CSE 21 Practice Exam for Midterm 2 Fall 2017 CSE 1 Practice Exam for Midterm Fall 017 These practice problems should help prepare you for the second midterm, which is on monday, November 11 This is longer than the actual exam will be, but good practice

More information

Lecture 8 : Structural Induction DRAFT

Lecture 8 : Structural Induction DRAFT CS/Math 240: Introduction to Discrete Mathematics 2/15/2011 Lecture 8 : Structural Induction Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Last week we discussed proofs by induction. We

More information

Math Circle at FAU 10/27/2018 SOLUTIONS

Math Circle at FAU 10/27/2018 SOLUTIONS Math Circle at FAU 10/27/2018 SOLUTIONS 1. At the grocery store last week, small boxes of facial tissue were priced at 4 boxes for $5. This week they are on sale at 5 boxes for $4. Find the percent decrease

More information

Workshop 1a: Software Measurement. Dietmar Pfahl

Workshop 1a: Software Measurement. Dietmar Pfahl Software Economics Fall 2015 Workshop 1a: Software Measurement Dietmar Pfahl (based on slides by Marlon Dumas & Anton Litvinenko) Main Message Software measures can be misleading, so Either you don t use

More information

Proving logical equivalencies (1.3)

Proving logical equivalencies (1.3) EECS 203 Spring 2016 Lecture 2 Page 1 of 6 Proving logical equivalencies (1.3) One thing we d like to do is prove that two logical statements are the same, or prove that they aren t. Vocabulary time In

More information

6. The transfinite ordinals*

6. The transfinite ordinals* 6 The transfinite ordinals* 61 Beginnings It seems that Cantor was led to the discovery of Set Theory by consideration of a problem in Fourier analysis, which deals with series of the following form: a

More information

EXPERIMENT: REACTION TIME

EXPERIMENT: REACTION TIME EXPERIMENT: REACTION TIME OBJECTIVES to make a series of measurements of your reaction time to make a histogram, or distribution curve, of your measured reaction times to calculate the "average" or "mean"

More information

THE LOGIC OF COMPOUND STATEMENTS

THE LOGIC OF COMPOUND STATEMENTS CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS Copyright Cengage Learning. All rights reserved. SECTION 2.1 Logical Form and Logical Equivalence Copyright Cengage Learning. All rights reserved. Logical Form

More information

Chap 4. Software Reliability

Chap 4. Software Reliability Chap 4. Software Reliability 4.2 Reliability Growth 1. Introduction 2. Reliability Growth Models 3. The Basic Execution Model 4. Calendar Time Computation 5. Reliability Demonstration Testing 1. Introduction

More information

Algorithms and Complexity theory

Algorithms and Complexity theory Algorithms and Complexity theory Thibaut Barthelemy Some slides kindly provided by Fabien Tricoire University of Vienna WS 2014 Outline 1 Algorithms Overview How to write an algorithm 2 Complexity theory

More information

Predicates, Quantifiers and Nested Quantifiers

Predicates, Quantifiers and Nested Quantifiers Predicates, Quantifiers and Nested Quantifiers Predicates Recall the example of a non-proposition in our first presentation: 2x=1. Let us call this expression P(x). P(x) is not a proposition because x

More information

I thank the author of the examination paper on which sample paper is based. VH

I thank the author of the examination paper on which sample paper is based. VH I thank the author of the examination paper on which sample paper is based. VH 1. (a) Which of the following expressions is a sentence of L 1 or an abbreviation of one? If an expression is neither a sentence

More information

Data Analysis and Statistical Methods Statistics 651

Data Analysis and Statistical Methods Statistics 651 Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Suhasini Subba Rao Review Our objective: to make confident statements about a parameter (aspect) in

More information

15. NUMBERS HAVE LOTS OF DIFFERENT NAMES!

15. NUMBERS HAVE LOTS OF DIFFERENT NAMES! 5 NUMBERS HAVE LOTS OF DIFFERENT NAMES! a fun type of game with numbers one such game playing the game: 3 pets There are lots of number games that can make you look clairvoyant One such game goes something

More information

The Celsius temperature scale is based on the freezing point and the boiling point of water. 12 degrees Celsius below zero would be written as

The Celsius temperature scale is based on the freezing point and the boiling point of water. 12 degrees Celsius below zero would be written as Prealgebra, Chapter 2 - Integers, Introductory Algebra 2.1 Integers In the real world, numbers are used to represent real things, such as the height of a building, the cost of a car, the temperature of

More information

A Short Introduction to Hoare Logic

A Short Introduction to Hoare Logic A Short Introduction to Hoare Logic Supratik Chakraborty I.I.T. Bombay June 23, 2008 Supratik Chakraborty (I.I.T. Bombay) A Short Introduction to Hoare Logic June 23, 2008 1 / 34 Motivation Assertion checking

More information