正在加载图片...
Part 2: Expressions to evaluate Below is a sequence of Scheme expressions. Can you predict what the value of each expression would be when evaluated? Go ahead and type in and evaluate each expression in the order it is presented Extract the relevant parts out of the *transcript* buffer and copy this into your buffer that you made in part 2. 1 (you will need to find the relevant Edwin/ Emacs commands to do this check out the M-x set-mark command the d and the 37 (>109.7) (-(if(>34 7 (/1610)) (define double (lambda (x)(*2 x))) (define c 4) C (define times-2 double) (tim ((=c(-d5)) d)) n your submission, include an excerpt from the *transcript* buffer of these expressions and the resulting values of their evaluation. Also, include somePart 2: Expressions to Evaluate Below is a sequence of Scheme expressions. Can you predict what the value of each expression would be when evaluated? Go ahead and type in and evaluate each expression in the order it is presented. Extract the relevant parts out of the *transcript* buffer and copy this into your buffer that you made in part 2.1 (you will need to find the relevant Edwin/Emacs commands to do this; check out the M-x set-mark command, the C-w command, the M-w command and the C-y command). -37 (* 3 4) (> 10 9.7) (- (if (> 3 4) 7 10) (/ 16 10)) (* (- 25 10) (+ 6 3)) + (define double (lambda (x) (* 2 x))) double (define c 4) c (double c) c (double (double (+ c 5))) (define times-2 double) (times-2 c) (define d c) (= c d) (cond ((>= c 2) d) ((= c (- d 5)) (+ c d)) (else (abs (- c d)))) In your submission, include an excerpt from the *transcript* buffer of these expressions and the resulting values of their evaluation. Also, include some
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有