Chat with us, powered by LiveChat IST 230 Summer | Writedemy

IST 230 Summer

IST 230 Summer

Question

IST 230 Summer, 2016 Final Exam

Questions 1-11 are worth 8 points each.

Question 12 is worth 12 points.

1. State in English the inverseof the contrapositive of “If it is raining, then my lawn is wet.”

2. Let S be a set, R be a binary relation on S, and x an element of S. Translate the following into a logical expression with the same meaning:

the negation of the statement “For all x in S, xRx.”

3. Let the function f from the positive integers to the positive integers be defined by f(x) = x*x (where the asterisk * denotes ordinary integer multiplication). Explain why this function f is or is not an onto function.

4. Let sets A and B be defined as follows: A = {a1} and B = {b1, b2}. List as separate sets of ordered pairs all the one-to-one functions from A to B, or explain why there are no such functions.

5. Let the set A be defined as A = {a, b, c, d}, and let the relations R and S on the set A be defined as

R = {(d, a), (a, b), (b, c), (b, d) }, and S = {(a, a), (b, d), (d, c)}.

Explain, using the definition of composition of relations on a set (see the second paragraph in Section 5.4 of the zyBook) why the ordered pair (b, d) is or is not an element of the composition of relations R and S (denoted S o R).

6. What is the value of the variable count after all the loops in the following pseudocode execute?

count:=0

For i= 1 to 2

For j=1 to 2

count:=2i[(j*count)+j]

End-for

End-for

8. Explain why a multiplicative inverse mod 7 of 13 does or does not exist. If one does exist, give a value for it and use appropriate calculations to show that it is a multiplicative inverse of 13 mod 7.

9. A husband and wife and their two children line up for a photo. How many ways are there for these four people to line up so that the husband and wife are *not* next to each other? Be sure to show your work.

10. Suppose you randomly draw two cards from a standard deck without replacement. What is the probability that neither card is the ace of spades?

11. Let V = {a, b, c, d, e} be a vertex set and E = { {a,c}, {b,d}, {c,d}, {d,e}, {e,a}} be the edge set corresponding to V. Explain why the pair (V, E) is or is not a tree.

12. Let vertex sets V1 and V2 be defined by V1= {1, 2, 3} and V2 = {a, b, c}. Let E1 = { { 1, 2}, {2, 3} }, and let E2 = { {a, b}, {b, c} } be the edge sets corresponding to the vertex sets V1 and V2, respectively. Write, as a set of ordered pairs, a function f that is a bijection from V1 to V2, satisfying the following condition: if x and y are elements in V1 such that {x,y} is in E1, then f(x) and f(y) are elements in V2 such that {f(x),f(y)} is in E2, and show that your function f satisfies this condition.

Note: you do not need to show that your function f is a bijection (though it must be, or you won’t get any credit), but you DO need to show that it satisfies the condition “if x and y are elements in V1 such that {x,y} is in E1, then f(x) and f(y) are elements in V2 such that {f(x),f(y)} is in E2.”

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order