Computer Science Foundation Exam
|
|
- Letitia Simon
- 5 years ago
- Views:
Transcription
1 Computer Science Foundation Exam May 8, 2015 Section II B DISCRETE STRUCTURES NO books, notes, or calculators may be used, and you must work entirely on your own. SOLUTION Question Max Pts Category Passing Score 1 15 CTG (Counting) PRB (Probability) PRF (Functions) PRF (Relations) 10 ALL You must do all 4 problems in this section of the exam. Problems will be graded based on the completeness of the solution steps and not graded based on the answer alone. Credit cannot be given unless all work is shown and is readable. Be complete, yet concise, and above all be neat. Page 1 of 5
2 1) (15 pts) CTG (Counting) Please leave your answers in factorials, permutations, combinations and powers. Do not calculate out the actual numerical value for any of the questions. Justify your answers. (a) (5 pts) A mouse always moves one unit in the positive x-axis or positive y-axis. In how many different ways can this mouse move from (0, 0) to (5, 7)? Any unique path of the mouse can be expressed as a string of X's and Y's. If the starting point is (0, 0) and then ending point is (5, 7), then any string with 5 X's and 7 Y's will express movements between the two points. There are 12! such strings, using the permutation formula 5!7! (for string with repeated letters). Alternatively, we can choose 5 of the 12 possible letter slots to place our X's. This can be done in ( 12 5 ) ways. (Note: Both answers as well as (12 7 ) are equal to one another.) Grading: 4 pts correct answer, 1 pt explanation, if there's multiplicative over or undercounting, 2 or 3 pts total, otherwise 0. (b) (10 pts) A classroom has 20 chairs set up in 4 rows of 5. Row number i (1 i 4) has chairs numbered 5i - 4 to 5i, from left to right, with row 1 being the front of the class. Stephen has a bad habit of trying to cheat from Amanda, Marty, and Kumar. If any of these three students is sitting to Stephen's left, or right, on either his own row or the row in front of him, then he's likely to cheat, since he can see papers on these desks. In how many ways can we place these four students in the classroom so that Stephen can't look at any of the other three students' papers? Count two placements as being different if at least one specific student is sitting in a different numbered chair in the two placements. (Note: The answer is a long sum of products. Leave your answer in this form, do not simplify.) If Stephen is in the front row at either corner, there is only one seat that the three other students can t be placed, leaving 18 valid seats to place them. If Stephen is in one of the middles three seats in the front row, there are two seats the other three students can't be placed, leaving 17 valid seats to place them. If Stephen is on the second, third or fourth rows, on either the first or last chair in the row, then once again, the other three sutdents can't be placed in two seats, leaving 17 valid seats for them. Finally, if the students are in one of the remaining 9 seats, there are four forbidden seats for the other three, leaving 15 valid seats for them. This table sums up the relevant information: Stephen's Seat Number Locations for Stephen #Valid Seats other 3 1, ,3,4,6,10,11,15,16, ,8,9,12,13,14,17,18, We can place the three students in N valid seats in N(N-1)(N-2) ways. Thus, to get our final count, we sum over the three categories of seats Stephen could be sitting in to get: Grading: 3 points for each case, 1 pt for adding the results from each case. Page 2 of 5
3 2) (10 pts) PRB (Probability) (a) (5 pts) Consider the following algorithm to determine if an array, arr, of size n (indexes 0 through n-1, inclusive) is sorted from smallest to largest: 1) Repeat k times: i) Choose a random number, i, in between 0 and n-2, inclusive. ii) If arr[i] > arr[i+1], then answer that the array is out of order. 2) Answer that the array is in order. Consider running this algorithm on the following array of size 10: i arr[i] If we choose to run the algorithm with k = 5, what is the probability that the algorithm erroneously tells us that the array is sorted? Leave your answer as a fraction in lowest terms. There are three locations out of nine where consecutive items are out of order in this array, indexes 0 and 1, indexes 4 and 5, and indexes 8 and 9. Thus, we have a 3 = 1 chance on a 9 3 single repetition of discovering that this array is not sorted and a 2 chance on a single repetition 3 that it is not discovered as being out of order. (Grading - 3 pts) For the algorithm to fail with k = 5, the latter would have to happen 5 times in a row. Assuming independence of the random number chosen in step 1i, the probability that this algorithm tells us the array is sorted is ( 2 3 )5 = 32. (Grading - 2 pts) 243 (b) (5 pts) In a search of a database with n elements, 1 of all searches take n steps, 1 of all n 2 searches take 2 steps, and the remaining 1 1 of all searches take n steps. What is the 2 n expected number of steps a search of this database will take? Using the definition of expectation, sum over the product of each probability and corresponding number of steps: 1 n n (1 2 1 n ) n = n 2 1 n = n n Note: This expectation is dominated by the searches that take n steps, since these situations occur frequently. Thus, our expected number of steps is θ( n). Grading: 3 pts for writing out definition, 2 pts for algebra. No need to mention theta bound. Page 3 of 5
4 3) (10 pts) PRF (Functions) Let a function f: A B be an injection and a function g: B C be a surjection. Provide four examples to show that it is possible that the composition function, gºf might be (a) neither injective, nor surjective (b) injective, but not surjective (c) surjective, but not injective (d) both surjective and injective For each example, specify the sets A, B and C as well as the functions f, g and gºf. (a) Let A = {1, 2}, B = {3, 4, 5}, C = {6, 7}, f = {(1, 3), (2, 4)} and g = {(3,6), (4, 6), (5,7)}. Then we have gºf = {(1, 6), (2, 6)}. This function isn't an injection since g(f(1)) = g(f(2)). This function isn't surjective since there is no value for which g(f(x)) = 7. (b) Let A = {1, 2}, B = {3, 4, 5}, C = {6, 7, 8}, f = {(1, 3), (2, 4)} and g = {(3,6), (4, 7), (5,8)}. Then we have gºf = {(1, 6), (2, 7)}. This function is an injection since g(f(1)) g(f(2)). This function isn't surjective since there is no value for which g(f(x)) = 8. (c) Let A = {1, 2}, B = {3, 4}, C = {5}, f = {(1, 3), (2, 4)} and g = {(3,5), (4, 5)}. Then we have gºf = {(1, 5), (2, 5)}. This function isn't an injection since g(f(1)) = g(f(2)). This function is surjective since there exists a value x for which g(f(x)) = 5, the only item in the set C. (d) Let A = {1, 2}, B = {3, 4}, C = {5,6}, f = {(1, 3), (2, 4)} and g = {(3,5), (4, 6)}. Then we have gºf = {(1, 5), (2, 6)}. This function is an injection since g(f(1)) g(f(2)). This function is surjective since there exists a value x for which g(f(x)) = 5, and there exists a value x such that g(f(x)) = 6, and 5 and 6 are the only values in the set C. Grading: 3 pts for (a) and (b), 2 pts for (c) and (d), grader decides partial Page 4 of 5
5 4) (15 pts) PRF (Relations) Let R, S and T be relations and A, B and C be finite sets with R A B, S A B, and T B C. Prove that T R T S = T (R S). (Note, we define the compositions of two relations S R to mean applying R, followed by applying S.) To prove the two are equal, we must show that the left-hand side is a subset of the right-hand side and vice versa. We will first show that T R T S T (R S). Let (x, y) T R T S. We must show that (x, y) T (R S). There are two cases to consider, by definition of union: (1) (x, y) T R and (2) (x, y) T S (Grading 2 pts) Let s consider the first case: (x, y) T R By definition of relation composition, there exists an element z B, such that (x, z) R and (z, y) T. By definition of subset, since (x, z) R, it follows that (x, z) R S. Thus, we can conclude that (x, y) T (R S), since there exists an element z B such that (x, z) R S and (z, y) T. (Grading 3 pts) Now we consider the second case: (x, y) T S. By definition of relation composition, there exists an element z B, such that (x, z) S and (z, y) T. By definition of subset, since (x, z) S, it follows that (x, z) R S. Thus, we can conclude that (x, y) T (R S), since there exists an element z B such that (x, z) R S and (z, y) T. (Grading 3 pts) Now, we prove the other direction, that T (R S) T R T S. Let (x, y) T (R S). We must show that (x, y) T R T S. (Grading 1 pt) By definition, there must exist z B, such that (x, z) R S and (z, y) T. (Grading 1 pt) By definition of union we have (x, z) R or (x, z) S. (Grading 2 pts) Utilizing the definition of relation composition, in the former case we conclude that (x, y) T R. In the latter case we conclude that (x, y) T S. (Grading 3 pts) Thus, one of these two conclusions must hold. By definition of union, we conclude that (x, y) T R T S. (Grading 1 pt) Grading note: The two proofs are reversible, so if students indicate that every step is an iff step clearly, they can show both directions by writing out each step once. This indication must be very clear to get credit though. Page 5 of 5
Computer Science Foundation Exam
Computer Science Foundation Exam August 12, 2016 Section I A COMPUTER SCIENCE NO books, notes, or calculators may be used, and you must work entirely on your own. SOLUTION Question # Max Pts Category Passing
More informationSolutions to In Class Problems Week 9, Fri.
Massachusetts Institute of Technology 6.042J/18.062J, Fall 05: Mathematics for Computer Science November 4 Prof. Albert R. Meyer and Prof. Ronitt Rubinfeld revised November 4, 2005, 1254 minutes Solutions
More informationComputer Science Foundation Exam
Computer Science Foundation Exam August 8, 2014 Section I B COMPUTER SCIENCE NO books, notes, or calculators may be used, and you must work entirely on your own. SOLUTION Question # Max Pts Category Passing
More informationComputer Science Foundation Exam
Computer Science Foundation Exam August 6, 017 Section I A DATA STRUCTURES SOLUTIONS NO books, notes, or calculators may be used, and you must work entirely on your own. Question # Max Pts Category Passing
More informationCS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final
CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, 2016 Instructions: CS1800 Discrete Structures Final 1. The exam is closed book and closed notes. You may
More informationComputer Science Foundation Exam
Computer Science Foundation Exam December 16, 2011 Section I A COMPUTER SCIENCE NO books, notes, or calculators may be used, and you must work entirely on your own. Name: PID: Question # Max Pts Category
More informationNumber Theory Open, Round 1 Test #101
Number Theory Open, Round 1 Test #101 1. Write your 6-digit ID# in the I.D. NUMBER grid, left-justified, and bubble. Check that each column has only one number darkened. 2. In the EXAM NO. grid, write
More informationCS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final
CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, 2016 Instructions: CS1800 Discrete Structures Final 1. The exam is closed book and closed notes. You may
More informationDiscrete Structures. Fall Homework3
Discrete Structures Fall 2015 Homework3 Chapter 5 1. Section 5.1 page 329 Problems: 3,5,7,9,11,15 3. Let P(n) be the statement that 1 2 + 2 2 + +n 2 = n(n + 1)(2n + 1)/6 for the positive integer n. a)
More informationEDAA40 At home exercises 1
EDAA40 At home exercises 1 1. Given, with as always the natural numbers starting at 1, let us define the following sets (with iff ): Give the number of elements in these sets as follows: 1. 23 2. 6 3.
More informationMC 302 GRAPH THEORY 10/1/13 Solutions to HW #2 50 points + 6 XC points
MC 0 GRAPH THEORY 0// Solutions to HW # 0 points + XC points ) [CH] p.,..7. This problem introduces an important class of graphs called the hypercubes or k-cubes, Q, Q, Q, etc. I suggest that before you
More informationUniversity of Illinois at Chicago Department of Computer Science. Final Examination. CS 151 Mathematical Foundations of Computer Science Fall 2012
University of Illinois at Chicago Department of Computer Science Final Examination CS 151 Mathematical Foundations of Computer Science Fall 2012 Thursday, October 18, 2012 Name: Email: Print your name
More informationComputer Science Foundation Exam
Computer Science Foundation Exam January 13, 2018 Section I A DATA STRUCTURES NO books, notes, or calculators may be used, and you must work entirely on your own. Name: UCFID: NID: Question # Max Pts Category
More informationUniversity of Toronto Department of Electrical and Computer Engineering. Midterm Examination. ECE 345 Algorithms and Data Structures Fall 2012
1 University of Toronto Department of Electrical and Computer Engineering Midterm Examination ECE 345 Algorithms and Data Structures Fall 2012 Print your name and ID number neatly in the space provided
More informationMath 187 Sample Test II Questions
Math 187 Sample Test II Questions Dr. Holmes October 2, 2008 These are sample questions of kinds which might appear on Test II. There is no guarantee that all questions on the test will look like these!
More informationSection I B COMPUTER SCIENCE SOLUTION
Computer Science Foundation Exam December 17, 2010 Section I B COMPUTER SCIENCE NO books, notes, or calculators may be used, and you must work entirely on your own. SOLUTION Question # Max Pts Category
More informationComputer Science Foundation Exam
Computer Science Foundation Exam January 13, 2018 Section I A DATA STRUCTURES SOLUTIONS NO books, notes, or calculators may be used, and you must work entirely on your own. Question # Max Pts Category
More informationDiscrete Mathematics and Probability Theory Spring 2017 Rao Midterm 2
CS 70 Discrete Mathematics and Probability Theory Spring 2017 Rao Midterm 2 PRINT Your Name:, (last) SIGN Your Name: (first) PRINT Your Student ID: WRITE THE NAME OF your exam room: Name of the person
More informationDiscrete Mathematics Exam File Fall Exam #1
Discrete Mathematics Exam File Fall 2015 Exam #1 1.) Which of the following quantified predicate statements are true? Justify your answers. a.) n Z, k Z, n + k = 0 b.) n Z, k Z, n + k = 0 2.) Prove that
More informationComputer Science Foundation Exam
Computer Science Foundation Exam January 12, 2019 Section I A DATA STRUCTURES SOLUTIONS NO books, notes, or calculators may be used, and you must work entirely on your own. Question # Max Pts Category
More informationDiscrete Mathematics SECOND EDITION OXFORD UNIVERSITY PRESS. Norman L. Biggs. Professor of Mathematics London School of Economics University of London
Discrete Mathematics SECOND EDITION Norman L. Biggs Professor of Mathematics London School of Economics University of London OXFORD UNIVERSITY PRESS Contents PART I FOUNDATIONS Statements and proofs. 1
More informationProblem Pts Score Grader Problem Pts Score Grader
CSE 502 Fundamentals of Computer Science Spring Semester 2015 Homework 5 Assigned: 4/10/2015 Due Date: 4/21/2015 You must read and sign the following statement to get credit for this assignment: I have
More information9.2 ARITHMETIC SEQUENCES AND PARTIAL SUMS
Section 9. Arithmetic Sequences and Partial Sums 651 9. ARITHMETIC SEQUENCES AND PARTIAL SUMS What you should learn Recognize, write, and find the nth terms of arithmetic sequences. Find nth partial sums
More informationCDA 3103 Computer Organization Exam 1 (Sep. 22th, 2014)
CDA 3103 Computer Organization Exam 1 (Sep. 22th, 2014) Name: USF ID: Problem Points Score 1 10 2 10 3 15 4 15 5 10 6 20 otal 80 Exam Rules Use the back of the exam paper as necessary. But indicate clearly
More informationCSE 131 Introduction to Computer Science Fall 2016 Exam I. Print clearly the following information:
CSE 131 Introduction to Computer Science Fall 2016 Given: 29 September 2016 Exam I Due: End of Exam Session This exam is closed-book, closed-notes, no electronic devices allowed The exception is the "sage
More informationComputer Science Foundation Exam
Computer Science Foundation Exam December 16, 2016 Section I A DATA STRUCTURES NO books, notes, or calculators may be used, and you must work entirely on your own. SOLUTION Question # Max Pts Category
More informationComputer Science Foundation Exam
Computer Science Foundation Exam August 26, 2017 Section I A DATA STRUCTURES NO books, notes, or calculators may be used, and you must work entirely on your own. Name: UCFID: NID: Question # Max Pts Category
More informationUSA Mathematical Talent Search Round 2 Solutions Year 23 Academic Year
1//3. Find all the ways of placing the integers 1,, 3,..., 16 in the boxes below, such that each integer appears in exactly one box, and the sum of every pair of neighboring integers is a perfect square.
More informationThe Language of Sets and Functions
MAT067 University of California, Davis Winter 2007 The Language of Sets and Functions Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (January 7, 2007) 1 The Language of Sets 1.1 Definition and Notation
More informationContents 20. Trigonometric Formulas, Identities, and Equations
Contents 20. Trigonometric Formulas, Identities, and Equations 2 20.1 Basic Identities............................... 2 Using Graphs to Help Verify Identities................... 2 Example 20.1................................
More informationComputer Science Foundation Exam
Computer Science Foundation Exam December 18, 015 Section I B COMPUTER SCIENCE NO books, notes, or calculators may be used, and you must work entirely on your own. SOLUTION Question # Max Pts Category
More informationComputer Science Foundation Exam
Computer Science Foundation Exam May 8, 015 Section I A COMPUTER SCIENCE NO books, notes, or calculators may be used, and you must work entirely on your own. SOLUTION Question # Max Pts Category Passing
More informationComputer Science Foundation Exam
Computer Science Foundation Exam January 12, 2019 Section I A DATA STRUCTURES NO books, notes, or calculators may be used, and you must work entirely on your own. Name: UCFID: NID: Question # Max Pts Category
More informationSemantics via Syntax. f (4) = if define f (x) =2 x + 55.
1 Semantics via Syntax The specification of a programming language starts with its syntax. As every programmer knows, the syntax of a language comes in the shape of a variant of a BNF (Backus-Naur Form)
More informationFunctions 2/1/2017. Exercises. Exercises. Exercises. and the following mathematical appetizer is about. Functions. Functions
Exercises Question 1: Given a set A = {x, y, z} and a set B = {1, 2, 3, 4}, what is the value of 2 A 2 B? Answer: 2 A 2 B = 2 A 2 B = 2 A 2 B = 8 16 = 128 Exercises Question 2: Is it true for all sets
More informationMultiple-Subscripted Arrays
Arrays in C can have multiple subscripts. A common use of multiple-subscripted arrays (also called multidimensional arrays) is to represent tables of values consisting of information arranged in rows and
More informationComputer Science Foundation Exam. December 15, Section I A. No Calculators! Name: SSN:
Computer Science Foundation Exam December 15, 1999 Section I A No Calculators! Name: SSN: In this section of the exam, there are three (3) problems. You must do all of them. The weight of each problem
More informationCombinatorics: The Fine Art of Counting
Week Three Solutions Note: in these notes multiplication is assumed to take precedence over division, so 4!/2!2! = 4!/(2!*2!), and binomial coefficients are written horizontally: (4 2) denotes 4 choose
More informationMC302 GRAPH THEORY SOLUTIONS TO HOMEWORK #1 9/19/13 68 points + 6 extra credit points
MC02 GRAPH THEORY SOLUTIONS TO HOMEWORK #1 9/19/1 68 points + 6 extra credit points 1. [CH] p. 1, #1... a. In each case, for the two graphs you say are isomorphic, justify it by labeling their vertices
More informationCS1800 Discrete Structures Fall 2017 October 25, CS1800 Discrete Structures Midterm Version B
CS1800 Discrete Structures Fall 2017 October 25, 2017 Instructions: CS1800 Discrete Structures Midterm Version B 1. The exam is closed book and closed notes. You may not use a calculator or any other electronic
More informationMA651 Topology. Lecture 4. Topological spaces 2
MA651 Topology. Lecture 4. Topological spaces 2 This text is based on the following books: Linear Algebra and Analysis by Marc Zamansky Topology by James Dugundgji Fundamental concepts of topology by Peter
More information1 Euler characteristics
Tutorials: MA342: Tutorial Problems 2014-15 Tuesday, 1-2pm, Venue = AC214 Wednesday, 2-3pm, Venue = AC201 Tutor: Adib Makroon 1 Euler characteristics 1. Draw a graph on a sphere S 2 PROBLEMS in such a
More informationCS 3L (Clancy) Solutions and grading standards for exam 1
CS 3L (Clancy) Solutions and grading standards for exam 1 Fall 2009 *** DRAFT 177 students took the exam. We are still gathering statistics about the exam (mean and median). However, were you to receive
More informationAnalyze the obvious algorithm, 5 points Here is the most obvious algorithm for this problem: (LastLargerElement[A[1..n]:
CSE 101 Homework 1 Background (Order and Recurrence Relations), correctness proofs, time analysis, and speeding up algorithms with restructuring, preprocessing and data structures. Due Thursday, April
More informationMath Released Item Grade 7. Grid Coordinates of a Square VH225469
Math Released Item 2018 Grade 7 Grid Coordinates of a Square VH225469 Anchor Set A1 A8 With Annotations Prompt Score Description VH225469 Rubric Part A 2 Student response includes the following 2 Reasoning
More informationRead this before starting!
Points missed: Student's Name: Total score: /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 1 for Spring Semester,
More informationIntroduction. CS243: Discrete Structures. Combinatorics. Product Rule. Basic Counting Rules. Example 2. Example 1
Introduction CS243: Discrete Structures Combinatorics Işıl Dillig Consider a set of objects and a property of interest Often, we want to know how many of these objects have the desired property Example:
More informationCPSC 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 information1 Linear programming relaxation
Cornell University, Fall 2010 CS 6820: Algorithms Lecture notes: Primal-dual min-cost bipartite matching August 27 30 1 Linear programming relaxation Recall that in the bipartite minimum-cost perfect matching
More informationStudent number: Datenstrukturen & Algorithmen page 1
Student number: Datenstrukturen & Algorithmen page 1 Problem 1. / 16 P Instructions: 1) In this problem, you have to provide solutions only. You can write them right on this sheet. 2) You may use the notation,
More informationFunctions. Edexcel GCE. Core Mathematics C3
Edexcel GCE Core Mathematics C Functions Materials required for examination Mathematical Formulae (Green) Items included with question papers Nil Advice to Candidates You must ensure that your answers
More informationComputer Science Foundation Exam
Computer Science Foundation Exam May 19, 2018 Section I A DATA STRUCTURES SOLUTION NO books, notes, or calculators may be used, and you must work entirely on your own. Name: UCFID: NID: Question # Max
More informationJohns Hopkins Math Tournament Proof Round: Point Set Topology
Johns Hopkins Math Tournament 2019 Proof Round: Point Set Topology February 9, 2019 Problem Points Score 1 3 2 6 3 6 4 6 5 10 6 6 7 8 8 6 9 8 10 8 11 9 12 10 13 14 Total 100 Instructions The exam is worth
More information6th Bay Area Mathematical Olympiad
6th Bay Area Mathematical Olympiad February 4, 004 Problems and Solutions 1 A tiling of the plane with polygons consists of placing the polygons in the plane so that interiors of polygons do not overlap,
More information2.2 Set Operations. Introduction DEFINITION 1. EXAMPLE 1 The union of the sets {1, 3, 5} and {1, 2, 3} is the set {1, 2, 3, 5}; that is, EXAMPLE 2
2.2 Set Operations 127 2.2 Set Operations Introduction Two, or more, sets can be combined in many different ways. For instance, starting with the set of mathematics majors at your school and the set of
More information3 Fractional Ramsey Numbers
27 3 Fractional Ramsey Numbers Since the definition of Ramsey numbers makes use of the clique number of graphs, we may define fractional Ramsey numbers simply by substituting fractional clique number into
More informationComparing sizes of sets
Comparing sizes of sets Sets A and B are the same size if there is a bijection from A to B. (That was a definition!) For finite sets A, B, it is not difficult to verify that there is a bijection from A
More informationQuestions Total Points Score
HKUST Department of Computer Science and Engineering # COMP3711H: Design and Analysis of Algorithms Fall 2016 Final Examination Date: Friday December 16, 2016 Time: 16:30-19:30 Venue: LG3 Multipurpose
More informationLecture 15: The subspace topology, Closed sets
Lecture 15: The subspace topology, Closed sets 1 The Subspace Topology Definition 1.1. Let (X, T) be a topological space with topology T. subset of X, the collection If Y is a T Y = {Y U U T} is a topology
More informationTHREE LECTURES ON BASIC TOPOLOGY. 1. Basic notions.
THREE LECTURES ON BASIC TOPOLOGY PHILIP FOTH 1. Basic notions. Let X be a set. To make a topological space out of X, one must specify a collection T of subsets of X, which are said to be open subsets of
More informationQ1 Q2 Q3 Q4 Q5 Q6 Total
Name: SSN: Computer Science Foundation Exam May 5, 006 Computer Science Section 1A Q1 Q Q3 Q4 Q5 Q6 Total KNW KNW KNW ANL,DSN KNW DSN You have to do all the 6 problems in this section of the exam. Partial
More informationComputer Science Foundation Exam. March 3, Section I A. No Calculators! Name: SSN: In this section of the exam, there are three (3) problems.
Computer Science Foundation Exam March 3, 2000 Section I A No Calculators! Name: SSN: In this section of the exam, there are three (3) problems. You must do all of them. The weight of each problem in this
More informationCS 101, Spring 2016 March 22nd Exam 2
CS 101, Spring 2016 March 22nd Exam 2 Name: Question 1. [3 points] Which of the following loop statements would most likely cause the loop to execute exactly n times? You may assume that n will be set
More informationCS 373: Combinatorial Algorithms, Spring 1999
CS 373: Combinatorial Algorithms, Spring 1999 Final Exam (May 7, 1999) Name: Net ID: Alias: This is a closed-book, closed-notes exam! If you brought anything with you besides writing instruments and your
More informationCatalan Numbers. Table 1: Balanced Parentheses
Catalan Numbers Tom Davis tomrdavis@earthlink.net http://www.geometer.org/mathcircles November, 00 We begin with a set of problems that will be shown to be completely equivalent. The solution to each problem
More informationCOMP SCI 5400 SP2017 Exam 1 Key
COMP SCI 5400 SP2017 Exam 1 Key This is a closed-book, closed-notes exam. The only items you are permitted to use are writing implements. Mark each sheet of paper you use with your name and the string
More informationComputer Science Foundation Exam
Computer Science Foundation Exam December 16, 2016 Section I A DATA STRUCTURES NO books, notes, or calculators may be used, and you must work entirely on your own. Name: UCFID: NID: Question # Max Pts
More informationReview of Operations on the Set of Real Numbers
1 Review of Operations on the Set of Real Numbers Before we start our jurney through algebra, let us review the structure of the real number system, properties of four operations, order of operations,
More informationMath 454 Final Exam, Fall 2005
c IIT Dept. Applied Mathematics, December 12, 2005 1 PRINT Last name: Signature: First name: Student ID: Math 454 Final Exam, Fall 2005 I. Examples, Counterexamples and short answer. (6 2 ea.) Do not give
More informationChapter 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 informationMathematics for Computer Science Exercises from Week 4
Mathematics for Computer Science Exercises from Week 4 Silvio Capobianco Last update: 26 September 2018 Problems from Section 4.1 Problem 4.3. Set Formulas and Propositional Formulas. (a) Verify that the
More informationDr. Amotz Bar-Noy s Compendium of Algorithms Problems. Problems, Hints, and Solutions
Dr. Amotz Bar-Noy s Compendium of Algorithms Problems Problems, Hints, and Solutions Chapter 1 Searching and Sorting Problems 1 1.1 Array with One Missing 1.1.1 Problem Let A = A[1],..., A[n] be an array
More informationThe Probabilistic Method
The Probabilistic Method Po-Shen Loh June 2010 1 Warm-up 1. (Russia 1996/4 In the Duma there are 1600 delegates, who have formed 16000 committees of 80 persons each. Prove that one can find two committees
More informationMidterm CSE 21 Spring 2012
Signature Name Student ID Midterm CSE 21 Spring 2012 Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 _ (20 points) _ (15 points) _ (13 points) _ (23 points) _ (10 points) _ (8 points) Total _ (89 points) (84
More informationMath 6 Long Range Plans Bill Willis. Strand: NUMBER Develop number sense. Textbook: Math Makes Sense 6
Math 6 Long Range Plans 2012-2013 Bill Willis Rationale: Based upon the mathematics program of studies, our learning environment will value and respect the diversity of students experiences and ways of
More informationAn Eternal Domination Problem in Grids
Theory and Applications of Graphs Volume Issue 1 Article 2 2017 An Eternal Domination Problem in Grids William Klostermeyer University of North Florida, klostermeyer@hotmail.com Margaret-Ellen Messinger
More informationLecture 25 : Counting DRAFT
CS/Math 240: Introduction to Discrete Mathematics 4/28/2011 Lecture 25 : Counting Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Today we start the last topic of the course, counting. For
More information2. Key the titles in cells A1 to D1, adjust to size 12, click on the bold button, and format with an underline.
Excel Assignment 3 1. Create a new worksheet on Sheet 3. 2. Key the titles in cells A1 to D1, adjust to size 12, click on the bold button, and format with an underline. 3. Under Class in column D key Algebra
More informationMath 4410 Fall 2010 Exam 3. Show your work. A correct answer without any scratch work or justification may not receive much credit.
Math 4410 Fall 2010 Exam 3 Name: Directions: Complete all six questions. Show your work. A correct answer without any scratch work or justification may not receive much credit. You may not use any notes,
More informationUML CS Algorithms Qualifying Exam Fall, 2003 ALGORITHMS QUALIFYING EXAM
NAME: This exam is open: - books - notes and closed: - neighbors - calculators ALGORITHMS QUALIFYING EXAM The upper bound on exam time is 3 hours. Please put all your work on the exam paper. (Partial credit
More informationCMSC Theory of Algorithms Second Midterm
NAME (please PRINT in large letters): SECTION: 01 02 (circle one) CMSC 27200 Theory of Algorithms Second Midterm 02-26-2015 The exam is closed book. Do not use notes. The use of ELECTRONIC DEVICES is strictly
More informationCSE 101 Final Exam. Spring 2017
CSE 101 Final Exam Spring 2017 Instructions: Do not open until the exam starts. The exam will run for 180 minutes. The problems are roughly sorted in increasing order of difficulty. Answer all questions
More informationComputer Science Foundation Exam
Computer Science Foundation Exam August 25, 2018 Section I A DATA STRUCTURES SOLUTION NO books, notes, or calculators may be used, and you must work entirely on your own. Name: UCFID: NID: Question # Max
More informationSTUDENT NUMBER: MATH Final Exam. Lakehead University. April 13, Dr. Adam Van Tuyl
Page 1 of 13 NAME: STUDENT NUMBER: MATH 1281 - Final Exam Lakehead University April 13, 2011 Dr. Adam Van Tuyl Instructions: Answer all questions in the space provided. If you need more room, answer on
More information1.2. Pictorial and Tabular Methods in Descriptive Statistics
1.2. Pictorial and Tabular Methods in Descriptive Statistics Section Objectives. 1. Stem-and-Leaf displays. 2. Dotplots. 3. Histogram. Types of histogram shapes. Common notation. Sample size n : the number
More informationE-BOOK // CONVERT TO RECTANGULAR COORDINATES DOCUMENT
19 February, 2018 E-BOOK // CONVERT TO RECTANGULAR COORDINATES DOCUMENT Document Filetype: PDF 533.05 KB 0 E-BOOK // CONVERT TO RECTANGULAR COORDINATES DOCUMENT For more help a students can connect to
More informationMathematics. Grade 8 Curriculum Guide. Curriculum Guide Revised 2016
Mathematics Grade 8 Curriculum Guide Curriculum Guide Revised 2016 Intentionally Left Blank Introduction The Mathematics Curriculum Guide serves as a guide for teachers when planning instruction and assessment.
More informationSection 2.2: Introducing Permutations and Factorial Notation
Section 2.2: Introducing Permutations and Factorial Notation Factorial Notation is useful when calculating the number of permutations or combinations for specific problems. Permutation An arrangement of
More informationCS164: Midterm I. Fall 2003
CS164: Midterm I Fall 2003 Please read all instructions (including these) carefully. Write your name, login, and circle the time of your section. Read each question carefully and think about what s being
More informationIntroduction to Algorithms October 12, 2005 Massachusetts Institute of Technology Professors Erik D. Demaine and Charles E. Leiserson Quiz 1.
Introduction to Algorithms October 12, 2005 Massachusetts Institute of Technology 6.046J/18.410J Professors Erik D. Demaine and Charles E. Leiserson Quiz 1 Quiz 1 Do not open this quiz booklet until you
More informationCS 2505 Computer Organization I
Instructions: Print your name in the space provided below. This examination is closed book and closed notes, aside from the permitted one-page formula sheet. No calculators or other computing devices may
More informationLoops / Repetition Statements
Loops / Repetition Statements Repetition statements allow us to execute a statement multiple times Often they are referred to as loops C has three kinds of repetition statements: the while loop the for
More informationELEC-270 Solutions to Assignment 5
ELEC-270 Solutions to Assignment 5 1. How many positive integers less than 1000 (a) are divisible by 7? (b) are divisible by 7 but not by 11? (c) are divisible by both 7 and 11? (d) are divisible by 7
More informationAlgorithms. 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 informationCS1800 Discrete Structures Fall 2017 October 25, CS1800 Discrete Structures Midterm Version B
CS1800 Discrete Structures Fall 2017 October 25, 2017 Instructions: CS1800 Discrete Structures Midterm Version B 1. The exam is closed book and closed notes. You may not use a calculator or any other electronic
More informationHow many toothpicks are needed for her second pattern? How many toothpicks are needed for her third pattern?
Problem of the Month Tri - Triangles Level A: Lisa is making triangle patterns out of toothpicks all the same length. A triangle is made from three toothpicks. Her first pattern is a single triangle. Her
More informationComputer Science Foundation Exam. May 6, Computer Science. Section 1A. No Calculators! KEY. Score: 50
Computer Science Foundation Exam May 6, 2005 Computer Science Section 1A No Calculators! Name: KEY SSN: Score: 50 In this section of the exam, there are four (4) problems. You must do all of them. The
More informationCOT 3100 Spring 2010 Midterm 2
COT 3100 Spring 2010 Midterm 2 For the first two questions #1 and #2, do ONLY ONE of them. If you do both, only question #1 will be graded. 1. (20 pts) Give iterative and recursive algorithms for finding
More informationCS 3114 Data Structures and Algorithms Test 1 READ THIS NOW!
READ THIS NOW! Print your name in the space provided below. There are 7 short-answer questions, priced as marked. The maximum score is 100. This examination is closed book and closed notes, aside from
More information2. Functions, sets, countability and uncountability. Let A, B be sets (often, in this module, subsets of R).
2. Functions, sets, countability and uncountability I. Functions Let A, B be sets (often, in this module, subsets of R). A function f : A B is some rule that assigns to each element of A a unique element
More information