100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
UBC CPSC 110 problem set 01 solution 100% graded CA$15.23   Add to cart

Other

UBC CPSC 110 problem set 01 solution 100% graded

 12 views  0 purchase

This is the solution for problem set 01(PSET 01) which has been graded 100% after submission, This solution is the easy and simple to understand. Best solution for PSET01. 100/100 grade.

Preview 1 out of 4  pages

  • June 3, 2023
  • 4
  • 2022/2023
  • Other
  • Unknown
All documents for this subject (19)
avatar-seller
gurkeeratsingh
;; The first three lines of this file were inserted by DrRacket. They record
metadata
;; about the language level of this file in a form that our tools can easily
process.
#reader(lib "htdp-beginner-reader.ss" "lang")((modname |pset-01-starter (2)|)
(read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-
decimal #f #t none #f () #t)))
;; DO NOT PUT ANYTHING PERSONALLY IDENTIFYING BEYOND YOUR CWL IN THIS FILE.
;; YOUR CWLs WILL BE SUFFICIENT TO IDENTIFY YOU AND, IF YOU HAVE ONE, YOUR
;; PARTNER
;;
(require 2htdp/image)
(require spd/tags)

(@assignment psets/pset-01);Do not edit or remove this tag

;; If you are:
;; - A 110 or 107 student replace the first set of '???'s with your cwl.
;; For problem sets, If you have a partner, please replace the second
;; set of '???'s with their cwl. Remember this, it is what you will
;; do with these @cwl annotations for the whole course.
;; - A UBC Extended Learning student, replace the first set of ??? with
;; your email address as confirmed in the email you received from
;; extended learning. The handin password is also in that email.
;; Remember this, it is what you will do with these @cwl annotations
;; for the whole course.
;;
(@cwl gurkerat)

;; *****************************************************************************
;; NOTE:
;; For lecture starters we want you to submit to handin several times during
;; the lecture. Submit your file even if pressing the "Check Syntax" button
;; produces an error. For lecture we want to see the progression of your
;; work.
;;
;; But for problem sets and labs you should not submit your file if Check
;; Syntax produces an error. Fix the error first, then submit.
;; *****************************************************************************


(@problem 1)
;;
;; Write the BSL expression that most clearly represents the following
;; arithmetic expression:
;;
;; 3^2 + 6 * (6 - 10) / 3
;;
;; which equals 1
;;
;; There is a single BSL expression that both produces the correct result,
;; and most closely matches the structure of the equation given above.
;; Although 1 is an expression that evaluates to 1, that is not the
;; correct answer, because it doesn't show the structure of the expression
;; above.
;;
(+ (sqr 3) (/ (* 6 (- 6 10)) 3))

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller gurkeeratsingh. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for CA$15.23. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79976 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
CA$15.23
  • (0)
  Add to cart