举一反三
- 已知一个新运算被定义为(define (newCalc x y)(* (+ x 1)(* y 2))),问正确使用了newCalc并得到正确结果的为_____
- 已知一个新运算被定义为(define (newCalc x y) (* (+ x 1) (* y 2))),问newCalc可以完成的计算功能为_____
- 已知一个新运算被定义为(define (newCalc x y) (* (+ x 1) (* y 2))),问正确使用了newCalc并得到正确结果的为_____。 A: (newCalc 4 5),其结果为50 B: ((newCalc) (4 5)),其结果为50 C: (newCalc 4),其结果为40 D: (newCalc 2 3),其结果为21
- 已知一个新运算被定义为(define (newCalc x y) (* (+ x 1) (* y 2))),问newCalc可以完成的计算功能为_____。? (x+1)*2y|(x+1)+(y+2)|(x+1)*(y+2)|(x+1)+2y
- 已知一个新运算被定义为(define(newCalcxy)(*(+x1)(+y1))),问(newCalc(newCalc(newCalc11)(newCalc11))(newCalc11))的计算结果为_____
内容
- 0
已知一个运算被定义为(define (firstCalc x) (* x x)),在其基础上进一步定义新运算secondCalc为,下列运算组合式书写正确的是_____。 eb83511cce0ce4612edc7c97bca56c22.PNG
- 1
【单选题】已知一个运算被定义为(define (firstCalc x) (* x x)),在其基础上进一步定义新运算secondCalc为【图片】,下列运算组合式书写正确的是_____。 A. (define (secondCalc x y z) (+ (firstCalc x) (firstCalc y) (firstCalc z))) B. (define secondCalc (+ (firstCalc x) (firstCalc y) (firstCalc z))) C. (define (secondCalc x y z) (+ firstCalc x y z)) D. (define secondCalc x y z (+ (firstCalc x) (firstCalc y) (firstCalc z))) E. (define (secondCalc x y z) (+ (firstCalc x) (firstCalc x) (firstCalc x)))
- 2
已知一个运算被定义为(define (firstCalc x) (* x x))...ondCalc表达的运算功能为_____
- 3
请⽤define运算,定义⼀个过程实现计算,其正确定义的过程为( )。 A: (define cube a (* a a a)) B: (define (cube x) (* x x x)) C: (define (cube a (* a a a))) D: (define (cube a) (* x x x)))
- 4
请用define运算,定义一个过程实现计算[img=17x22]17de686697c53e5.png[/img],其正确定义的过程为_____。 A: (define cube a (* a a a)) B: (define (cube x) (* x x x)) C: (define (cube a (* a a a)) D: (define (cube a) (* x x x))