

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CECS 228. Discrete Structures with Computer Science Applications I (3) Prerequisite: CECS 174 and MATH 122. The specification, development and analysis of algorithms. Sets, relations and functions. Logic and mathematical structures used in computer science. (Lectures 2 hours, laboratory/problem session 3 hours.) Traditional grading only. I. PREREQUISITE TOPICS Fundamentals of program design Basic data structures Sets and mapping Functions Sequences and series Different number systems Matrices II. COURSE TOPICS Foundations Logic Propositional equivalences Predicates and quantifiers Sets Functions Algorithms Growth of functions in relation to algorithms Mathematical reasoning Rules of inference and fallacies Recursive definitions Recursive algorithms Correctness of algorithms Induction with application to correctness proof of recursive algorithms Basic discrete structures Relations, applications & representations Equivalence relations Partial orderings Graphs, terminology and applications Representing graphs Connectivity in graphs Trees, terminology and applications III. COURSE OBJECTIVES
Overall The primary objective of this course is to lay the foundations for students' development of their problem solving skills with or without computers involved. Three primary areas are emphasized: problem understanding/specification, solution design, and solution analysis. Specific For problem understanding/specification A knowledge of Logic, propositions, logical operators, propositional equivalences, well known logical equivalences, predicates and quantifiers An ability to Construct and break down compound propositions and predicates with or without quantifiers Convert between English sentences and propositions/predicates Identify if a given set of specifications is consistent Solve puzzles from a set of given statements For solution design A knowledge of Sets, functions, algorithms, recursive definitions, recursive algorithms, relations, equivalence relations, partial orderings, graphs, and trees. An ability to Define a set and perform set operations. Find the Cartesian product of sets, and the power set of a given set. Represent a set in computer programs, and the corresponding operations. Recognize well-known set identities, and find out the relationship between two sets (equal, subset, etc.) Find the domain and range of a function, and whether a function is 1-1, onto, or both. Find composite and inverse functions. Use special functions including the floor and ceiling functions. Read and trace an algorithm, and write an algorithm according to given specifications. Read and write recursive definitions. Read and write recursive algorithms. Represent a binary relation with the set notation (ordered pairs), a directed graph, and a matrix. Find all possible binary relations from a set to another set. Understand n-ary relations and their applications. Determine if a given relation is reflexive, symmetric, antisymmetric, asymmetric, and transitive. Determine if a relation on a given set is an equivalence relation. Determine if a relation on a given set is a partial ordering. Apply equivalence relations and partial orderings to some common problems. Represent a graph using an adjacency list, an adjacency matrix, and an incidence matrix. Recognize some special graphs including: complete graphs, cycles, wheels, n-cubes, bipartite graphs. Use simple properties to rule out two graphs being isomorphic. Determine the connectivity of a given graph. Find cut vertices (articulation points) and cut edges in a given graph. Recognize a tree, and compute various properties of a tree including internal vertices, leaves, and height.