Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Math 55, Discrete Mathematics—Spring 2021 Final Exam ..., Exams of Discrete Mathematics

There are 12 questions, for a total of 100 points. Note: This version of the exam corrects announced mistakes in the version available earlier. UC Berkeley ...

Typology: Exams

2022/2023

Uploaded on 03/01/2023

pierc
pierc 🇺🇸

4.3

(4)

1 document

1 / 3

Toggle sidebar

Often downloaded together


Related documents


Partial preview of the text

Download Math 55, Discrete Mathematics—Spring 2021 Final Exam ... and more Exams Discrete Mathematics in PDF only on Docsity! Math 55, Discrete Mathematics—Spring 2021 Final Exam Instructions The due deadline for this exam is Thursday, May 13 at 8:00pm PDT. This is a firm deadline! Be sure to finish your work with enough time to spare for submitting it. Points will be deducted for late submissions. Gradescope will not accept any submissions after 11:59pm. The exam is to be completed in a single 3 hour session at any time during the 24-hour window from the release time to the due time. The 3 hour time limit is not enforced, but please do your best to honor it. I have tried to design the exam so that this should be enough time to demonstrate your knowledge. If you need to take a few extra minutes to finish answering a question or questions that you know how to solve, that is OK. You should not attempt to use the unenforced time limit as a way to cram in extra studying after seeing the questions. Doing so would be stressful and unlikely to significantly improve your score. You can write answers on paper and scan in PDF format (best) or take pictures (usually lower image quality, so be sure they are readable). You can also write answers on a tablet if you have one, and save them in PDF format. When you submit your answers, Gradescope will ask you to indicate the page or pages where your answer to each question is located. Gradescope will let you indicate one or multiple questions on each page. This exam is open book. You may consult the textbook, your own notes, and any other books and non-interactive web resources. Calculators are allowed, but it should be possible to answer all questions doing arithmetic by hand. You may not receive assistance from another person, or give assistance, or use web resources that provide answers to questions interactively. There are 12 questions, for a total of 100 points. Note: This version of the exam corrects announced mistakes in the version available earlier. UC Berkeley Honor Code “As a member of the UC Berkeley community, I act with honesty, integrity, and respect for others.” • If a question has a numerical answer, show enough work so that we can see how you arrived at your answer. • Leave answers involving expressions such as factorials and binomial coefficients in unsim- plified form. • If a question asks you to prove or show something, your answer should be a logical argument written out in complete sentences. You can take as known any theorems proven in class or in the textbook. Question 1 (8 points). Let A and B be subsets of the set of real numbers. Does ∀a∈A ∃b∈B (a < b) imply ∃b∈B ∀a∈A (a < b)? If so, explain. If not, give a coun- terexample. Question 2 (2 points each). Determine whether each of the following functions is injective (= 1-to-1), surjective (= onto), both, or neither. Briefly justify your answers. (a) f : Z→ Z given by f(n) = n2 (Z is the set of integers), (b) f : N→ N given by f(n) = n2 (N is the set of non-negative integers), (c) f : R→ R given by f(x) = x2 (R is the set of real numbers), (d) f : R+ → R+ given by f(x) = x2 (R+ is the set of positive real numbers). Question 3 (a) (5 points). Prove that if r, s and n are positive integers, and r2 = s2n, then n is a perfect square (that is, n is the square of an integer). (b) (4 points). Use part (a) to prove that if n is a positive integer and not a perfect square, then √ n is irrational. Full credit on this part will be given for a correct proof assuming part (a), independent of your answer to (a). Question 4 (8 points). Recall that the Fibonacci numbers fn are defined by the recurrence f0 = 0, f1 = 1, fn = fn−1 + fn−2 for n > 1. Prove that fn ≤ 2n−2 for all n ≥ 2. Question 5 (a) (4 points). Find a multiplicative inverse of 47 (mod 105). (b) (4 points). Show that 48 does not have a multiplicative inverse (mod 105). Question 6 (8 points). Without actually doing the division, show that the number 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999 (with 36 digits) is divisible by 37.
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved