Comparison Identity Vs. Equality Identity Vs. Equality for Strings Notions of Equality Order

Total Page:16

File Type:pdf, Size:1020Kb

Comparison Identity Vs. Equality Identity Vs. Equality for Strings Notions of Equality Order Comparison Comparisons and the Comparable • Something that we do a lot Interface • Can compare all kinds of data with respect to all kinds of comparison relations . Identity . Equality Lecture 14 . Order CS211 – Spring 2006 . Lots of others Identity vs. Equality Identity vs. Equality for Strings • For primitive types (e.g., int, long, float, double, boolean) . == and != are equality tests • Quiz: What are the results of the following tests? • For reference types (i.e., objects) . "hello".equals("hello") true . == and != are identity tests . In other words, they test if the references indicate the same address . "hello" == "hello" true in the Heap . "hello" == new String("hello") false • For equality of objects: use the equals( ) method . equals( ) is defined in class Object . Any class you create inherits equals from its parent class, but you can override it (and probably want to) Notions of equality Order • A is equal to B if A can be substituted for B anywhere • For numeric primitives • For all other reference . Identical things must be equal: == implies equals (e.g., int, float, long, types double) • Immutable values are equal if they represent same value! . <, >, <=, >= do not work . Use <, >, <=, >= • Not clear you want them . (new Integer(2)).equals(new Integer(2)) to work: suppose we . == is not an abstract operation compare People • For reference types that Compare by name? • Mutable values can be distinguished by assignment. correspond to primitive Compare by height? class Foo { int f; Foo(int g) { f = g; } } weight? types Compare by SSN? Foo x = new Foo(2); . As of Java 5.0, Java does CUID? Foo y = new Foo(2); Autoboxing and Auto- . Java provides Comparable Unboxing of Primitive interface . x.equals(y)? Not really (x.f = 1), but Java fudges equality Types • Or can use a Comparator • Shallow equality: x equals y if all components are == . This means, for example, • Deep equality: x equals y if all components are (deep) equal that an Integer is automatically converted into an appropriate int whenever necessary (and vice versa) 1 Comparable Interface Example • To compare people by weight: interface Comparable { class Person implements Comparable { int compareTo(Object x); private int weight; } ... public int compareTo(Object obj) { • (Note: this is Java 1.4.2 – Java 5.0 has generics) return ((Person)obj).weight - weight; • x.compareTo(y) returns a negative, zero, or positive integer based on } whether x is less-than, equal-to, or greater-than y, respectively public boolean equals(Object obj) { • less-than, equal-to, and greater-than are defined for that class by the return obj instanceof Person && implementation of compareTo ((Person)obj).weight == weight; } } Consistency Generic Code • The Comparable interface allows generic code for If a class has an equals method and also sorting, searching, and other operations that only require implements Comparable, then it is advisable (but comparisons not enforced) that static void mergeSort(Comparable[] a) {...} a.equals(b) static void bubbleSort(Comparable[] a) {...} exactly when • The sort methods do not need to know what they are sorting, a.compareTo(b) == 0 only how to compare elements Odd behavior can result if this is violated Generic Code Example Another Example • Finding the max element of an array • Lexicographic comparison of Comparable arrays • for int arrays, a < b lexicographically iff either: //return max element of an array . a[i] == b[i] for i < j and a[j] < b[j]; or static Comparable max(Comparable[] a) { . a[i] == b[i] for all i < a.length, and b is longer //throws ArrayIndexOutOfBoundsException Comparable max = a[0]; for (Comparable x : a) { //compare two Comparable arrays lexicographically if (x.compareTo(max) > 0) max = x; static int arrayCompare(Comparable[] a, Comparable[] b) } { return max; for (int i = 0; i < a.length && i < b.length; i++) { } int x = a[i].compareTo(b[i]); if (x != 0) return x; } • What is the max element? Whatever compareTo return b.length - a.length; says it is! } 2 Comparable Interface Update Example • Java 5.0 allows the use of “Generic Types” • In the Java source code, class String looks sort of . Aka parameterized types (other interfaces are also implemented) like this: . Here’s the Java 5.0 Comparable interface public final class String implements Comparable<String>{ interface Comparable<T> { public int compareTo (String s) {...} int compareTo(T x); ...} } . compareTo is only defined for arguments of type T • Code such as • Attempts to use a different type are caught at compile time “hello”.compareTo(new Integer(3)) generates a compile-time error . This implies that the runtime code can be more efficient Using Comparable for Sorting Unnatural Sorting • Sorting of arrays provided by Java Collections Framework: • The ordering given by interface Comparator<T> { import java.util.Arrays; compareTo is considered to int compare (T x, T y); } ... be the natural ordering for a class String[] names; • Can use a Comparator (a class ... • Sometimes you need to sort that implements the based on a different Arrays.sort(names) Comparator interface) ordering Arrays.sort(students, comparator) • This works for arrays of type comparableType[ ] (the base . Example: we may normally type must implement the Comparable interface) sort students by CUID, but we might want to produce a • String, for example, has a • (Class java.util.Arrays also contains sort methods for arrays list alphabetized by name of type primType[ ] for each primitive type) predefined Comparator: String.CASE_INSENSITIVE_ORDER Efficient Programs Linear Search • Have been talking a lot about how to make writing • Input: programs efficient . Unsorted array A of Comparables . Value v of type Comparable . Interfaces, encapsulation, inheritance, type checking, recursion vs. iteration, … • Output: . True if v is in array A, false otherwise • Haven’t talked much about how to make the programs themselves run efficiently • Algorithm: examine the elements of A in some order until . How long does it take program to run? you either . Is there an efficient data structure that should be used? . Find v: return true, or . Is there a faster algorithm? . You have unsuccessfully examined all the elements of the array: return false 3 Code for Linear Search Binary Search // Linear search on possibly unsorted array • Input: public static boolean linearSearch(Comparable[ ] a, Object v) { . Sorted array A[0..n-1] of Comparable for (int i = 0; i < a.length; i++) . Value v of type Comparable if (a[i].compareTo(v) == 0) return true; • Output: return false; . True if v is in array A, false otherwise } • Algorithm: similar to looking up telephone directory . Let m be the middle element of the array . If (m == v) return true . If (m < v) search right half of array . If (m > v) search left half of array 2 1 Linear search: 7 4 6 19 3 7 8 10 32 54 67 98 Search for 6 -2 0 6 8 9 1113 22 34 45 56 78 Search for 94 1 2 3 4 // Lo and hi are the two end points of interval of array public static boolean binarySearch(Comparable[] a, int lo, int hi, Object v) { Comparing Algorithms int middle = (lo + hi)/2; int c = A[middle].compareTo(v); • If you run binary search and linear search on a // Base cases computer, you will find that binary search runs if (c == 0) return true; much faster than linear search // Check if array interval has only one element if (lo == hi) return false; • Stating this precisely can be quite subtle // Array interval has more than one element, so continue searching • One approach: asymptotic complexity of programs if (c > 0) return binarySearch(a, lo, middle -1, v); // Left half else return binarySearch(a, middle+1, hi, v); // Right half . Big-O analysis } • Two steps: . Compute running time of program Invocation: assume array named data contains values . Running time ⇒ asymptotic running time ….. binarySearch(data, 0, data.length -1, v)….. Running Time of an Algorithm Defining an Algorithm’s Running Time • In general, running time of a program such as 1. Machine on which algorithm (i.e., program) is executed linear search depends on many factors . Random-access Memory (RAM) model of computing • Measure of running time: number of operations executed . Machine on which program is executed . Other models used in CS: Turing machine, Parallel RAM model, • Laptop vs. supercomputer … . Size of input (array A) . Simplified RAM model for now: • Big array vs. small array • Each data comparison is one operation. Values in array and value we search for • All other operations are free. • Evaluate searching/sorting algorithms by estimating number of • v is first element examined in array vs. v is not in array comparisons they execute • To talk precisely about running times of programs, It can be shown that, for comparison-based searching and sorting algorithms, the total number of operations executed on RAM model is we must specify all three factors above proportional to number of data comparisons executed 4 Defining Running Time (cont’d) Defining Running Time (cont’d) 2. Dependence on size of input 3. Dependence of running • Consider set In of all . Rather than compute a single number, we will time on input values possible inputs of size n compute a function from problem size to number of • Find number of comparisons comparisons for each • E.g., f(n) = 32n2 – 2n + 23 where n is problem size possible input in this set . Each program has its own measure of problem size • Compute . For searching/sorting, natural measure is size of array . Average: usually hard to ([3,6], 2) compute on which you are searching/sorting ([-4,5], -9) . Worst-case: easier to ([3,6], 3) ……. compute • We will use worst-case Possible inputs of size 2 complexity for linear/binary search Computing Running Times Linear search: 7 4 6 19 3 7 8 10 32 54 67 98 Assume array is of size n.
Recommended publications
  • Reasoning About Equations Using Equality
    Mathematics Instructional Plan – Grade 4 Reasoning About Equations Using Equality Strand: Patterns, Functions, Algebra Topic: Using reasoning to assess the equality in closed and open arithmetic equations Primary SOL: 4.16 The student will recognize and demonstrate the meaning of equality in an equation. Related SOL: 4.4a Materials: Partners Explore Equality and Equations activity sheet (attached) Vocabulary equal symbol (=), equality, equation, expression, not equal symbol (≠), number sentence, open number sentence, reasoning Student/Teacher Actions: What should students be doing? What should teachers be doing? 1. Activate students’ prior knowledge about the equal sign. Formally assess what students already know and what misconceptions they have. Ask students to open their notebooks to a clean sheet of paper and draw lines to divide the sheet into thirds as shown below. Create a poster of the same graphic organizer for the room. This activity should take no more than 10 minutes; it is not a teaching opportunity but simply a data- collection activity. Equality and the Equal Sign (=) I know that- I wonder if- I learned that- 1 1 1 a. Let students know they will be creating a graphic organizer about equality and the equal sign; that is, what it means and how it is used. The organizer is to help them keep track of what they know, what they wonder, and what they learn. The “I know that” column is where they can write things they are pretty sure are correct. The “I wonder if” column is where they can write things they have questions about and also where they can put things they think may be true but they are not sure.
    [Show full text]
  • First-Order Logic
    Chapter 5 First-Order Logic 5.1 INTRODUCTION In propositional logic, it is not possible to express assertions about elements of a structure. The weak expressive power of propositional logic accounts for its relative mathematical simplicity, but it is a very severe limitation, and it is desirable to have more expressive logics. First-order logic is a considerably richer logic than propositional logic, but yet enjoys many nice mathemati- cal properties. In particular, there are finitary proof systems complete with respect to the semantics. In first-order logic, assertions about elements of structures can be ex- pressed. Technically, this is achieved by allowing the propositional symbols to have arguments ranging over elements of structures. For convenience, we also allow symbols denoting functions and constants. Our study of first-order logic will parallel the study of propositional logic conducted in Chapter 3. First, the syntax of first-order logic will be defined. The syntax is given by an inductive definition. Next, the semantics of first- order logic will be given. For this, it will be necessary to define the notion of a structure, which is essentially the concept of an algebra defined in Section 2.4, and the notion of satisfaction. Given a structure M and a formula A, for any assignment s of values in M to the variables (in A), we shall define the satisfaction relation |=, so that M |= A[s] 146 5.2 FIRST-ORDER LANGUAGES 147 expresses the fact that the assignment s satisfies the formula A in M. The satisfaction relation |= is defined recursively on the set of formulae.
    [Show full text]
  • Part 3: First-Order Logic with Equality
    Part 3: First-Order Logic with Equality Equality is the most important relation in mathematics and functional programming. In principle, problems in first-order logic with equality can be handled by, e.g., resolution theorem provers. Equality is theoretically difficult: First-order functional programming is Turing-complete. But: resolution theorem provers cannot even solve problems that are intuitively easy. Consequence: to handle equality efficiently, knowledge must be integrated into the theorem prover. 1 3.1 Handling Equality Naively Proposition 3.1: Let F be a closed first-order formula with equality. Let ∼ 2/ Π be a new predicate symbol. The set Eq(Σ) contains the formulas 8x (x ∼ x) 8x, y (x ∼ y ! y ∼ x) 8x, y, z (x ∼ y ^ y ∼ z ! x ∼ z) 8~x,~y (x1 ∼ y1 ^ · · · ^ xn ∼ yn ! f (x1, : : : , xn) ∼ f (y1, : : : , yn)) 8~x,~y (x1 ∼ y1 ^ · · · ^ xn ∼ yn ^ p(x1, : : : , xn) ! p(y1, : : : , yn)) for every f /n 2 Ω and p/n 2 Π. Let F~ be the formula that one obtains from F if every occurrence of ≈ is replaced by ∼. Then F is satisfiable if and only if Eq(Σ) [ fF~g is satisfiable. 2 Handling Equality Naively By giving the equality axioms explicitly, first-order problems with equality can in principle be solved by a standard resolution or tableaux prover. But this is unfortunately not efficient (mainly due to the transitivity and congruence axioms). 3 Roadmap How to proceed: • Arbitrary binary relations. • Equations (unit clauses with equality): Term rewrite systems. Expressing semantic consequence syntactically. Entailment for equations. • Equational clauses: Entailment for clauses with equality.
    [Show full text]
  • Logic, Sets, and Proofs David A
    Logic, Sets, and Proofs David A. Cox and Catherine C. McGeoch Amherst College 1 Logic Logical Statements. A logical statement is a mathematical statement that is either true or false. Here we denote logical statements with capital letters A; B. Logical statements be combined to form new logical statements as follows: Name Notation Conjunction A and B Disjunction A or B Negation not A :A Implication A implies B if A, then B A ) B Equivalence A if and only if B A , B Here are some examples of conjunction, disjunction and negation: x > 1 and x < 3: This is true when x is in the open interval (1; 3). x > 1 or x < 3: This is true for all real numbers x. :(x > 1): This is the same as x ≤ 1. Here are two logical statements that are true: x > 4 ) x > 2. x2 = 1 , (x = 1 or x = −1). Note that \x = 1 or x = −1" is usually written x = ±1. Converses, Contrapositives, and Tautologies. We begin with converses and contrapositives: • The converse of \A implies B" is \B implies A". • The contrapositive of \A implies B" is \:B implies :A" Thus the statement \x > 4 ) x > 2" has: • Converse: x > 2 ) x > 4. • Contrapositive: x ≤ 2 ) x ≤ 4. 1 Some logical statements are guaranteed to always be true. These are tautologies. Here are two tautologies that involve converses and contrapositives: • (A if and only if B) , ((A implies B) and (B implies A)). In other words, A and B are equivalent exactly when both A ) B and its converse are true.
    [Show full text]
  • Tool 1: Gender Terminology, Concepts and Definitions
    TOOL 1 Gender terminology, concepts and def initions UNESCO Bangkok Office Asia and Pacific Regional Bureau for Education Mom Luang Pin Malakul Centenary Building 920 Sukhumvit Road, Prakanong, Klongtoei © Hadynyah/Getty Images Bangkok 10110, Thailand Email: [email protected] Website: https://bangkok.unesco.org Tel: +66-2-3910577 Fax: +66-2-3910866 Table of Contents Objectives .................................................................................................. 1 Key information: Setting the scene ............................................................. 1 Box 1: .......................................................................................................................2 Fundamental concepts: gender and sex ...................................................... 2 Box 2: .......................................................................................................................2 Self-study and/or group activity: Reflect on gender norms in your context........3 Self-study and/or group activity: Check understanding of definitions ................3 Gender and education ................................................................................. 4 Self-study and/or group activity: Gender and education definitions ...................4 Box 3: Gender parity index .....................................................................................7 Self-study and/or group activity: Reflect on girls’ and boys’ lives in your context .....................................................................................................................8
    [Show full text]
  • Dismantling Racism in Mathematics Instruction Exercises for Educators to Reflect on Their Own Biases to Transform Their Instructional Practice
    A Pathway to MAY 2021 Equitable Math Instruction Dismantling Racism in Mathematics Instruction Exercises for educators to reflect on their own biases to transform their instructional practice STRIDE 1 Dismantling Racism STRIDE 1 in Mathematics Instruction This tool provides teachers an opportunity to examine THEMES their actions, beliefs, and values around teaching math- Teacher Beliefs ematics. The framework for deconstructing racism in GUIDING PRINCIPLES mathematics offers essential characteristics of antiracist Culturally relevant curricula and math educators and critical approaches to dismantling practices designed to increase access for students of color. white supremacy in math classrooms by making visi- Promoting antiracist ble the toxic characteristics of white supremacy culture mathematics instruction. (Jones and Okun 2001; dismantling Racism 2016) with respect to math. Building on the framework, teachers engage with critical praxis in order to shift their instruc- CONTENT DEVELOPERS tional beliefs and practices towards antiracist math ed- Sonia Michelle Cintron ucation. By centering antiracism, we model how to be Math Content Specialist UnboundEd antiracist math educators with accountability. Dani Wadlington Director of Mathematics Education Quetzal Education Consulting Andre ChenFeng HOW TO USE THIS TOOL Ph.D. Student Education at Claremont Graduate While primarily for math educa- • Teachers should use this work- University tors, this text advocates for a book to self-reflect on individual collective approach to dismantling
    [Show full text]
  • Quantum Set Theory Extending the Standard Probabilistic Interpretation of Quantum Theory (Extended Abstract)
    Quantum Set Theory Extending the Standard Probabilistic Interpretation of Quantum Theory (Extended Abstract) Masanao Ozawa∗ Graduate School of Information Science, Nagoya University Nagoya, Japan [email protected] The notion of equality between two observables will play many important roles in foundations of quantum theory. However, the standard probabilistic interpretation based on the conventional Born formula does not give the probability of equality relation for a pair of arbitrary observables, since the Born formula gives the probability distribution only for a commuting family of observables. In this paper, quantum set theory developed by Takeuti and the present author is used to systematically extend the probabilistic interpretation of quantum theory to define the probability of equality relation for a pair of arbitrary observables. Applications of this new interpretation to measurement theory are discussed briefly. 1 Introduction Set theory provides foundations of mathematics. All the mathematical notions like numbers, functions, relations, and structures are defined in the axiomatic set theory, ZFC (Zermelo-Fraenkel set theory with the axiom of choice), and all the mathematical theorems are required to be provable in ZFC [15]. Quan- tum set theory instituted by Takeuti [14] and developed by the present author [11] naturally extends the logical basis of set theory from classical logic to quantum logic [1]. Accordingly, quantum set theory extends quantum logical approach to quantum foundations from propositional logic to predicate logic and set theory. Hence, we can expect that quantum set theory will provide much more systematic inter- pretation of quantum theory than the conventional quantum logic approach [3]. The notion of equality between quantum observables will play many important roles in foundations of quantum theory, in particular, in the theory of measurement and disturbance [9, 10].
    [Show full text]
  • Concepts Associated with the Equality Symbol1
    CONCEPTS ASSOCIATED WITH THE EQUALITY SYMBOL1 ABSTRACT. This paper looks at recent research dealing with uses of the equal sign ana underlying notions of equivalence or non-equivalence among preschoolers (their intuitive notions of equality), elementary and secondary school children, and college students. The idea that the equal sign is a "do something signal"2 (an operator symbol) persists through- out elementary school and even into junior high school. High schoolers' use of the equal sign in algebraic equations as a symbol for equivalence may be concealing a fairly tenuous grasp of the underlying relationship between the equal sign and the notion of equivalence, as indicated by some of the "shortcut" errors they make when solving equations. 1. INTRODUCTION On the topic of equivalence, Gattegno (1974) has stated: We can see that identity is a very restrictive kind of relationship concerned with actual sameness, that equality points at an attribute which does not change, and that equivalence is concerned with a wider relationship where one agrees that for certain purposes it is possible to replace one item by another. Equivalence being the most comprehensive relationship it will also be the most flexible, and therefore the most useful (p. 83). However, the symbol which is used to show equivalence, the equal sign, is not always interpreted in terms of equivalence by the learner. In fact, as will be seen, an equivalence interpretation of the equal sign does not seem to come easily or quickly to many students. 2. PRESCHOOL CONCEPTS OF EQUALITY Once preschoolers begin to tag objects with number words in a systematic and consistent fashion, they seem, at some time after that, to be able to determine the numerical equality of two sets.
    [Show full text]
  • Critical Mathematical Inquiry
    Critical Mathematical Inquiry Introduction Steven Greenstein Mark Russo Essays by Fahmil Shah Mary Raygoza Debasmita Basu Frances K. Harper Lynette Guzmán Jeffrey Craig Elinor J. Albin Gretchen Vice Cathery Yeh Brande M. Otis Theodore Chao Maya Marlowe Laurie Rubel Andrea McCloskey 03. 2019 41 Occasional Paper Series Occasional Paper OCCASIONAL PAPER SERIES | 1 Table of Contents Introduction Teaching for Social Justice through Critical Mathematical Inquiry Steven Greenstein and Mark Russo 4 Re-designing Mathematics Education for Social Justice: A Vision Fahmil Shah 15 Quantitative Civic Literacy Mary Raygoza 26 Cultivating a Space for Critical Mathematical Inquiry through Knowledge-Eliciting Mathematical Activity Debasmita Basu & Steven Greenstein 32 Collaboration and Critical Mathematical Inquiry: Negotiating Mathematics Engagement, Identity, and Agency Frances K. Harper 45 The World in Your Pocket: Digital Media as Invitations for Transdisciplinary Inquiry in Mathematics Classrooms Lynette DeAun Guzmán and Jeffrey Craig 59 Power to Change: Math as a Social-Emotional Language in a Classroom of Four- and Five-Year-Olds Elinor J. Albin and Gretchen Vice 76 Mathematics for Whom: Reframing and Humanizing Mathematics Cathery Yeh and Brande M. Otis 85 Elementary Mathematics and #BlackLivesMatter Theodore Chao and Maya Marlowe 99 The “Soft Bigotry of Low Expectations” and Its Role in Maintaining White Supremacy through Mathematics Education Laurie Rubel and Andrea McCloskey 113 Occasional Paper Series 41 Critical Mathematical Inquiry Introduction
    [Show full text]
  • Combinatorial Species and Labelled Structures Brent Yorgey University of Pennsylvania, [email protected]
    University of Pennsylvania ScholarlyCommons Publicly Accessible Penn Dissertations 1-1-2014 Combinatorial Species and Labelled Structures Brent Yorgey University of Pennsylvania, [email protected] Follow this and additional works at: http://repository.upenn.edu/edissertations Part of the Computer Sciences Commons, and the Mathematics Commons Recommended Citation Yorgey, Brent, "Combinatorial Species and Labelled Structures" (2014). Publicly Accessible Penn Dissertations. 1512. http://repository.upenn.edu/edissertations/1512 This paper is posted at ScholarlyCommons. http://repository.upenn.edu/edissertations/1512 For more information, please contact [email protected]. Combinatorial Species and Labelled Structures Abstract The theory of combinatorial species was developed in the 1980s as part of the mathematical subfield of enumerative combinatorics, unifying and putting on a firmer theoretical basis a collection of techniques centered around generating functions. The theory of algebraic data types was developed, around the same time, in functional programming languages such as Hope and Miranda, and is still used today in languages such as Haskell, the ML family, and Scala. Despite their disparate origins, the two theories have striking similarities. In particular, both constitute algebraic frameworks in which to construct structures of interest. Though the similarity has not gone unnoticed, a link between combinatorial species and algebraic data types has never been systematically explored. This dissertation lays the theoretical groundwork for a precise—and, hopefully, useful—bridge bewteen the two theories. One of the key contributions is to port the theory of species from a classical, untyped set theory to a constructive type theory. This porting process is nontrivial, and involves fundamental issues related to equality and finiteness; the recently developed homotopy type theory is put to good use formalizing these issues in a satisfactory way.
    [Show full text]
  • Gender Equality: Glossary of Terms and Concepts
    GENDER EQUALITY: GLOSSARY OF TERMS AND CONCEPTS GENDER EQUALITY Glossary of Terms and Concepts UNICEF Regional Office for South Asia November 2017 Rui Nomoto GENDER EQUALITY: GLOSSARY OF TERMS AND CONCEPTS GLOSSARY freedoms in the political, economic, social, a cultural, civil or any other field” [United Nations, 1979. ‘Convention on the Elimination of all forms of Discrimination Against Women,’ Article 1]. AA-HA! Accelerated Action for the Health of Adolescents Discrimination can stem from both law (de jure) or A global partnership, led by WHO and of which from practice (de facto). The CEDAW Convention UNICEF is a partner, that offers guidance in the recognizes and addresses both forms of country context on adolescent health and discrimination, whether contained in laws, development and puts a spotlight on adolescent policies, procedures or practice. health in regional and global health agendas. • de jure discrimination Adolescence e.g., in some countries, a woman is not The second decade of life, from the ages of 10- allowed to leave the country or hold a job 19. Young adolescence is the age of 10-14 and without the consent of her husband. late adolescence age 15-19. This period between childhood and adulthood is a pivotal opportunity to • de facto discrimination consolidate any loss/gain made in early e.g., a man and woman may hold the childhood. All too often adolescents - especially same job position and perform the same girls - are endangered by violence, limited by a duties, but their benefits may differ. lack of quality education and unable to access critical health services.i UNICEF focuses on helping adolescents navigate risks and vulnerabilities and take advantage of e opportunities.
    [Show full text]
  • KNOWLEDGE of MATH EQUIVALENCE Assessing Formal
    Running head: KNOWLEDGE OF MATH EQUIVALENCE © 2017, American Psychological Association. This paper is not the copy of record and may not exactly replicate the final, authoritative version of the article. Please do not copy or cite without authors permission. The final article will be available, upon publication, via its DOI: 10.1037/edu0000208 Assessing formal knowledge of math equivalence among algebra and pre-algebra students Emily R. Fyfe, Indiana University Percival G. Matthews, University of Wisconsin-Madison Eric Amsel, Weber State University Katherine L. McEldoon, Tennessee Department of Education Nicole M. McNeil, University of Notre Dame Accepted by Journal of Educational Psychology, April 2017 Author Note Emily R. Fyfe, Department of Psychological and Brain Sciences, Indiana University. Percival G. Matthews, Department of Educational Psychology, University of Wisconsin-Madison. Eric Amsel, Department of Psychology, Weber State University. Katherine L. McEldoon, Tennessee Department of Education. Nicole M. McNeil, Department of Psychology, University of Notre Dame. The authors thank Daniel Bolt for helpful guidance on the methodological aspects of the manuscript. Support for this research was provided in part by Institute of Education Sciences, U. S. Department of Education, training grant R305B130007 as part of the Wisconsin Center for Education Research Postdoctoral Training Program. Address correspondence to Emily R. Fyfe, Department of Psychological and Brain Sciences, Indiana University1101 E. 10th Street, Bloomington IN 47405. Email: [email protected]. KNOWLEDGE OF MATH EQUIVALENCE 2 Abstract A central understanding in mathematics is knowledge of math equivalence, the relation indicating that two quantities are equal and interchangeable. Decades of research have documented elementary-school (ages 7-11) children’s (mis)understanding of math equivalence, and recent work has developed a construct map, including comprehensive assessments of this understanding.
    [Show full text]