1. Introduction

1. Introduction - MATH 224 Discrete Mathematics Why Study...

This preview shows pages 1–4. Sign up to view the full content.

1 08/27/09 MATH 224 – Discrete Mathematics Why Study Discrete Math Determination of the efficiency of algorithms, e.g., insertion sort versus selection sort. Can you provide an example? Boolean expressions for controlling loops and conditional statements are based on the propositional calculus and Boolean algebra. What is an example in C++? The building blocks of computers – logic gates implement Boolean expressions. Design of programs and algorithms is similar to developing mathematical proofs. Conversion of high level languages to machine code makes use of formal language theory. Name some high level languages. What is machine code? Induction and recursion are the basis for algorithms and programs that use repeated instructions, e.g., for statements, while statements and recursive functions.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 08/27/09 MATH 224 – Discrete Mathematics Why Study Discrete Math Continued Security including encryption and authentication make use of math concepts. Can you give an example of where encryption is used? What is authentication? Many data structures make use of trees, e.g., heaps, binary search trees, databases. The theory behind caching and paging uses mathematics. Do you know what these are? Graph theory is used in communication networks, artificial intelligence, computer games, computer animation among others. And much much more.
3 08/27/09 MATH 224 – Discrete Mathematics Propositions X <= Y Z > 10 && Z <= 20 !(Z <= 10 || Z > 20) Flag -- where Flag is a boolean variable !Flag || X % 2 == 0 -- When is X % 2 == 0 ? Propositions correspond to Boolean expressions in C++.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/26/2009 for the course MATH 224 taught by Professor Waxman during the Spring '08 term at Southern Illinois University Edwardsville.

Page1 / 13

1. Introduction - MATH 224 Discrete Mathematics Why Study...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online