Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

CPSC 121 Assignment 3 Solutions 2021

Rating
-
Sold
1
Pages
8
Uploaded on
09-02-2022
Written in
2021/2022

CPSC 121 Assignment 3 Solutions

Content preview

CPSC 121 2021S2


HW 3
Solutions
Instructions:
1. Do not change the problem statements we are giving you. Simply add your
solutions by editing this latex document. To make it easier for the TAs to find
your solutions, please use the soln environment we provided as follows:

\begin{soln}
My solution is here.
\end{soln}

Your solution will then appear in blue, and be easier to differentiate from the
questions.
2. If you need more space, add a page between the existing pages using the
\newpage command.
3. Export the completed assignment as a PDF file for upload to gradescope.
4. On Gradescope, upload only one copy per partnership. You must identify
you group via Gradescope, not doing so may result in loosing some marks
5. You must also tell us, via Gradescope, where each of the problem parts
appears on your submission. You MUST align the regions for every problem,
even if your assignment solution isn’t complete. We will not be able to mark
any problem we can’t find. After uploading the .pdf you will a screen, where
you can click each question on the left, and click the corresponding page(s) for
which the question appears in. Because of this matching process, please allocate
at least 5 minutes prior to the deadline for submission. You must match your
answers with each question, not doing so may result in loosing some marks.
Academic Conduct: I certify that my assignment follows the academic
conduct rules for of CPSC 121 as outlined on the course website. As part of
those rules, when collaborating with anyone outside my group, (1) I and my
collaborators took no record but names away, and (2) after a suitable break,
my group created the assignment I am submitting without help from anyone
other than the course staff.


1

, CPSC 121 2021S2


1. [6 marks] Given the following definitions:

• S: the domain of all CPSC 121 students.
• G: the domain of all graded CPSC 121 activities.
• A(x, y): student x earns an “A” grade on activity y
• B(x): student x receives a colourful balloon (from the CPSC 121 teaching team).

Now consider the predicate logic statements:
Statement 01: ∀x ∈ S, ∀g ∈ G, A(x, g) ↔ B(x)
Statement 02: ∀x ∈ S, (∀g ∈ G, A(x, g)) ↔ B(x)
Statement 03: ∀x ∈ S, (∀g ∈ G, (∀y ∈ S, A(y, g))) ↔ B(x)
Describe how these statements differ, in terms of who receives a balloon and under what
conditions.
For statement 01, any number of students can receive balloons, and balloons are earned
per activity.
For statement 02, any number of students can receive balloons, but only one balloon can
be awarded when the student aces the entire course.
For statement 03, either nobody gets a balloon, or everybody gets a balloon. The balloons
are awarded if everyone in the class aces the entire course together.




2

Document information

Uploaded on
February 9, 2022
Number of pages
8
Written in
2021/2022
Type
Class notes
Professor(s)
Jordon johnson
Contains
All classes

Subjects

CA$23.17
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Thumbnail
Package deal
CPSC 121 ALL HOMEWORK SOLUTIONS 2021
-
4 2022
CA$ 59.44 More info

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
travissmith1 UBC
View profile
Follow You need to be logged in order to follow users or courses
Sold
97
Member since
5 year
Number of followers
61
Documents
36
Last sold
8 months ago

3.6

16 reviews

5
6
4
6
3
0
2
0
1
4

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions