old-quiz2-solutions - CS 173: Discrete Structures, Spring...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS 173: Discrete Structures, Spring 2010 Quiz 1 Solutions Notice that the two sections had slightly different versions of many questions, and this document contains solutions to all of them. 1. (1 point) Give the day and time when your assigned discussion section meets. State explicitly if you have switched sections recently. Solution: This obviously varies from person to person. 2. (4 points) Simplify or find the values for the following expression: Solution: log k ( k 2 ) = 2 log k ( k ) = 2 (log k k ) 2 = 1 2 = 1 gcd(42 , 15) = 3 lcm(6 , 21) = 42 3. (4 points) Give a truth table for the following expression and (using your truth table or other means) find a simpler expression equivalent to it. Solution: p ( p q ) = p ( p q ) q = q p q p q p ( p q ) T T T T T F T T F T T F F F F F p q p q ( p q ) q T T T T T F F F F T F T F F F F 1 4. (4 points) If n k =0 2 k = 2 n +1 1, give a closed-form expression for the following sum- mation. Show your work.mation....
View Full Document

This note was uploaded on 11/08/2010 for the course 173 CS taught by Professor Fleck during the Spring '10 term at University of Illinois at Urbana–Champaign.

Page1 / 2

old-quiz2-solutions - CS 173: Discrete Structures, Spring...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online